summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/padlock-aes.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2005-07-06 22:53:47 +0200
committerDavid S. Miller <davem@davemloft.net>2005-07-06 22:53:47 +0200
commit915e8561d559abba1b81934e31e54a3f850fa7bf (patch)
tree12c08e7ec182ca11125097e2f485eab7a48b03df /drivers/crypto/padlock-aes.c
parent[CRYPTO] Ensure cit_iv is aligned correctly (diff)
downloadlinux-915e8561d559abba1b81934e31e54a3f850fa7bf.tar.xz
linux-915e8561d559abba1b81934e31e54a3f850fa7bf.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 'drivers/crypto/padlock-aes.c')
0 files changed, 0 insertions, 0 deletions