]> 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)
commit1b42a5f2826e364fb9c78aadf973e09dfbd75d5c
tree55a29137b48b80115bb94308e532dbf81f72c6a8
parent1f2f49a0a02b6955af9d5446e1bc2c4d1f374629
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