Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1505437 > unrolled thread

Re: [PATCH] crypto: cmac - fix alignment of 'consts'

Started byHerbert Xu <herbert@gondor.apana.org.au>
First post2016-10-21 05:20 +0200
Last post2016-10-21 05:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] crypto: cmac - fix alignment of 'consts' Herbert Xu <herbert@gondor.apana.org.au> - 2016-10-21 05:20 +0200

#1505437 — Re: [PATCH] crypto: cmac - fix alignment of 'consts'

FromHerbert Xu <herbert@gondor.apana.org.au>
Date2016-10-21 05:20 +0200
SubjectRe: [PATCH] crypto: cmac - fix alignment of 'consts'
Message-ID<suyxb-8lc-7@gated-at.bofh.it>
On Mon, Oct 10, 2016 at 10:15:15AM -0700, Eric Biggers wrote:
> The per-transform 'consts' array is accessed as __be64 in
> crypto_cmac_digest_setkey() but was only guaranteed to be aligned to
> __alignof__(long).  Fix this by aligning it to __alignof__(__be64).
> 
> Signed-off-by: Eric Biggers <ebiggers@google.com>

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web