Home
last modified time | relevance | path

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

/Linux-v6.1/lib/crypto/
Daes.c125 static u32 inv_mix_columns(u32 x) in inv_mix_columns() function
237 ctx->key_dec[i] = inv_mix_columns(ctx->key_enc[j]); in aes_expandkey()
238 ctx->key_dec[i + 1] = inv_mix_columns(ctx->key_enc[j + 1]); in aes_expandkey()
239 ctx->key_dec[i + 2] = inv_mix_columns(ctx->key_enc[j + 2]); in aes_expandkey()
240 ctx->key_dec[i + 3] = inv_mix_columns(ctx->key_enc[j + 3]); in aes_expandkey()
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()
[all …]