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.c206 ctx->key_dec, rounds, blocks); in ecb_decrypt()
253 ctx->key_dec, rounds, blocks, walk->iv); in cbc_decrypt_walk()
379 ctx->key_dec, rounds, walk.nbytes, walk.iv); in cts_cbc_decrypt()
437 ctx->key1.key_dec, rounds, blocks, in essiv_cbc_decrypt()
599 ctx->key1.key_dec, rounds, nbytes, in xts_decrypt()
622 ctx->key1.key_dec, rounds, walk.nbytes, in xts_decrypt()
Daes-neonbs-glue.c369 neon_aes_xts_decrypt(out, in, ctx->cts.key_dec, ctx->key.rounds, in __xts_crypt()
/arch/powerpc/crypto/
Daes-spe-glue.c43 u32 key_dec[AES_MAX_KEYLENGTH_U32]; member
49 u32 key_dec[AES_MAX_KEYLENGTH_U32]; member
55 extern void ppc_decrypt_aes(u8 *out, const u8 *in, u32 *key_dec, u32 rounds);
58 extern void ppc_decrypt_ecb(u8 *out, const u8 *in, u32 *key_dec, u32 rounds,
62 extern void ppc_decrypt_cbc(u8 *out, const u8 *in, u32 *key_dec, u32 rounds,
68 extern void ppc_decrypt_xts(u8 *out, const u8 *in, u32 *key_dec, u32 rounds,
75 extern void ppc_generate_decrypt_key(u32 *key_dec,u32 *key_enc,
114 ppc_generate_decrypt_key(ctx->key_dec, ctx->key_enc, key_len); in ppc_aes_setkey()
157 ppc_generate_decrypt_key(ctx->key_dec, ctx->key_enc, key_len); in ppc_xts_setkey()
176 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()
200 ctx->key_dec, num_rounds(ctx), blocks); in ecb_decrypt()
248 ctx->key_dec, num_rounds(ctx), blocks, in cbc_decrypt_walk()
376 ctx->key_dec, num_rounds(ctx), walk.nbytes, in cts_cbc_decrypt()
559 ctx->key1.key_dec, rounds, nbytes, walk.iv, in xts_decrypt()
581 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()