Print this page
first pass

*** 49,59 **** #define GETU32(p) BSWAP_L(*(uint32_t *)(p)) #define PUTU32(ct, st) *((uint32_t *)(ct)) = BSWAP_L(st) - /* EXPORT DELETE START */ /* * Te0[x] = S [x].[02, 01, 01, 03]; * Te1[x] = S [x].[03, 02, 01, 01]; * Te2[x] = S [x].[01, 03, 02, 01]; * Te3[x] = S [x].[01, 01, 03, 02]; --- 49,58 ----
*** 737,750 **** typedef struct keysched_s { uint32_t Nr; uint32_t rk_e[60]; /* max round key size */ uint32_t rk_d[60]; /* max round key size */ } keysched_t; - /* EXPORT DELETE END */ - /* EXPORT DELETE START */ - int aes_init(void **cookie) { if ((*cookie = malloc(sizeof (keysched_t))) == NULL) { return (-1); --- 736,746 ----
*** 1402,1408 **** Td1[Te4[(rk_d[3] >> 16) & 0xff] & 0xff] ^ Td2[Te4[(rk_d[3] >> 8) & 0xff] & 0xff] ^ Td3[Te4[(rk_d[3]) & 0xff] & 0xff]; } } - - /* EXPORT DELETE END */ --- 1398,1402 ----