diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2005-07-06 13:55:21 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-07-06 13:55:21 -0700 |
commit | a9df3597fec5472d0840fbfdc2a3fac5268f7d08 (patch) | |
tree | 965197414a7a5670bedfe6ea4c914af62a5f8229 /crypto/des.c | |
parent | a2a892a236d03a6e985471a7e57d1c863de144c8 (diff) | |
download | linux-a9df3597fec5472d0840fbfdc2a3fac5268f7d08.tar.gz linux-a9df3597fec5472d0840fbfdc2a3fac5268f7d08.tar.bz2 linux-a9df3597fec5472d0840fbfdc2a3fac5268f7d08.zip |
[CRYPTO] Remove unused iv field from context structure
The iv field in des_ctx/des3_ede_ctx/serpent_ctx has never been used.
This was noticed by Dag Arne Osvik.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/des.c')
-rw-r--r-- | crypto/des.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/des.c b/crypto/des.c index 1c7e6de9356c..fc5d1b61a0e9 100644 --- a/crypto/des.c +++ b/crypto/des.c @@ -38,12 +38,10 @@ #define ROR(d,c,o) ((d) = (d) >> (c) | (d) << (o)) struct des_ctx { - u8 iv[DES_BLOCK_SIZE]; u32 expkey[DES_EXPKEY_WORDS]; }; struct des3_ede_ctx { - u8 iv[DES_BLOCK_SIZE]; u32 expkey[DES3_EDE_EXPKEY_WORDS]; }; |