Lines Matching refs:dh
22 int ossl_dh_generate_ffc_parameters(DH *dh, int type, int pbits, int qbits,
24 int ossl_dh_generate_public_key(BN_CTX *ctx, const DH *dh,
29 void ossl_dh_cache_named_group(DH *dh);
30 int ossl_dh_is_named_safe_prime_group(const DH *dh);
32 FFC_PARAMS *ossl_dh_get0_params(DH *dh);
33 int ossl_dh_get0_nid(const DH *dh);
34 int ossl_dh_params_fromdata(DH *dh, const OSSL_PARAM params[]);
35 int ossl_dh_key_fromdata(DH *dh, const OSSL_PARAM params[], int include_private);
36 int ossl_dh_params_todata(DH *dh, OSSL_PARAM_BLD *bld, OSSL_PARAM params[]);
37 int ossl_dh_key_todata(DH *dh, OSSL_PARAM_BLD *bld, OSSL_PARAM params[],
41 int ossl_dh_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh);
43 int ossl_dh_check_pub_key_partial(const DH *dh, const BIGNUM *pub_key, int *ret);
44 int ossl_dh_check_priv_key(const DH *dh, const BIGNUM *priv_key, int *ret);
45 int ossl_dh_check_pairwise(const DH *dh);
47 const DH_METHOD *ossl_dh_get_method(const DH *dh);
50 size_t ossl_dh_key2buf(const DH *dh, unsigned char **pbuf, size_t size,
59 int ossl_dh_is_foreign(const DH *dh);
60 DH *ossl_dh_dup(const DH *dh, int selection);