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