Lines Matching refs:DH
77 OPENSSL_EXPORT DH *DH_new(void);
81 OPENSSL_EXPORT void DH_free(DH *dh);
84 OPENSSL_EXPORT int DH_up_ref(DH *dh);
92 OPENSSL_EXPORT void DH_get0_key(const DH *dh, const BIGNUM **out_pub_key,
98 OPENSSL_EXPORT int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
102 OPENSSL_EXPORT void DH_get0_pqg(const DH *dh, const BIGNUM **out_p,
109 OPENSSL_EXPORT int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
133 OPENSSL_EXPORT int DH_generate_parameters_ex(DH *dh, int prime_bits,
141 OPENSSL_EXPORT int DH_generate_key(DH *dh);
148 DH *dh);
154 OPENSSL_EXPORT int DH_size(const DH *dh);
158 OPENSSL_EXPORT unsigned DH_num_bits(const DH *dh);
177 OPENSSL_EXPORT int DH_check(const DH *dh, int *out_flags);
187 OPENSSL_EXPORT int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key,
192 OPENSSL_EXPORT DH *DHparams_dup(const DH *dh);
200 OPENSSL_EXPORT DH *DH_parse_parameters(CBS *cbs);
205 OPENSSL_EXPORT int DH_marshal_parameters(CBB *cbb, const DH *dh);
216 OPENSSL_EXPORT int DH_set_ex_data(DH *d, int idx, void *arg);
217 OPENSSL_EXPORT void *DH_get_ex_data(DH *d, int idx);
225 OPENSSL_EXPORT DH *DH_generate_parameters(int prime_len, int generator,
239 OPENSSL_EXPORT DH *d2i_DHparams(DH **ret, const unsigned char **inp, long len);
247 OPENSSL_EXPORT int i2d_DHparams(const DH *in, unsigned char **outp);
283 BORINGSSL_MAKE_DELETER(DH, DH_free)
284 BORINGSSL_MAKE_UP_REF(DH, DH_up_ref)