Home
last modified time | relevance | path

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

/php-src/ext/openssl/
H A Dopenssl.c4386 zval *curve_name_zv = zend_hash_str_find(Z_ARRVAL_P(data), "curve_name", sizeof("curve_name") - 1); in php_openssl_pkey_init_legacy_ec() local
4387 if (curve_name_zv && Z_TYPE_P(curve_name_zv) == IS_STRING && Z_STRLEN_P(curve_name_zv) > 0) { in php_openssl_pkey_init_legacy_ec()
4388 int nid = OBJ_sn2nid(Z_STRVAL_P(curve_name_zv)); in php_openssl_pkey_init_legacy_ec()
4390 …error_docref(NULL, E_WARNING, "Unknown elliptic curve (short) name %s", Z_STRVAL_P(curve_name_zv)); in php_openssl_pkey_init_legacy_ec()
4543 zval *curve_name_zv = zend_hash_str_find(Z_ARRVAL_P(data), "curve_name", sizeof("curve_name") - 1); in php_openssl_pkey_init_ec() local
4544 if (curve_name_zv && Z_TYPE_P(curve_name_zv) == IS_STRING && Z_STRLEN_P(curve_name_zv) > 0) { in php_openssl_pkey_init_ec()
4545 nid = OBJ_sn2nid(Z_STRVAL_P(curve_name_zv)); in php_openssl_pkey_init_ec()
4547 …error_docref(NULL, E_WARNING, "Unknown elliptic curve (short) name %s", Z_STRVAL_P(curve_name_zv)); in php_openssl_pkey_init_ec()
4555 …utf8_string(bld, OSSL_PKEY_PARAM_GROUP_NAME, Z_STRVAL_P(curve_name_zv), Z_STRLEN_P(curve_name_zv))… in php_openssl_pkey_init_ec()

Completed in 19 milliseconds