Home
last modified time | relevance | path

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

/arch/arm64/crypto/
Daes-ce-glue.c70 __aes_ce_decrypt(ctx->key_dec, dst, src, num_rounds(ctx)); in aes_cipher_decrypt()
85 struct aes_block *key_enc, *key_dec; in ce_aes_expandkey() local
129 key_dec = (struct aes_block *)ctx->key_dec; in ce_aes_expandkey()
132 key_dec[0] = key_enc[j]; in ce_aes_expandkey()
134 __aes_ce_invert(key_dec + i, key_enc + j); in ce_aes_expandkey()
135 key_dec[i] = key_enc[0]; in ce_aes_expandkey()
Daes-cipher-glue.c28 __aes_arm64_decrypt(ctx->key_dec, out, in, rounds); in aes_arm64_decrypt()
Daes-glue.c224 ctx->key_dec, rounds, blocks); in ecb_decrypt()
271 ctx->key_dec, rounds, blocks, walk->iv); in cbc_decrypt_walk()
397 ctx->key_dec, rounds, walk.nbytes, walk.iv); in cts_cbc_decrypt()
455 ctx->key1.key_dec, rounds, blocks, in essiv_cbc_decrypt()
640 ctx->key1.key_dec, rounds, nbytes, in xts_decrypt()
663 ctx->key1.key_dec, rounds, walk.nbytes, in xts_decrypt()
Daes-neonbs-glue.c415 neon_aes_xts_decrypt(out, in, ctx->cts.key_dec, ctx->key.rounds, in __xts_crypt()
/arch/powerpc/crypto/
Daes-spe-glue.c40 u32 key_dec[AES_MAX_KEYLENGTH_U32]; member
46 u32 key_dec[AES_MAX_KEYLENGTH_U32]; member
52 extern void ppc_decrypt_aes(u8 *out, const u8 *in, u32 *key_dec, u32 rounds);
55 extern void ppc_decrypt_ecb(u8 *out, const u8 *in, u32 *key_dec, u32 rounds,
59 extern void ppc_decrypt_cbc(u8 *out, const u8 *in, u32 *key_dec, u32 rounds,
65 extern void ppc_decrypt_xts(u8 *out, const u8 *in, u32 *key_dec, u32 rounds,
72 extern void ppc_generate_decrypt_key(u32 *key_dec,u32 *key_enc,
116 ppc_generate_decrypt_key(ctx->key_dec, ctx->key_enc, key_len); in ppc_aes_setkey()
158 ppc_generate_decrypt_key(ctx->key_dec, ctx->key_enc, key_len); in ppc_xts_setkey()
177 ppc_decrypt_aes(out, in, ctx->key_dec, ctx->rounds); in ppc_aes_decrypt()
[all …]
/arch/arm/crypto/
Daes-ce-glue.c80 struct aes_block *key_enc, *key_dec; in ce_aes_expandkey() local
125 key_dec = (struct aes_block *)ctx->key_dec; in ce_aes_expandkey()
128 key_dec[0] = key_enc[j]; in ce_aes_expandkey()
130 ce_aes_invert(key_dec + i, key_enc + j); in ce_aes_expandkey()
131 key_dec[i] = key_enc[0]; in ce_aes_expandkey()
210 ctx->key_dec, num_rounds(ctx), blocks); in ecb_decrypt()
258 ctx->key_dec, num_rounds(ctx), blocks, in cbc_decrypt_walk()
386 ctx->key_dec, num_rounds(ctx), walk.nbytes, in cts_cbc_decrypt()
569 ctx->key1.key_dec, rounds, nbytes, walk.iv, in xts_decrypt()
591 ctx->key1.key_dec, rounds, walk.nbytes, walk.iv, in xts_decrypt()
Daes-cipher-glue.c29 __aes_arm_decrypt(ctx->key_dec, rounds, in, out); in aes_arm_decrypt()