linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Re: [PATCH v2 1/4] siphash: add cryptographically secure hashtable function
@ 2016-12-15 21:16 Jason A. Donenfeld
  0 siblings, 0 replies; only message in thread
From: Jason A. Donenfeld @ 2016-12-15 21:16 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: kernel-hardening, Hannes Frederic Sowa, David Laight, Netdev,
	Jean-Philippe Aumasson, LKML, Linux Crypto Mailing List,
	Daniel J . Bernstein, Eric Biggers

On Thu, Dec 15, 2016 at 10:14 PM, Linus Torvalds
<torvalds@linux-foundation.org> wrote:
> I think you can/should just use the natural alignment for "u64".
>
> For architectures that need 8-byte alignment, u64 will already be
> properly aligned. For architectures (like x86-32) that only need
> 4-byte alignment, you get it.

I should have added mention of that with my previous email. For the
parameters that are always a multiple of u64 -- namely, the key -- I
now do that in v5 of the patchset. So this is already done.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-12-15 21:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-15 21:16 Re: [PATCH v2 1/4] siphash: add cryptographically secure hashtable function Jason A. Donenfeld

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).