Home
last modified time | relevance | path

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

/openbmc/qemu/crypto/
H A Daes.c115 #define AES_SH(X) (((X) * 5) & 15) macro
1021 t.b[swap_b ^ 0x0] = AES_sbox[st->b[swap_b ^ AES_SH(0x0)]]; in aesenc_SB_SR_AK_swap()
1022 t.b[swap_b ^ 0x1] = AES_sbox[st->b[swap_b ^ AES_SH(0x1)]]; in aesenc_SB_SR_AK_swap()
1023 t.b[swap_b ^ 0x2] = AES_sbox[st->b[swap_b ^ AES_SH(0x2)]]; in aesenc_SB_SR_AK_swap()
1024 t.b[swap_b ^ 0x3] = AES_sbox[st->b[swap_b ^ AES_SH(0x3)]]; in aesenc_SB_SR_AK_swap()
1025 t.b[swap_b ^ 0x4] = AES_sbox[st->b[swap_b ^ AES_SH(0x4)]]; in aesenc_SB_SR_AK_swap()
1026 t.b[swap_b ^ 0x5] = AES_sbox[st->b[swap_b ^ AES_SH(0x5)]]; in aesenc_SB_SR_AK_swap()
1027 t.b[swap_b ^ 0x6] = AES_sbox[st->b[swap_b ^ AES_SH(0x6)]]; in aesenc_SB_SR_AK_swap()
1028 t.b[swap_b ^ 0x7] = AES_sbox[st->b[swap_b ^ AES_SH(0x7)]]; in aesenc_SB_SR_AK_swap()
1029 t.b[swap_b ^ 0x8] = AES_sbox[st->b[swap_b ^ AES_SH(0x8)]]; in aesenc_SB_SR_AK_swap()
[all …]