diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2009-08-20 17:58:04 +1000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-08-20 17:58:04 +1000 |
commit | 6d53edb9c4e3ca81df2af74e5cecb91bf1b09503 (patch) | |
tree | 9415af3c77a013feac5ec1cdba41e48ff794d159 /crypto/rmd160.c | |
parent | 959102279ffe96d8b3b94846cd2cd08d592b8ded (diff) | |
download | linux-crypto-6d53edb9c4e3ca81df2af74e5cecb91bf1b09503.tar.gz linux-crypto-6d53edb9c4e3ca81df2af74e5cecb91bf1b09503.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/rmd160.c')
0 files changed, 0 insertions, 0 deletions