Re: [PATCH v5 1/4] siphash: add cryptographically secure PRF

From: Jason A. Donenfeld
Date: Fri Dec 16 2016 - 12:09:56 EST


Hi David,

On Fri, Dec 16, 2016 at 6:06 PM, David Laight <David.Laight@xxxxxxxxxx> wrote:
> A 32bit hash would also remove all the issues about the alignment
> of IP addresses (etc) on 64bit systems.

The current replacements of md5_transform with siphash in the v6 patch
series will continue to use the original siphash, since the 128-bit
key is rather important for these kinds of secrets. Additionally,
64-bit siphash is already faster than the md5_transform that it
replaces. So the alignment concerns (now, non-issues; problems have
been solved, I believe) still remain.

Jason