diff options
author | Sebastian Siewior <sebastian@breakpoint.cc> | 2007-11-30 00:36:57 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-01-10 16:16:26 -0500 |
commit | d2456c66236c15d6462f1ac751cdbd48a34e9704 (patch) | |
tree | 0d221b08d0c1d4942881ad138c142c4163d19717 /drivers/crypto/geode-aes.h | |
parent | 9617d6ef6278edd04070ae404c871f65a466c6d2 (diff) |
[CRYPTO] geode: do not copy the IV too often
There is no reason to keep the IV in the private structre. Instead keep
just a pointer to make the patch smaller :)
This also remove a few memcpy()s
Signed-off-by: Sebastian Siewior <sebastian@breakpoint.cc>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/geode-aes.h')
-rw-r--r-- | drivers/crypto/geode-aes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/geode-aes.h b/drivers/crypto/geode-aes.h index 14cc763da1e4..f1855b50da48 100644 --- a/drivers/crypto/geode-aes.h +++ b/drivers/crypto/geode-aes.h | |||
@@ -65,7 +65,7 @@ struct geode_aes_op { | |||
65 | int len; | 65 | int len; |
66 | 66 | ||
67 | u8 key[AES_KEY_LENGTH]; | 67 | u8 key[AES_KEY_LENGTH]; |
68 | u8 iv[AES_IV_LENGTH]; | 68 | u8 *iv; |
69 | 69 | ||
70 | union { | 70 | union { |
71 | struct crypto_blkcipher *blk; | 71 | struct crypto_blkcipher *blk; |