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