summaryrefslogtreecommitdiff
path: root/crypto/algapi.c
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2010-03-03 22:41:08 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2010-03-03 22:41:08 +0800
commit7f964674351051bcd7dd6fe5d15f33d823022c65 (patch)
treee6249123f67337f7ac909906d457eca4b18670e4 /crypto/algapi.c
parentba91796957fbf00d5e0030974b89a00935e1e863 (diff)
downloadlinux-crypto-7f964674351051bcd7dd6fe5d15f33d823022c65.tar.gz
linux-crypto-7f964674351051bcd7dd6fe5d15f33d823022c65.zip
crypto: authenc - Move saved IV in front of the ablkcipher request
In crypto_authenc_encrypt() we save the IV behind the ablkcipher request. To save space on the request, we overwrite the ablkcipher request with a ahash request after encryption. So the IV may be overwritten by the ahash request. This patch fixes this by placing the IV in front of the ablkcipher/ahash request. Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/algapi.c')
0 files changed, 0 insertions, 0 deletions