Lines Matching refs:key_dec
216 ctx->key_dec[0] = ctx->key_enc[key_len + 24]; in aesti_expand_key()
217 ctx->key_dec[1] = ctx->key_enc[key_len + 25]; in aesti_expand_key()
218 ctx->key_dec[2] = ctx->key_enc[key_len + 26]; in aesti_expand_key()
219 ctx->key_dec[3] = ctx->key_enc[key_len + 27]; in aesti_expand_key()
222 ctx->key_dec[i] = inv_mix_columns(ctx->key_enc[j]); in aesti_expand_key()
223 ctx->key_dec[i + 1] = inv_mix_columns(ctx->key_enc[j + 1]); in aesti_expand_key()
224 ctx->key_dec[i + 2] = inv_mix_columns(ctx->key_enc[j + 2]); in aesti_expand_key()
225 ctx->key_dec[i + 3] = inv_mix_columns(ctx->key_enc[j + 3]); in aesti_expand_key()
228 ctx->key_dec[i] = ctx->key_enc[0]; in aesti_expand_key()
229 ctx->key_dec[i + 1] = ctx->key_enc[1]; in aesti_expand_key()
230 ctx->key_dec[i + 2] = ctx->key_enc[2]; in aesti_expand_key()
231 ctx->key_dec[i + 3] = ctx->key_enc[3]; in aesti_expand_key()
258 ctx->key_dec[0] ^= __aesti_inv_sbox[ 0] ^ __aesti_inv_sbox[128]; in aesti_set_key()
259 ctx->key_dec[1] ^= __aesti_inv_sbox[32] ^ __aesti_inv_sbox[160]; in aesti_set_key()
260 ctx->key_dec[2] ^= __aesti_inv_sbox[64] ^ __aesti_inv_sbox[192]; in aesti_set_key()
261 ctx->key_dec[3] ^= __aesti_inv_sbox[96] ^ __aesti_inv_sbox[224]; in aesti_set_key()
308 const u32 *rkp = ctx->key_dec + 4; in aesti_decrypt()
313 st0[0] = ctx->key_dec[0] ^ get_unaligned_le32(in); in aesti_decrypt()
314 st0[1] = ctx->key_dec[1] ^ get_unaligned_le32(in + 4); in aesti_decrypt()
315 st0[2] = ctx->key_dec[2] ^ get_unaligned_le32(in + 8); in aesti_decrypt()
316 st0[3] = ctx->key_dec[3] ^ get_unaligned_le32(in + 12); in aesti_decrypt()