Searched refs:priv_key2 (Results 1 – 4 of 4) sorted by relevance
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/ |
H A D | dhtest.c | 34 const BIGNUM *pub_key2, *priv_key2; in dh_test() local 96 DH_get0_key(dh, &pub_key2, &priv_key2); in dh_test() 98 || !TEST_ptr_eq(priv_key2, priv_key)) in dh_test() 103 || !TEST_ptr_eq(DH_get0_priv_key(dh), priv_key2)) in dh_test() 113 DH_get0_key(dh, &pub_key2, &priv_key2); in dh_test() 115 || !TEST_ptr_eq(priv_key2, priv_key)) in dh_test() 120 || !TEST_ptr_eq(DH_get0_priv_key(dh), priv_key2)) in dh_test()
|
/netbsd-src/external/mpl/bind/dist/lib/dns/ |
H A D | openssldh_link.c |
|
/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/ |
H A D | openssldh_link.c | 191 const BIGNUM *priv_key1 = NULL, *priv_key2 = NULL; in openssldh_compare() local 204 DH_get0_key(dh2, &pub_key2, &priv_key2); in openssldh_compare() 214 if (priv_key1 != NULL || priv_key2 != NULL) { in openssldh_compare() 215 if (priv_key1 == NULL || priv_key2 == NULL) { in openssldh_compare() 218 if (BN_cmp(priv_key1, priv_key2) != 0) { in openssldh_compare()
|
/netbsd-src/crypto/external/bsd/openssl/dist/test/ |
H A D | dhtest.c | 43 const BIGNUM *pub_key2, *priv_key2; in dh_test() local 110 DH_get0_key(dh, &pub_key2, &priv_key2); in dh_test() 112 || !TEST_ptr_eq(priv_key2, priv_key)) in dh_test() 117 || !TEST_ptr_eq(DH_get0_priv_key(dh), priv_key2)) in dh_test()
|