Home
last modified time | relevance | path

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

/lib/crypto/
Daes.c16 static volatile const u8 __cacheline_aligned aes_sbox[] = { variable
86 extern const u8 crypto_aes_sbox[256] __alias(aes_sbox);
150 return (aes_sbox[in[pos] & 0xff]) ^ in subshift()
151 (aes_sbox[(in[(pos + 1) % 4] >> 8) & 0xff] << 8) ^ in subshift()
152 (aes_sbox[(in[(pos + 2) % 4] >> 16) & 0xff] << 16) ^ in subshift()
153 (aes_sbox[(in[(pos + 3) % 4] >> 24) & 0xff] << 24); in subshift()
166 return (aes_sbox[in & 0xff]) ^ in subw()
167 (aes_sbox[(in >> 8) & 0xff] << 8) ^ in subw()
168 (aes_sbox[(in >> 16) & 0xff] << 16) ^ in subw()
169 (aes_sbox[(in >> 24) & 0xff] << 24); in subw()
[all …]