Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 50beceba authored by Steffen Klassert's avatar Steffen Klassert Committed by Herbert Xu
Browse files

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: default avatarSteffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent cbb9bf65
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment