diff options
Diffstat (limited to 'src/Crypto/Twofish.h')
-rw-r--r-- | src/Crypto/Twofish.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Crypto/Twofish.h b/src/Crypto/Twofish.h index 57723138..b2d44ddb 100644 --- a/src/Crypto/Twofish.h +++ b/src/Crypto/Twofish.h | |||
@@ -35,7 +35,7 @@ extern "C" | |||
35 | #endif | 35 | #endif |
36 | typedef struct | 36 | typedef struct |
37 | { | 37 | { |
38 | #if CRYPTOPP_BOOL_X64 && !defined(_UEFI) | 38 | #if CRYPTOPP_BOOL_X64 |
39 | u4byte mk_tab[4][256], w[8], k[32]; | 39 | u4byte mk_tab[4][256], w[8], k[32]; |
40 | #else | 40 | #else |
41 | u4byte l_key[40]; | 41 | u4byte l_key[40]; |
@@ -52,7 +52,7 @@ typedef struct | |||
52 | 52 | ||
53 | /* in_key must be 32-bytes long */ | 53 | /* in_key must be 32-bytes long */ |
54 | void twofish_set_key(TwofishInstance *instance, const u4byte in_key[]); | 54 | void twofish_set_key(TwofishInstance *instance, const u4byte in_key[]); |
55 | #if CRYPTOPP_BOOL_X64 && !defined(_UEFI) | 55 | #if CRYPTOPP_BOOL_X64 |
56 | void twofish_encrypt_blocks(TwofishInstance *instance, const byte* in_blk, byte* out_blk, uint32 blockCount); | 56 | void twofish_encrypt_blocks(TwofishInstance *instance, const byte* in_blk, byte* out_blk, uint32 blockCount); |
57 | void twofish_decrypt_blocks(TwofishInstance *instance, const byte* in_blk, byte* out_blk, uint32 blockCount); | 57 | void twofish_decrypt_blocks(TwofishInstance *instance, const byte* in_blk, byte* out_blk, uint32 blockCount); |
58 | #define twofish_encrypt(instance,in_blk,out_blk) twofish_encrypt_blocks(instance, (const byte*) in_blk, (byte*) out_blk, 1) | 58 | #define twofish_encrypt(instance,in_blk,out_blk) twofish_encrypt_blocks(instance, (const byte*) in_blk, (byte*) out_blk, 1) |