Home
last modified time | relevance | path

Searched refs:dma_g (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/crypto/hisilicon/hpre/
Dhpre_crypto.c91 dma_addr_t dma_g; member
101 dma_addr_t dma_g; member
111 dma_addr_t dma_g; member
598 msg->in = cpu_to_le64(ctx->dh.dma_g); in hpre_dh_compute_value()
669 ctx->dh.g = dma_alloc_coherent(dev, sz, &ctx->dh.dma_g, GFP_KERNEL); in hpre_dh_set_params()
691 dma_free_coherent(dev, sz, ctx->dh.g, ctx->dh.dma_g); in hpre_dh_clear_ctx()
1332 ctx->ecdh.dma_g = ctx->ecdh.dma_p + shift; in hpre_ecdh_set_param()
1586 msg->in = cpu_to_le64(ctx->ecdh.dma_g); in hpre_ecdh_compute_value()
1696 ctx->curve25519.dma_g = ctx->curve25519.dma_p + shift + sz; in hpre_curve25519_set_param()
1933 msg->in = cpu_to_le64(ctx->curve25519.dma_g); in hpre_curve25519_compute_value()
/Linux-v6.1/drivers/crypto/qat/qat_common/
Dqat_asym_algs.c107 dma_addr_t dma_g; member
273 qat_req->in.dh.in.b = ctx->dma_g; in qat_dh_compute_value()
417 ctx->g = dma_alloc_coherent(dev, ctx->p_size, &ctx->dma_g, GFP_KERNEL); in qat_dh_set_params()
430 dma_free_coherent(dev, ctx->p_size, ctx->g, ctx->dma_g); in qat_dh_clear_ctx()