diff options
author | lloyd <[email protected]> | 2013-02-11 16:02:26 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2013-02-11 16:02:26 +0000 |
commit | 1776c07e2acee24f5c950a0a66d9f5e8f85eeb9b (patch) | |
tree | 1caf196d328a025b3a250940e34463cbe6892212 /src/block/cast/cast128.h | |
parent | 33ae47d108697fa832a0d21d1ce61d6d385307fd (diff) |
Move the CAST sboxes to an internal header instead of a source file
with external linkage, or for ones specific to the 128 and 256 bit key
schedules, put them into those function as statics.
Diffstat (limited to 'src/block/cast/cast128.h')
-rw-r--r-- | src/block/cast/cast128.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/block/cast/cast128.h b/src/block/cast/cast128.h index a5dd0ba5d..233c1e478 100644 --- a/src/block/cast/cast128.h +++ b/src/block/cast/cast128.h @@ -31,20 +31,10 @@ class BOTAN_DLL CAST_128 : public Block_Cipher_Fixed_Params<8, 11, 16> static void cast_ks(secure_vector<u32bit>& ks, secure_vector<u32bit>& user_key); - static const u32bit S5[256]; - static const u32bit S6[256]; - static const u32bit S7[256]; - static const u32bit S8[256]; - secure_vector<u32bit> MK; secure_vector<byte> RK; }; -extern const u32bit CAST_SBOX1[256]; -extern const u32bit CAST_SBOX2[256]; -extern const u32bit CAST_SBOX3[256]; -extern const u32bit CAST_SBOX4[256]; - } #endif |