|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
* License.....: MIT
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
__constant static u32a te0[256] =
|
|
|
|
|
__constant u32a te0[256] =
|
|
|
|
|
{
|
|
|
|
|
0xc66363a5, 0xf87c7c84, 0xee777799, 0xf67b7b8d,
|
|
|
|
|
0xfff2f20d, 0xd66b6bbd, 0xde6f6fb1, 0x91c5c554,
|
|
|
|
@ -71,7 +71,7 @@ __constant static u32a te0[256] =
|
|
|
|
|
0x7bb0b0cb, 0xa85454fc, 0x6dbbbbd6, 0x2c16163a,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
__constant static u32a te1[256] =
|
|
|
|
|
__constant u32a te1[256] =
|
|
|
|
|
{
|
|
|
|
|
0xa5c66363, 0x84f87c7c, 0x99ee7777, 0x8df67b7b,
|
|
|
|
|
0x0dfff2f2, 0xbdd66b6b, 0xb1de6f6f, 0x5491c5c5,
|
|
|
|
@ -139,7 +139,7 @@ __constant static u32a te1[256] =
|
|
|
|
|
0xcb7bb0b0, 0xfca85454, 0xd66dbbbb, 0x3a2c1616,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
__constant static u32a te2[256] =
|
|
|
|
|
__constant u32a te2[256] =
|
|
|
|
|
{
|
|
|
|
|
0x63a5c663, 0x7c84f87c, 0x7799ee77, 0x7b8df67b,
|
|
|
|
|
0xf20dfff2, 0x6bbdd66b, 0x6fb1de6f, 0xc55491c5,
|
|
|
|
@ -207,7 +207,7 @@ __constant static u32a te2[256] =
|
|
|
|
|
0xb0cb7bb0, 0x54fca854, 0xbbd66dbb, 0x163a2c16,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
__constant static u32a te3[256] =
|
|
|
|
|
__constant u32a te3[256] =
|
|
|
|
|
{
|
|
|
|
|
0x6363a5c6, 0x7c7c84f8, 0x777799ee, 0x7b7b8df6,
|
|
|
|
|
0xf2f20dff, 0x6b6bbdd6, 0x6f6fb1de, 0xc5c55491,
|
|
|
|
@ -275,7 +275,7 @@ __constant static u32a te3[256] =
|
|
|
|
|
0xb0b0cb7b, 0x5454fca8, 0xbbbbd66d, 0x16163a2c,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
__constant static u32a te4[256] =
|
|
|
|
|
__constant u32a te4[256] =
|
|
|
|
|
{
|
|
|
|
|
0x63636363, 0x7c7c7c7c, 0x77777777, 0x7b7b7b7b,
|
|
|
|
|
0xf2f2f2f2, 0x6b6b6b6b, 0x6f6f6f6f, 0xc5c5c5c5,
|
|
|
|
@ -343,7 +343,7 @@ __constant static u32a te4[256] =
|
|
|
|
|
0xb0b0b0b0, 0x54545454, 0xbbbbbbbb, 0x16161616,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
__constant static u32a td0[256] =
|
|
|
|
|
__constant u32a td0[256] =
|
|
|
|
|
{
|
|
|
|
|
0x51f4a750, 0x7e416553, 0x1a17a4c3, 0x3a275e96,
|
|
|
|
|
0x3bab6bcb, 0x1f9d45f1, 0xacfa58ab, 0x4be30393,
|
|
|
|
@ -411,7 +411,7 @@ __constant static u32a td0[256] =
|
|
|
|
|
0x7bcb8461, 0xd532b670, 0x486c5c74, 0xd0b85742,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
__constant static u32a td1[256] =
|
|
|
|
|
__constant u32a td1[256] =
|
|
|
|
|
{
|
|
|
|
|
0x5051f4a7, 0x537e4165, 0xc31a17a4, 0x963a275e,
|
|
|
|
|
0xcb3bab6b, 0xf11f9d45, 0xabacfa58, 0x934be303,
|
|
|
|
@ -479,7 +479,7 @@ __constant static u32a td1[256] =
|
|
|
|
|
0x617bcb84, 0x70d532b6, 0x74486c5c, 0x42d0b857,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
__constant static u32a td2[256] =
|
|
|
|
|
__constant u32a td2[256] =
|
|
|
|
|
{
|
|
|
|
|
0xa75051f4, 0x65537e41, 0xa4c31a17, 0x5e963a27,
|
|
|
|
|
0x6bcb3bab, 0x45f11f9d, 0x58abacfa, 0x03934be3,
|
|
|
|
@ -547,7 +547,7 @@ __constant static u32a td2[256] =
|
|
|
|
|
0x84617bcb, 0xb670d532, 0x5c74486c, 0x5742d0b8,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
__constant static u32a td3[256] =
|
|
|
|
|
__constant u32a td3[256] =
|
|
|
|
|
{
|
|
|
|
|
0xf4a75051, 0x4165537e, 0x17a4c31a, 0x275e963a,
|
|
|
|
|
0xab6bcb3b, 0x9d45f11f, 0xfa58abac, 0xe303934b,
|
|
|
|
@ -615,7 +615,7 @@ __constant static u32a td3[256] =
|
|
|
|
|
0xcb84617b, 0x32b670d5, 0x6c5c7448, 0xb85742d0,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
__constant static u32a td4[256] =
|
|
|
|
|
__constant u32a td4[256] =
|
|
|
|
|
{
|
|
|
|
|
0x52525252, 0x09090909, 0x6a6a6a6a, 0xd5d5d5d5,
|
|
|
|
|
0x30303030, 0x36363636, 0xa5a5a5a5, 0x38383838,
|
|
|
|
@ -683,7 +683,7 @@ __constant static u32a td4[256] =
|
|
|
|
|
0x55555555, 0x21212121, 0x0c0c0c0c, 0x7d7d7d7d,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
__constant static u32a rcon[] =
|
|
|
|
|
__constant u32a rcon[] =
|
|
|
|
|
{
|
|
|
|
|
0x01000000, 0x02000000, 0x04000000, 0x08000000,
|
|
|
|
|
0x10000000, 0x20000000, 0x40000000, 0x80000000,
|
|
|
|
|