Searched refs:dma_g (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/crypto/hisilicon/hpre/ |
H A D | hpre_crypto.c | 94 dma_addr_t dma_g; member 104 dma_addr_t dma_g; member 114 dma_addr_t dma_g; member 613 msg->in = cpu_to_le64(ctx->dh.dma_g); in hpre_dh_compute_value() 684 ctx->dh.g = dma_alloc_coherent(dev, sz, &ctx->dh.dma_g, GFP_KERNEL); in hpre_dh_set_params() 706 dma_free_coherent(dev, sz, ctx->dh.g, ctx->dh.dma_g); in hpre_dh_clear_ctx() 1352 ctx->ecdh.dma_g = ctx->ecdh.dma_p + shift; in hpre_ecdh_set_param() 1612 msg->in = cpu_to_le64(ctx->ecdh.dma_g); in hpre_ecdh_compute_value() 1728 ctx->curve25519.dma_g = ctx->curve25519.dma_p + shift + sz; in hpre_curve25519_set_param() 1965 msg->in = cpu_to_le64(ctx->curve25519.dma_g); in hpre_curve25519_compute_value()
|
/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_asym_algs.c | 107 dma_addr_t dma_g; member 274 qat_req->in.dh.in.b = ctx->dma_g; in qat_dh_compute_value() 445 ctx->g = dma_alloc_coherent(dev, ctx->p_size, &ctx->dma_g, GFP_KERNEL); in qat_dh_set_params() 458 dma_free_coherent(dev, ctx->p_size, ctx->g, ctx->dma_g); in qat_dh_clear_ctx()
|