Home
last modified time | relevance | path

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

/PHP-8.0/ext/openssl/
H A Dopenssl.c3849 DH *dhparam = DH_new(); in php_openssl_generate_private_key() local
3850 if (dhparam && DH_generate_parameters_ex(dhparam, req->priv_key_bits, 2, NULL)) { in php_openssl_generate_private_key()
3851 DH_set_method(dhparam, DH_get_default_method()); in php_openssl_generate_private_key()
3852 if (DH_check(dhparam, &codes) && codes == 0 && DH_generate_key(dhparam)) { in php_openssl_generate_private_key()
3853 if (EVP_PKEY_assign_DH(req->priv_key, dhparam)) { in php_openssl_generate_private_key()
3860 DH_free(dhparam); in php_openssl_generate_private_key()

Completed in 30 milliseconds