Home
last modified time | relevance | path

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

/openbmc/linux/crypto/
H A 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()
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()
169 aria_diff_word(&ctx->dec_key[i][0], &ctx->dec_key[i][1], in aria_set_decrypt_key()
170 &ctx->dec_key[i][2], &ctx->dec_key[i][3]); in aria_set_decrypt_key()
182 BUILD_BUG_ON(sizeof(ctx->dec_key) != 272); in aria_set_key()
262 __aria_crypt(ctx, out, in, ctx->dec_key); in aria_decrypt()
[all …]
/openbmc/linux/drivers/crypto/vmx/
H A 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()
H A 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()
H A 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()
/openbmc/linux/arch/x86/kernel/
H A Dasm-offsets.c126 OFFSET(ARIA_CTX_dec_key, aria_ctx, dec_key); in common()
/openbmc/linux/include/crypto/
H A Daria.h36 u32 dec_key[ARIA_MAX_RD_KEYS][ARIA_RD_KEY_WORDS]; member
/openbmc/linux/arch/x86/crypto/
H A Daria_aesni_avx_glue.c77 return ecb_do_decrypt(req, ctx->dec_key[0]); in aria_avx_ecb_decrypt()
H A Daria_gfni_avx512_glue.c66 return ecb_do_decrypt(req, ctx->dec_key[0]); in aria_avx512_ecb_decrypt()
H A Daria_aesni_avx2_glue.c79 return ecb_do_decrypt(req, ctx->dec_key[0]); in aria_avx2_ecb_decrypt()
/openbmc/linux/lib/
H A 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()
/openbmc/linux/drivers/crypto/chelsio/
H A 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()