Lines Matching refs:DH
11 * DH low level APIs are deprecated for public use, but still ok for
29 static DH *dh_new_intern(ENGINE *engine, OSSL_LIB_CTX *libctx);
32 int DH_set_method(DH *dh, const DH_METHOD *meth)
52 const DH_METHOD *ossl_dh_get_method(const DH *dh)
57 DH *DH_new(void)
63 DH *DH_new_method(ENGINE *engine)
69 DH *ossl_dh_new_ex(OSSL_LIB_CTX *libctx)
74 static DH *dh_new_intern(ENGINE *engine, OSSL_LIB_CTX *libctx)
76 DH *ret = OPENSSL_zalloc(sizeof(*ret));
131 void DH_free(DH *r)
139 REF_PRINT_COUNT("DH", r);
161 int DH_up_ref(DH *r)
168 REF_PRINT_COUNT("DH", r);
173 void ossl_dh_set0_libctx(DH *d, OSSL_LIB_CTX *libctx)
179 int DH_set_ex_data(DH *d, int idx, void *arg)
184 void *DH_get_ex_data(const DH *d, int idx)
190 int DH_bits(const DH *dh)
197 int DH_size(const DH *dh)
204 int DH_security_bits(const DH *dh)
219 void DH_get0_pqg(const DH *dh,
225 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g)
241 long DH_get_length(const DH *dh)
246 int DH_set_length(DH *dh, long length)
253 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key)
261 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key)
276 const BIGNUM *DH_get0_p(const DH *dh)
281 const BIGNUM *DH_get0_q(const DH *dh)
286 const BIGNUM *DH_get0_g(const DH *dh)
291 const BIGNUM *DH_get0_priv_key(const DH *dh)
296 const BIGNUM *DH_get0_pub_key(const DH *dh)
301 void DH_clear_flags(DH *dh, int flags)
306 int DH_test_flags(const DH *dh, int flags)
311 void DH_set_flags(DH *dh, int flags)
317 ENGINE *DH_get0_engine(DH *dh)
323 FFC_PARAMS *ossl_dh_get0_params(DH *dh)
327 int ossl_dh_get0_nid(const DH *dh)