Lines Matching refs:curve25519
121 struct hpre_curve25519_ctx curve25519; member
136 struct kpp_request *curve25519; member
1202 } else if (!is_ecdh && ctx->curve25519.p) { in hpre_ecc_clear_ctx()
1204 memzero_explicit(ctx->curve25519.p + shift, sz); in hpre_ecc_clear_ctx()
1205 dma_free_coherent(dev, sz << 2, ctx->curve25519.p, in hpre_ecc_clear_ctx()
1206 ctx->curve25519.dma_p); in hpre_ecc_clear_ctx()
1207 ctx->curve25519.p = NULL; in hpre_ecc_clear_ctx()
1661 p = ctx->curve25519.p + sz - len; in hpre_curve25519_fill_curve()
1681 if (!ctx->curve25519.p) { in hpre_curve25519_set_param()
1682 ctx->curve25519.p = dma_alloc_coherent(dev, sz << 2, in hpre_curve25519_set_param()
1683 &ctx->curve25519.dma_p, in hpre_curve25519_set_param()
1685 if (!ctx->curve25519.p) in hpre_curve25519_set_param()
1689 ctx->curve25519.g = ctx->curve25519.p + shift + sz; in hpre_curve25519_set_param()
1690 ctx->curve25519.dma_g = ctx->curve25519.dma_p + shift + sz; in hpre_curve25519_set_param()
1759 areq = req->areq.curve25519; in hpre_curve25519_cb()
1790 h_req->areq.curve25519 = req; in hpre_curve25519_msg_request_set()
1795 msg->key = cpu_to_le64(ctx->curve25519.dma_p); in hpre_curve25519_msg_request_set()
1927 msg->in = cpu_to_le64(ctx->curve25519.dma_g); in hpre_curve25519_compute_value()