Home
last modified time | relevance | path

Searched refs:d_sz (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/drivers/crypto/caam/
Dcaampkc.c83 dma_unmap_single(dev, pdb->d_dma, key->d_sz, DMA_TO_DEVICE); in rsa_priv_f1_unmap()
96 dma_unmap_single(dev, pdb->d_dma, key->d_sz, DMA_TO_DEVICE); in rsa_priv_f2_unmap()
466 pdb->d_dma = dma_map_single(dev, key->d, key->d_sz, DMA_TO_DEVICE); in set_rsa_priv_f1_pdb()
492 pdb->sgf |= (key->d_sz << RSA_PDB_D_SHIFT) | key->n_sz; in set_rsa_priv_f1_pdb()
509 pdb->d_dma = dma_map_single(dev, key->d, key->d_sz, DMA_TO_DEVICE); in set_rsa_priv_f2_pdb()
557 pdb->sgf |= (key->d_sz << RSA_PDB_D_SHIFT) | key->n_sz; in set_rsa_priv_f2_pdb()
569 dma_unmap_single(dev, pdb->d_dma, key->d_sz, DMA_TO_DEVICE); in set_rsa_priv_f2_pdb()
1064 rsa_key->d = kmemdup(raw_key.d, raw_key.d_sz, GFP_KERNEL); in caam_rsa_set_priv_key()
1087 rsa_key->d_sz = raw_key.d_sz; in caam_rsa_set_priv_key()
Dcaampkc.h82 size_t d_sz; member
/linux-6.12.1/drivers/crypto/aspeed/
Daspeed-acry.c122 size_t d_sz; member
378 if (!ctx->d || !ctx->d_sz) { in aspeed_acry_rsa_trigger()
385 ctx->key.d, ctx->key.d_sz, in aspeed_acry_rsa_trigger()
467 ctx->d_sz = len; in aspeed_rsa_set_d()
482 ctx->d_sz = 0; in aspeed_rsa_key_free()
518 ret = aspeed_rsa_set_d(ctx, (u8 *)ctx->key.d, ctx->key.d_sz); in aspeed_acry_rsa_setkey()
/linux-6.12.1/include/crypto/internal/
Drsa.h42 size_t d_sz; member
/linux-6.12.1/crypto/
Drsa_helper.c71 key->d_sz = vlen; in rsa_get_d()
Drsa.c322 mpi_key->d = mpi_read_raw_data(raw_key.d, raw_key.d_sz); in rsa_set_priv_key()
/linux-6.12.1/drivers/crypto/ccp/
Dccp-crypto-rsa.c165 raw_key.d, raw_key.d_sz); in ccp_rsa_setkey()
/linux-6.12.1/drivers/crypto/starfive/
Djh7110-rsa.c481 ret = starfive_rsa_set_d(rsa_key, raw_key.d, raw_key.d_sz); in starfive_rsa_setkey()
/linux-6.12.1/drivers/crypto/intel/qat/qat_common/
Dqat_asym_algs.c1235 ret = qat_rsa_set_d(ctx, rsa_key.d, rsa_key.d_sz); in qat_rsa_setkey()
/linux-6.12.1/drivers/crypto/hisilicon/hpre/
Dhpre_crypto.c1109 ret = hpre_rsa_set_d(ctx, rsa_key.d, rsa_key.d_sz); in hpre_rsa_setkey()