Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c91 dma_addr_t dma_g; member
101 dma_addr_t dma_g; member
111 dma_addr_t dma_g; member
608 msg->in = cpu_to_le64(ctx->dh.dma_g); in hpre_dh_compute_value()
679 ctx->dh.g = dma_alloc_coherent(dev, sz, &ctx->dh.dma_g, GFP_KERNEL); in hpre_dh_set_params()
701 dma_free_coherent(dev, sz, ctx->dh.g, ctx->dh.dma_g); in hpre_dh_clear_ctx()
1347 ctx->ecdh.dma_g = ctx->ecdh.dma_p + shift; in hpre_ecdh_set_param()
1607 msg->in = cpu_to_le64(ctx->ecdh.dma_g); in hpre_ecdh_compute_value()
1723 ctx->curve25519.dma_g = ctx->curve25519.dma_p + shift + sz; in hpre_curve25519_set_param()
1960 msg->in = cpu_to_le64(ctx->curve25519.dma_g); in hpre_curve25519_compute_value()
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_asym_algs.c107 dma_addr_t dma_g; member
272 qat_req->in.dh.in.b = ctx->dma_g; in qat_dh_compute_value()
416 ctx->g = dma_alloc_coherent(dev, ctx->p_size, &ctx->dma_g, GFP_KERNEL); in qat_dh_set_params()
429 dma_free_coherent(dev, ctx->p_size, ctx->g, ctx->dma_g); in qat_dh_clear_ctx()