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)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 18 Jun 2009 11:33:57 +0000 (19:33 +0800)
commite6efaa025384f86a18814a6b9f4e5d54484ab9ff
treee67688f905c8bbea2f35d4e001ef7790676a50e9
parent8d8409f773af2cfd52e23e4b138a7d55a31182cd
crypto: aes-ni - Fix cbc mode IV saving

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>
arch/x86/crypto/aesni-intel_asm.S