Searched refs:inv_subshift (Results 1 – 1 of 1) sorted by relevance
/linux/lib/crypto/ |
H A D | aes.c | 155 static __always_inline u32 inv_subshift(u32 in[], int pos) in inv_subshift() function 333 st1[0] = inv_mix_columns(inv_subshift(st0, 0)) ^ rkp[0]; in aes_decrypt() 334 st1[1] = inv_mix_columns(inv_subshift(st0, 1)) ^ rkp[1]; in aes_decrypt() 335 st1[2] = inv_mix_columns(inv_subshift(st0, 2)) ^ rkp[2]; in aes_decrypt() 336 st1[3] = inv_mix_columns(inv_subshift(st0, 3)) ^ rkp[3]; in aes_decrypt() 341 st0[0] = inv_mix_columns(inv_subshift(st1, 0)) ^ rkp[4]; in aes_decrypt() 342 st0[1] = inv_mix_columns(inv_subshift(st1, 1)) ^ rkp[5]; in aes_decrypt() 343 st0[2] = inv_mix_columns(inv_subshift(st1, 2)) ^ rkp[6]; in aes_decrypt() 344 st0[3] = inv_mix_columns(inv_subshift(st1, 3)) ^ rkp[7]; in aes_decrypt() 347 put_unaligned_le32(inv_subshift(st1, 0) ^ rkp[4], out); in aes_decrypt() [all …]
|