Lines Matching refs:subshift
147 static __always_inline u32 subshift(u32 in[], int pos) in subshift() function
282 st1[0] = mix_columns(subshift(st0, 0)) ^ rkp[0]; in aes_encrypt()
283 st1[1] = mix_columns(subshift(st0, 1)) ^ rkp[1]; in aes_encrypt()
284 st1[2] = mix_columns(subshift(st0, 2)) ^ rkp[2]; in aes_encrypt()
285 st1[3] = mix_columns(subshift(st0, 3)) ^ rkp[3]; in aes_encrypt()
290 st0[0] = mix_columns(subshift(st1, 0)) ^ rkp[4]; in aes_encrypt()
291 st0[1] = mix_columns(subshift(st1, 1)) ^ rkp[5]; in aes_encrypt()
292 st0[2] = mix_columns(subshift(st1, 2)) ^ rkp[6]; in aes_encrypt()
293 st0[3] = mix_columns(subshift(st1, 3)) ^ rkp[7]; in aes_encrypt()
296 put_unaligned_le32(subshift(st1, 0) ^ rkp[4], out); in aes_encrypt()
297 put_unaligned_le32(subshift(st1, 1) ^ rkp[5], out + 4); in aes_encrypt()
298 put_unaligned_le32(subshift(st1, 2) ^ rkp[6], out + 8); in aes_encrypt()
299 put_unaligned_le32(subshift(st1, 3) ^ rkp[7], out + 12); in aes_encrypt()