Searched refs:dhkey (Results 1 – 3 of 3) sorted by relevance
917 int EVP_PKEY_set1_DH(EVP_PKEY *pkey, DH *dhkey) in IMPLEMENT_ECX_VARIANT()940 if (ossl_dh_is_named_safe_prime_group(dhkey)) in IMPLEMENT_ECX_VARIANT()943 type = DH_get0_q(dhkey) == NULL ? EVP_PKEY_DH : EVP_PKEY_DHX; in IMPLEMENT_ECX_VARIANT()945 ret = EVP_PKEY_assign(pkey, type, dhkey); in IMPLEMENT_ECX_VARIANT()948 DH_up_ref(dhkey); in IMPLEMENT_ECX_VARIANT()
352 const DH *dhkey; in test_dh_tofrom_data_select() local364 ret = ret && TEST_ptr(dhkey = EVP_PKEY_get0_DH(key)) in test_dh_tofrom_data_select()365 && TEST_ptr(privkey = DH_get0_priv_key(dhkey)) in test_dh_tofrom_data_select()
439 openssl genpkey -algorithm DH -out dhkey.pem -pkeyopt group:ffdhe4096443 openssl genpkey -algorithm DHX -out dhkey.pem -pkeyopt dh_rfc5114:3447 openssl genpkey -paramfile dhp.pem -out dhkey.pem
Completed in 16 milliseconds