From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760588AbcLUXDZ (ORCPT ); Wed, 21 Dec 2016 18:03:25 -0500 Received: from frisell.zx2c4.com ([192.95.5.64]:48439 "EHLO frisell.zx2c4.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756286AbcLUXCg (ORCPT ); Wed, 21 Dec 2016 18:02:36 -0500 From: "Jason A. Donenfeld" To: Netdev , kernel-hardening@lists.openwall.com, LKML , linux-crypto@vger.kernel.org, David Laight , Ted Tso , Hannes Frederic Sowa , edumazet@google.com, Linus Torvalds , Eric Biggers , Tom Herbert , ak@linux.intel.com, davem@davemloft.net, luto@amacapital.net, Jean-Philippe Aumasson Cc: "Jason A. Donenfeld" Subject: [PATCH v7 0/6] The SipHash Patchset Date: Thu, 22 Dec 2016 00:02:10 +0100 Message-Id: <20161221230216.25341-1-Jason@zx2c4.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20161216030328.11602-1-Jason@zx2c4.com> References: <20161216030328.11602-1-Jason@zx2c4.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hey folks, Again we've made huge progress, with this latest version now shipping Jean-Phillipe Aumasson's HalfSipHash, which should be much more competitive with jhash (in addition to being more secure, of course). There are dozens of little cleanups and improvements right and left throughout this series, so I urge you to take a look at the whole thing. I've tried to take into consideration lots of concerns and suggestions from many of you over the last week. There is also now documentation! And the test suite now has full coverage of all functions. Finally, there's been some significant benchmarking, and now a few commit messages have some performance numbers. Please send your Reviewed-by lines as you see fit. Regards, Jason Jason A. Donenfeld (6): siphash: add cryptographically secure PRF secure_seq: use SipHash in place of MD5 random: use SipHash in place of MD5 md5: remove from lib and only live in crypto syncookies: use SipHash in place of SHA1 siphash: implement HalfSipHash1-3 for hash tables Documentation/siphash.txt | 154 +++++++++++++ MAINTAINERS | 7 + crypto/md5.c | 95 +++++++- drivers/char/random.c | 84 ++++--- include/linux/random.h | 1 - include/linux/siphash.h | 133 +++++++++++ init/main.c | 1 - lib/Kconfig.debug | 6 +- lib/Makefile | 7 +- lib/md5.c | 95 -------- lib/siphash.c | 548 ++++++++++++++++++++++++++++++++++++++++++++++ lib/test_siphash.c | 208 ++++++++++++++++++ net/core/secure_seq.c | 135 +++++------- net/ipv4/syncookies.c | 20 +- net/ipv6/syncookies.c | 37 ++-- 15 files changed, 1274 insertions(+), 257 deletions(-) create mode 100644 Documentation/siphash.txt create mode 100644 include/linux/siphash.h delete mode 100644 lib/md5.c create mode 100644 lib/siphash.c create mode 100644 lib/test_siphash.c -- 2.11.0