Searched refs:dec_key (Results 1 – 11 of 11) sorted by relevance
/linux-6.6.21/crypto/ |
D | aria_generic.c | 155 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/ |
D | aes.c | 25 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()
|
D | aes_cbc.c | 21 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()
|
D | aes_xts.c | 22 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/ |
D | asm-offsets.c | 126 OFFSET(ARIA_CTX_dec_key, aria_ctx, dec_key); in common()
|
/linux-6.6.21/include/crypto/ |
D | aria.h | 36 u32 dec_key[ARIA_MAX_RD_KEYS][ARIA_RD_KEY_WORDS]; member
|
/linux-6.6.21/arch/x86/crypto/ |
D | aria_aesni_avx_glue.c | 77 return ecb_do_decrypt(req, ctx->dec_key[0]); in aria_avx_ecb_decrypt()
|
D | aria_gfni_avx512_glue.c | 66 return ecb_do_decrypt(req, ctx->dec_key[0]); in aria_avx512_ecb_decrypt()
|
D | aria_aesni_avx2_glue.c | 79 return ecb_do_decrypt(req, ctx->dec_key[0]); in aria_avx2_ecb_decrypt()
|
/linux-6.6.21/lib/ |
D | btree.c | 135 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/ |
D | chcr_algo.c | 228 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()
|