Searched refs:qinv (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/crypto/ |
D | rsa.c | 24 MPI qinv; member 102 mpi_mulm(m_or_m1_or_h, m12_or_qh, key->qinv, key->p); in _rsa_dec_crt() 206 mpi_free(key->qinv); in rsa_free_mpi_key() 214 key->qinv = NULL; in rsa_free_mpi_key() 350 mpi_key->qinv = mpi_read_raw_data(raw_key.qinv, raw_key.qinv_sz); in rsa_set_priv_key() 351 if (!mpi_key->qinv) in rsa_set_priv_key()
|
D | rsa_helper.c | 145 key->qinv = value; in rsa_get_qinv()
|
/linux-6.12.1/drivers/crypto/intel/qat/qat_common/ |
D | qat_asym_algs.c | 41 dma_addr_t qinv; member 67 char *qinv; member 878 qat_req->in.rsa.dec_crt.qinv = ctx->dma_qinv; in qat_rsa_dec() 1131 ptr = rsa_key->qinv; in qat_rsa_setkey_crt() 1136 ctx->qinv = dma_alloc_coherent(dev, half_key_sz, &ctx->dma_qinv, in qat_rsa_setkey_crt() 1138 if (!ctx->qinv) in qat_rsa_setkey_crt() 1140 memcpy(ctx->qinv + (half_key_sz - len), ptr, len); in qat_rsa_setkey_crt() 1194 if (ctx->qinv) { in qat_rsa_clear_ctx() 1195 memset(ctx->qinv, '\0', half_key_sz); in qat_rsa_clear_ctx() 1196 dma_free_coherent(dev, half_key_sz, ctx->qinv, ctx->dma_qinv); in qat_rsa_clear_ctx() [all …]
|
/linux-6.12.1/include/crypto/internal/ |
D | rsa.h | 39 const u8 *qinv; member
|
/linux-6.12.1/drivers/crypto/caam/ |
D | caampkc.h | 77 u8 *qinv; member
|
D | caampkc.c | 610 pdb->c_dma = dma_map_single(dev, key->qinv, p_sz, DMA_TO_DEVICE); in set_rsa_priv_f3_pdb() 873 kfree_sensitive(key->qinv); in caam_rsa_free_key() 1025 rsa_key->qinv = caam_read_rsa_crt(raw_key->qinv, raw_key->qinv_sz, in caam_rsa_set_priv_key_form() 1027 if (!rsa_key->qinv) in caam_rsa_set_priv_key_form()
|
/linux-6.12.1/drivers/crypto/hisilicon/hpre/ |
D | hpre_crypto.c | 1022 rsa_key->qinv, rsa_key->qinv_sz); in hpre_rsa_setkey_crt()
|