tree 965197414a7a5670bedfe6ea4c914af62a5f8229
parent a2a892a236d03a6e985471a7e57d1c863de144c8
author Herbert Xu <[EMAIL PROTECTED]> Thu, 07 Jul 2005 03:55:21 -0700
committer David S. Miller <[EMAIL PROTECTED]> Thu, 07 Jul 2005 03:55:21 -0700
[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 <[EMAIL PROTECTED]>
Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
crypto/des.c | 2 --
crypto/serpent.c | 1 -
2 files changed, 3 deletions(-)
diff --git a/crypto/des.c b/crypto/des.c
--- 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];
};
diff --git a/crypto/serpent.c b/crypto/serpent.c
--- 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];
};
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html