73 #if !defined( _AESTAB_H )
76 #define t_dec(m,n) t_##m##n
77 #define t_set(m,n) t_##m##n
78 #define t_use(m,n) t_##m##n
80 #if defined(FIXED_TABLES)
81 # if !defined( __GNUC__ ) && (defined( __MSDOS__ ) || defined( __WIN16__ ))
83 # define CONST const far
91 #if defined(__cplusplus)
92 # define EXTERN extern "C"
93 #elif defined(DO_TABLES)
96 # define EXTERN extern
99 #if defined(_MSC_VER) && defined(TABLE_ALIGN)
100 #define ALIGN __declspec(align(TABLE_ALIGN))
105 #if defined( __WATCOMC__ ) && ( __WATCOMC__ >= 1100 )
106 # define XP_DIR __cdecl
111 #if defined(DO_TABLES) && defined(FIXED_TABLES)
112 #define d_1(t,n,b,e) EXTERN ALIGN CONST XP_DIR t n[256] = b(e)
113 #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) }
116 #define d_1(t,n,b,e) EXTERN ALIGN CONST XP_DIR t n[256]
117 #define d_4(t,n,b,e,f,g,h) EXTERN ALIGN CONST XP_DIR t n[4][256]
121 #if defined( SBX_SET )
124 #if defined( ISB_SET )
125 d_1(uint_8t,
t_dec(i,box), isb_data, h0);
128 #if defined( FT1_SET )
131 #if defined( FT4_SET )
132 d_4(uint_32t,
t_dec(
f,
n), sb_data, u0, u1, u2, u3);
135 #if defined( FL1_SET )
138 #if defined( FL4_SET )
139 d_4(uint_32t,
t_dec(
f,l), sb_data, w0, w1, w2, w3);
142 #if defined( IT1_SET )
145 #if defined( IT4_SET )
146 d_4(uint_32t,
t_dec(i,
n), isb_data, v0, v1, v2, v3);
149 #if defined( IL1_SET )
150 d_1(uint_32t,
t_dec(i,l), isb_data, w0);
152 #if defined( IL4_SET )
153 d_4(uint_32t,
t_dec(i,l), isb_data, w0, w1, w2, w3);
156 #if defined( LS1_SET )
157 #if defined( FL1_SET )
164 #if defined( LS4_SET )
165 #if defined( FL4_SET )
168 d_4(uint_32t,
t_dec(l,
s), sb_data, w0, w1, w2, w3);
172 #if defined( IM1_SET )
173 d_1(uint_32t,
t_dec(i,m), mm_data, v0);
175 #if defined( IM4_SET )
176 d_4(uint_32t,
t_dec(i,m), mm_data, v0, v1, v2, v3);