summaryrefslogtreecommitdiff
path: root/crypto/api.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2005-07-06 13:53:47 -0700
committerDavid S. Miller <davem@davemloft.net>2005-07-06 13:53:47 -0700
commit88912b4fe0b6fd9b9fa82e573bf32c40aab562a3 (patch)
treead64076bfce559ea59383a40093f5053a1abf5cd /crypto/api.c
parentaaf033a7a6d8b354345e8b558d8723e91420f560 (diff)
downloadlinux-crypto-88912b4fe0b6fd9b9fa82e573bf32c40aab562a3.tar.gz
linux-crypto-88912b4fe0b6fd9b9fa82e573bf32c40aab562a3.zip
[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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions