Home
last modified time | relevance | path

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

/arch/arm64/crypto/
A 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()
A Daes-cipher-glue.c28 __aes_arm64_decrypt(ctx->key_dec, out, in, rounds); in aes_arm64_decrypt()
A Daes-glue.c212 ctx->key_dec, rounds, blocks); in ecb_decrypt()
259 ctx->key_dec, rounds, blocks, walk->iv); in cbc_decrypt_walk()
385 ctx->key_dec, rounds, walk.nbytes, walk.iv); in cts_cbc_decrypt()
443 ctx->key1.key_dec, rounds, blocks, in essiv_cbc_decrypt()
656 ctx->key1.key_dec, rounds, nbytes, in xts_decrypt()
679 ctx->key1.key_dec, rounds, walk.nbytes, in xts_decrypt()
A Daes-neonbs-glue.c344 neon_aes_xts_decrypt(out, in, ctx->cts.key_dec, in __xts_crypt()
377 neon_aes_xts_decrypt(out, in, ctx->cts.key_dec, ctx->key.rounds, in __xts_crypt()
/arch/powerpc/crypto/
A Daes-spe-glue.c43 u32 key_dec[AES_MAX_KEYLENGTH_U32]; member
49 u32 key_dec[AES_MAX_KEYLENGTH_U32]; member
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()
200 ctx->key_dec, ctx->rounds, nbytes); in ppc_ecb_crypt()
240 ctx->key_dec, ctx->rounds, nbytes, in ppc_cbc_crypt()
309 ctx->key_dec, ctx->rounds, nbytes, in ppc_xts_crypt()
392 ppc_decrypt_xts(b[1], b[1], ctx->key_dec, ctx->rounds, AES_BLOCK_SIZE, in ppc_xts_decrypt()
[all …]
/arch/arm/crypto/
A Daes-ce-glue.c78 struct aes_block *key_enc, *key_dec; in ce_aes_expandkey() local
123 key_dec = (struct aes_block *)ctx->key_dec; in ce_aes_expandkey()
126 key_dec[0] = key_enc[j]; in ce_aes_expandkey()
128 ce_aes_invert(key_dec + i, key_enc + j); in ce_aes_expandkey()
129 key_dec[i] = key_enc[0]; in ce_aes_expandkey()
198 ctx->key_dec, num_rounds(ctx), blocks); in ecb_decrypt()
246 ctx->key_dec, num_rounds(ctx), blocks, in cbc_decrypt_walk()
374 ctx->key_dec, num_rounds(ctx), walk.nbytes, in cts_cbc_decrypt()
534 ctx->key1.key_dec, rounds, nbytes, walk.iv, in xts_decrypt()
556 ctx->key1.key_dec, rounds, walk.nbytes, walk.iv, in xts_decrypt()
A Daes-cipher-glue.c30 __aes_arm_decrypt(ctx->key_dec, rounds, in, out); in aes_arm_decrypt()
A Daes-neonbs-glue.c316 __aes_arm_decrypt(ctx->fallback.key_dec, rounds, buf, buf); in __xts_crypt()

Completed in 15 milliseconds