]> git.baikalelectronics.ru Git - kernel.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)
commitf8c903d0a981a652fc6ee1c87da4eb9d54724813
tree55a29137b48b80115bb94308e532dbf81f72c6a8
parent558e0e8eddd9da87c63a7151e43c2a15e8cfde44
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