Home
last modified time | relevance | path

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

/linux-6.1.9/lib/crypto/
Daes.c15 static volatile const u8 __cacheline_aligned aes_sbox[] = { variable
85 extern const u8 crypto_aes_sbox[256] __alias(aes_sbox);
149 return (aes_sbox[in[pos] & 0xff]) ^ in subshift()
150 (aes_sbox[(in[(pos + 1) % 4] >> 8) & 0xff] << 8) ^ in subshift()
151 (aes_sbox[(in[(pos + 2) % 4] >> 16) & 0xff] << 16) ^ in subshift()
152 (aes_sbox[(in[(pos + 3) % 4] >> 24) & 0xff] << 24); in subshift()
165 return (aes_sbox[in & 0xff]) ^ in subw()
166 (aes_sbox[(in >> 8) & 0xff] << 8) ^ in subw()
167 (aes_sbox[(in >> 16) & 0xff] << 16) ^ in subw()
168 (aes_sbox[(in >> 24) & 0xff] << 24); in subw()
[all …]
/linux-6.1.9/drivers/crypto/chelsio/
Dchcr_algo.h371 static const u8 aes_sbox[256] = { variable
398 bytes[0] = aes_sbox[bytes[0]]; in aes_ks_subword()
399 bytes[1] = aes_sbox[bytes[1]]; in aes_ks_subword()
400 bytes[2] = aes_sbox[bytes[2]]; in aes_ks_subword()
401 bytes[3] = aes_sbox[bytes[3]]; in aes_ks_subword()