Home
last modified time | relevance | path

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

/openbmc/linux/lib/crypto/
H A Daes.c50 static volatile const u8 __cacheline_aligned aes_inv_sbox[] = { variable
86 extern const u8 crypto_aes_inv_sbox[256] __alias(aes_inv_sbox);
157 return (aes_inv_sbox[in[pos] & 0xff]) ^ in inv_subshift()
158 (aes_inv_sbox[(in[(pos + 3) % 4] >> 8) & 0xff] << 8) ^ in inv_subshift()
159 (aes_inv_sbox[(in[(pos + 2) % 4] >> 16) & 0xff] << 16) ^ in inv_subshift()
160 (aes_inv_sbox[(in[(pos + 1) % 4] >> 24) & 0xff] << 24); in inv_subshift()
327 st0[0] ^= aes_inv_sbox[ 0] ^ aes_inv_sbox[ 64] ^ aes_inv_sbox[129] ^ aes_inv_sbox[200]; in aes_decrypt()
328 st0[1] ^= aes_inv_sbox[16] ^ aes_inv_sbox[ 83] ^ aes_inv_sbox[150] ^ aes_inv_sbox[212]; in aes_decrypt()
329 st0[2] ^= aes_inv_sbox[32] ^ aes_inv_sbox[ 96] ^ aes_inv_sbox[160] ^ aes_inv_sbox[236]; in aes_decrypt()
330 st0[3] ^= aes_inv_sbox[48] ^ aes_inv_sbox[112] ^ aes_inv_sbox[187] ^ aes_inv_sbox[247]; in aes_decrypt()