Lines Matching refs:ec
313 #define EVP_PKEY_get0_EC_KEY(_pkey) _pkey->pkey.ec in ZEND_GET_MODULE()
4725 EC_KEY *ec = EC_KEY_new(); in php_openssl_pkey_init_ec()
4726 if (!ec) { in php_openssl_pkey_init_ec()
4731 if (!php_openssl_pkey_init_legacy_ec(ec, data, is_private) in php_openssl_pkey_init_ec()
4732 || !EVP_PKEY_assign_EC_KEY(pkey, ec)) { in php_openssl_pkey_init_ec()
4735 EC_KEY_free(ec); in php_openssl_pkey_init_ec()
5341 zval ec; in PHP_FUNCTION() local
5356 array_init(&ec); in PHP_FUNCTION()
5363 add_assoc_string(&ec, "curve_name", crv_sn); in PHP_FUNCTION()
5369 add_assoc_stringl(&ec, "curve_oid", (char*) oir_buf, oir_len); in PHP_FUNCTION()
5377 php_openssl_add_bn_to_array(&ec, x, "x"); in PHP_FUNCTION()
5378 php_openssl_add_bn_to_array(&ec, y, "y"); in PHP_FUNCTION()
5384 php_openssl_add_bn_to_array(&ec, d, "d"); in PHP_FUNCTION()
5387 add_assoc_zval(return_value, "ec", &ec); in PHP_FUNCTION()