Lines Matching refs:aes_sbox
15 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()
276 st0[0] ^= aes_sbox[ 0] ^ aes_sbox[ 64] ^ aes_sbox[134] ^ aes_sbox[195]; in aes_encrypt()
277 st0[1] ^= aes_sbox[16] ^ aes_sbox[ 82] ^ aes_sbox[158] ^ aes_sbox[221]; in aes_encrypt()
278 st0[2] ^= aes_sbox[32] ^ aes_sbox[ 96] ^ aes_sbox[160] ^ aes_sbox[234]; in aes_encrypt()
279 st0[3] ^= aes_sbox[48] ^ aes_sbox[112] ^ aes_sbox[186] ^ aes_sbox[241]; in aes_encrypt()