Home
last modified time | relevance | path

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

/external/lzma/C/
DAes.c10 static Byte Sbox[256] = { variable
58 InvS[Sbox[i]] = (Byte)i; in AesGenTables()
62 UInt32 a1 = Sbox[i]; in AesGenTables()
111 #define FT(i, x) Sbox[gb ## x(m[(i + x) & 3])]
146 t = Ui32(Sbox[gb1(t)] ^ Rcon[i / keySize], Sbox[gb2(t)], Sbox[gb3(t)], Sbox[gb0(t)]); in Aes_SetKey_Enc()
148 t = Ui32(Sbox[gb0(t)], Sbox[gb1(t)], Sbox[gb2(t)], Sbox[gb3(t)]); in Aes_SetKey_Enc()
163 D[ Sbox[gb0(r)]] ^ in Aes_SetKey_Dec()
164 D[0x100 + Sbox[gb1(r)]] ^ in Aes_SetKey_Dec()
165 D[0x200 + Sbox[gb2(r)]] ^ in Aes_SetKey_Dec()
166 D[0x300 + Sbox[gb3(r)]]; in Aes_SetKey_Dec()
/external/pdfium/core/src/fdrm/crypto/
Dfx_crypt_aes.cpp36 static const unsigned char Sbox[256] = { variable
460 (newstate[i] = (Sbox[(block[i] >> 24) & 0xFF] << 24) | \
461 (Sbox[(block[(i + C1) % Nb] >> 16) & 0xFF] << 16) | \
462 (Sbox[(block[(i + C2) % Nb] >> 8) & 0xFF] << 8) | \
463 (Sbox[(block[(i + C3) % Nb]) & 0xFF]))
717 temp = Sbox[a] ^ rconst; in aes_setup()
718 temp = (temp << 8) | Sbox[b]; in aes_setup()
719 temp = (temp << 8) | Sbox[c]; in aes_setup()
720 temp = (temp << 8) | Sbox[d]; in aes_setup()
728 temp = Sbox[a]; in aes_setup()
[all …]
/external/boringssl/src/crypto/aes/asm/
Dbsaes-x86_64.pl112 sub Sbox { subroutine
726 &Sbox (@b,@t);
737 &Sbox (@b,@t);
842 &Sbox (@XMM[0..7, 8..15]);
Dbsaes-armv7.pl74 sub Sbox { subroutine
883 &Sbox (@XMM[0..7, 8..15]);