diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2014-07-20 05:11:10 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2014-11-08 23:21:32 +0100 |
commit | 75f780871949e5bacca4718507e66c8d28d72e69 (patch) | |
tree | b5e57e50960de3d508098e01b3d80397edb9b474 /src/Crypto/Cast.h | |
parent | 0594532cf1d6bb5fc8886d1c99db4e3861185112 (diff) | |
download | VeraCrypt-75f780871949e5bacca4718507e66c8d28d72e69.tar.gz VeraCrypt-75f780871949e5bacca4718507e66c8d28d72e69.zip |
Remove deprecated/legacy cryptographic algorithms and encryption modes that are never used by VeraCrypt. This will speed up volumes opening in many cases.
Diffstat (limited to 'src/Crypto/Cast.h')
-rw-r--r-- | src/Crypto/Cast.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/Crypto/Cast.h b/src/Crypto/Cast.h deleted file mode 100644 index 5c744494..00000000 --- a/src/Crypto/Cast.h +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | /* Deprecated/legacy */ | ||
2 | |||
3 | |||
4 | #ifndef HEADER_CAST_H | ||
5 | #define HEADER_CAST_H | ||
6 | |||
7 | #ifdef __cplusplus | ||
8 | extern "C" { | ||
9 | #endif | ||
10 | |||
11 | typedef struct CAST_KEY_STRUCT | ||
12 | { | ||
13 | unsigned __int32 K[32]; | ||
14 | } CAST_KEY; | ||
15 | |||
16 | void Cast5Decrypt (const byte *inBlock, byte *outBlock, CAST_KEY *key); | ||
17 | void Cast5Encrypt (const byte *inBlock, byte *outBlock, CAST_KEY *key); | ||
18 | void Cast5SetKey (CAST_KEY *key, unsigned int keylength, const byte *userKey); | ||
19 | |||
20 | #ifdef __cplusplus | ||
21 | } | ||
22 | #endif | ||
23 | |||
24 | #endif | ||