Searched refs:dh2 (Results 1 - 2 of 2) sorted by relevance

/freebsd-current/crypto/openssl/providers/implementations/keymgmt/
H A Ddh_kmgmt.c151 const DH *dh2 = keydata2; local
162 const BIGNUM *pb = DH_get0_pub_key(dh2);
172 const BIGNUM *pb = DH_get0_priv_key(dh2);
183 FFC_PARAMS *dhparams2 = ossl_dh_get0_params((DH *)dh2);
/freebsd-current/crypto/openssl/test/
H A Ddhtest.c810 DH *dh2 = DH_new(); local
813 || !TEST_ptr(dh2))
825 if (!TEST_true(DH_set0_pqg(dh2, pcpy, NULL, gcpy)))
829 if (!TEST_ptr(DH_get0_q(dh2)))
833 if (!TEST_int_eq(DH_get_nid(dh2), NID_ffdhe2048))
839 if (!TEST_true(DH_set0_pqg(dh2, NULL, NULL, gcpy)))
842 if (!TEST_int_eq(DH_get_nid(dh2), NID_undef))
850 || !TEST_true(DH_set0_pqg(dh2, pcpy, qcpy, gcpy)))
853 if (!TEST_int_eq(DH_get_nid(dh2), NID_undef))
861 DH_free(dh2);
[all...]

Completed in 108 milliseconds