summaryrefslogtreecommitdiffstats
path: root/crypto/ansi_cprng.c
diff options
context:
space:
mode:
authorSteffen Klassert2009-08-20 09:58:04 +0200
committerHerbert Xu2009-08-20 09:58:04 +0200
commit36f87a4a29cb8cd291169483079fde34bad4ef16 (patch)
treeeba5175548616ee5f35679cb6491f58dc4849c63 /crypto/ansi_cprng.c
parentcrypto: fips - Depend on ansi_cprng (diff)
downloadkernel-qcow2-linux-36f87a4a29cb8cd291169483079fde34bad4ef16.tar.gz
kernel-qcow2-linux-36f87a4a29cb8cd291169483079fde34bad4ef16.tar.xz
kernel-qcow2-linux-36f87a4a29cb8cd291169483079fde34bad4ef16.zip
crypto: xcbc - Fix alignment calculation of xcbc_tfm_ctx
The alignment calculation of xcbc_tfm_ctx uses alg->cra_alignmask and not alg->cra_alignmask + 1 as it should. This led to frequent crashes during the selftest of xcbc(aes-asm) on x86_64 machines. This patch fixes this. Also we use the alignmask of xcbc and not the alignmask of the underlying algorithm for the alignmnent calculation in xcbc_create now. Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/ansi_cprng.c')
0 files changed, 0 insertions, 0 deletions