Searched refs:peer_key (Results 1 – 1 of 1) sorted by relevance
/PHP-8.2/ext/openssl/ |
H A D | openssl.c | 5007 EVP_PKEY_derive_set_peer(ctx, peer_key) <= 0 || in php_openssl_pkey_derive() 5030 EVP_PKEY *peer_key = EVP_PKEY_new(); in php_openssl_dh_compute_key() local 5031 if (!peer_key || EVP_PKEY_copy_parameters(peer_key, pkey) <= 0 || in php_openssl_dh_compute_key() 5032 EVP_PKEY_set1_encoded_public_key(peer_key, (unsigned char *) pub_str, pub_len) <= 0) { in php_openssl_dh_compute_key() 5034 EVP_PKEY_free(peer_key); in php_openssl_dh_compute_key() 5038 zend_string *result = php_openssl_pkey_derive(pkey, peer_key, 0); in php_openssl_dh_compute_key() 5039 EVP_PKEY_free(peer_key); in php_openssl_dh_compute_key() 5112 EVP_PKEY *peer_key = php_openssl_pkey_from_zval(peer_pub_key, 1, NULL, 0, 1); in PHP_FUNCTION() local 5113 if (!peer_key) { in PHP_FUNCTION() 5118 zend_string *result = php_openssl_pkey_derive(pkey, peer_key, key_len); in PHP_FUNCTION() [all …]
|
Completed in 21 milliseconds