Home
last modified time | relevance | path

Searched refs:dec_key (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/crypto/
Daria_generic.c155 ctx->dec_key[0][i] = ctx->enc_key[ctx->rounds][i]; in aria_set_decrypt_key()
156 ctx->dec_key[ctx->rounds][i] = ctx->enc_key[0][i]; in aria_set_decrypt_key()
160 ctx->dec_key[i][0] = aria_m(ctx->enc_key[ctx->rounds - i][0]); in aria_set_decrypt_key()
161 ctx->dec_key[i][1] = aria_m(ctx->enc_key[ctx->rounds - i][1]); in aria_set_decrypt_key()
162 ctx->dec_key[i][2] = aria_m(ctx->enc_key[ctx->rounds - i][2]); in aria_set_decrypt_key()
163 ctx->dec_key[i][3] = aria_m(ctx->enc_key[ctx->rounds - i][3]); in aria_set_decrypt_key()
165 aria_diff_word(&ctx->dec_key[i][0], &ctx->dec_key[i][1], in aria_set_decrypt_key()
166 &ctx->dec_key[i][2], &ctx->dec_key[i][3]); in aria_set_decrypt_key()
167 aria_diff_byte(&ctx->dec_key[i][1], in aria_set_decrypt_key()
168 &ctx->dec_key[i][2], &ctx->dec_key[i][3]); in aria_set_decrypt_key()
[all …]
/linux-6.6.21/drivers/crypto/vmx/
Daes.c25 struct aes_key dec_key; member
71 ret |= aes_p8_set_decrypt_key(key, keylen * 8, &ctx->dec_key); in p8_aes_setkey()
108 aes_p8_decrypt(src, dst, &ctx->dec_key); in p8_aes_decrypt()
Daes_cbc.c21 struct aes_key dec_key; member
61 ret |= aes_p8_set_decrypt_key(key, keylen * 8, &ctx->dec_key); in p8_aes_cbc_setkey()
96 enc ? &ctx->enc_key : &ctx->dec_key, in p8_aes_cbc_crypt()
Daes_xts.c22 struct aes_key dec_key; member
68 ret |= aes_p8_set_decrypt_key(key, (keylen/2) * 8, &ctx->dec_key); in p8_aes_xts_setkey()
126 &ctx->dec_key, NULL, tweak); in p8_aes_xts_crypt()
/linux-6.6.21/arch/x86/kernel/
Dasm-offsets.c126 OFFSET(ARIA_CTX_dec_key, aria_ctx, dec_key); in common()
/linux-6.6.21/include/crypto/
Daria.h36 u32 dec_key[ARIA_MAX_RD_KEYS][ARIA_RD_KEY_WORDS]; member
/linux-6.6.21/arch/x86/crypto/
Daria_aesni_avx_glue.c77 return ecb_do_decrypt(req, ctx->dec_key[0]); in aria_avx_ecb_decrypt()
Daria_gfni_avx512_glue.c66 return ecb_do_decrypt(req, ctx->dec_key[0]); in aria_avx512_ecb_decrypt()
Daria_aesni_avx2_glue.c79 return ecb_do_decrypt(req, ctx->dec_key[0]); in aria_avx2_ecb_decrypt()
/linux-6.6.21/lib/
Dbtree.c135 static void dec_key(struct btree_geo *geo, unsigned long *key) in dec_key() function
321 dec_key(geo, key); in btree_get_prev()
/linux-6.6.21/drivers/crypto/chelsio/
Dchcr_algo.c228 static void get_aes_decrypt_key(unsigned char *dec_key, in get_aes_decrypt_key() argument
273 put_unaligned_be32(w_ring[j], &dec_key[k * 4]); in get_aes_decrypt_key()