linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jason A. Donenfeld" <Jason@zx2c4.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: "kernel-hardening@lists.openwall.com" 
	<kernel-hardening@lists.openwall.com>,
	Hannes Frederic Sowa <hannes@stressinduktion.org>,
	David Laight <David.Laight@aculab.com>,
	Netdev <netdev@vger.kernel.org>,
	Jean-Philippe Aumasson <jeanphilippe.aumasson@gmail.com>,
	LKML <linux-kernel@vger.kernel.org>,
	Linux Crypto Mailing List <linux-crypto@vger.kernel.org>,
	"Daniel J . Bernstein" <djb@cr.yp.to>,
	Eric Biggers <ebiggers3@gmail.com>
Subject: Re: [kernel-hardening] Re: [PATCH v2 1/4] siphash: add cryptographically secure hashtable function
Date: Thu, 15 Dec 2016 22:16:23 +0100	[thread overview]
Message-ID: <CAHmME9pCjBiZr9n9g4On2GACbDm52vt1SkDXBz4yTVzaKF0ZWQ@mail.gmail.com> (raw)

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.

             reply	other threads:[~2016-12-15 21:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-15 21:16 Jason A. Donenfeld [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-12-15  7:57 [PATCH v2 1/4] siphash: add cryptographically secure hashtable function Herbert Xu
2016-12-15  8:15 ` [kernel-hardening] " Daniel Micay
2016-12-14 22:03 Hannes Frederic Sowa
2016-12-15 11:04 ` David Laight
2016-12-15 12:23   ` Hannes Frederic Sowa
2016-12-15 12:28     ` David Laight
2016-12-15 12:50       ` Hannes Frederic Sowa
2016-12-15 13:56         ` David Laight
2016-12-15 14:56           ` Hannes Frederic Sowa
2016-12-15 15:41             ` David Laight
2016-12-15 15:53               ` Hannes Frederic Sowa
2016-12-15 18:50                 ` Jason A. Donenfeld
2016-12-15 21:09                   ` Peter Zijlstra
2016-12-15 21:11                     ` [kernel-hardening] " Jason A. Donenfeld
2016-12-15 21:14                       ` Linus Torvalds

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHmME9pCjBiZr9n9g4On2GACbDm52vt1SkDXBz4yTVzaKF0ZWQ@mail.gmail.com \
    --to=jason@zx2c4.com \
    --cc=David.Laight@aculab.com \
    --cc=djb@cr.yp.to \
    --cc=ebiggers3@gmail.com \
    --cc=hannes@stressinduktion.org \
    --cc=jeanphilippe.aumasson@gmail.com \
    --cc=kernel-hardening@lists.openwall.com \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).