Searched refs:Sbox (Results 1 – 4 of 4) sorted by relevance
10 static const Byte Sbox[256] = { variable64 InvS[Sbox[i]] = (Byte)i; in AesGenTables()69 UInt32 a1 = Sbox[i]; in AesGenTables()122 #define FT(i, x) Sbox[gb(x, m[(i + x) & 3])]159 t = Ui32(Sbox[gb1(t)] ^ Rcon[i / keySize], Sbox[gb2(t)], Sbox[gb3(t)], Sbox[gb0(t)]); in Aes_SetKey_Enc()161 t = Ui32(Sbox[gb0(t)], Sbox[gb1(t)], Sbox[gb2(t)], Sbox[gb3(t)]); in Aes_SetKey_Enc()176 DD(0)[Sbox[gb0(r)]] ^ in Aes_SetKey_Dec()177 DD(1)[Sbox[gb1(r)]] ^ in Aes_SetKey_Dec()178 DD(2)[Sbox[gb2(r)]] ^ in Aes_SetKey_Dec()179 DD(3)[Sbox[gb3(r)]]; in Aes_SetKey_Dec()
25 const unsigned char Sbox[256] = { variable449 (newstate[i] = (Sbox[(block[i] >> 24) & 0xFF] << 24) | \450 (Sbox[(block[(i + C1) % Nb] >> 16) & 0xFF] << 16) | \451 (Sbox[(block[(i + C2) % Nb] >> 8) & 0xFF] << 8) | \452 (Sbox[(block[(i + C3) % Nb]) & 0xFF]))712 temp = Sbox[a] ^ rconst; in aes_setup()713 temp = (temp << 8) | Sbox[b]; in aes_setup()714 temp = (temp << 8) | Sbox[c]; in aes_setup()715 temp = (temp << 8) | Sbox[d]; in aes_setup()723 temp = Sbox[a]; in aes_setup()[all …]
75 rc4word Sbox[256]; /* current state block.*/ member88 #define RC4_SBOX(ctx) ((ctx)->Sbox)
77 sub Sbox { subroutine887 &Sbox (@XMM[0..7, 8..15]);