]> git.karo-electronics.de Git - karo-tx-linux.git/commit
crypto: aes-ni - Fix cbc mode IV saving
authorHuang Ying <ying.huang@intel.com>
Thu, 18 Jun 2009 11:33:57 +0000 (19:33 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 2 Jul 2009 23:50:19 +0000 (16:50 -0700)
commit2ee1b69073fe86e463160413e289448588d06c78
treecb1f2c2e392dbef172c20e8bfe51491716d6df70
parent241798adc59d1d79c783bb4726f595ab97fb6595
crypto: aes-ni - Fix cbc mode IV saving

commit e6efaa025384f86a18814a6b9f4e5d54484ab9ff upstream.

Original implementation of aesni_cbc_dec do not save IV if input
length % 4 == 0. This will make decryption of next block failed.

Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/crypto/aesni-intel_asm.S