diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2010-03-03 17:41:08 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2010-03-03 17:41:08 +0300 |
commit | 50beceba7fdf5f10a04d8a053e62d40b742099ad (patch) | |
tree | 0c0a57f6b13d2dc955a6f5ecbbe647d9e3248322 /crypto/wp512.c | |
parent | cbb9bf65ae25dee772e85589136e7dd1c3e743ae (diff) | |
download | linux-50beceba7fdf5f10a04d8a053e62d40b742099ad.tar.xz |
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/wp512.c')
0 files changed, 0 insertions, 0 deletions