Home
last modified time | relevance | path

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

/PHP-8.2/ext/openssl/
H A Dopenssl.c5028 static zend_string *php_openssl_dh_compute_key(EVP_PKEY *pkey, char *pub_str, size_t pub_len) { in php_openssl_dh_compute_key() argument
5032 EVP_PKEY_set1_encoded_public_key(peer_key, (unsigned char *) pub_str, pub_len) <= 0) { in php_openssl_dh_compute_key()
5047 BIGNUM *pub = BN_bin2bn((unsigned char*)pub_str, (int)pub_len, NULL); in php_openssl_dh_compute_key()
5069 size_t pub_len; in PHP_FUNCTION() local
5071 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "sO", &pub_str, &pub_len, &key, php_openssl_pkey_ce) ==… in PHP_FUNCTION()
5075 PHP_OPENSSL_CHECK_SIZE_T_TO_INT(pub_len, pub_key, 1); in PHP_FUNCTION()
5082 zend_string *result = php_openssl_dh_compute_key(pkey, pub_str, pub_len); in PHP_FUNCTION()

Completed in 23 milliseconds