Home
last modified time | relevance | path

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

/freebsd/contrib/wpa/src/wps/
H A Dwps_common.c65 u8 dhkey[SHA256_MAC_LEN], kdk[SHA256_MAC_LEN]; in wps_derive_keys() local
101 sha256_vector(1, addr, len, dhkey); in wps_derive_keys()
102 wpa_hexdump_key(MSG_DEBUG, "WPS: DHKey", dhkey, sizeof(dhkey)); in wps_derive_keys()
112 hmac_sha256_vector(dhkey, sizeof(dhkey), 3, addr, len, kdk); in wps_derive_keys()
/freebsd/crypto/openssl/test/
H A Devp_extra_test2.c340 const DH *dhkey; in test_dh_tofrom_data_select() local
352 ret = ret && TEST_ptr(dhkey = EVP_PKEY_get0_DH(key)) in test_dh_tofrom_data_select()
353 && TEST_ptr(privkey = DH_get0_priv_key(dhkey)) in test_dh_tofrom_data_select()
/freebsd/crypto/openssl/crypto/evp/
H A Dp_lib.c910 int EVP_PKEY_set1_DH(EVP_PKEY *pkey, DH *dhkey) in IMPLEMENT_ECX_VARIANT()
933 if (ossl_dh_is_named_safe_prime_group(dhkey)) in IMPLEMENT_ECX_VARIANT()
936 type = DH_get0_q(dhkey) == NULL ? EVP_PKEY_DH : EVP_PKEY_DHX; in IMPLEMENT_ECX_VARIANT()
938 ret = EVP_PKEY_assign(pkey, type, dhkey); in IMPLEMENT_ECX_VARIANT()
941 DH_up_ref(dhkey); in IMPLEMENT_ECX_VARIANT()
/freebsd/crypto/openssl/doc/man1/
H A Dopenssl-genpkey.pod.in421 openssl genpkey -algorithm DH -out dhkey.pem -pkeyopt group:ffdhe4096
425 openssl genpkey -algorithm DHX -out dhkey.pem -pkeyopt dh_rfc5114:3
429 openssl genpkey -paramfile dhp.pem -out dhkey.pem