diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/des.c | 2 | ||||
-rw-r--r-- | crypto/serpent.c | 1 |
2 files changed, 0 insertions, 3 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 @@ | |||
38 | #define ROR(d,c,o) ((d) = (d) >> (c) | (d) << (o)) | 38 | #define ROR(d,c,o) ((d) = (d) >> (c) | (d) << (o)) |
39 | 39 | ||
40 | struct des_ctx { | 40 | struct des_ctx { |
41 | u8 iv[DES_BLOCK_SIZE]; | ||
42 | u32 expkey[DES_EXPKEY_WORDS]; | 41 | u32 expkey[DES_EXPKEY_WORDS]; |
43 | }; | 42 | }; |
44 | 43 | ||
45 | struct des3_ede_ctx { | 44 | struct des3_ede_ctx { |
46 | u8 iv[DES_BLOCK_SIZE]; | ||
47 | u32 expkey[DES3_EDE_EXPKEY_WORDS]; | 45 | u32 expkey[DES3_EDE_EXPKEY_WORDS]; |
48 | }; | 46 | }; |
49 | 47 | ||
diff --git a/crypto/serpent.c b/crypto/serpent.c index 7d152e89016f..3cf2c5067eea 100644 --- a/crypto/serpent.c +++ b/crypto/serpent.c | |||
@@ -210,7 +210,6 @@ | |||
210 | x4 ^= x2; | 210 | x4 ^= x2; |
211 | 211 | ||
212 | struct serpent_ctx { | 212 | struct serpent_ctx { |
213 | u8 iv[SERPENT_BLOCK_SIZE]; | ||
214 | u32 expkey[SERPENT_EXPKEY_WORDS]; | 213 | u32 expkey[SERPENT_EXPKEY_WORDS]; |
215 | }; | 214 | }; |
216 | 215 | ||