]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
crypto: x86/glue_helper - fix storing of new IV in CBC encryption
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Wed, 19 Sep 2012 06:40:30 +0000 (09:40 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 4 Oct 2012 09:45:29 +0000 (17:45 +0800)
commitc9f97a27ceee84998999bf3341e6d5d207b05539
tree55a29137b48b80115bb94308e532dbf81f72c6a8
parent200429cc63399e99dd2abcdca5088559a911ef2b
crypto: x86/glue_helper - fix storing of new IV in CBC encryption

Glue_helper incorrectly XORs new IV over old IV at end of CBC encryption
function when it should store. This causes CBC encryption to give
incorrect output on multi-page encryption requests.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/glue_helper.c