]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: x86/chacha20 - Manually align stack buffer
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 11 Jan 2017 12:28:06 +0000 (20:28 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 12 Jan 2017 16:26:46 +0000 (00:26 +0800)
commit2be9180bf887ff9e3bda7eb6e382fe6412a24838
treef312a1f1a8b59be2ae3b85317048c458379b1e29
parente53f92bb04c219cd420c65c15de8f33d316cfa3c
crypto: x86/chacha20 - Manually align stack buffer

The kernel on x86-64 cannot use gcc attribute align to align to
a 16-byte boundary.  This patch reverts to the old way of aligning
it by hand.

Fixes: 3c7ca763b90a ("crypto: chacha20 - convert generic and...")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
arch/x86/crypto/chacha20_glue.c