Home
last modified time | relevance | path

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

/arch/arm/crypto/
Daes-ce-core.S26 .macro enc_dround, key1, key2 argument
28 enc_round q0, \key2
31 .macro dec_dround, key1, key2 argument
33 dec_round q0, \key2
36 .macro enc_fround, key1, key2, key3
38 aese.8 q0, \key2
42 .macro dec_fround, key1, key2, key3
44 aesd.8 q0, \key2
48 .macro enc_dround_4x, key1, key2 argument
53 enc_round q0, \key2
[all …]
Daes-ce-glue.c147 struct crypto_aes_ctx __aligned(8) key2;
162 ret = ce_aes_expandkey(&ctx->key2, &in_key[key_len / 2], in xts_set_key()
488 ctx->key2.key_enc, first); in xts_encrypt()
510 ctx->key2.key_enc, first); in xts_encrypt()
560 ctx->key2.key_enc, first); in xts_decrypt()
582 ctx->key2.key_enc, first); in xts_decrypt()
/arch/arm64/crypto/
Daes-glue.c118 struct crypto_aes_ctx __aligned(8) key2;
123 struct crypto_aes_ctx __aligned(8) key2;
157 ret = aes_expandkey(&ctx->key2, &in_key[key_len / 2], in xts_set_key()
176 return aes_expandkey(&ctx->key2, digest, sizeof(digest)); in essiv_cbc_set_key()
422 req->iv, ctx->key2.key_enc); in essiv_cbc_encrypt()
444 req->iv, ctx->key2.key_enc); in essiv_cbc_decrypt()
585 ctx->key2.key_enc, walk.iv, first); in xts_encrypt()
607 ctx->key2.key_enc, walk.iv, first); in xts_encrypt()
657 ctx->key2.key_enc, walk.iv, first); in xts_decrypt()
680 ctx->key2.key_enc, walk.iv, first); in xts_decrypt()
Dsm4-ce-glue.c63 struct sm4_ctx key2; member
107 sm4_ce_expand_key(&key[SM4_KEY_SIZE], ctx->key2.rkey_enc, in sm4_xts_setkey()
108 ctx->key2.rkey_dec, crypto_sm4_fk, crypto_sm4_ck); in sm4_xts_setkey()
415 const u32 *rkey2_enc = ctx->key2.rkey_enc; in sm4_xts_crypt()
668 u8 __aligned(8) key2[SM4_BLOCK_SIZE]; in sm4_xcbc_setkey()
683 sm4_ce_crypt_block(ctx->key.rkey_enc, key2, ks[0]); in sm4_xcbc_setkey()
686 sm4_ce_expand_key(key2, ctx->key.rkey_enc, ctx->key.rkey_dec, in sm4_xcbc_setkey()
/arch/arm/boot/dts/nxp/lpc/
Dlpc3250-ea3250.dts36 key2 {