Home
last modified time | relevance | path

Searched refs:Sbox (Results 1 – 5 of 5) sorted by relevance

/external/lzma/C/
DAes.c10 static const Byte Sbox[256] = { variable
58 InvS[Sbox[i]] = (Byte)i; in AesGenTables()
63 UInt32 a1 = Sbox[i]; in AesGenTables()
116 #define FT(i, x) Sbox[gb ## x(m[(i + x) & 3])]
153 t = Ui32(Sbox[gb1(t)] ^ Rcon[i / keySize], Sbox[gb2(t)], Sbox[gb3(t)], Sbox[gb0(t)]); in Aes_SetKey_Enc()
155 t = Ui32(Sbox[gb0(t)], Sbox[gb1(t)], Sbox[gb2(t)], Sbox[gb3(t)]); in Aes_SetKey_Enc()
170 D[ (unsigned)Sbox[gb0(r)]] ^ in Aes_SetKey_Dec()
171 D[0x100 + (unsigned)Sbox[gb1(r)]] ^ in Aes_SetKey_Dec()
172 D[0x200 + (unsigned)Sbox[gb2(r)]] ^ in Aes_SetKey_Dec()
173 D[0x300 + (unsigned)Sbox[gb3(r)]]; in Aes_SetKey_Dec()
/external/pdfium/core/fdrm/crypto/
Dfx_crypt_aes.cpp25 const unsigned char Sbox[256] = { variable
449 (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 …]
/external/syslinux/gpxe/src/net/80211/
Dwpa_tkip.c94 static const u16 Sbox[256] = { variable
137 return Sbox[v & 0xFF] ^ swap16 ( Sbox[v >> 8] ); in S()
/external/boringssl/src/crypto/fipsmodule/aes/asm/
Dbsaes-x86_64.pl114 sub Sbox { subroutine
728 &Sbox (@b,@t);
739 &Sbox (@b,@t);
844 &Sbox (@XMM[0..7, 8..15]);
Dbsaes-armv7.pl81 sub Sbox { subroutine
891 &Sbox (@XMM[0..7, 8..15]);