commit | 915e8561d559abba1b81934e31e54a3f850fa7bf | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Wed Jul 06 13:53:47 2005 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 06 13:53:47 2005 -0700 |
tree | 12c08e7ec182ca11125097e2f485eab7a48b03df | |
parent | fbdae9f3e7fb57c07cb0d973f113eb25da2e8ff2 [diff] |
[CRYPTO] Handle unaligned iv from encrypt_iv/decrypt_iv Even though cit_iv is now always aligned, the user can still supply an unaligned iv through crypto_cipher_encrypt_iv/crypto_cipher_decrypt_iv. This patch will check the alignment of the user-supplied iv and copy it if necessary. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>