Home
last modified time | relevance | path

Searched refs:dhkey (Results 1 – 3 of 3) sorted by relevance

/openssl/test/
H A Devp_extra_test2.c344 const DH *dhkey; in test_dh_tofrom_data_select() local
356 ret = ret && TEST_ptr(dhkey = EVP_PKEY_get0_DH(key)) in test_dh_tofrom_data_select()
357 && TEST_ptr(privkey = DH_get0_priv_key(dhkey)) in test_dh_tofrom_data_select()
/openssl/crypto/evp/
H A Dp_lib.c917 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()
/openssl/doc/man1/
H A Dopenssl-genpkey.pod.in439 openssl genpkey -algorithm DH -out dhkey.pem -pkeyopt group:ffdhe4096
443 openssl genpkey -algorithm DHX -out dhkey.pem -pkeyopt dh_rfc5114:3
447 openssl genpkey -paramfile dhp.pem -out dhkey.pem

Completed in 15 milliseconds