aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/serpent.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2005-07-06 20:55:21 (GMT)
committerDavid S. Miller <davem@davemloft.net>2005-07-06 20:55:21 (GMT)
commita9df3597fec5472d0840fbfdc2a3fac5268f7d08 (patch)
tree965197414a7a5670bedfe6ea4c914af62a5f8229 /crypto/serpent.c
parenta2a892a236d03a6e985471a7e57d1c863de144c8 (diff)
[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/serpent.c')
-rw-r--r--crypto/serpent.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/serpent.c b/crypto/serpent.c
index 7d152e8..3cf2c50 100644
--- a/crypto/serpent.c
+++ b/crypto/serpent.c
@@ -210,7 +210,6 @@
x4 ^= x2;
struct serpent_ctx {
- u8 iv[SERPENT_BLOCK_SIZE];
u32 expkey[SERPENT_EXPKEY_WORDS];
};

Privacy Policy