Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758786AbcLPUpC (ORCPT ); Fri, 16 Dec 2016 15:45:02 -0500 Received: from mail-it0-f68.google.com ([209.85.214.68]:36430 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757943AbcLPUok (ORCPT ); Fri, 16 Dec 2016 15:44:40 -0500 Message-ID: <1481921067.1054.6.camel@gmail.com> Subject: Re: [kernel-hardening] Re: [PATCH v5 1/4] siphash: add cryptographically secure PRF From: Daniel Micay To: kernel-hardening@lists.openwall.com, "Jason A. Donenfeld" Cc: Jean-Philippe Aumasson , George Spelvin , Andi Kleen , David Miller , David Laight , Eric Biggers , Hannes Frederic Sowa , Linux Crypto Mailing List , LKML , Andy Lutomirski , Netdev , Linus Torvalds , "Theodore Ts'o" , vegard.nossum@gmail.com, "Daniel J . Bernstein" Date: Fri, 16 Dec 2016 15:44:27 -0500 In-Reply-To: References: <20161216034618.28276.qmail@ns.sciencehorizons.net> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-HimIJJAsxKuzIQvBsNJ2" X-Mailer: Evolution 3.22.2 Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1646 Lines: 40 --=-HimIJJAsxKuzIQvBsNJ2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2016-12-16 at 11:47 -0800, Tom Herbert wrote: >=20 > That's about 3x of jhash speed (7 nsecs). So that might closer > to a more palatable replacement for jhash. Do we lose any security > advantages with halfsiphash? Have you tested a lower round SipHash? Probably best to stick with the usual construction for non-DoS mitigation, but why not try SipHash 1-3, 1-2, etc. for DoS mitigation? Rust and Swift both went with SipHash 1-3 for hash tables. --=-HimIJJAsxKuzIQvBsNJ2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQJKBAABCAA0FiEEZe7+AiEI4rcIy/z3+ecS5Zr18ioFAlhUUisWHGRhbmllbG1p Y2F5QGdtYWlsLmNvbQAKCRD55xLlmvXyKk2/D/9gAHNr8TZPGEYv7L/vhsOnsssj HRnq0a6FoJT8FdfNxLwffeh2vPLuOVyMNxhOfZtlXLAVwtk8bZrBpJEkM0FSfeEQ glKghXGxpnPAtwA2lKX0D9Q8adzUXFUBgxeH1IQuCGcacigsbZf11lnvZU6G++Wj GRcKdGFnwia6gF0rRfCtpgj7mGf/E/tzPBe/SY44s45tRsVC5bne4VH4vjQeBby7 K6YT3VvfIsMIZzaqAzJyS3op1Lz6wlyPIYL6ABqRPFSDgwAewspMhysL954409Za stB5EDxG0lU378jBPN2cA54Ys0VM+bFL+gWaM4AZiZngfzQYDPTtzGZXvD8seu9P 0QZ4NxyosoWB5St9dUQzUyYbCmLOBT8gTkKs9EtBOmHcLDHOU6WcgbeVDwqm2T3u So8o4hRu3cggaWbdVyL9QjXazw2VD8BW0CEH4D+qFBFTmAbIvuo0h48LEQ6inv5G oTmbusFXUbxHDK8UpRCyWg2WMzKPU8cwNrLcVkQhtijQnuI6nYl8GN3u4EeB0pGM 8BGoOHXm6NA7VydDpu95fhoy6GsQeWmeDknM0Khbwubc75iFz8KU1hxMfkESlvb6 Wwz5flHC6TQXG/S6812MHtVh2+undC8SO19y0mfenLZCieLjqC0kj94h67y4xqEw +16uBeb7ylA/k7Lgjg== =l09G -----END PGP SIGNATURE----- --=-HimIJJAsxKuzIQvBsNJ2--