Home
last modified time | relevance | path

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

/PHP-7.4/ext/openssl/
H A Dopenssl.c4066 DH *dhparam = DH_new(); in php_openssl_generate_private_key() local
4067 if (dhparam && DH_generate_parameters_ex(dhparam, req->priv_key_bits, 2, NULL)) { in php_openssl_generate_private_key()
4068 DH_set_method(dhparam, DH_get_default_method()); in php_openssl_generate_private_key()
4069 if (DH_check(dhparam, &codes) && codes == 0 && DH_generate_key(dhparam)) { in php_openssl_generate_private_key()
4070 if (EVP_PKEY_assign_DH(req->priv_key, dhparam)) { in php_openssl_generate_private_key()
4077 DH_free(dhparam); in php_openssl_generate_private_key()

Completed in 22 milliseconds