Lines Matching refs:dh_ctx
16 struct dh_ctx {
22 static void dh_clear_ctx(struct dh_ctx *ctx)
36 static int _compute_val(const struct dh_ctx *ctx, MPI base, MPI val)
42 static inline struct dh_ctx *dh_get_ctx(struct crypto_kpp *tfm)
55 static int dh_set_params(struct dh_ctx *ctx, struct dh *params)
74 struct dh_ctx *ctx = dh_get_ctx(tfm);
107 static int dh_is_pubkey_valid(struct dh_ctx *ctx, MPI y)
169 struct dh_ctx *ctx = dh_get_ctx(tfm);
252 struct dh_ctx *ctx = dh_get_ctx(tfm);
259 struct dh_ctx *ctx = dh_get_ctx(tfm);
275 .cra_ctxsize = sizeof(struct dh_ctx),