Home
last modified time | relevance | path

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

/lib/crypto/
Daes.c270 u32 st0[4], st1[4]; in aes_encrypt() local
280 st0[0] = ctx->key_enc[0] ^ get_unaligned_le32(in); in aes_encrypt()
281 st0[1] = ctx->key_enc[1] ^ get_unaligned_le32(in + 4); in aes_encrypt()
282 st0[2] = ctx->key_enc[2] ^ get_unaligned_le32(in + 8); in aes_encrypt()
283 st0[3] = ctx->key_enc[3] ^ get_unaligned_le32(in + 12); in aes_encrypt()
291 st0[0] ^= aes_sbox[ 0] ^ aes_sbox[ 64] ^ aes_sbox[134] ^ aes_sbox[195]; in aes_encrypt()
292 st0[1] ^= aes_sbox[16] ^ aes_sbox[ 82] ^ aes_sbox[158] ^ aes_sbox[221]; in aes_encrypt()
293 st0[2] ^= aes_sbox[32] ^ aes_sbox[ 96] ^ aes_sbox[160] ^ aes_sbox[234]; in aes_encrypt()
294 st0[3] ^= aes_sbox[48] ^ aes_sbox[112] ^ aes_sbox[186] ^ aes_sbox[241]; in aes_encrypt()
297 st1[0] = mix_columns(subshift(st0, 0)) ^ rkp[0]; in aes_encrypt()
[all …]