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)
commitb8fbe71f7535d4dfeed0bb8d924107dc58d502e2
treef312a1f1a8b59be2ae3b85317048c458379b1e29
parente93acd6f6778825a4e0b5a1a9b70324bf901d516
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: 9ae433bc79f9 ("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