73
66
/* Get the byte with index 0, 1, 2 and 3 */
74
67
#define B0(x) ((x) & 0xff)
75
68
#define B1(x) (((x) >> 8) & 0xff)
76
69
#define B2(x) (((x) >> 16) & 0xff)
77
70
#define B3(x) (((x) >> 24) & 0xff)
79
77
#define AES_ROUND(T, w0, w1, w2, w3, k) \
80
78
(( T->table[0][ B0(w0) ] \
81
79
^ T->table[1][ B1(w1) ] \