Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S942040AbcLWVSs (ORCPT ); Fri, 23 Dec 2016 16:18:48 -0500 Received: from frisell.zx2c4.com ([192.95.5.64]:33308 "EHLO frisell.zx2c4.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S941259AbcLWVSq (ORCPT ); Fri, 23 Dec 2016 16:18:46 -0500 MIME-Version: 1.0 In-Reply-To: References: <1482425969.2673.5.camel@stressinduktion.org> <585CF6A3.1050107@iogearbox.net> <1482490762.3353.2.camel@stressinduktion.org> <585D11BF.60903@iogearbox.net> From: "Jason A. Donenfeld" Date: Fri, 23 Dec 2016 22:18:18 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: BPF hash algo (Re: [kernel-hardening] Re: [PATCH v7 3/6] random: use SipHash in place of MD5) To: Hannes Frederic Sowa Cc: Andy Lutomirski , Daniel Borkmann , Alexei Starovoitov , "kernel-hardening@lists.openwall.com" , "Theodore Ts'o" , Netdev , LKML , Linux Crypto Mailing List , David Laight , Eric Dumazet , Linus Torvalds , Eric Biggers , Tom Herbert , Andi Kleen , "David S. Miller" , Jean-Philippe Aumasson Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 403 Lines: 11 On Fri, Dec 23, 2016 at 7:19 PM, Hannes Frederic Sowa wrote: > Factoring out sha3 Per the other thread, you probably don't actually want SHA3, because it's slow in software. You want SHA2. If you want something faster and better, then Blake2 is most certainly the way to go. I'll be submitting some patches in a month or so adding Blake2 for future use in the tree. Jason