From: Steffen Klassert Date: Wed, 3 Mar 2010 14:41:08 +0000 (+0800) Subject: crypto: authenc - Move saved IV in front of the ablkcipher request X-Git-Tag: v2.6.34-rc1~198^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50beceba7fdf5f10a04d8a053e62d40b742099ad;p=pandora-kernel.git 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 Signed-off-by: Herbert Xu --- Reading git-diff-tree failed