Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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.1.9/arch/x86/crypto/
Daria_aesni_avx_glue.c65 return ecb_do_decrypt(req, ctx->dec_key[0]); in aria_avx_ecb_decrypt()
Daria-aesni-avx-asm_64.S15 #define dec_key 272 macro
951 leaq dec_key(CTX), %r9;
1246 leaq dec_key(CTX), %r9;
/linux-6.1.9/include/crypto/
Daria.h36 u32 dec_key[ARIA_MAX_RD_KEYS][ARIA_RD_KEY_WORDS]; member
/linux-6.1.9/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.1.9/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()