Print this page
first pass
@@ -49,11 +49,10 @@
#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];
@@ -737,14 +736,11 @@
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);
@@ -1402,7 +1398,5 @@
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 */