Home
last modified time | relevance | path

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

/external/pdfium/core/fdrm/
Dfx_crypt_aes.cpp25 const unsigned char Sbox[256] = { variable
442 (newstate[i] = (Sbox[(block[i] >> 24) & 0xFF] << 24) | \
443 (Sbox[(block[(i + C1) % Nb] >> 16) & 0xFF] << 16) | \
444 (Sbox[(block[(i + C2) % Nb] >> 8) & 0xFF] << 8) | \
445 (Sbox[(block[(i + C3) % Nb]) & 0xFF]))
535 temp = Sbox[a] ^ rconst; in aes_setup()
536 temp = (temp << 8) | Sbox[b]; in aes_setup()
537 temp = (temp << 8) | Sbox[c]; in aes_setup()
538 temp = (temp << 8) | Sbox[d]; in aes_setup()
546 temp = Sbox[a]; in aes_setup()
[all …]
/external/lzma/C/
DAes.c10 static const Byte Sbox[256] = { variable
64 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()
/external/rust/crates/ring/crypto/fipsmodule/aes/asm/
Dbsaes-armv7.pl79 sub Sbox { subroutine
812 &Sbox (@XMM[0..7, 8..15]);
/external/boringssl/src/crypto/fipsmodule/aes/asm/
Dbsaes-armv7.pl79 sub Sbox { subroutine
889 &Sbox (@XMM[0..7, 8..15]);