Home
last modified time | relevance | path

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

/php-src/ext/openssl/
H A Dopenssl.c5412 EVP_PKEY_derive_set_peer(ctx, peer_key) <= 0 || in php_openssl_pkey_derive()
5435 EVP_PKEY *peer_key = EVP_PKEY_new(); in php_openssl_dh_compute_key() local
5436 if (!peer_key || EVP_PKEY_copy_parameters(peer_key, pkey) <= 0 || in php_openssl_dh_compute_key()
5437 EVP_PKEY_set1_encoded_public_key(peer_key, (unsigned char *) pub_str, pub_len) <= 0) { in php_openssl_dh_compute_key()
5439 EVP_PKEY_free(peer_key); in php_openssl_dh_compute_key()
5443 zend_string *result = php_openssl_pkey_derive(pkey, peer_key, 0); in php_openssl_dh_compute_key()
5444 EVP_PKEY_free(peer_key); in php_openssl_dh_compute_key()
5517 EVP_PKEY *peer_key = php_openssl_pkey_from_zval(peer_pub_key, 1, NULL, 0, 1); in PHP_FUNCTION() local
5518 if (!peer_key) { in PHP_FUNCTION()
5523 zend_string *result = php_openssl_pkey_derive(pkey, peer_key, key_len); in PHP_FUNCTION()
[all …]

Completed in 26 milliseconds