61 #if !defined( _AESTAB_H ) 64 #if defined(__cplusplus) 68 #define t_dec(m,n) t_##m##n 69 #define t_set(m,n) t_##m##n 70 #define t_use(m,n) t_##m##n 72 #if defined(FIXED_TABLES) 73 # if !defined( __GNUC__ ) && (defined( __MSDOS__ ) || defined( __WIN16__ )) 75 # define CONST const far 83 #if defined(DO_TABLES) 86 # define EXTERN extern 89 #if defined(_MSC_VER) && defined(TABLE_ALIGN) 90 #define ALIGN __declspec(align(TABLE_ALIGN)) 95 #if defined( __WATCOMC__ ) && ( __WATCOMC__ >= 1100 ) 96 # define XP_DIR __cdecl 101 #if defined(DO_TABLES) && defined(FIXED_TABLES) 102 #define d_1(t,n,b,e) EXTERN ALIGN CONST XP_DIR t n[256] = b(e) 103 #define d_4(t,n,b,e,f,g,h) EXTERN ALIGN CONST XP_DIR t n[4][256] = { b(e), b(f), b(g), b(h) } 104 EXTERN ALIGN CONST uint_32t t_dec(r,c)[RC_LENGTH] = rc_data(w0);
106 #define d_1(t,n,b,e) EXTERN ALIGN CONST XP_DIR t n[256] 107 #define d_4(t,n,b,e,f,g,h) EXTERN ALIGN CONST XP_DIR t n[4][256] 108 EXTERN ALIGN CONST uint_32t t_dec(r,c)[RC_LENGTH];
111 #if defined( SBX_SET ) 112 d_1(uint_8t, t_dec(s,box), sb_data, h0);
114 #if defined( ISB_SET ) 115 d_1(uint_8t, t_dec(i,box), isb_data, h0);
118 #if defined( FT1_SET ) 119 d_1(uint_32t, t_dec(f,n), sb_data, u0);
121 #if defined( FT4_SET ) 122 d_4(uint_32t, t_dec(f,n), sb_data, u0, u1, u2, u3);
125 #if defined( FL1_SET ) 126 d_1(uint_32t, t_dec(f,l), sb_data, w0);
128 #if defined( FL4_SET ) 129 d_4(uint_32t, t_dec(f,l), sb_data, w0, w1, w2, w3);
132 #if defined( IT1_SET ) 133 d_1(uint_32t, t_dec(i,n), isb_data, v0);
135 #if defined( IT4_SET ) 136 d_4(uint_32t, t_dec(i,n), isb_data, v0, v1, v2, v3);
139 #if defined( IL1_SET ) 140 d_1(uint_32t, t_dec(i,l), isb_data, w0);
142 #if defined( IL4_SET ) 143 d_4(uint_32t, t_dec(i,l), isb_data, w0, w1, w2, w3);
146 #if defined( LS1_SET ) 147 #if defined( FL1_SET ) 150 d_1(uint_32t, t_dec(l,s), sb_data, w0);
154 #if defined( LS4_SET ) 155 #if defined( FL4_SET ) 158 d_4(uint_32t, t_dec(l,s), sb_data, w0, w1, w2, w3);
162 #if defined( IM1_SET ) 163 d_1(uint_32t, t_dec(i,m), mm_data, v0);
165 #if defined( IM4_SET ) 166 d_4(uint_32t, t_dec(i,m), mm_data, v0, v1, v2, v3);
169 #if defined(__cplusplus)