Lines Matching refs:dh_ctx
15 struct dh_ctx {
22 static void dh_clear_ctx(struct dh_ctx *ctx)
37 static int _compute_val(const struct dh_ctx *ctx, MPI base, MPI val)
43 static inline struct dh_ctx *dh_get_ctx(struct crypto_kpp *tfm)
53 static int dh_set_params(struct dh_ctx *ctx, struct dh *params)
78 struct dh_ctx *ctx = dh_get_ctx(tfm);
110 static int dh_is_pubkey_valid(struct dh_ctx *ctx, MPI y)
153 struct dh_ctx *ctx = dh_get_ctx(tfm);
236 struct dh_ctx *ctx = dh_get_ctx(tfm);
243 struct dh_ctx *ctx = dh_get_ctx(tfm);
259 .cra_ctxsize = sizeof(struct dh_ctx),