dh_ctx
static int dh_is_pubkey_valid(struct dh_ctx *ctx, MPI y)
struct dh_ctx *ctx = dh_get_ctx(tfm);
static void dh_clear_ctx(struct dh_ctx *ctx)
struct dh_ctx *ctx = dh_get_ctx(tfm);
struct dh_ctx *ctx = dh_get_ctx(tfm);
.cra_ctxsize = sizeof(struct dh_ctx),
static int _compute_val(const struct dh_ctx *ctx, MPI base, MPI val)
static inline struct dh_ctx *dh_get_ctx(struct crypto_kpp *tfm)
static int dh_set_params(struct dh_ctx *ctx, struct dh *params)
struct dh_ctx *ctx = dh_get_ctx(tfm);