Home
last modified time | relevance | path

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

/PHP-8.1/ext/openssl/
H A Dopenssl.c5098 EVP_PKEY_derive_set_peer(ctx, peer_key) <= 0 || in php_openssl_pkey_derive()
5121 EVP_PKEY *peer_key = EVP_PKEY_new(); in php_openssl_dh_compute_key() local
5122 if (!peer_key || EVP_PKEY_copy_parameters(peer_key, pkey) <= 0 || in php_openssl_dh_compute_key()
5123 EVP_PKEY_set1_encoded_public_key(peer_key, (unsigned char *) pub_str, pub_len) <= 0) { in php_openssl_dh_compute_key()
5125 EVP_PKEY_free(peer_key); in php_openssl_dh_compute_key()
5129 zend_string *result = php_openssl_pkey_derive(pkey, peer_key, 0); in php_openssl_dh_compute_key()
5130 EVP_PKEY_free(peer_key); in php_openssl_dh_compute_key()
5203 EVP_PKEY *peer_key = php_openssl_pkey_from_zval(peer_pub_key, 1, NULL, 0, 1); in PHP_FUNCTION() local
5204 if (!peer_key) { in PHP_FUNCTION()
5209 zend_string *result = php_openssl_pkey_derive(pkey, peer_key, key_len); in PHP_FUNCTION()
[all …]

Completed in 29 milliseconds