From 1776c07e2acee24f5c950a0a66d9f5e8f85eeb9b Mon Sep 17 00:00:00 2001 From: lloyd Date: Mon, 11 Feb 2013 16:02:26 +0000 Subject: 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. --- src/block/cast/cast128.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/block/cast/cast128.h') 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& ks, secure_vector& user_key); - static const u32bit S5[256]; - static const u32bit S6[256]; - static const u32bit S7[256]; - static const u32bit S8[256]; - secure_vector MK; secure_vector 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 -- cgit v1.2.3