From 085add00c6b00862293965eda3db702f5adb67c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 13 Jun 2022 23:35:40 +0200 Subject: [PATCH 1/6] Support the actual `#[\SensitiveParameter]` attribute in stubs --- build/gen_stub.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/build/gen_stub.php b/build/gen_stub.php index 806a8fa35de06..353cb2b4ae7c8 100755 --- a/build/gen_stub.php +++ b/build/gen_stub.php @@ -3261,6 +3261,21 @@ function parseFunctionLike( $varName = $param->var->name; $preferRef = !empty($paramMeta[$varName]['prefer-ref']); $isSensitive = !empty($paramMeta[$varName]['sensitive-param']); + foreach ($param->attrGroups as $attrGroup) { + foreach ($attrGroup->attrs as $attr) { + switch ($attr->name->toCodeString()) { + case '\\SensitiveParameter': + if ($isSensitive) { + throw new Exception("Redundant {$attr->name->toCodeString()} declaration."); + } + + $isSensitive = true; + break; + default: + throw new Exception("Unhandled attribute {$attr->name->toCodeString()}."); + } + } + } unset($paramMeta[$varName]); if (isset($varNameSet[$varName])) { From b9e67fd8bed1f29076a985a7fc3367fc645cc56f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 13 Jun 2022 23:37:52 +0200 Subject: [PATCH 2/6] Use `#[\SensitiveParameter]` attribute instead of `@sensitive-param` in stubs --- ext/ftp/ftp.stub.php | 3 +- ext/ftp/ftp_arginfo.h | 2 +- ext/hash/hash.stub.php | 21 +-- ext/hash/hash_arginfo.h | 2 +- ext/imap/php_imap.stub.php | 3 +- ext/imap/php_imap_arginfo.h | 2 +- ext/ldap/ldap.stub.php | 24 +-- ext/ldap/ldap_arginfo.h | 2 +- ext/mysqli/mysqli.stub.php | 20 +-- ext/mysqli/mysqli_arginfo.h | 2 +- ext/oci8/oci8.stub.php | 18 +- ext/oci8/oci8_arginfo.h | 2 +- ext/odbc/odbc.stub.php | 6 +- ext/odbc/odbc_arginfo.h | 2 +- ext/openssl/openssl.stub.php | 95 +++-------- ext/openssl/openssl_arginfo.h | 2 +- ext/pdo/pdo_dbh.stub.php | 3 +- ext/pdo/pdo_dbh_arginfo.h | 2 +- ext/sodium/libsodium.stub.php | 221 +++++++------------------ ext/sodium/libsodium_arginfo.h | 2 +- ext/standard/basic_functions.stub.php | 6 +- ext/standard/basic_functions_arginfo.h | 2 +- ext/zip/php_zip.stub.php | 9 +- ext/zip/php_zip_arginfo.h | 2 +- 24 files changed, 135 insertions(+), 318 deletions(-) diff --git a/ext/ftp/ftp.stub.php b/ext/ftp/ftp.stub.php index eed2e6a2ce073..b83520b655380 100644 --- a/ext/ftp/ftp.stub.php +++ b/ext/ftp/ftp.stub.php @@ -75,8 +75,7 @@ function ftp_connect(string $hostname, int $port = 21, int $timeout = 90): FTP\C function ftp_ssl_connect(string $hostname, int $port = 21, int $timeout = 90): FTP\Connection|false {} #endif - /** @sensitive-param $password */ - function ftp_login(FTP\Connection $ftp, string $username, string $password): bool {} + function ftp_login(FTP\Connection $ftp, string $username, #[\SensitiveParameter] string $password): bool {} function ftp_pwd(FTP\Connection $ftp): string|false {} function ftp_cdup(FTP\Connection $ftp): bool {} function ftp_chdir(FTP\Connection $ftp, string $directory): bool {} diff --git a/ext/ftp/ftp_arginfo.h b/ext/ftp/ftp_arginfo.h index cfef6bf847ef9..55a0cc3770e13 100644 --- a/ext/ftp/ftp_arginfo.h +++ b/ext/ftp/ftp_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: f3728c451a9cd130e9ffdf48389e2f68b4f82423 */ + * Stub hash: 626d7a2c3ba884188722a07c4c273dbca0b86242 */ ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_ftp_connect, 0, 1, FTP\\Connection, MAY_BE_FALSE) ZEND_ARG_TYPE_INFO(0, hostname, IS_STRING, 0) diff --git a/ext/hash/hash.stub.php b/ext/hash/hash.stub.php index a305983ac9580..db7bece2ea24b 100644 --- a/ext/hash/hash.stub.php +++ b/ext/hash/hash.stub.php @@ -15,22 +15,19 @@ function hash(string $algo, string $data, bool $binary = false, array $options = function hash_file(string $algo, string $filename, bool $binary = false, array $options = []): string|false {} /** - * @sensitive-param $key * @refcount 1 */ -function hash_hmac(string $algo, string $data, string $key, bool $binary = false): string {} +function hash_hmac(string $algo, string $data, #[\SensitiveParameter] string $key, bool $binary = false): string {} /** - * @sensitive-param $key * @refcount 1 */ -function hash_hmac_file(string $algo, string $filename, string $key, bool $binary = false): string|false {} +function hash_hmac_file(string $algo, string $filename, #[\SensitiveParameter] string $key, bool $binary = false): string|false {} /** - * @sensitive-param $key * @refcount 1 */ -function hash_init(string $algo, int $flags = 0, string $key = "", array $options = []): HashContext {} +function hash_init(string $algo, int $flags = 0, #[\SensitiveParameter] string $key = "", array $options = []): HashContext {} function hash_update(HashContext $context, string $data): bool {} @@ -59,22 +56,16 @@ function hash_algos(): array {} function hash_hmac_algos(): array {} /** - * @sensitive-param $password * @refcount 1 */ -function hash_pbkdf2(string $algo, string $password, string $salt, int $iterations, int $length = 0, bool $binary = false): string {} +function hash_pbkdf2(string $algo, #[\SensitiveParameter] string $password, string $salt, int $iterations, int $length = 0, bool $binary = false): string {} -/** - * @sensitive-param $known_string - * @sensitive-param $user_string - */ -function hash_equals(string $known_string, string $user_string): bool {} +function hash_equals(#[\SensitiveParameter] string $known_string, #[\SensitiveParameter] string $user_string): bool {} /** - * @sensitive-param $key * @refcount 1 */ -function hash_hkdf(string $algo, string $key, int $length = 0, string $info = "", string $salt = ""): string {} +function hash_hkdf(string $algo, #[\SensitiveParameter] string $key, int $length = 0, string $info = "", string $salt = ""): string {} #ifdef PHP_MHASH_BC /** @deprecated */ diff --git a/ext/hash/hash_arginfo.h b/ext/hash/hash_arginfo.h index 97ff870765154..02456b8f6689c 100644 --- a/ext/hash/hash_arginfo.h +++ b/ext/hash/hash_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: fb95b61917a29769f4be4f5d7b5d589a39ae0c4e */ + * Stub hash: 0d28e37a0608d601bc1a79425870cff849dadc0f */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_hash, 0, 2, IS_STRING, 0) ZEND_ARG_TYPE_INFO(0, algo, IS_STRING, 0) diff --git a/ext/imap/php_imap.stub.php b/ext/imap/php_imap.stub.php index 5caa94d4433a2..dc4491bd9de81 100644 --- a/ext/imap/php_imap.stub.php +++ b/ext/imap/php_imap.stub.php @@ -405,8 +405,7 @@ */ const IMAP_GC_TEXTS = UNKNOWN; - /** @sensitive-param $password */ - function imap_open(string $mailbox, string $user, string $password, int $flags = 0, int $retries = 0, array $options = []): IMAP\Connection|false {} + function imap_open(string $mailbox, string $user, #[\SensitiveParameter] string $password, int $flags = 0, int $retries = 0, array $options = []): IMAP\Connection|false {} function imap_reopen(IMAP\Connection $imap, string $mailbox, int $flags = 0, int $retries = 0): bool {} diff --git a/ext/imap/php_imap_arginfo.h b/ext/imap/php_imap_arginfo.h index be22fbea311d4..403ffc63fc47b 100644 --- a/ext/imap/php_imap_arginfo.h +++ b/ext/imap/php_imap_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 0f1acb4f23b4c82e58aac65af39ce29029e203e5 */ + * Stub hash: 822fbcdcfe25192fe22bea50766cf798aee76865 */ ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_imap_open, 0, 3, IMAP\\Connection, MAY_BE_FALSE) ZEND_ARG_TYPE_INFO(0, mailbox, IS_STRING, 0) diff --git a/ext/ldap/ldap.stub.php b/ext/ldap/ldap.stub.php index 056bab35fb5f6..dd35c90777b07 100644 --- a/ext/ldap/ldap.stub.php +++ b/ext/ldap/ldap.stub.php @@ -610,10 +610,7 @@ #endif #ifdef HAVE_ORALDAP - /** - * @sensitive-param $password - */ - function ldap_connect(?string $uri = null, int $port = 389, string $wallet = UNKNOWN, string $password = UNKNOWN, int $auth_mode = GSLC_SSL_NO_AUTH): LDAP\Connection|false {} + function ldap_connect(?string $uri = null, int $port = 389, string $wallet = UNKNOWN, #[\SensitiveParameter] string $password = UNKNOWN, int $auth_mode = GSLC_SSL_NO_AUTH): LDAP\Connection|false {} #else function ldap_connect(?string $uri = null, int $port = 389): LDAP\Connection|false {} #endif @@ -623,21 +620,12 @@ function ldap_unbind(LDAP\Connection $ldap): bool {} /** @alias ldap_unbind */ function ldap_close(LDAP\Connection $ldap): bool {} - /** - * @sensitive-param $password - */ - function ldap_bind(LDAP\Connection $ldap, ?string $dn = null, ?string $password = null): bool {} + function ldap_bind(LDAP\Connection $ldap, ?string $dn = null, #[\SensitiveParameter] ?string $password = null): bool {} - /** - * @sensitive-param $password - */ - function ldap_bind_ext(LDAP\Connection $ldap, ?string $dn = null, ?string $password = null, ?array $controls = null): LDAP\Result|false {} + function ldap_bind_ext(LDAP\Connection $ldap, ?string $dn = null, #[\SensitiveParameter] ?string $password = null, ?array $controls = null): LDAP\Result|false {} #ifdef HAVE_LDAP_SASL - /** - * @sensitive-param $password - */ - function ldap_sasl_bind(LDAP\Connection $ldap, ?string $dn = null, ?string $password = null, ?string $mech = null, ?string $realm = null, ?string $authc_id = null, ?string $authz_id = null, ?string $props = null): bool {} + function ldap_sasl_bind(LDAP\Connection $ldap, ?string $dn = null, #[\SensitiveParameter] ?string $password = null, ?string $mech = null, ?string $realm = null, ?string $authc_id = null, ?string $authz_id = null, ?string $props = null): bool {} #endif /** @param LDAP\Connection|array $ldap */ @@ -791,10 +779,8 @@ function ldap_exop(LDAP\Connection $ldap, string $request_oid, ?string $request_ #ifdef HAVE_LDAP_PASSWD /** * @param array $controls - * @sensitive-param $old_password - * @sensitive-param $new_password */ - function ldap_exop_passwd(LDAP\Connection $ldap, string $user = "", string $old_password = "", string $new_password = "", &$controls = null): string|bool {} + function ldap_exop_passwd(LDAP\Connection $ldap, string $user = "", #[\SensitiveParameter] string $old_password = "", #[\SensitiveParameter] string $new_password = "", &$controls = null): string|bool {} #endif diff --git a/ext/ldap/ldap_arginfo.h b/ext/ldap/ldap_arginfo.h index 829658b3fe3ec..b13d4d3dbf0d7 100644 --- a/ext/ldap/ldap_arginfo.h +++ b/ext/ldap/ldap_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 67b3287b7dfa9beec9d9981214de8099f8224fe2 */ + * Stub hash: d13eb65a462e331f393657ce748e29f0c582b993 */ #if defined(HAVE_ORALDAP) ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_ldap_connect, 0, 0, LDAP\\Connection, MAY_BE_FALSE) diff --git a/ext/mysqli/mysqli.stub.php b/ext/mysqli/mysqli.stub.php index e4f03705bf054..1821b8271c26b 100644 --- a/ext/mysqli/mysqli.stub.php +++ b/ext/mysqli/mysqli.stub.php @@ -126,11 +126,10 @@ class mysqli */ public int $warning_count; - /** @sensitive-param $password */ public function __construct( ?string $hostname = null, ?string $username = null, - ?string $password = null, + #[\SensitiveParameter] ?string $password = null, ?string $database = null, ?int $port = null, ?string $socket = null @@ -149,11 +148,10 @@ public function autocommit(bool $enable): bool {} public function begin_transaction(int $flags = 0, ?string $name = null): bool {} /** - * @sensitive-param $password * @tentative-return-type * @alias mysqli_change_user */ - public function change_user(string $username, string $password, ?string $database): bool {} + public function change_user(string $username, #[\SensitiveParameter] string $password, ?string $database): bool {} /** * @tentative-return-type @@ -175,7 +173,6 @@ public function close() {} // TODO make return type void public function commit(int $flags = 0, ?string $name = null): bool {} /** - * @sensitive-param $password * @tentative-return-type * @alias mysqli_connect * @no-verify @@ -183,7 +180,7 @@ public function commit(int $flags = 0, ?string $name = null): bool {} public function connect( ?string $hostname = null, ?string $username = null, - ?string $password = null, + #[\SensitiveParameter] ?string $password = null, ?string $database = null, ?int $port = null, ?string $socket = null @@ -294,14 +291,13 @@ public function prepare(string $query): mysqli_stmt|false {} public function query(string $query, int $result_mode = MYSQLI_STORE_RESULT): mysqli_result|bool {} /** - * @sensitive-param $password * @tentative-return-type * @alias mysqli_real_connect */ public function real_connect( ?string $hostname = null, ?string $username = null, - ?string $password = null, + #[\SensitiveParameter] ?string $password = null, ?string $database = null, ?int $port = null, ?string $socket = null, @@ -748,8 +744,7 @@ function mysqli_autocommit(mysqli $mysql, bool $enable): bool {} function mysqli_begin_transaction(mysqli $mysql, int $flags = 0, ?string $name = null): bool {} -/** @sensitive-param $password */ -function mysqli_change_user(mysqli $mysql, string $username, string $password, ?string $database): bool {} +function mysqli_change_user(mysqli $mysql, string $username, #[\SensitiveParameter] string $password, ?string $database): bool {} /** @refcount 1 */ function mysqli_character_set_name(mysqli $mysql): string {} @@ -760,12 +755,11 @@ function mysqli_commit(mysqli $mysql, int $flags = 0, ?string $name = null): boo /** * @refcount 1 - * @sensitive-param $password */ function mysqli_connect( ?string $hostname = null, ?string $username = null, - ?string $password = null, + #[\SensitiveParameter] ?string $password = null, ?string $database = null, ?int $port = null, ?string $socket = null @@ -937,11 +931,11 @@ function mysqli_report(int $flags): bool {} /** @refcount 1 */ function mysqli_query(mysqli $mysql, string $query, int $result_mode = MYSQLI_STORE_RESULT): mysqli_result|bool {} -/** @sensitive-param $password */ function mysqli_real_connect( mysqli $mysql, ?string $hostname = null, ?string $username = null, + #[\SensitiveParameter] ?string $password = null, ?string $database = null, ?int $port = null, diff --git a/ext/mysqli/mysqli_arginfo.h b/ext/mysqli/mysqli_arginfo.h index 8935946bfeb4a..885aaa19169fd 100644 --- a/ext/mysqli/mysqli_arginfo.h +++ b/ext/mysqli/mysqli_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 2dae4302d825a7f5da3c4e00ce87aebc5502a8af */ + * Stub hash: 9db7bea22e25a7f3d70a556f0945c74511866de2 */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_mysqli_affected_rows, 0, 1, MAY_BE_LONG|MAY_BE_STRING) ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0) diff --git a/ext/oci8/oci8.stub.php b/ext/oci8/oci8.stub.php index aaa6585d00f11..adc7e9f9feb98 100644 --- a/ext/oci8/oci8.stub.php +++ b/ext/oci8/oci8.stub.php @@ -295,46 +295,40 @@ function oci_close($connection): ?bool {} function ocilogoff($connection): ?bool {} /** - * @sensitive-param $password * @return resource|false */ -function oci_new_connect(string $username, string $password, ?string $connection_string = null, string $encoding = "", int $session_mode = OCI_DEFAULT) {} +function oci_new_connect(string $username, #[\SensitiveParameter] string $password, ?string $connection_string = null, string $encoding = "", int $session_mode = OCI_DEFAULT) {} /** - * @sensitive-param $password * @return resource|false * @alias oci_new_connect * @deprecated */ -function ocinlogon(string $username, string $password, ?string $connection_string = null, string $encoding = "", int $session_mode = OCI_DEFAULT) {} +function ocinlogon(string $username, #[\SensitiveParameter] string $password, ?string $connection_string = null, string $encoding = "", int $session_mode = OCI_DEFAULT) {} /** - * @sensitive-param $password * @return resource|false */ -function oci_connect(string $username, string $password, ?string $connection_string = null, string $encoding = "", int $session_mode = OCI_DEFAULT) {} +function oci_connect(string $username, #[\SensitiveParameter] string $password, ?string $connection_string = null, string $encoding = "", int $session_mode = OCI_DEFAULT) {} /** - * @sensitive-param $password * @return resource|false * @alias oci_connect * @deprecated */ -function ocilogon(string $username, string $password, ?string $connection_string = null, string $encoding = "", int $session_mode = OCI_DEFAULT) {} +function ocilogon(string $username, #[\SensitiveParameter] string $password, ?string $connection_string = null, string $encoding = "", int $session_mode = OCI_DEFAULT) {} /** - * @sensitive-param $password * @return resource|false */ -function oci_pconnect(string $username, string $password, ?string $connection_string = null, string $encoding = "", int $session_mode = OCI_DEFAULT) {} +function oci_pconnect(string $username, #[\SensitiveParameter] string $password, ?string $connection_string = null, string $encoding = "", int $session_mode = OCI_DEFAULT) {} /** - * @sensitive-param $password * @return resource|false * @alias oci_pconnect * @deprecated */ -function ociplogon(string $username, string $password, ?string $connection_string = null, string $encoding = "", int $session_mode = OCI_DEFAULT) {} +function ociplogon(string $username, #[\SensitiveParameter] string $password, ?string $connection_string = null, string $encoding = "", int $session_mode = OCI_DEFAULT) {} /** * @param resource|null $connection_or_statement diff --git a/ext/oci8/oci8_arginfo.h b/ext/oci8/oci8_arginfo.h index ba49c7a185138..1c1273bfb4929 100644 --- a/ext/oci8/oci8_arginfo.h +++ b/ext/oci8/oci8_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 592fbc9718ff272e1cb182025963683541a7a646 */ + * Stub hash: e942a76bf66ad950c12f459b3f62bb6a0edf680c */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_oci_define_by_name, 0, 3, _IS_BOOL, 0) ZEND_ARG_INFO(0, statement) diff --git a/ext/odbc/odbc.stub.php b/ext/odbc/odbc.stub.php index 5aafe587f3a31..01a76b47fe4fb 100644 --- a/ext/odbc/odbc.stub.php +++ b/ext/odbc/odbc.stub.php @@ -70,16 +70,14 @@ function odbc_result_all($statement, string $format = ""): int|false {} function odbc_free_result($statement): bool {} /** - * @sensitive-param $password * @return resource|false */ -function odbc_connect(string $dsn, string $user, string $password, int $cursor_option = SQL_CUR_USE_DRIVER) {} +function odbc_connect(string $dsn, string $user, #[\SensitiveParameter] string $password, int $cursor_option = SQL_CUR_USE_DRIVER) {} /** - * @sensitive-param $password * @return resource|false */ -function odbc_pconnect(string $dsn, string $user, string $password, int $cursor_option = SQL_CUR_USE_DRIVER) {} +function odbc_pconnect(string $dsn, string $user, #[\SensitiveParameter] string $password, int $cursor_option = SQL_CUR_USE_DRIVER) {} /** @param resource $odbc */ function odbc_close($odbc): void {} diff --git a/ext/odbc/odbc_arginfo.h b/ext/odbc/odbc_arginfo.h index 20f159f406025..d25ffd98f85b7 100644 --- a/ext/odbc/odbc_arginfo.h +++ b/ext/odbc/odbc_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 66b702c6f84c0ae63c8aa53c8a667324a71651a0 */ + * Stub hash: 35ace4a5907342f2f2c6960cc27e119d7e5fb8f3 */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_odbc_close_all, 0, 0, IS_VOID, 0) ZEND_END_ARG_INFO() diff --git a/ext/openssl/openssl.stub.php b/ext/openssl/openssl.stub.php index 4a4f2674a46b9..1f397cc312874 100644 --- a/ext/openssl/openssl.stub.php +++ b/ext/openssl/openssl.stub.php @@ -35,9 +35,8 @@ function openssl_x509_fingerprint(OpenSSLCertificate|string $certificate, string /** * @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key - * @sensitive-param $private_key */ -function openssl_x509_check_private_key(OpenSSLCertificate|string $certificate, $private_key): bool {} +function openssl_x509_check_private_key(OpenSSLCertificate|string $certificate, #[\SensitiveParameter] $private_key): bool {} /** @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $public_key */ function openssl_x509_verify(OpenSSLCertificate|string $certificate, $public_key): int {} @@ -57,24 +56,19 @@ function openssl_x509_free(OpenSSLCertificate $certificate): void {} /** * @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key - * @sensitive-param $private_key - * @sensitive-param $passphrase */ -function openssl_pkcs12_export_to_file(OpenSSLCertificate|string $certificate, string $output_filename, $private_key, string $passphrase, array $options = []): bool {} +function openssl_pkcs12_export_to_file(OpenSSLCertificate|string $certificate, string $output_filename, #[\SensitiveParameter] $private_key, #[\SensitiveParameter] string $passphrase, array $options = []): bool {} /** * @param string $output * @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key - * @sensitive-param $private_key - * @sensitive-param $passphrase */ -function openssl_pkcs12_export(OpenSSLCertificate|string $certificate, &$output, $private_key, string $passphrase, array $options = []): bool {} +function openssl_pkcs12_export(OpenSSLCertificate|string $certificate, &$output, #[\SensitiveParameter] $private_key, #[\SensitiveParameter] string $passphrase, array $options = []): bool {} /** * @param array $certificates - * @sensitive-param $passphrase */ -function openssl_pkcs12_read(string $pkcs12, &$certificates, string $passphrase): bool {} +function openssl_pkcs12_read(string $pkcs12, &$certificates, #[\SensitiveParameter] string $passphrase): bool {} function openssl_csr_export_to_file(OpenSSLCertificateSigningRequest|string $csr, string $output_filename, bool $no_text = true): bool {} @@ -83,15 +77,13 @@ function openssl_csr_export(OpenSSLCertificateSigningRequest|string $csr, &$outp /** * @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key - * @sensitive-param $private_key */ -function openssl_csr_sign(OpenSSLCertificateSigningRequest|string $csr, OpenSSLCertificate|string|null $ca_certificate, $private_key, int $days, ?array $options = null, int $serial = 0): OpenSSLCertificate|false {} +function openssl_csr_sign(OpenSSLCertificateSigningRequest|string $csr, OpenSSLCertificate|string|null $ca_certificate, #[\SensitiveParameter] $private_key, int $days, ?array $options = null, int $serial = 0): OpenSSLCertificate|false {} /** * @param OpenSSLAsymmetricKey $private_key - * @sensitive-param $private_key */ -function openssl_csr_new(array $distinguished_names, &$private_key, ?array $options = null, ?array $extra_attributes = null): OpenSSLCertificateSigningRequest|false {} +function openssl_csr_new(array $distinguished_names, #[\SensitiveParameter] &$private_key, ?array $options = null, ?array $extra_attributes = null): OpenSSLCertificateSigningRequest|false {} /** * @return array|false @@ -105,18 +97,14 @@ function openssl_pkey_new(?array $options = null): OpenSSLAsymmetricKey|false {} /** * @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $key - * @sensitive-param $key - * @sensitive-param $passphrase */ -function openssl_pkey_export_to_file($key, string $output_filename, ?string $passphrase = null, ?array $options = null): bool {} +function openssl_pkey_export_to_file(#[\SensitiveParameter] $key, string $output_filename, #[\SensitiveParameter] ?string $passphrase = null, ?array $options = null): bool {} /** * @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $key * @param string $output - * @sensitive-param $key - * @sensitive-param $passphrase */ -function openssl_pkey_export($key, &$output, ?string $passphrase = null, ?array $options = null): bool {} +function openssl_pkey_export(#[\SensitiveParameter] $key, &$output, #[\SensitiveParameter] ?string $passphrase = null, ?array $options = null): bool {} /** @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $public_key */ function openssl_pkey_get_public($public_key): OpenSSLAsymmetricKey|false {} @@ -140,18 +128,14 @@ function openssl_free_key(OpenSSLAsymmetricKey $key): void {} /** * @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key - * @sensitive-param $private_key - * @sensitive-param $passphrase */ -function openssl_pkey_get_private($private_key, ?string $passphrase = null): OpenSSLAsymmetricKey|false {} +function openssl_pkey_get_private(#[\SensitiveParameter] $private_key, #[\SensitiveParameter] ?string $passphrase = null): OpenSSLAsymmetricKey|false {} /** * @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key - * @sensitive-param $private_key - * @sensitive-param $passphrase * @alias openssl_pkey_get_private */ -function openssl_get_privatekey($private_key, ?string $passphrase = null): OpenSSLAsymmetricKey|false {} +function openssl_get_privatekey(#[\SensitiveParameter] $private_key, #[\SensitiveParameter] ?string $passphrase = null): OpenSSLAsymmetricKey|false {} /** * @return array|false @@ -159,8 +143,7 @@ function openssl_get_privatekey($private_key, ?string $passphrase = null): OpenS */ function openssl_pkey_get_details(OpenSSLAsymmetricKey $key): array|false {} -/** @sensitive-param $password */ -function openssl_pbkdf2(string $password, string $salt, int $key_length, int $iterations, string $digest_algo = "sha1"): string|false {} +function openssl_pbkdf2(#[\SensitiveParameter] string $password, string $salt, int $key_length, int $iterations, string $digest_algo = "sha1"): string|false {} function openssl_pkcs7_verify(string $input_filename, int $flags, ?string $signers_certificates_filename = null, array $ca_info = [], ?string $untrusted_certificates_filename = null, ?string $content = null, ?string $output_filename = null): bool|int {} @@ -169,17 +152,14 @@ function openssl_pkcs7_encrypt(string $input_filename, string $output_filename, /** * @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key - * @sensitive-param $private_key */ -function openssl_pkcs7_sign(string $input_filename, string $output_filename, OpenSSLCertificate|string $certificate, $private_key, ?array $headers, int $flags = PKCS7_DETACHED, ?string $untrusted_certificates_filename = null): bool {} +function openssl_pkcs7_sign(string $input_filename, string $output_filename, OpenSSLCertificate|string $certificate, #[\SensitiveParameter] $private_key, ?array $headers, int $flags = PKCS7_DETACHED, ?string $untrusted_certificates_filename = null): bool {} /** * @param OpenSSLCertificate|string $certificate * @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string|null $private_key - * @sensitive-param $certificate - * @sensitive-param $private_key */ -function openssl_pkcs7_decrypt(string $input_filename, string $output_filename, $certificate, $private_key = null): bool {} +function openssl_pkcs7_decrypt(string $input_filename, string $output_filename, #[\SensitiveParameter] $certificate, #[\SensitiveParameter] $private_key = null): bool {} /** @param array $certificates */ function openssl_pkcs7_read(string $data, &$certificates): bool {} @@ -191,17 +171,14 @@ function openssl_cms_encrypt(string $input_filename, string $output_filename, $c /** * @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key - * @sensitive-param $private_key */ -function openssl_cms_sign(string $input_filename, string $output_filename, OpenSSLCertificate|string $certificate, $private_key, ?array $headers, int $flags = 0, int $encoding = OPENSSL_ENCODING_SMIME, ?string $untrusted_certificates_filename = null): bool {} +function openssl_cms_sign(string $input_filename, string $output_filename, OpenSSLCertificate|string $certificate, #[\SensitiveParameter] $private_key, ?array $headers, int $flags = 0, int $encoding = OPENSSL_ENCODING_SMIME, ?string $untrusted_certificates_filename = null): bool {} /** * @param OpenSSLCertificate|string $certificate * @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string|null $private_key - * @sensitive-param $certificate - * @sensitive-param $private_key */ -function openssl_cms_decrypt(string $input_filename, string $output_filename, $certificate, $private_key = null, int $encoding = OPENSSL_ENCODING_SMIME): bool {} +function openssl_cms_decrypt(string $input_filename, string $output_filename, #[\SensitiveParameter] $certificate, #[\SensitiveParameter] $private_key = null, int $encoding = OPENSSL_ENCODING_SMIME): bool {} /** @param array $certificates */ function openssl_cms_read(string $input_filename, &$certificates): bool {} @@ -209,41 +186,34 @@ function openssl_cms_read(string $input_filename, &$certificates): bool {} /** * @param string $encrypted_data * @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key - * @sensitive-param $data - * @sensitive-param $private_key */ -function openssl_private_encrypt(string $data, &$encrypted_data, $private_key, int $padding = OPENSSL_PKCS1_PADDING): bool {} +function openssl_private_encrypt(#[\SensitiveParameter] string $data, &$encrypted_data, #[\SensitiveParameter] $private_key, int $padding = OPENSSL_PKCS1_PADDING): bool {} /** * @param string $decrypted_data * @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key - * @sensitive-param $decrypted_data - * @sensitive-param $private_key */ -function openssl_private_decrypt(string $data, &$decrypted_data, $private_key, int $padding = OPENSSL_PKCS1_PADDING): bool {} +function openssl_private_decrypt(string $data, #[\SensitiveParameter] &$decrypted_data, #[\SensitiveParameter] $private_key, int $padding = OPENSSL_PKCS1_PADDING): bool {} /** * @param string $encrypted_data * @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $public_key - * @sensitive-param $data */ -function openssl_public_encrypt(string $data, &$encrypted_data, $public_key, int $padding = OPENSSL_PKCS1_PADDING): bool {} +function openssl_public_encrypt(#[\SensitiveParameter] string $data, &$encrypted_data, $public_key, int $padding = OPENSSL_PKCS1_PADDING): bool {} /** * @param string $decrypted_data * @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $public_key - * @sensitive-param $decrypted_data */ -function openssl_public_decrypt(string $data, &$decrypted_data, $public_key, int $padding = OPENSSL_PKCS1_PADDING): bool {} +function openssl_public_decrypt(string $data, #[\SensitiveParameter] &$decrypted_data, $public_key, int $padding = OPENSSL_PKCS1_PADDING): bool {} function openssl_error_string(): string|false {} /** * @param string $signature * @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key - * @sensitive-param $private_key */ -function openssl_sign(string $data, &$signature, $private_key, string|int $algorithm = OPENSSL_ALGO_SHA1): bool {} +function openssl_sign(string $data, &$signature, #[\SensitiveParameter] $private_key, string|int $algorithm = OPENSSL_ALGO_SHA1): bool {} /** @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $public_key */ function openssl_verify(string $data, string $signature, $public_key, string|int $algorithm = OPENSSL_ALGO_SHA1): int|false {} @@ -252,17 +222,14 @@ function openssl_verify(string $data, string $signature, $public_key, string|int * @param string $sealed_data * @param array $encrypted_keys * @param string $iv - * @sensitive-param $data */ -function openssl_seal(string $data, &$sealed_data, &$encrypted_keys, array $public_key, string $cipher_algo, &$iv = null): int|false {} +function openssl_seal(#[\SensitiveParameter] string $data, &$sealed_data, &$encrypted_keys, array $public_key, string $cipher_algo, &$iv = null): int|false {} /** * @param string $output * @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key - * @sensitive-param $output - * @sensitive-param $private_key */ -function openssl_open(string $data, &$output, string $encrypted_key, $private_key, string $cipher_algo, ?string $iv = null): bool {} +function openssl_open(string $data, #[\SensitiveParameter] &$output, string $encrypted_key, #[\SensitiveParameter] $private_key, string $cipher_algo, ?string $iv = null): bool {} /** * @return array @@ -288,33 +255,25 @@ function openssl_digest(string $data, string $digest_algo, bool $binary = false) /** * @param string $tag - * @sensitive-param $data - * @sensitive-param $passphrase */ -function openssl_encrypt(string $data, string $cipher_algo, string $passphrase, int $options = 0, string $iv = "", &$tag = null, string $aad = "", int $tag_length = 16): string|false {} +function openssl_encrypt(#[\SensitiveParameter] string $data, string $cipher_algo, #[\SensitiveParameter] string $passphrase, int $options = 0, string $iv = "", &$tag = null, string $aad = "", int $tag_length = 16): string|false {} -/** - * @sensitive-param $passphrase - */ -function openssl_decrypt(string $data, string $cipher_algo, string $passphrase, int $options = 0, string $iv = "", ?string $tag = null, string $aad = ""): string|false {} +function openssl_decrypt(string $data, string $cipher_algo, #[\SensitiveParameter] string $passphrase, int $options = 0, string $iv = "", ?string $tag = null, string $aad = ""): string|false {} function openssl_cipher_iv_length(string $cipher_algo): int|false {} -/** @sensitive-param $private_key */ -function openssl_dh_compute_key(string $public_key, OpenSSLAsymmetricKey $private_key): string|false {} +function openssl_dh_compute_key(string $public_key, #[\SensitiveParameter] OpenSSLAsymmetricKey $private_key): string|false {} /** * @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $public_key * @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key - * @sensitive-param $private_key */ -function openssl_pkey_derive($public_key, $private_key, int $key_length = 0): string|false {} +function openssl_pkey_derive($public_key, #[\SensitiveParameter] $private_key, int $key_length = 0): string|false {} /** @param bool $strong_result */ function openssl_random_pseudo_bytes(int $length, &$strong_result = null): string {} -/** @sensitive-param $private_key */ -function openssl_spki_new(OpenSSLAsymmetricKey $private_key, string $challenge, int $digest_algo = OPENSSL_ALGO_MD5): string|false {} +function openssl_spki_new(#[\SensitiveParameter] OpenSSLAsymmetricKey $private_key, string $challenge, int $digest_algo = OPENSSL_ALGO_MD5): string|false {} function openssl_spki_verify(string $spki): bool {} diff --git a/ext/openssl/openssl_arginfo.h b/ext/openssl/openssl_arginfo.h index 55191c1e1cc44..2e255dfb9c068 100644 --- a/ext/openssl/openssl_arginfo.h +++ b/ext/openssl/openssl_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 9e75d730683f247a5787fe7d493039b7e4fa4399 */ + * Stub hash: dd3aebb7712f9b77851a2fdb7a91f9d46b4b42cf */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_openssl_x509_export_to_file, 0, 2, _IS_BOOL, 0) ZEND_ARG_OBJ_TYPE_MASK(0, certificate, OpenSSLCertificate, MAY_BE_STRING, NULL) diff --git a/ext/pdo/pdo_dbh.stub.php b/ext/pdo/pdo_dbh.stub.php index 571925dbb6e57..67f6c89aaa91c 100644 --- a/ext/pdo/pdo_dbh.stub.php +++ b/ext/pdo/pdo_dbh.stub.php @@ -5,8 +5,7 @@ /** @not-serializable */ class PDO { - /** @sensitive-param $password */ - public function __construct(string $dsn, ?string $username = null, ?string $password = null, ?array $options = null) {} + public function __construct(string $dsn, ?string $username = null, #[\SensitiveParameter] ?string $password = null, ?array $options = null) {} /** @tentative-return-type */ public function beginTransaction(): bool {} diff --git a/ext/pdo/pdo_dbh_arginfo.h b/ext/pdo/pdo_dbh_arginfo.h index 42f416b72b4bf..bc945ae5a7565 100644 --- a/ext/pdo/pdo_dbh_arginfo.h +++ b/ext/pdo/pdo_dbh_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 5d26f6875ff2704506a9f94b171adbe13aa40483 */ + * Stub hash: 396898ebbc520f48eb80a111e19fecf6d07ce241 */ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_PDO___construct, 0, 0, 1) ZEND_ARG_TYPE_INFO(0, dsn, IS_STRING, 0) diff --git a/ext/sodium/libsodium.stub.php b/ext/sodium/libsodium.stub.php index edf6d5d224126..1a6d6b5b5d34f 100644 --- a/ext/sodium/libsodium.stub.php +++ b/ext/sodium/libsodium.stub.php @@ -5,92 +5,58 @@ function sodium_crypto_aead_aes256gcm_is_available(): bool {} #ifdef HAVE_AESGCM -/** @sensitive-param $key */ -function sodium_crypto_aead_aes256gcm_decrypt(string $ciphertext, string $additional_data, string $nonce, string $key): string|false {} +function sodium_crypto_aead_aes256gcm_decrypt(string $ciphertext, string $additional_data, string $nonce, #[\SensitiveParameter] string $key): string|false {} -/** - * @sensitive-param $message - * @sensitive-param $key - */ -function sodium_crypto_aead_aes256gcm_encrypt(string $message, string $additional_data, string $nonce, string $key): string {} +function sodium_crypto_aead_aes256gcm_encrypt(#[\SensitiveParameter] string $message, string $additional_data, string $nonce, #[\SensitiveParameter] string $key): string {} function sodium_crypto_aead_aes256gcm_keygen(): string {} #endif -/** @sensitive-param $key */ -function sodium_crypto_aead_chacha20poly1305_decrypt(string $ciphertext, string $additional_data, string $nonce, string $key): string|false {} +function sodium_crypto_aead_chacha20poly1305_decrypt(string $ciphertext, string $additional_data, string $nonce, #[\SensitiveParameter] string $key): string|false {} -/** - * @sensitive-param $message - * @sensitive-param $key - */ -function sodium_crypto_aead_chacha20poly1305_encrypt(string $message, string $additional_data, string $nonce, string $key): string {} +function sodium_crypto_aead_chacha20poly1305_encrypt(#[\SensitiveParameter] string $message, string $additional_data, string $nonce, #[\SensitiveParameter] string $key): string {} function sodium_crypto_aead_chacha20poly1305_keygen(): string {} -/** @sensitive-param $key */ -function sodium_crypto_aead_chacha20poly1305_ietf_decrypt(string $ciphertext, string $additional_data, string $nonce, string $key): string|false {} +function sodium_crypto_aead_chacha20poly1305_ietf_decrypt(string $ciphertext, string $additional_data, string $nonce, #[\SensitiveParameter] string $key): string|false {} -/** - * @sensitive-param $message - * @sensitive-param $key - */ -function sodium_crypto_aead_chacha20poly1305_ietf_encrypt(string $message, string $additional_data, string $nonce, string $key): string {} +function sodium_crypto_aead_chacha20poly1305_ietf_encrypt(#[\SensitiveParameter] string $message, string $additional_data, string $nonce, #[\SensitiveParameter] string $key): string {} function sodium_crypto_aead_chacha20poly1305_ietf_keygen(): string {} #ifdef crypto_aead_xchacha20poly1305_IETF_NPUBBYTES -/** @sensitive-param $key */ -function sodium_crypto_aead_xchacha20poly1305_ietf_decrypt(string $ciphertext, string $additional_data, string $nonce, string $key): string|false {} +function sodium_crypto_aead_xchacha20poly1305_ietf_decrypt(string $ciphertext, string $additional_data, string $nonce, #[\SensitiveParameter] string $key): string|false {} function sodium_crypto_aead_xchacha20poly1305_ietf_keygen(): string {} -/** - * @sensitive-param $message - * @sensitive-param $key - */ -function sodium_crypto_aead_xchacha20poly1305_ietf_encrypt(string $message, string $additional_data, string $nonce, string $key): string {} +function sodium_crypto_aead_xchacha20poly1305_ietf_encrypt(#[\SensitiveParameter] string $message, string $additional_data, string $nonce, #[\SensitiveParameter] string $key): string {} #endif -/** @sensitive-param $key */ -function sodium_crypto_auth(string $message, string $key): string {} +function sodium_crypto_auth(string $message, #[\SensitiveParameter] string $key): string {} function sodium_crypto_auth_keygen(): string {} -/** @sensitive-param $key */ -function sodium_crypto_auth_verify(string $mac, string $message, string $key): bool {} +function sodium_crypto_auth_verify(string $mac, string $message, #[\SensitiveParameter] string $key): bool {} -/** - * @sensitive-param $message - * @sensitive-param $key_pair - */ -function sodium_crypto_box(string $message, string $nonce, string $key_pair): string {} +function sodium_crypto_box(#[\SensitiveParameter] string $message, string $nonce, #[\SensitiveParameter] string $key_pair): string {} function sodium_crypto_box_keypair(): string {} -/** @sensitive-param $seed */ -function sodium_crypto_box_seed_keypair(string $seed): string {} +function sodium_crypto_box_seed_keypair(#[\SensitiveParameter] string $seed): string {} -/** @sensitive-param $secret_key */ -function sodium_crypto_box_keypair_from_secretkey_and_publickey(string $secret_key, string $public_key): string {} +function sodium_crypto_box_keypair_from_secretkey_and_publickey(#[\SensitiveParameter] string $secret_key, string $public_key): string {} -/** @sensitive-param $key_pair */ -function sodium_crypto_box_open(string $ciphertext, string $nonce, string $key_pair): string|false {} +function sodium_crypto_box_open(string $ciphertext, string $nonce, #[\SensitiveParameter] string $key_pair): string|false {} -/** @sensitive-param $key_pair */ -function sodium_crypto_box_publickey(string $key_pair): string {} +function sodium_crypto_box_publickey(#[\SensitiveParameter] string $key_pair): string {} -/** @sensitive-param $secret_key */ -function sodium_crypto_box_publickey_from_secretkey(string $secret_key): string {} +function sodium_crypto_box_publickey_from_secretkey(#[\SensitiveParameter] string $secret_key): string {} -/** @sensitive-param $message */ -function sodium_crypto_box_seal(string $message, string $public_key): string {} +function sodium_crypto_box_seal(#[\SensitiveParameter] string $message, string $public_key): string {} -/** @sensitive-param $key_pair */ -function sodium_crypto_box_seal_open(string $ciphertext, string $key_pair): string|false {} +function sodium_crypto_box_seal_open(string $ciphertext, #[\SensitiveParameter] string $key_pair): string|false {} -/** @sensitive-param $key_pair */ -function sodium_crypto_box_secretkey(string $key_pair): string {} +function sodium_crypto_box_secretkey(#[\SensitiveParameter] string $key_pair): string {} #ifdef crypto_core_ristretto255_HASHBYTES function sodium_crypto_core_ristretto255_add(string $p, string $q): string {} @@ -122,54 +88,43 @@ function sodium_crypto_core_ristretto255_sub(string $p, string $q): string {} function sodium_crypto_kx_keypair(): string {} -/** @sensitive-param $key_pair */ -function sodium_crypto_kx_publickey(string $key_pair): string {} +function sodium_crypto_kx_publickey(#[\SensitiveParameter] string $key_pair): string {} -/** @sensitive-param $key_pair */ -function sodium_crypto_kx_secretkey(string $key_pair): string {} +function sodium_crypto_kx_secretkey(#[\SensitiveParameter] string $key_pair): string {} -/** @sensitive-param $seed */ -function sodium_crypto_kx_seed_keypair(string $seed): string {} +function sodium_crypto_kx_seed_keypair(#[\SensitiveParameter] string $seed): string {} /** - * @sensitive-param $client_key_pair * @return array */ -function sodium_crypto_kx_client_session_keys(string $client_key_pair, string $server_key): array {} +function sodium_crypto_kx_client_session_keys(#[\SensitiveParameter] string $client_key_pair, string $server_key): array {} /** - * @sensitive-param $server_key_pair * @return array * */ -function sodium_crypto_kx_server_session_keys(string $server_key_pair, string $client_key): array {} +function sodium_crypto_kx_server_session_keys(#[\SensitiveParameter] string $server_key_pair, string $client_key): array {} -/** @sensitive-param $key */ -function sodium_crypto_generichash(string $message, string $key = "", int $length = SODIUM_CRYPTO_GENERICHASH_BYTES): string {} +function sodium_crypto_generichash(string $message, #[\SensitiveParameter] string $key = "", int $length = SODIUM_CRYPTO_GENERICHASH_BYTES): string {} function sodium_crypto_generichash_keygen(): string {} -/** @sensitive-param $key */ -function sodium_crypto_generichash_init(string $key = "", int $length = SODIUM_CRYPTO_GENERICHASH_BYTES): string {} +function sodium_crypto_generichash_init(#[\SensitiveParameter] string $key = "", int $length = SODIUM_CRYPTO_GENERICHASH_BYTES): string {} function sodium_crypto_generichash_update(string &$state, string $message): true {} function sodium_crypto_generichash_final(string &$state, int $length = SODIUM_CRYPTO_GENERICHASH_BYTES): string {} -/** @sensitive-param $key */ -function sodium_crypto_kdf_derive_from_key(int $subkey_length, int $subkey_id, string $context, string $key): string {} +function sodium_crypto_kdf_derive_from_key(int $subkey_length, int $subkey_id, string $context, #[\SensitiveParameter] string $key): string {} function sodium_crypto_kdf_keygen(): string {} #ifdef crypto_pwhash_SALTBYTES -/** @sensitive-param $password */ -function sodium_crypto_pwhash(int $length, string $password, string $salt, int $opslimit, int $memlimit, int $algo = SODIUM_CRYPTO_PWHASH_ALG_DEFAULT): string {} +function sodium_crypto_pwhash(int $length, #[\SensitiveParameter] string $password, string $salt, int $opslimit, int $memlimit, int $algo = SODIUM_CRYPTO_PWHASH_ALG_DEFAULT): string {} -/** @sensitive-param $password */ -function sodium_crypto_pwhash_str(string $password, int $opslimit, int $memlimit): string {} +function sodium_crypto_pwhash_str(#[\SensitiveParameter] string $password, int $opslimit, int $memlimit): string {} -/** @sensitive-param $password */ -function sodium_crypto_pwhash_str_verify(string $hash, string $password): bool {} +function sodium_crypto_pwhash_str_verify(string $hash, #[\SensitiveParameter] string $password): bool {} #endif #if SODIUM_LIBRARY_VERSION_MAJOR > 9 || (SODIUM_LIBRARY_VERSION_MAJOR == 9 && SODIUM_LIBRARY_VERSION_MINOR >= 6) @@ -177,14 +132,11 @@ function sodium_crypto_pwhash_str_needs_rehash(string $password, int $opslimit, #endif #ifdef crypto_pwhash_scryptsalsa208sha256_SALTBYTES -/** @sensitive-param $password */ -function sodium_crypto_pwhash_scryptsalsa208sha256(int $length, string $password, string $salt, int $opslimit, int $memlimit): string {} +function sodium_crypto_pwhash_scryptsalsa208sha256(int $length, #[\SensitiveParameter] string $password, string $salt, int $opslimit, int $memlimit): string {} -/** @sensitive-param $password */ -function sodium_crypto_pwhash_scryptsalsa208sha256_str(string $password, int $opslimit, int $memlimit): string {} +function sodium_crypto_pwhash_scryptsalsa208sha256_str(#[\SensitiveParameter] string $password, int $opslimit, int $memlimit): string {} -/** @sensitive-param $password */ -function sodium_crypto_pwhash_scryptsalsa208sha256_str_verify(string $hash, string $password): bool {} +function sodium_crypto_pwhash_scryptsalsa208sha256_str_verify(string $hash, #[\SensitiveParameter] string $password): bool {} #endif function sodium_crypto_scalarmult(string $n, string $p): string {} @@ -195,33 +147,23 @@ function sodium_crypto_scalarmult_ristretto255(string $n, string $p): string {} function sodium_crypto_scalarmult_ristretto255_base(string $n): string {} #endif -/** - * @sensitive-param $message - * @sensitive-param $key - */ -function sodium_crypto_secretbox(string $message, string $nonce, string $key): string {} +function sodium_crypto_secretbox(#[\SensitiveParameter] string $message, string $nonce, #[\SensitiveParameter] string $key): string {} function sodium_crypto_secretbox_keygen(): string {} -/** - * @sensitive-param $key - */ -function sodium_crypto_secretbox_open(string $ciphertext, string $nonce, string $key): string|false {} +function sodium_crypto_secretbox_open(string $ciphertext, string $nonce, #[\SensitiveParameter] string $key): string|false {} #ifdef crypto_secretstream_xchacha20poly1305_ABYTES function sodium_crypto_secretstream_xchacha20poly1305_keygen(): string {} /** - * @sensitive-param $key * @return array */ -function sodium_crypto_secretstream_xchacha20poly1305_init_push(string $key): array {} +function sodium_crypto_secretstream_xchacha20poly1305_init_push(#[\SensitiveParameter] string $key): array {} -/** @sensitive-param $message */ -function sodium_crypto_secretstream_xchacha20poly1305_push(string &$state, string $message, string $additional_data = "", int $tag = SODIUM_CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_TAG_MESSAGE): string {} +function sodium_crypto_secretstream_xchacha20poly1305_push(string &$state, #[\SensitiveParameter] string $message, string $additional_data = "", int $tag = SODIUM_CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_TAG_MESSAGE): string {} -/** @sensitive-param $key */ -function sodium_crypto_secretstream_xchacha20poly1305_init_pull(string $header, string $key): string {} +function sodium_crypto_secretstream_xchacha20poly1305_init_pull(string $header, #[\SensitiveParameter] string $key): string {} /** @return array|false */ function sodium_crypto_secretstream_xchacha20poly1305_pull(string &$state, string $ciphertext, string $additional_data = ""): array|false {} @@ -229,116 +171,77 @@ function sodium_crypto_secretstream_xchacha20poly1305_pull(string &$state, strin function sodium_crypto_secretstream_xchacha20poly1305_rekey(string &$state): void {} #endif -/** @sensitive-param $key */ -function sodium_crypto_shorthash(string $message, string $key): string {} +function sodium_crypto_shorthash(string $message, #[\SensitiveParameter] string $key): string {} function sodium_crypto_shorthash_keygen(): string {} -/** @sensitive-param $secret_key */ -function sodium_crypto_sign(string $message, string $secret_key): string {} +function sodium_crypto_sign(string $message, #[\SensitiveParameter] string $secret_key): string {} -/** @sensitive-param $secret_key */ -function sodium_crypto_sign_detached(string $message, string $secret_key): string {} +function sodium_crypto_sign_detached(string $message, #[\SensitiveParameter] string $secret_key): string {} function sodium_crypto_sign_ed25519_pk_to_curve25519(string $public_key): string {} -/** @sensitive-param $secret_key */ -function sodium_crypto_sign_ed25519_sk_to_curve25519(string $secret_key): string {} +function sodium_crypto_sign_ed25519_sk_to_curve25519(#[\SensitiveParameter] string $secret_key): string {} function sodium_crypto_sign_keypair(): string {} -/** @sensitive-param $secret_key */ -function sodium_crypto_sign_keypair_from_secretkey_and_publickey(string $secret_key, string $public_key): string {} +function sodium_crypto_sign_keypair_from_secretkey_and_publickey(#[\SensitiveParameter] string $secret_key, string $public_key): string {} function sodium_crypto_sign_open(string $signed_message, string $public_key): string|false {} -/** @sensitive-param $key_pair */ -function sodium_crypto_sign_publickey(string $key_pair): string {} +function sodium_crypto_sign_publickey(#[\SensitiveParameter] string $key_pair): string {} -/** @sensitive-param $key_pair */ -function sodium_crypto_sign_secretkey(string $key_pair): string {} +function sodium_crypto_sign_secretkey(#[\SensitiveParameter] string $key_pair): string {} -/** @sensitive-param $secret_key */ -function sodium_crypto_sign_publickey_from_secretkey(string $secret_key): string {} +function sodium_crypto_sign_publickey_from_secretkey(#[\SensitiveParameter] string $secret_key): string {} -/** @sensitive-param $seed */ -function sodium_crypto_sign_seed_keypair(string $seed): string {} +function sodium_crypto_sign_seed_keypair(#[\SensitiveParameter] string $seed): string {} function sodium_crypto_sign_verify_detached(string $signature, string $message, string $public_key): bool {} -/** @sensitive-param $key */ -function sodium_crypto_stream(int $length, string $nonce, string $key): string {} +function sodium_crypto_stream(int $length, string $nonce, #[\SensitiveParameter] string $key): string {} function sodium_crypto_stream_keygen(): string {} -/** - * @sensitive-param $message - * @sensitive-param $key - */ -function sodium_crypto_stream_xor(string $message, string $nonce, string $key): string {} +function sodium_crypto_stream_xor(#[\SensitiveParameter] string $message, string $nonce, #[\SensitiveParameter] string $key): string {} #if defined(crypto_stream_xchacha20_KEYBYTES) -/** @sensitive-param $key */ -function sodium_crypto_stream_xchacha20(int $length, string $nonce, string $key): string {} +function sodium_crypto_stream_xchacha20(int $length, string $nonce, #[\SensitiveParameter] string $key): string {} function sodium_crypto_stream_xchacha20_keygen(): string {} -/** - * @sensitive-param $message - * @sensitive-param $key - */ -function sodium_crypto_stream_xchacha20_xor(string $message, string $nonce, string $key): string {} +function sodium_crypto_stream_xchacha20_xor(#[\SensitiveParameter] string $message, string $nonce, #[\SensitiveParameter] string $key): string {} -/** - * @sensitive-param $message - * @sensitive-param $key - */ -function sodium_crypto_stream_xchacha20_xor_ic(string $message, string $nonce, int $counter, string $key): string {} +function sodium_crypto_stream_xchacha20_xor_ic(#[\SensitiveParameter] string $message, string $nonce, int $counter,#[\SensitiveParameter] string $key): string {} #endif function sodium_add(string &$string1, string $string2): void {} -/** - * @sensitive-param $string1 - * @sensitive-param $string2 - */ -function sodium_compare(string $string1, string $string2): int {} +function sodium_compare(#[\SensitiveParameter] string $string1, #[\SensitiveParameter] string $string2): int {} function sodium_increment(string &$string): void {} -/** - * @sensitive-param $string1 - * @sensitive-param $string2 - */ -function sodium_memcmp(string $string1, string $string2): int {} +function sodium_memcmp(#[\SensitiveParameter] string $string1, #[\SensitiveParameter] string $string2): int {} -/** @sensitive-param $string */ -function sodium_memzero(string &$string): void {} +function sodium_memzero(#[\SensitiveParameter] string &$string): void {} -/** @sensitive-param $string */ -function sodium_pad(string $string, int $block_size): string {} +function sodium_pad(#[\SensitiveParameter] string $string, int $block_size): string {} -/** @sensitive-param $string */ -function sodium_unpad(string $string, int $block_size): string {} +function sodium_unpad(#[\SensitiveParameter] string $string, int $block_size): string {} -/** @sensitive-param $string */ -function sodium_bin2hex(string $string): string {} +function sodium_bin2hex(#[\SensitiveParameter] string $string): string {} -/** @sensitive-param $string */ -function sodium_hex2bin(string $string, string $ignore = ""): string {} +function sodium_hex2bin(#[\SensitiveParameter] string $string, string $ignore = ""): string {} #ifdef sodium_base64_VARIANT_ORIGINAL -/** @sensitive-param $string */ -function sodium_bin2base64(string $string, int $id): string {} +function sodium_bin2base64(#[\SensitiveParameter] string $string, int $id): string {} -/** @sensitive-param $string */ -function sodium_base642bin(string $string, int $id, string $ignore = ""): string {} +function sodium_base642bin(#[\SensitiveParameter] string $string, int $id, string $ignore = ""): string {} #endif /** - * @sensitive-param $secret_key * @alias sodium_crypto_box_publickey_from_secretkey */ -function sodium_crypto_scalarmult_base(string $secret_key): string {} +function sodium_crypto_scalarmult_base(#[\SensitiveParameter] string $secret_key): string {} class SodiumException extends Exception {} diff --git a/ext/sodium/libsodium_arginfo.h b/ext/sodium/libsodium_arginfo.h index 411bf5c544951..dd544ac32d572 100644 --- a/ext/sodium/libsodium_arginfo.h +++ b/ext/sodium/libsodium_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: ba84ba9ace7a751935d7beead34e3fbb9a511cc7 */ + * Stub hash: 6b0ca95e37b504c23938bc08511ead9671cd8996 */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_sodium_crypto_aead_aes256gcm_is_available, 0, 0, _IS_BOOL, 0) ZEND_END_ARG_INFO() diff --git a/ext/standard/basic_functions.stub.php b/ext/standard/basic_functions.stub.php index 07aefbfbef60b..e114cb06ec01d 100755 --- a/ext/standard/basic_functions.stub.php +++ b/ext/standard/basic_functions.stub.php @@ -1623,15 +1623,13 @@ function unpack(string $format, string $string, int $offset = 0): array|false {} function password_get_info(string $hash): array {} /** - * @sensitive-param $password * @refcount 1 */ -function password_hash(string $password, string|int|null $algo, array $options = []): string {} +function password_hash(#[\SensitiveParameter] string $password, string|int|null $algo, array $options = []): string {} function password_needs_rehash(string $hash, string|int|null $algo, array $options = []): bool {} -/** @sensitive-param $password */ -function password_verify(string $password, string $hash): bool {} +function password_verify(#[\SensitiveParameter] string $password, string $hash): bool {} function password_algos(): array {} diff --git a/ext/standard/basic_functions_arginfo.h b/ext/standard/basic_functions_arginfo.h index 5d17552629c2a..6094c9c79672e 100644 --- a/ext/standard/basic_functions_arginfo.h +++ b/ext/standard/basic_functions_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 978052ddd734a50694d59f6e92bbf5f1cc946bd2 */ + * Stub hash: 9fe68f4baa560dedf96b551c051cfaf3e6532d15 */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_set_time_limit, 0, 1, _IS_BOOL, 0) ZEND_ARG_TYPE_INFO(0, seconds, IS_LONG, 0) diff --git a/ext/zip/php_zip.stub.php b/ext/zip/php_zip.stub.php index a0866e114b432..aa7d783881035 100644 --- a/ext/zip/php_zip.stub.php +++ b/ext/zip/php_zip.stub.php @@ -83,10 +83,9 @@ class ZipArchive implements Countable public function open(string $filename, int $flags = 0): bool|int {} /** - * @sensitive-param $password * @tentative-return-type */ - public function setPassword(string $password): bool {} + public function setPassword(#[\SensitiveParameter] string $password): bool {} /** @tentative-return-type */ public function close(): bool {} @@ -227,16 +226,14 @@ public function setCompressionIndex(int $index, int $method, int $compflags = 0) #ifdef HAVE_ENCRYPTION /** - * @sensitive-param $password * @tentative-return-type */ - public function setEncryptionName(string $name, int $method, ?string $password = null): bool {} + public function setEncryptionName(string $name, int $method, #[\SensitiveParameter] ?string $password = null): bool {} /** - * @sensitive-param $password * @tentative-return-type */ - public function setEncryptionIndex(int $index, int $method, ?string $password = null): bool {} + public function setEncryptionIndex(int $index, int $method, #[\SensitiveParameter] ?string $password = null): bool {} #endif #ifdef HAVE_PROGRESS_CALLBACK diff --git a/ext/zip/php_zip_arginfo.h b/ext/zip/php_zip_arginfo.h index 6f00051587bc7..6b0302f031df3 100644 --- a/ext/zip/php_zip_arginfo.h +++ b/ext/zip/php_zip_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: f8ec36ea62bfbdb74cfa6472227e08d9282413a2 */ + * Stub hash: 9c44d8bcf6b97804d539a9dd566d5faca60074ba */ ZEND_BEGIN_ARG_INFO_EX(arginfo_zip_open, 0, 0, 1) ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0) From 7075706d49f8b3d92689e93518d7140fc5aaf0b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 13 Jun 2022 23:39:48 +0200 Subject: [PATCH 3/6] Remove `@sensitive-param` support from build/gen_stub.php --- build/gen_stub.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/build/gen_stub.php b/build/gen_stub.php index 353cb2b4ae7c8..0ed7687658f4d 100755 --- a/build/gen_stub.php +++ b/build/gen_stub.php @@ -3151,7 +3151,7 @@ public function getVariableName(): string { if ($this->name === "param") { preg_match('/^\s*[\w\|\\\\\[\]]+\s*\$(\w+).*$/', $value, $matches); - } elseif ($this->name === "prefer-ref" || $this->name === "sensitive-param") { + } elseif ($this->name === "prefer-ref") { preg_match('/^\s*\$(\w+).*$/', $value, $matches); } @@ -3242,7 +3242,6 @@ function parseFunctionLike( break; case 'prefer-ref': - case 'sensitive-param': $varName = $tag->getVariableName(); if (!isset($paramMeta[$varName])) { $paramMeta[$varName] = []; @@ -3260,15 +3259,11 @@ function parseFunctionLike( foreach ($func->getParams() as $i => $param) { $varName = $param->var->name; $preferRef = !empty($paramMeta[$varName]['prefer-ref']); - $isSensitive = !empty($paramMeta[$varName]['sensitive-param']); + $isSensitive = false; foreach ($param->attrGroups as $attrGroup) { foreach ($attrGroup->attrs as $attr) { switch ($attr->name->toCodeString()) { case '\\SensitiveParameter': - if ($isSensitive) { - throw new Exception("Redundant {$attr->name->toCodeString()} declaration."); - } - $isSensitive = true; break; default: From 3f62f353880284c84114cb836bd13905da7b03ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 5 Jul 2022 19:43:28 +0200 Subject: [PATCH 4/6] Support arbitrary parameter attributes in stubs --- build/gen_stub.php | 42 ++- ext/ftp/ftp_arginfo.h | 5 +- ext/hash/hash_arginfo.h | 35 ++- ext/imap/php_imap_arginfo.h | 5 +- ext/ldap/ldap_arginfo.h | 30 +- ext/mysqli/mysqli_arginfo.h | 35 ++- ext/oci8/oci8_arginfo.h | 30 +- ext/odbc/odbc_arginfo.h | 10 +- ext/openssl/openssl_arginfo.h | 195 ++++++++++--- ext/pdo/pdo_dbh_arginfo.h | 5 +- ext/sodium/libsodium_arginfo.h | 377 +++++++++++++++++++------ ext/standard/basic_functions_arginfo.h | 10 +- ext/zip/php_zip_arginfo.h | 15 +- 13 files changed, 615 insertions(+), 179 deletions(-) diff --git a/build/gen_stub.php b/build/gen_stub.php index 0ed7687658f4d..4d5b1e9886238 100755 --- a/build/gen_stub.php +++ b/build/gen_stub.php @@ -815,9 +815,12 @@ class ArgInfo { public $phpDocType; /** @var string|null */ public $defaultValue; - /** @var bool */ - public $isSensitive; + /** @var AttributeInfo[] */ + public $attributes; + /** + * @param AttributeInfo[] $attributes + */ public function __construct( string $name, int $sendBy, @@ -825,14 +828,14 @@ public function __construct( ?Type $type, ?Type $phpDocType, ?string $defaultValue, - bool $isSensitive + array $attributes ) { $this->name = $name; $this->sendBy = $sendBy; $this->isVariadic = $isVariadic; $this->setTypes($type, $phpDocType); $this->defaultValue = $defaultValue; - $this->isSensitive = $isSensitive; + $this->attributes = $attributes; } public function equals(ArgInfo $other): bool { @@ -840,8 +843,7 @@ public function equals(ArgInfo $other): bool { && $this->sendBy === $other->sendBy && $this->isVariadic === $other->isVariadic && Type::equals($this->type, $other->type) - && $this->defaultValue === $other->defaultValue - && $this->isSensitive === $other->isSensitive; + && $this->defaultValue === $other->defaultValue; } public function getSendByString(): string { @@ -2570,7 +2572,7 @@ function (Name $item) { } } - if ($attributeInitializationCode = generateAttributeInitialization($this->funcInfos, $this->cond)) { + if ($attributeInitializationCode = generateAttributeInitialization($this->funcInfos, $this->cond, $allConstInfos)) { if (!$php82MinimumCompatibility) { $code .= "#if (PHP_VERSION_ID >= " . PHP_82_VERSION_ID . ")\n"; } @@ -3259,16 +3261,10 @@ function parseFunctionLike( foreach ($func->getParams() as $i => $param) { $varName = $param->var->name; $preferRef = !empty($paramMeta[$varName]['prefer-ref']); - $isSensitive = false; + $attributes = []; foreach ($param->attrGroups as $attrGroup) { foreach ($attrGroup->attrs as $attr) { - switch ($attr->name->toCodeString()) { - case '\\SensitiveParameter': - $isSensitive = true; - break; - default: - throw new Exception("Unhandled attribute {$attr->name->toCodeString()}."); - } + $attributes[] = new AttributeInfo($attr->name->toString(), $attr->args); } } unset($paramMeta[$varName]); @@ -3318,7 +3314,7 @@ function parseFunctionLike( $type, isset($docParamTypes[$varName]) ? Type::fromString($docParamTypes[$varName]) : null, $param->default ? $prettyPrinter->prettyPrintExpr($param->default) : null, - $isSensitive + $attributes ); if (!$param->default && !$param->variadic) { $numRequiredArgs = $i + 1; @@ -3972,7 +3968,7 @@ static function (FuncInfo $funcInfo) use ($fileInfo, &$generatedFunctionDeclarat } if ($fileInfo->generateClassEntries) { - $attributeInitializationCode = generateAttributeInitialization($fileInfo->funcInfos); + $attributeInitializationCode = generateAttributeInitialization($fileInfo->funcInfos, null, $allConstInfos); if ($attributeInitializationCode !== "" || !empty($fileInfo->constInfos)) { $code .= "\nstatic void register_{$stubFilenameWithoutExtension}_symbols(int module_number)\n"; @@ -4039,25 +4035,23 @@ function generateFunctionEntries(?Name $className, array $funcInfos, ?string $co /** * @param iterable $funcInfos */ -function generateAttributeInitialization(iterable $funcInfos, ?string $parentCond = null): string { +function generateAttributeInitialization(iterable $funcInfos, ?string $parentCond = null, iterable $allConstInfos): string { return generateCodeWithConditions( $funcInfos, "", - static function (FuncInfo $funcInfo) { + static function (FuncInfo $funcInfo) use ($allConstInfos) { $code = null; foreach ($funcInfo->args as $index => $arg) { - if (!$arg->isSensitive) { - continue; - } - if ($funcInfo->name instanceof MethodName) { $functionTable = "&class_entry->function_table"; } else { $functionTable = "CG(function_table)"; } - $code .= "\tzend_mark_function_parameter_as_sensitive($functionTable, \"" . $funcInfo->name->getNameForAttributes() . "\", $index);\n"; + foreach ($arg->attributes as $attribute) { + $code .= $attribute->generateCode("zend_add_parameter_attribute(zend_hash_str_find_ptr($functionTable, \"" . $funcInfo->name->getNameForAttributes() . "\", sizeof(\"" . $funcInfo->name->getNameForAttributes() . "\") - 1), $index", "{$funcInfo->getArgInfoName()}_arg{$index}", $allConstInfos); + } } return $code; diff --git a/ext/ftp/ftp_arginfo.h b/ext/ftp/ftp_arginfo.h index 55a0cc3770e13..dd8fd375784bf 100644 --- a/ext/ftp/ftp_arginfo.h +++ b/ext/ftp/ftp_arginfo.h @@ -294,7 +294,10 @@ static void register_ftp_symbols(int module_number) REGISTER_LONG_CONSTANT("FTP_FINISHED", PHP_FTP_FINISHED, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("FTP_MOREDATA", PHP_FTP_MOREDATA, CONST_CS | CONST_PERSISTENT); - zend_mark_function_parameter_as_sensitive(CG(function_table), "ftp_login", 2); + + zend_string *attribute_name_SensitiveParameter_arginfo_ftp_login_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ftp_login", sizeof("ftp_login") - 1), 2, attribute_name_SensitiveParameter_arginfo_ftp_login_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_ftp_login_arg2); } static zend_class_entry *register_class_FTP_Connection(void) diff --git a/ext/hash/hash_arginfo.h b/ext/hash/hash_arginfo.h index 02456b8f6689c..97aea61c36bbd 100644 --- a/ext/hash/hash_arginfo.h +++ b/ext/hash/hash_arginfo.h @@ -214,13 +214,34 @@ static void register_hash_symbols(int module_number) { REGISTER_LONG_CONSTANT("HASH_HMAC", PHP_HASH_HMAC, CONST_CS | CONST_PERSISTENT); - zend_mark_function_parameter_as_sensitive(CG(function_table), "hash_hmac", 2); - zend_mark_function_parameter_as_sensitive(CG(function_table), "hash_hmac_file", 2); - zend_mark_function_parameter_as_sensitive(CG(function_table), "hash_init", 2); - zend_mark_function_parameter_as_sensitive(CG(function_table), "hash_pbkdf2", 1); - zend_mark_function_parameter_as_sensitive(CG(function_table), "hash_equals", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "hash_equals", 1); - zend_mark_function_parameter_as_sensitive(CG(function_table), "hash_hkdf", 1); + + zend_string *attribute_name_SensitiveParameter_arginfo_hash_hmac_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_hmac", sizeof("hash_hmac") - 1), 2, attribute_name_SensitiveParameter_arginfo_hash_hmac_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_hash_hmac_arg2); + + zend_string *attribute_name_SensitiveParameter_arginfo_hash_hmac_file_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_hmac_file", sizeof("hash_hmac_file") - 1), 2, attribute_name_SensitiveParameter_arginfo_hash_hmac_file_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_hash_hmac_file_arg2); + + zend_string *attribute_name_SensitiveParameter_arginfo_hash_init_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_init", sizeof("hash_init") - 1), 2, attribute_name_SensitiveParameter_arginfo_hash_init_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_hash_init_arg2); + + zend_string *attribute_name_SensitiveParameter_arginfo_hash_pbkdf2_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_pbkdf2", sizeof("hash_pbkdf2") - 1), 1, attribute_name_SensitiveParameter_arginfo_hash_pbkdf2_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_hash_pbkdf2_arg1); + + zend_string *attribute_name_SensitiveParameter_arginfo_hash_equals_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_equals", sizeof("hash_equals") - 1), 0, attribute_name_SensitiveParameter_arginfo_hash_equals_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_hash_equals_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_hash_equals_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_equals", sizeof("hash_equals") - 1), 1, attribute_name_SensitiveParameter_arginfo_hash_equals_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_hash_equals_arg1); + + zend_string *attribute_name_SensitiveParameter_arginfo_hash_hkdf_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_hkdf", sizeof("hash_hkdf") - 1), 1, attribute_name_SensitiveParameter_arginfo_hash_hkdf_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_hash_hkdf_arg1); } static zend_class_entry *register_class_HashContext(void) diff --git a/ext/imap/php_imap_arginfo.h b/ext/imap/php_imap_arginfo.h index 403ffc63fc47b..2a4b02c06981a 100644 --- a/ext/imap/php_imap_arginfo.h +++ b/ext/imap/php_imap_arginfo.h @@ -595,7 +595,10 @@ static void register_php_imap_symbols(int module_number) REGISTER_LONG_CONSTANT("IMAP_GC_ENV", GC_ENV, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("IMAP_GC_TEXTS", GC_TEXTS, CONST_CS | CONST_PERSISTENT); - zend_mark_function_parameter_as_sensitive(CG(function_table), "imap_open", 2); + + zend_string *attribute_name_SensitiveParameter_arginfo_imap_open_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "imap_open", sizeof("imap_open") - 1), 2, attribute_name_SensitiveParameter_arginfo_imap_open_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_imap_open_arg2); } static zend_class_entry *register_class_IMAP_Connection(void) diff --git a/ext/ldap/ldap_arginfo.h b/ext/ldap/ldap_arginfo.h index b13d4d3dbf0d7..8aae9c60fd70e 100644 --- a/ext/ldap/ldap_arginfo.h +++ b/ext/ldap/ldap_arginfo.h @@ -831,16 +831,34 @@ static void register_ldap_symbols(int module_number) #endif #if defined(HAVE_ORALDAP) - zend_mark_function_parameter_as_sensitive(CG(function_table), "ldap_connect", 3); + + zend_string *attribute_name_SensitiveParameter_arginfo_ldap_connect_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_connect", sizeof("ldap_connect") - 1), 3, attribute_name_SensitiveParameter_arginfo_ldap_connect_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_ldap_connect_arg3); #endif - zend_mark_function_parameter_as_sensitive(CG(function_table), "ldap_bind", 2); - zend_mark_function_parameter_as_sensitive(CG(function_table), "ldap_bind_ext", 2); + + zend_string *attribute_name_SensitiveParameter_arginfo_ldap_bind_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_bind", sizeof("ldap_bind") - 1), 2, attribute_name_SensitiveParameter_arginfo_ldap_bind_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_ldap_bind_arg2); + + zend_string *attribute_name_SensitiveParameter_arginfo_ldap_bind_ext_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_bind_ext", sizeof("ldap_bind_ext") - 1), 2, attribute_name_SensitiveParameter_arginfo_ldap_bind_ext_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_ldap_bind_ext_arg2); #if defined(HAVE_LDAP_SASL) - zend_mark_function_parameter_as_sensitive(CG(function_table), "ldap_sasl_bind", 2); + + zend_string *attribute_name_SensitiveParameter_arginfo_ldap_sasl_bind_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_sasl_bind", sizeof("ldap_sasl_bind") - 1), 2, attribute_name_SensitiveParameter_arginfo_ldap_sasl_bind_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_ldap_sasl_bind_arg2); #endif #if defined(HAVE_LDAP_PASSWD) - zend_mark_function_parameter_as_sensitive(CG(function_table), "ldap_exop_passwd", 2); - zend_mark_function_parameter_as_sensitive(CG(function_table), "ldap_exop_passwd", 3); + + zend_string *attribute_name_SensitiveParameter_arginfo_ldap_exop_passwd_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_exop_passwd", sizeof("ldap_exop_passwd") - 1), 2, attribute_name_SensitiveParameter_arginfo_ldap_exop_passwd_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_ldap_exop_passwd_arg2); + + zend_string *attribute_name_SensitiveParameter_arginfo_ldap_exop_passwd_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_exop_passwd", sizeof("ldap_exop_passwd") - 1), 3, attribute_name_SensitiveParameter_arginfo_ldap_exop_passwd_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_ldap_exop_passwd_arg3); #endif } diff --git a/ext/mysqli/mysqli_arginfo.h b/ext/mysqli/mysqli_arginfo.h index 885aaa19169fd..beaa67b155b63 100644 --- a/ext/mysqli/mysqli_arginfo.h +++ b/ext/mysqli/mysqli_arginfo.h @@ -1045,9 +1045,18 @@ static const zend_function_entry class_mysqli_sql_exception_methods[] = { static void register_mysqli_symbols(int module_number) { - zend_mark_function_parameter_as_sensitive(CG(function_table), "mysqli_change_user", 2); - zend_mark_function_parameter_as_sensitive(CG(function_table), "mysqli_connect", 2); - zend_mark_function_parameter_as_sensitive(CG(function_table), "mysqli_real_connect", 3); + + zend_string *attribute_name_SensitiveParameter_arginfo_mysqli_change_user_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "mysqli_change_user", sizeof("mysqli_change_user") - 1), 2, attribute_name_SensitiveParameter_arginfo_mysqli_change_user_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_mysqli_change_user_arg2); + + zend_string *attribute_name_SensitiveParameter_arginfo_mysqli_connect_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "mysqli_connect", sizeof("mysqli_connect") - 1), 2, attribute_name_SensitiveParameter_arginfo_mysqli_connect_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_mysqli_connect_arg2); + + zend_string *attribute_name_SensitiveParameter_arginfo_mysqli_real_connect_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "mysqli_real_connect", sizeof("mysqli_real_connect") - 1), 3, attribute_name_SensitiveParameter_arginfo_mysqli_real_connect_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_mysqli_real_connect_arg3); } static zend_class_entry *register_class_mysqli_driver(void) @@ -1200,10 +1209,22 @@ static zend_class_entry *register_class_mysqli(void) zend_declare_typed_property(class_entry, property_warning_count_name, &property_warning_count_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG)); zend_string_release(property_warning_count_name); - zend_mark_function_parameter_as_sensitive(&class_entry->function_table, "__construct", 2); - zend_mark_function_parameter_as_sensitive(&class_entry->function_table, "change_user", 1); - zend_mark_function_parameter_as_sensitive(&class_entry->function_table, "connect", 2); - zend_mark_function_parameter_as_sensitive(&class_entry->function_table, "real_connect", 2); + + zend_string *attribute_name_SensitiveParameter_arginfo_class_mysqli___construct_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "__construct", sizeof("__construct") - 1), 2, attribute_name_SensitiveParameter_arginfo_class_mysqli___construct_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_class_mysqli___construct_arg2); + + zend_string *attribute_name_SensitiveParameter_arginfo_class_mysqli_change_user_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "change_user", sizeof("change_user") - 1), 1, attribute_name_SensitiveParameter_arginfo_class_mysqli_change_user_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_class_mysqli_change_user_arg1); + + zend_string *attribute_name_SensitiveParameter_arginfo_class_mysqli_connect_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "connect", sizeof("connect") - 1), 2, attribute_name_SensitiveParameter_arginfo_class_mysqli_connect_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_class_mysqli_connect_arg2); + + zend_string *attribute_name_SensitiveParameter_arginfo_class_mysqli_real_connect_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "real_connect", sizeof("real_connect") - 1), 2, attribute_name_SensitiveParameter_arginfo_class_mysqli_real_connect_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_class_mysqli_real_connect_arg2); return class_entry; } diff --git a/ext/oci8/oci8_arginfo.h b/ext/oci8/oci8_arginfo.h index 1c1273bfb4929..c6544ac3e8ee7 100644 --- a/ext/oci8/oci8_arginfo.h +++ b/ext/oci8/oci8_arginfo.h @@ -801,12 +801,30 @@ static const zend_function_entry class_OCICollection_methods[] = { static void register_oci8_symbols(int module_number) { - zend_mark_function_parameter_as_sensitive(CG(function_table), "oci_new_connect", 1); - zend_mark_function_parameter_as_sensitive(CG(function_table), "ocinlogon", 1); - zend_mark_function_parameter_as_sensitive(CG(function_table), "oci_connect", 1); - zend_mark_function_parameter_as_sensitive(CG(function_table), "ocilogon", 1); - zend_mark_function_parameter_as_sensitive(CG(function_table), "oci_pconnect", 1); - zend_mark_function_parameter_as_sensitive(CG(function_table), "ociplogon", 1); + + zend_string *attribute_name_SensitiveParameter_arginfo_oci_new_connect_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "oci_new_connect", sizeof("oci_new_connect") - 1), 1, attribute_name_SensitiveParameter_arginfo_oci_new_connect_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_oci_new_connect_arg1); + + zend_string *attribute_name_SensitiveParameter_arginfo_ocinlogon_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ocinlogon", sizeof("ocinlogon") - 1), 1, attribute_name_SensitiveParameter_arginfo_ocinlogon_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_ocinlogon_arg1); + + zend_string *attribute_name_SensitiveParameter_arginfo_oci_connect_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "oci_connect", sizeof("oci_connect") - 1), 1, attribute_name_SensitiveParameter_arginfo_oci_connect_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_oci_connect_arg1); + + zend_string *attribute_name_SensitiveParameter_arginfo_ocilogon_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ocilogon", sizeof("ocilogon") - 1), 1, attribute_name_SensitiveParameter_arginfo_ocilogon_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_ocilogon_arg1); + + zend_string *attribute_name_SensitiveParameter_arginfo_oci_pconnect_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "oci_pconnect", sizeof("oci_pconnect") - 1), 1, attribute_name_SensitiveParameter_arginfo_oci_pconnect_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_oci_pconnect_arg1); + + zend_string *attribute_name_SensitiveParameter_arginfo_ociplogon_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ociplogon", sizeof("ociplogon") - 1), 1, attribute_name_SensitiveParameter_arginfo_ociplogon_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_ociplogon_arg1); } static zend_class_entry *register_class_OCILob(void) diff --git a/ext/odbc/odbc_arginfo.h b/ext/odbc/odbc_arginfo.h index d25ffd98f85b7..a45fcbe1ff18e 100644 --- a/ext/odbc/odbc_arginfo.h +++ b/ext/odbc/odbc_arginfo.h @@ -394,6 +394,12 @@ static const zend_function_entry ext_functions[] = { static void register_odbc_symbols(int module_number) { - zend_mark_function_parameter_as_sensitive(CG(function_table), "odbc_connect", 2); - zend_mark_function_parameter_as_sensitive(CG(function_table), "odbc_pconnect", 2); + + zend_string *attribute_name_SensitiveParameter_arginfo_odbc_connect_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "odbc_connect", sizeof("odbc_connect") - 1), 2, attribute_name_SensitiveParameter_arginfo_odbc_connect_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_odbc_connect_arg2); + + zend_string *attribute_name_SensitiveParameter_arginfo_odbc_pconnect_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "odbc_pconnect", sizeof("odbc_pconnect") - 1), 2, attribute_name_SensitiveParameter_arginfo_odbc_pconnect_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_odbc_pconnect_arg2); } diff --git a/ext/openssl/openssl_arginfo.h b/ext/openssl/openssl_arginfo.h index 2e255dfb9c068..8917c55dde230 100644 --- a/ext/openssl/openssl_arginfo.h +++ b/ext/openssl/openssl_arginfo.h @@ -536,45 +536,162 @@ static const zend_function_entry class_OpenSSLAsymmetricKey_methods[] = { static void register_openssl_symbols(int module_number) { - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_x509_check_private_key", 1); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_pkcs12_export_to_file", 2); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_pkcs12_export_to_file", 3); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_pkcs12_export", 2); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_pkcs12_export", 3); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_pkcs12_read", 2); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_csr_sign", 2); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_csr_new", 1); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_pkey_export_to_file", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_pkey_export_to_file", 2); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_pkey_export", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_pkey_export", 2); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_pkey_get_private", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_pkey_get_private", 1); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_get_privatekey", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_get_privatekey", 1); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_pbkdf2", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_pkcs7_sign", 3); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_pkcs7_decrypt", 2); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_pkcs7_decrypt", 3); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_cms_sign", 3); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_cms_decrypt", 2); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_cms_decrypt", 3); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_private_encrypt", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_private_encrypt", 2); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_private_decrypt", 1); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_private_decrypt", 2); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_public_encrypt", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_public_decrypt", 1); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_sign", 2); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_seal", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_open", 1); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_open", 3); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_encrypt", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_encrypt", 2); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_decrypt", 2); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_dh_compute_key", 1); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_pkey_derive", 1); - zend_mark_function_parameter_as_sensitive(CG(function_table), "openssl_spki_new", 0); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_x509_check_private_key_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_x509_check_private_key", sizeof("openssl_x509_check_private_key") - 1), 1, attribute_name_SensitiveParameter_arginfo_openssl_x509_check_private_key_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_x509_check_private_key_arg1); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_export_to_file_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkcs12_export_to_file", sizeof("openssl_pkcs12_export_to_file") - 1), 2, attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_export_to_file_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_export_to_file_arg2); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_export_to_file_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkcs12_export_to_file", sizeof("openssl_pkcs12_export_to_file") - 1), 3, attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_export_to_file_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_export_to_file_arg3); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_export_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkcs12_export", sizeof("openssl_pkcs12_export") - 1), 2, attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_export_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_export_arg2); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_export_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkcs12_export", sizeof("openssl_pkcs12_export") - 1), 3, attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_export_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_export_arg3); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_read_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkcs12_read", sizeof("openssl_pkcs12_read") - 1), 2, attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_read_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_read_arg2); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_csr_sign_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_csr_sign", sizeof("openssl_csr_sign") - 1), 2, attribute_name_SensitiveParameter_arginfo_openssl_csr_sign_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_csr_sign_arg2); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_csr_new_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_csr_new", sizeof("openssl_csr_new") - 1), 1, attribute_name_SensitiveParameter_arginfo_openssl_csr_new_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_csr_new_arg1); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkey_export_to_file_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkey_export_to_file", sizeof("openssl_pkey_export_to_file") - 1), 0, attribute_name_SensitiveParameter_arginfo_openssl_pkey_export_to_file_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkey_export_to_file_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkey_export_to_file_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkey_export_to_file", sizeof("openssl_pkey_export_to_file") - 1), 2, attribute_name_SensitiveParameter_arginfo_openssl_pkey_export_to_file_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkey_export_to_file_arg2); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkey_export_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkey_export", sizeof("openssl_pkey_export") - 1), 0, attribute_name_SensitiveParameter_arginfo_openssl_pkey_export_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkey_export_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkey_export_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkey_export", sizeof("openssl_pkey_export") - 1), 2, attribute_name_SensitiveParameter_arginfo_openssl_pkey_export_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkey_export_arg2); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkey_get_private_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkey_get_private", sizeof("openssl_pkey_get_private") - 1), 0, attribute_name_SensitiveParameter_arginfo_openssl_pkey_get_private_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkey_get_private_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkey_get_private_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkey_get_private", sizeof("openssl_pkey_get_private") - 1), 1, attribute_name_SensitiveParameter_arginfo_openssl_pkey_get_private_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkey_get_private_arg1); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_get_privatekey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_get_privatekey", sizeof("openssl_get_privatekey") - 1), 0, attribute_name_SensitiveParameter_arginfo_openssl_get_privatekey_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_get_privatekey_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_get_privatekey_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_get_privatekey", sizeof("openssl_get_privatekey") - 1), 1, attribute_name_SensitiveParameter_arginfo_openssl_get_privatekey_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_get_privatekey_arg1); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pbkdf2_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pbkdf2", sizeof("openssl_pbkdf2") - 1), 0, attribute_name_SensitiveParameter_arginfo_openssl_pbkdf2_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pbkdf2_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkcs7_sign_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkcs7_sign", sizeof("openssl_pkcs7_sign") - 1), 3, attribute_name_SensitiveParameter_arginfo_openssl_pkcs7_sign_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkcs7_sign_arg3); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkcs7_decrypt_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkcs7_decrypt", sizeof("openssl_pkcs7_decrypt") - 1), 2, attribute_name_SensitiveParameter_arginfo_openssl_pkcs7_decrypt_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkcs7_decrypt_arg2); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkcs7_decrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkcs7_decrypt", sizeof("openssl_pkcs7_decrypt") - 1), 3, attribute_name_SensitiveParameter_arginfo_openssl_pkcs7_decrypt_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkcs7_decrypt_arg3); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_cms_sign_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_cms_sign", sizeof("openssl_cms_sign") - 1), 3, attribute_name_SensitiveParameter_arginfo_openssl_cms_sign_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_cms_sign_arg3); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_cms_decrypt_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_cms_decrypt", sizeof("openssl_cms_decrypt") - 1), 2, attribute_name_SensitiveParameter_arginfo_openssl_cms_decrypt_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_cms_decrypt_arg2); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_cms_decrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_cms_decrypt", sizeof("openssl_cms_decrypt") - 1), 3, attribute_name_SensitiveParameter_arginfo_openssl_cms_decrypt_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_cms_decrypt_arg3); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_private_encrypt_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_private_encrypt", sizeof("openssl_private_encrypt") - 1), 0, attribute_name_SensitiveParameter_arginfo_openssl_private_encrypt_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_private_encrypt_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_private_encrypt_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_private_encrypt", sizeof("openssl_private_encrypt") - 1), 2, attribute_name_SensitiveParameter_arginfo_openssl_private_encrypt_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_private_encrypt_arg2); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_private_decrypt_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_private_decrypt", sizeof("openssl_private_decrypt") - 1), 1, attribute_name_SensitiveParameter_arginfo_openssl_private_decrypt_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_private_decrypt_arg1); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_private_decrypt_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_private_decrypt", sizeof("openssl_private_decrypt") - 1), 2, attribute_name_SensitiveParameter_arginfo_openssl_private_decrypt_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_private_decrypt_arg2); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_public_encrypt_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_public_encrypt", sizeof("openssl_public_encrypt") - 1), 0, attribute_name_SensitiveParameter_arginfo_openssl_public_encrypt_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_public_encrypt_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_public_decrypt_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_public_decrypt", sizeof("openssl_public_decrypt") - 1), 1, attribute_name_SensitiveParameter_arginfo_openssl_public_decrypt_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_public_decrypt_arg1); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_sign_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_sign", sizeof("openssl_sign") - 1), 2, attribute_name_SensitiveParameter_arginfo_openssl_sign_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_sign_arg2); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_seal_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_seal", sizeof("openssl_seal") - 1), 0, attribute_name_SensitiveParameter_arginfo_openssl_seal_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_seal_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_open_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_open", sizeof("openssl_open") - 1), 1, attribute_name_SensitiveParameter_arginfo_openssl_open_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_open_arg1); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_open_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_open", sizeof("openssl_open") - 1), 3, attribute_name_SensitiveParameter_arginfo_openssl_open_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_open_arg3); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_encrypt_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_encrypt", sizeof("openssl_encrypt") - 1), 0, attribute_name_SensitiveParameter_arginfo_openssl_encrypt_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_encrypt_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_encrypt_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_encrypt", sizeof("openssl_encrypt") - 1), 2, attribute_name_SensitiveParameter_arginfo_openssl_encrypt_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_encrypt_arg2); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_decrypt_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_decrypt", sizeof("openssl_decrypt") - 1), 2, attribute_name_SensitiveParameter_arginfo_openssl_decrypt_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_decrypt_arg2); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_dh_compute_key_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_dh_compute_key", sizeof("openssl_dh_compute_key") - 1), 1, attribute_name_SensitiveParameter_arginfo_openssl_dh_compute_key_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_dh_compute_key_arg1); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkey_derive_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkey_derive", sizeof("openssl_pkey_derive") - 1), 1, attribute_name_SensitiveParameter_arginfo_openssl_pkey_derive_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkey_derive_arg1); + + zend_string *attribute_name_SensitiveParameter_arginfo_openssl_spki_new_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_spki_new", sizeof("openssl_spki_new") - 1), 0, attribute_name_SensitiveParameter_arginfo_openssl_spki_new_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_spki_new_arg0); } static zend_class_entry *register_class_OpenSSLCertificate(void) diff --git a/ext/pdo/pdo_dbh_arginfo.h b/ext/pdo/pdo_dbh_arginfo.h index bc945ae5a7565..249e540115b50 100644 --- a/ext/pdo/pdo_dbh_arginfo.h +++ b/ext/pdo/pdo_dbh_arginfo.h @@ -103,7 +103,10 @@ static zend_class_entry *register_class_PDO(void) class_entry = zend_register_internal_class_ex(&ce, NULL); class_entry->ce_flags |= ZEND_ACC_NOT_SERIALIZABLE; - zend_mark_function_parameter_as_sensitive(&class_entry->function_table, "__construct", 2); + + zend_string *attribute_name_SensitiveParameter_arginfo_class_PDO___construct_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "__construct", sizeof("__construct") - 1), 2, attribute_name_SensitiveParameter_arginfo_class_PDO___construct_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_class_PDO___construct_arg2); return class_entry; } diff --git a/ext/sodium/libsodium_arginfo.h b/ext/sodium/libsodium_arginfo.h index dd544ac32d572..aa9d799abfff5 100644 --- a/ext/sodium/libsodium_arginfo.h +++ b/ext/sodium/libsodium_arginfo.h @@ -470,9 +470,7 @@ ZEND_END_ARG_INFO() #define arginfo_sodium_memcmp arginfo_sodium_compare -ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_sodium_memzero, 0, 1, IS_VOID, 0) - ZEND_ARG_TYPE_INFO(1, string, IS_STRING, 0) -ZEND_END_ARG_INFO() +#define arginfo_sodium_memzero arginfo_sodium_increment ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_sodium_pad, 0, 2, IS_STRING, 0) ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0) @@ -889,114 +887,333 @@ static const zend_function_entry class_SodiumException_methods[] = { static void register_libsodium_symbols(int module_number) { #if defined(HAVE_AESGCM) - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_aead_aes256gcm_decrypt", 3); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_aes256gcm_decrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_aes256gcm_decrypt", sizeof("sodium_crypto_aead_aes256gcm_decrypt") - 1), 3, attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_aes256gcm_decrypt_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_aes256gcm_decrypt_arg3); #endif #if defined(HAVE_AESGCM) - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_aead_aes256gcm_encrypt", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_aead_aes256gcm_encrypt", 3); -#endif - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_aead_chacha20poly1305_decrypt", 3); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_aead_chacha20poly1305_encrypt", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_aead_chacha20poly1305_encrypt", 3); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_aead_chacha20poly1305_ietf_decrypt", 3); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_aead_chacha20poly1305_ietf_encrypt", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_aead_chacha20poly1305_ietf_encrypt", 3); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_aes256gcm_encrypt_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_aes256gcm_encrypt", sizeof("sodium_crypto_aead_aes256gcm_encrypt") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_aes256gcm_encrypt_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_aes256gcm_encrypt_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_aes256gcm_encrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_aes256gcm_encrypt", sizeof("sodium_crypto_aead_aes256gcm_encrypt") - 1), 3, attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_aes256gcm_encrypt_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_aes256gcm_encrypt_arg3); +#endif + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_decrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_chacha20poly1305_decrypt", sizeof("sodium_crypto_aead_chacha20poly1305_decrypt") - 1), 3, attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_decrypt_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_decrypt_arg3); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_encrypt_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_chacha20poly1305_encrypt", sizeof("sodium_crypto_aead_chacha20poly1305_encrypt") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_encrypt_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_encrypt_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_encrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_chacha20poly1305_encrypt", sizeof("sodium_crypto_aead_chacha20poly1305_encrypt") - 1), 3, attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_encrypt_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_encrypt_arg3); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_ietf_decrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_chacha20poly1305_ietf_decrypt", sizeof("sodium_crypto_aead_chacha20poly1305_ietf_decrypt") - 1), 3, attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_ietf_decrypt_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_ietf_decrypt_arg3); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_ietf_encrypt_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_chacha20poly1305_ietf_encrypt", sizeof("sodium_crypto_aead_chacha20poly1305_ietf_encrypt") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_ietf_encrypt_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_ietf_encrypt_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_ietf_encrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_chacha20poly1305_ietf_encrypt", sizeof("sodium_crypto_aead_chacha20poly1305_ietf_encrypt") - 1), 3, attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_ietf_encrypt_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_ietf_encrypt_arg3); #if defined(crypto_aead_xchacha20poly1305_IETF_NPUBBYTES) - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_aead_xchacha20poly1305_ietf_decrypt", 3); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_xchacha20poly1305_ietf_decrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_xchacha20poly1305_ietf_decrypt", sizeof("sodium_crypto_aead_xchacha20poly1305_ietf_decrypt") - 1), 3, attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_xchacha20poly1305_ietf_decrypt_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_xchacha20poly1305_ietf_decrypt_arg3); #endif #if defined(crypto_aead_xchacha20poly1305_IETF_NPUBBYTES) - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_aead_xchacha20poly1305_ietf_encrypt", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_aead_xchacha20poly1305_ietf_encrypt", 3); -#endif - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_auth", 1); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_auth_verify", 2); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_box", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_box", 2); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_box_seed_keypair", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_box_keypair_from_secretkey_and_publickey", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_box_open", 2); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_box_publickey", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_box_publickey_from_secretkey", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_box_seal", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_box_seal_open", 1); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_box_secretkey", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_kx_publickey", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_kx_secretkey", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_kx_seed_keypair", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_kx_client_session_keys", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_kx_server_session_keys", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_generichash", 1); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_generichash_init", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_kdf_derive_from_key", 3); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_xchacha20poly1305_ietf_encrypt_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_xchacha20poly1305_ietf_encrypt", sizeof("sodium_crypto_aead_xchacha20poly1305_ietf_encrypt") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_xchacha20poly1305_ietf_encrypt_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_xchacha20poly1305_ietf_encrypt_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_xchacha20poly1305_ietf_encrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_xchacha20poly1305_ietf_encrypt", sizeof("sodium_crypto_aead_xchacha20poly1305_ietf_encrypt") - 1), 3, attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_xchacha20poly1305_ietf_encrypt_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_xchacha20poly1305_ietf_encrypt_arg3); +#endif + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_auth_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_auth", sizeof("sodium_crypto_auth") - 1), 1, attribute_name_SensitiveParameter_arginfo_sodium_crypto_auth_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_auth_arg1); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_auth_verify_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_auth_verify", sizeof("sodium_crypto_auth_verify") - 1), 2, attribute_name_SensitiveParameter_arginfo_sodium_crypto_auth_verify_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_auth_verify_arg2); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box", sizeof("sodium_crypto_box") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box", sizeof("sodium_crypto_box") - 1), 2, attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_arg2); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_seed_keypair_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box_seed_keypair", sizeof("sodium_crypto_box_seed_keypair") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_seed_keypair_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_seed_keypair_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_keypair_from_secretkey_and_publickey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box_keypair_from_secretkey_and_publickey", sizeof("sodium_crypto_box_keypair_from_secretkey_and_publickey") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_keypair_from_secretkey_and_publickey_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_keypair_from_secretkey_and_publickey_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_open_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box_open", sizeof("sodium_crypto_box_open") - 1), 2, attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_open_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_open_arg2); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_publickey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box_publickey", sizeof("sodium_crypto_box_publickey") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_publickey_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_publickey_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_publickey_from_secretkey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box_publickey_from_secretkey", sizeof("sodium_crypto_box_publickey_from_secretkey") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_publickey_from_secretkey_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_publickey_from_secretkey_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_seal_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box_seal", sizeof("sodium_crypto_box_seal") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_seal_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_seal_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_seal_open_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box_seal_open", sizeof("sodium_crypto_box_seal_open") - 1), 1, attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_seal_open_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_seal_open_arg1); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_secretkey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box_secretkey", sizeof("sodium_crypto_box_secretkey") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_secretkey_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_secretkey_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_publickey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_kx_publickey", sizeof("sodium_crypto_kx_publickey") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_publickey_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_publickey_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_secretkey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_kx_secretkey", sizeof("sodium_crypto_kx_secretkey") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_secretkey_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_secretkey_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_seed_keypair_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_kx_seed_keypair", sizeof("sodium_crypto_kx_seed_keypair") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_seed_keypair_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_seed_keypair_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_client_session_keys_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_kx_client_session_keys", sizeof("sodium_crypto_kx_client_session_keys") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_client_session_keys_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_client_session_keys_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_server_session_keys_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_kx_server_session_keys", sizeof("sodium_crypto_kx_server_session_keys") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_server_session_keys_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_server_session_keys_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_generichash_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_generichash", sizeof("sodium_crypto_generichash") - 1), 1, attribute_name_SensitiveParameter_arginfo_sodium_crypto_generichash_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_generichash_arg1); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_generichash_init_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_generichash_init", sizeof("sodium_crypto_generichash_init") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_generichash_init_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_generichash_init_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_kdf_derive_from_key_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_kdf_derive_from_key", sizeof("sodium_crypto_kdf_derive_from_key") - 1), 3, attribute_name_SensitiveParameter_arginfo_sodium_crypto_kdf_derive_from_key_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_kdf_derive_from_key_arg3); #if defined(crypto_pwhash_SALTBYTES) - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_pwhash", 1); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_pwhash", sizeof("sodium_crypto_pwhash") - 1), 1, attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_arg1); #endif #if defined(crypto_pwhash_SALTBYTES) - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_pwhash_str", 0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_str_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_pwhash_str", sizeof("sodium_crypto_pwhash_str") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_str_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_str_arg0); #endif #if defined(crypto_pwhash_SALTBYTES) - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_pwhash_str_verify", 1); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_str_verify_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_pwhash_str_verify", sizeof("sodium_crypto_pwhash_str_verify") - 1), 1, attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_str_verify_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_str_verify_arg1); #endif #if defined(crypto_pwhash_scryptsalsa208sha256_SALTBYTES) - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_pwhash_scryptsalsa208sha256", 1); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_scryptsalsa208sha256_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_pwhash_scryptsalsa208sha256", sizeof("sodium_crypto_pwhash_scryptsalsa208sha256") - 1), 1, attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_scryptsalsa208sha256_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_scryptsalsa208sha256_arg1); #endif #if defined(crypto_pwhash_scryptsalsa208sha256_SALTBYTES) - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_pwhash_scryptsalsa208sha256_str", 0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_scryptsalsa208sha256_str_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_pwhash_scryptsalsa208sha256_str", sizeof("sodium_crypto_pwhash_scryptsalsa208sha256_str") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_scryptsalsa208sha256_str_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_scryptsalsa208sha256_str_arg0); #endif #if defined(crypto_pwhash_scryptsalsa208sha256_SALTBYTES) - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_pwhash_scryptsalsa208sha256_str_verify", 1); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_scryptsalsa208sha256_str_verify_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_pwhash_scryptsalsa208sha256_str_verify", sizeof("sodium_crypto_pwhash_scryptsalsa208sha256_str_verify") - 1), 1, attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_scryptsalsa208sha256_str_verify_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_scryptsalsa208sha256_str_verify_arg1); #endif - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_secretbox", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_secretbox", 2); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_secretbox_open", 2); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretbox_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_secretbox", sizeof("sodium_crypto_secretbox") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretbox_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretbox_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretbox_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_secretbox", sizeof("sodium_crypto_secretbox") - 1), 2, attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretbox_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretbox_arg2); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretbox_open_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_secretbox_open", sizeof("sodium_crypto_secretbox_open") - 1), 2, attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretbox_open_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretbox_open_arg2); #if defined(crypto_secretstream_xchacha20poly1305_ABYTES) - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_secretstream_xchacha20poly1305_init_push", 0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretstream_xchacha20poly1305_init_push_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_secretstream_xchacha20poly1305_init_push", sizeof("sodium_crypto_secretstream_xchacha20poly1305_init_push") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretstream_xchacha20poly1305_init_push_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretstream_xchacha20poly1305_init_push_arg0); #endif #if defined(crypto_secretstream_xchacha20poly1305_ABYTES) - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_secretstream_xchacha20poly1305_push", 1); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretstream_xchacha20poly1305_push_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_secretstream_xchacha20poly1305_push", sizeof("sodium_crypto_secretstream_xchacha20poly1305_push") - 1), 1, attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretstream_xchacha20poly1305_push_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretstream_xchacha20poly1305_push_arg1); #endif #if defined(crypto_secretstream_xchacha20poly1305_ABYTES) - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_secretstream_xchacha20poly1305_init_pull", 1); -#endif - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_shorthash", 1); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_sign", 1); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_sign_detached", 1); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_sign_ed25519_sk_to_curve25519", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_sign_keypair_from_secretkey_and_publickey", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_sign_publickey", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_sign_secretkey", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_sign_publickey_from_secretkey", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_sign_seed_keypair", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_stream", 2); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_stream_xor", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_stream_xor", 2); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretstream_xchacha20poly1305_init_pull_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_secretstream_xchacha20poly1305_init_pull", sizeof("sodium_crypto_secretstream_xchacha20poly1305_init_pull") - 1), 1, attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretstream_xchacha20poly1305_init_pull_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretstream_xchacha20poly1305_init_pull_arg1); +#endif + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_shorthash_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_shorthash", sizeof("sodium_crypto_shorthash") - 1), 1, attribute_name_SensitiveParameter_arginfo_sodium_crypto_shorthash_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_shorthash_arg1); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_sign", sizeof("sodium_crypto_sign") - 1), 1, attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_arg1); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_detached_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_sign_detached", sizeof("sodium_crypto_sign_detached") - 1), 1, attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_detached_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_detached_arg1); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_ed25519_sk_to_curve25519_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_sign_ed25519_sk_to_curve25519", sizeof("sodium_crypto_sign_ed25519_sk_to_curve25519") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_ed25519_sk_to_curve25519_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_ed25519_sk_to_curve25519_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_keypair_from_secretkey_and_publickey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_sign_keypair_from_secretkey_and_publickey", sizeof("sodium_crypto_sign_keypair_from_secretkey_and_publickey") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_keypair_from_secretkey_and_publickey_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_keypair_from_secretkey_and_publickey_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_publickey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_sign_publickey", sizeof("sodium_crypto_sign_publickey") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_publickey_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_publickey_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_secretkey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_sign_secretkey", sizeof("sodium_crypto_sign_secretkey") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_secretkey_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_secretkey_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_publickey_from_secretkey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_sign_publickey_from_secretkey", sizeof("sodium_crypto_sign_publickey_from_secretkey") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_publickey_from_secretkey_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_publickey_from_secretkey_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_seed_keypair_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_sign_seed_keypair", sizeof("sodium_crypto_sign_seed_keypair") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_seed_keypair_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_seed_keypair_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_stream", sizeof("sodium_crypto_stream") - 1), 2, attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_arg2); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xor_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_stream_xor", sizeof("sodium_crypto_stream_xor") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xor_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xor_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xor_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_stream_xor", sizeof("sodium_crypto_stream_xor") - 1), 2, attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xor_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xor_arg2); #if defined(crypto_stream_xchacha20_KEYBYTES) - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_stream_xchacha20", 2); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_stream_xchacha20", sizeof("sodium_crypto_stream_xchacha20") - 1), 2, attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_arg2); #endif #if defined(crypto_stream_xchacha20_KEYBYTES) - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_stream_xchacha20_xor", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_stream_xchacha20_xor", 2); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_xor_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_stream_xchacha20_xor", sizeof("sodium_crypto_stream_xchacha20_xor") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_xor_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_xor_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_xor_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_stream_xchacha20_xor", sizeof("sodium_crypto_stream_xchacha20_xor") - 1), 2, attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_xor_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_xor_arg2); #endif #if defined(crypto_stream_xchacha20_KEYBYTES) - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_stream_xchacha20_xor_ic", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_stream_xchacha20_xor_ic", 3); -#endif - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_compare", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_compare", 1); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_memcmp", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_memcmp", 1); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_memzero", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_pad", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_unpad", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_bin2hex", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_hex2bin", 0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_xor_ic_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_stream_xchacha20_xor_ic", sizeof("sodium_crypto_stream_xchacha20_xor_ic") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_xor_ic_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_xor_ic_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_xor_ic_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_stream_xchacha20_xor_ic", sizeof("sodium_crypto_stream_xchacha20_xor_ic") - 1), 3, attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_xor_ic_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_xor_ic_arg3); +#endif + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_compare_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_compare", sizeof("sodium_compare") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_compare_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_compare_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_compare_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_compare", sizeof("sodium_compare") - 1), 1, attribute_name_SensitiveParameter_arginfo_sodium_compare_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_compare_arg1); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_memcmp_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_memcmp", sizeof("sodium_memcmp") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_memcmp_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_memcmp_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_memcmp_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_memcmp", sizeof("sodium_memcmp") - 1), 1, attribute_name_SensitiveParameter_arginfo_sodium_memcmp_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_memcmp_arg1); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_memzero_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_memzero", sizeof("sodium_memzero") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_memzero_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_memzero_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_pad_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_pad", sizeof("sodium_pad") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_pad_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_pad_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_unpad_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_unpad", sizeof("sodium_unpad") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_unpad_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_unpad_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_bin2hex_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_bin2hex", sizeof("sodium_bin2hex") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_bin2hex_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_bin2hex_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_hex2bin_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_hex2bin", sizeof("sodium_hex2bin") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_hex2bin_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_hex2bin_arg0); #if defined(sodium_base64_VARIANT_ORIGINAL) - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_bin2base64", 0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_bin2base64_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_bin2base64", sizeof("sodium_bin2base64") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_bin2base64_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_bin2base64_arg0); #endif #if defined(sodium_base64_VARIANT_ORIGINAL) - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_base642bin", 0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_base642bin_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_base642bin", sizeof("sodium_base642bin") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_base642bin_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_base642bin_arg0); #endif - zend_mark_function_parameter_as_sensitive(CG(function_table), "sodium_crypto_scalarmult_base", 0); + + zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_scalarmult_base_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_scalarmult_base", sizeof("sodium_crypto_scalarmult_base") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_scalarmult_base_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_scalarmult_base_arg0); } static zend_class_entry *register_class_SodiumException(zend_class_entry *class_entry_Exception) diff --git a/ext/standard/basic_functions_arginfo.h b/ext/standard/basic_functions_arginfo.h index 6094c9c79672e..0ed34c8fa3ef8 100644 --- a/ext/standard/basic_functions_arginfo.h +++ b/ext/standard/basic_functions_arginfo.h @@ -3531,8 +3531,14 @@ static void register_basic_functions_symbols(int module_number) REGISTER_DOUBLE_CONSTANT("M_E", M_E, CONST_CS | CONST_PERSISTENT); ZEND_ASSERT(M_E == 2.7182818284590451); - zend_mark_function_parameter_as_sensitive(CG(function_table), "password_hash", 0); - zend_mark_function_parameter_as_sensitive(CG(function_table), "password_verify", 0); + + zend_string *attribute_name_SensitiveParameter_arginfo_password_hash_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "password_hash", sizeof("password_hash") - 1), 0, attribute_name_SensitiveParameter_arginfo_password_hash_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_password_hash_arg0); + + zend_string *attribute_name_SensitiveParameter_arginfo_password_verify_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "password_verify", sizeof("password_verify") - 1), 0, attribute_name_SensitiveParameter_arginfo_password_verify_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_password_verify_arg0); } static zend_class_entry *register_class___PHP_Incomplete_Class(void) diff --git a/ext/zip/php_zip_arginfo.h b/ext/zip/php_zip_arginfo.h index 6b0302f031df3..bc8c48c7dc7d5 100644 --- a/ext/zip/php_zip_arginfo.h +++ b/ext/zip/php_zip_arginfo.h @@ -530,12 +530,21 @@ static zend_class_entry *register_class_ZipArchive(zend_class_entry *class_entry zend_declare_typed_property(class_entry, property_comment_name, &property_comment_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_STRING)); zend_string_release(property_comment_name); - zend_mark_function_parameter_as_sensitive(&class_entry->function_table, "setpassword", 0); + + zend_string *attribute_name_SensitiveParameter_arginfo_class_ZipArchive_setPassword_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "setpassword", sizeof("setpassword") - 1), 0, attribute_name_SensitiveParameter_arginfo_class_ZipArchive_setPassword_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_class_ZipArchive_setPassword_arg0); #if defined(HAVE_ENCRYPTION) - zend_mark_function_parameter_as_sensitive(&class_entry->function_table, "setencryptionname", 2); + + zend_string *attribute_name_SensitiveParameter_arginfo_class_ZipArchive_setEncryptionName_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "setencryptionname", sizeof("setencryptionname") - 1), 2, attribute_name_SensitiveParameter_arginfo_class_ZipArchive_setEncryptionName_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_class_ZipArchive_setEncryptionName_arg2); #endif #if defined(HAVE_ENCRYPTION) - zend_mark_function_parameter_as_sensitive(&class_entry->function_table, "setencryptionindex", 2); + + zend_string *attribute_name_SensitiveParameter_arginfo_class_ZipArchive_setEncryptionIndex_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "setencryptionindex", sizeof("setencryptionindex") - 1), 2, attribute_name_SensitiveParameter_arginfo_class_ZipArchive_setEncryptionIndex_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_arginfo_class_ZipArchive_setEncryptionIndex_arg2); #endif return class_entry; From 5820abef8b3be01a6640a71b543c0992fab70ac7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 5 Jul 2022 19:43:53 +0200 Subject: [PATCH 5/6] Remove obsolete zend_mark_function_parameter_as_sensitive() --- Zend/zend_attributes.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Zend/zend_attributes.h b/Zend/zend_attributes.h index 52888ebcf7aa1..fc02a7d656e25 100644 --- a/Zend/zend_attributes.h +++ b/Zend/zend_attributes.h @@ -117,19 +117,6 @@ static zend_always_inline zend_attribute *zend_add_class_constant_attribute(zend return zend_add_attribute(&c->attributes, name, argc, flags, 0, 0); } -static zend_always_inline zend_attribute *zend_mark_function_parameter_as_sensitive(const HashTable *table, const char *func_name, uint32_t parameter) -{ - zend_function *func = zend_hash_str_find_ptr(table, func_name, strlen(func_name)); - ZEND_ASSERT(func != NULL); - - return zend_add_parameter_attribute( - func, - parameter, - zend_ce_sensitive_parameter->name, - 0 - ); -} - void zend_register_attribute_ce(void); void zend_attributes_shutdown(void); From 1424e854c597bfb57d41a2a12056af836e59b211 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 12 Jul 2022 11:11:08 +0200 Subject: [PATCH 6/6] Improve identifier generation for parameter attributes in stubs --- build/gen_stub.php | 2 +- ext/ftp/ftp_arginfo.h | 6 +- ext/hash/hash_arginfo.h | 42 +-- ext/imap/php_imap_arginfo.h | 6 +- ext/ldap/ldap_arginfo.h | 36 +- ext/mysqli/mysqli_arginfo.h | 42 +-- ext/oci8/oci8_arginfo.h | 36 +- ext/odbc/odbc_arginfo.h | 12 +- ext/openssl/openssl_arginfo.h | 234 ++++++------- ext/pdo/pdo_dbh_arginfo.h | 6 +- ext/sodium/libsodium_arginfo.h | 438 ++++++++++++------------- ext/standard/basic_functions_arginfo.h | 12 +- ext/zip/php_zip_arginfo.h | 18 +- 13 files changed, 445 insertions(+), 445 deletions(-) diff --git a/build/gen_stub.php b/build/gen_stub.php index 4d5b1e9886238..344ed02bb1633 100755 --- a/build/gen_stub.php +++ b/build/gen_stub.php @@ -4050,7 +4050,7 @@ static function (FuncInfo $funcInfo) use ($allConstInfos) { } foreach ($arg->attributes as $attribute) { - $code .= $attribute->generateCode("zend_add_parameter_attribute(zend_hash_str_find_ptr($functionTable, \"" . $funcInfo->name->getNameForAttributes() . "\", sizeof(\"" . $funcInfo->name->getNameForAttributes() . "\") - 1), $index", "{$funcInfo->getArgInfoName()}_arg{$index}", $allConstInfos); + $code .= $attribute->generateCode("zend_add_parameter_attribute(zend_hash_str_find_ptr($functionTable, \"" . $funcInfo->name->getNameForAttributes() . "\", sizeof(\"" . $funcInfo->name->getNameForAttributes() . "\") - 1), $index", "{$funcInfo->name->getMethodSynopsisFilename()}_arg{$index}", $allConstInfos); } } diff --git a/ext/ftp/ftp_arginfo.h b/ext/ftp/ftp_arginfo.h index dd8fd375784bf..185540021120b 100644 --- a/ext/ftp/ftp_arginfo.h +++ b/ext/ftp/ftp_arginfo.h @@ -295,9 +295,9 @@ static void register_ftp_symbols(int module_number) REGISTER_LONG_CONSTANT("FTP_MOREDATA", PHP_FTP_MOREDATA, CONST_CS | CONST_PERSISTENT); - zend_string *attribute_name_SensitiveParameter_arginfo_ftp_login_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ftp_login", sizeof("ftp_login") - 1), 2, attribute_name_SensitiveParameter_arginfo_ftp_login_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_ftp_login_arg2); + zend_string *attribute_name_SensitiveParameter_ftp_login_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ftp_login", sizeof("ftp_login") - 1), 2, attribute_name_SensitiveParameter_ftp_login_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_ftp_login_arg2); } static zend_class_entry *register_class_FTP_Connection(void) diff --git a/ext/hash/hash_arginfo.h b/ext/hash/hash_arginfo.h index 97aea61c36bbd..82ed3d43e46fd 100644 --- a/ext/hash/hash_arginfo.h +++ b/ext/hash/hash_arginfo.h @@ -215,33 +215,33 @@ static void register_hash_symbols(int module_number) REGISTER_LONG_CONSTANT("HASH_HMAC", PHP_HASH_HMAC, CONST_CS | CONST_PERSISTENT); - zend_string *attribute_name_SensitiveParameter_arginfo_hash_hmac_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_hmac", sizeof("hash_hmac") - 1), 2, attribute_name_SensitiveParameter_arginfo_hash_hmac_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_hash_hmac_arg2); + zend_string *attribute_name_SensitiveParameter_hash_hmac_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_hmac", sizeof("hash_hmac") - 1), 2, attribute_name_SensitiveParameter_hash_hmac_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_hash_hmac_arg2); - zend_string *attribute_name_SensitiveParameter_arginfo_hash_hmac_file_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_hmac_file", sizeof("hash_hmac_file") - 1), 2, attribute_name_SensitiveParameter_arginfo_hash_hmac_file_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_hash_hmac_file_arg2); + zend_string *attribute_name_SensitiveParameter_hash_hmac_file_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_hmac_file", sizeof("hash_hmac_file") - 1), 2, attribute_name_SensitiveParameter_hash_hmac_file_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_hash_hmac_file_arg2); - zend_string *attribute_name_SensitiveParameter_arginfo_hash_init_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_init", sizeof("hash_init") - 1), 2, attribute_name_SensitiveParameter_arginfo_hash_init_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_hash_init_arg2); + zend_string *attribute_name_SensitiveParameter_hash_init_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_init", sizeof("hash_init") - 1), 2, attribute_name_SensitiveParameter_hash_init_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_hash_init_arg2); - zend_string *attribute_name_SensitiveParameter_arginfo_hash_pbkdf2_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_pbkdf2", sizeof("hash_pbkdf2") - 1), 1, attribute_name_SensitiveParameter_arginfo_hash_pbkdf2_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_hash_pbkdf2_arg1); + zend_string *attribute_name_SensitiveParameter_hash_pbkdf2_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_pbkdf2", sizeof("hash_pbkdf2") - 1), 1, attribute_name_SensitiveParameter_hash_pbkdf2_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_hash_pbkdf2_arg1); - zend_string *attribute_name_SensitiveParameter_arginfo_hash_equals_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_equals", sizeof("hash_equals") - 1), 0, attribute_name_SensitiveParameter_arginfo_hash_equals_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_hash_equals_arg0); + zend_string *attribute_name_SensitiveParameter_hash_equals_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_equals", sizeof("hash_equals") - 1), 0, attribute_name_SensitiveParameter_hash_equals_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_hash_equals_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_hash_equals_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_equals", sizeof("hash_equals") - 1), 1, attribute_name_SensitiveParameter_arginfo_hash_equals_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_hash_equals_arg1); + zend_string *attribute_name_SensitiveParameter_hash_equals_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_equals", sizeof("hash_equals") - 1), 1, attribute_name_SensitiveParameter_hash_equals_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_hash_equals_arg1); - zend_string *attribute_name_SensitiveParameter_arginfo_hash_hkdf_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_hkdf", sizeof("hash_hkdf") - 1), 1, attribute_name_SensitiveParameter_arginfo_hash_hkdf_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_hash_hkdf_arg1); + zend_string *attribute_name_SensitiveParameter_hash_hkdf_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "hash_hkdf", sizeof("hash_hkdf") - 1), 1, attribute_name_SensitiveParameter_hash_hkdf_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_hash_hkdf_arg1); } static zend_class_entry *register_class_HashContext(void) diff --git a/ext/imap/php_imap_arginfo.h b/ext/imap/php_imap_arginfo.h index 2a4b02c06981a..9759aa895f2fc 100644 --- a/ext/imap/php_imap_arginfo.h +++ b/ext/imap/php_imap_arginfo.h @@ -596,9 +596,9 @@ static void register_php_imap_symbols(int module_number) REGISTER_LONG_CONSTANT("IMAP_GC_TEXTS", GC_TEXTS, CONST_CS | CONST_PERSISTENT); - zend_string *attribute_name_SensitiveParameter_arginfo_imap_open_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "imap_open", sizeof("imap_open") - 1), 2, attribute_name_SensitiveParameter_arginfo_imap_open_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_imap_open_arg2); + zend_string *attribute_name_SensitiveParameter_imap_open_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "imap_open", sizeof("imap_open") - 1), 2, attribute_name_SensitiveParameter_imap_open_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_imap_open_arg2); } static zend_class_entry *register_class_IMAP_Connection(void) diff --git a/ext/ldap/ldap_arginfo.h b/ext/ldap/ldap_arginfo.h index 8aae9c60fd70e..c3274d9d3f90d 100644 --- a/ext/ldap/ldap_arginfo.h +++ b/ext/ldap/ldap_arginfo.h @@ -832,33 +832,33 @@ static void register_ldap_symbols(int module_number) #if defined(HAVE_ORALDAP) - zend_string *attribute_name_SensitiveParameter_arginfo_ldap_connect_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_connect", sizeof("ldap_connect") - 1), 3, attribute_name_SensitiveParameter_arginfo_ldap_connect_arg3, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_ldap_connect_arg3); + zend_string *attribute_name_SensitiveParameter_ldap_connect_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_connect", sizeof("ldap_connect") - 1), 3, attribute_name_SensitiveParameter_ldap_connect_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_ldap_connect_arg3); #endif - zend_string *attribute_name_SensitiveParameter_arginfo_ldap_bind_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_bind", sizeof("ldap_bind") - 1), 2, attribute_name_SensitiveParameter_arginfo_ldap_bind_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_ldap_bind_arg2); + zend_string *attribute_name_SensitiveParameter_ldap_bind_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_bind", sizeof("ldap_bind") - 1), 2, attribute_name_SensitiveParameter_ldap_bind_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_ldap_bind_arg2); - zend_string *attribute_name_SensitiveParameter_arginfo_ldap_bind_ext_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_bind_ext", sizeof("ldap_bind_ext") - 1), 2, attribute_name_SensitiveParameter_arginfo_ldap_bind_ext_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_ldap_bind_ext_arg2); + zend_string *attribute_name_SensitiveParameter_ldap_bind_ext_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_bind_ext", sizeof("ldap_bind_ext") - 1), 2, attribute_name_SensitiveParameter_ldap_bind_ext_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_ldap_bind_ext_arg2); #if defined(HAVE_LDAP_SASL) - zend_string *attribute_name_SensitiveParameter_arginfo_ldap_sasl_bind_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_sasl_bind", sizeof("ldap_sasl_bind") - 1), 2, attribute_name_SensitiveParameter_arginfo_ldap_sasl_bind_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_ldap_sasl_bind_arg2); + zend_string *attribute_name_SensitiveParameter_ldap_sasl_bind_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_sasl_bind", sizeof("ldap_sasl_bind") - 1), 2, attribute_name_SensitiveParameter_ldap_sasl_bind_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_ldap_sasl_bind_arg2); #endif #if defined(HAVE_LDAP_PASSWD) - zend_string *attribute_name_SensitiveParameter_arginfo_ldap_exop_passwd_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_exop_passwd", sizeof("ldap_exop_passwd") - 1), 2, attribute_name_SensitiveParameter_arginfo_ldap_exop_passwd_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_ldap_exop_passwd_arg2); + zend_string *attribute_name_SensitiveParameter_ldap_exop_passwd_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_exop_passwd", sizeof("ldap_exop_passwd") - 1), 2, attribute_name_SensitiveParameter_ldap_exop_passwd_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_ldap_exop_passwd_arg2); - zend_string *attribute_name_SensitiveParameter_arginfo_ldap_exop_passwd_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_exop_passwd", sizeof("ldap_exop_passwd") - 1), 3, attribute_name_SensitiveParameter_arginfo_ldap_exop_passwd_arg3, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_ldap_exop_passwd_arg3); + zend_string *attribute_name_SensitiveParameter_ldap_exop_passwd_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ldap_exop_passwd", sizeof("ldap_exop_passwd") - 1), 3, attribute_name_SensitiveParameter_ldap_exop_passwd_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_ldap_exop_passwd_arg3); #endif } diff --git a/ext/mysqli/mysqli_arginfo.h b/ext/mysqli/mysqli_arginfo.h index beaa67b155b63..b26cc0ccf429c 100644 --- a/ext/mysqli/mysqli_arginfo.h +++ b/ext/mysqli/mysqli_arginfo.h @@ -1046,17 +1046,17 @@ static const zend_function_entry class_mysqli_sql_exception_methods[] = { static void register_mysqli_symbols(int module_number) { - zend_string *attribute_name_SensitiveParameter_arginfo_mysqli_change_user_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "mysqli_change_user", sizeof("mysqli_change_user") - 1), 2, attribute_name_SensitiveParameter_arginfo_mysqli_change_user_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_mysqli_change_user_arg2); + zend_string *attribute_name_SensitiveParameter_mysqli_change_user_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "mysqli_change_user", sizeof("mysqli_change_user") - 1), 2, attribute_name_SensitiveParameter_mysqli_change_user_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_mysqli_change_user_arg2); - zend_string *attribute_name_SensitiveParameter_arginfo_mysqli_connect_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "mysqli_connect", sizeof("mysqli_connect") - 1), 2, attribute_name_SensitiveParameter_arginfo_mysqli_connect_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_mysqli_connect_arg2); + zend_string *attribute_name_SensitiveParameter_mysqli_connect_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "mysqli_connect", sizeof("mysqli_connect") - 1), 2, attribute_name_SensitiveParameter_mysqli_connect_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_mysqli_connect_arg2); - zend_string *attribute_name_SensitiveParameter_arginfo_mysqli_real_connect_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "mysqli_real_connect", sizeof("mysqli_real_connect") - 1), 3, attribute_name_SensitiveParameter_arginfo_mysqli_real_connect_arg3, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_mysqli_real_connect_arg3); + zend_string *attribute_name_SensitiveParameter_mysqli_real_connect_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "mysqli_real_connect", sizeof("mysqli_real_connect") - 1), 3, attribute_name_SensitiveParameter_mysqli_real_connect_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_mysqli_real_connect_arg3); } static zend_class_entry *register_class_mysqli_driver(void) @@ -1210,21 +1210,21 @@ static zend_class_entry *register_class_mysqli(void) zend_string_release(property_warning_count_name); - zend_string *attribute_name_SensitiveParameter_arginfo_class_mysqli___construct_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "__construct", sizeof("__construct") - 1), 2, attribute_name_SensitiveParameter_arginfo_class_mysqli___construct_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_class_mysqli___construct_arg2); + zend_string *attribute_name_SensitiveParameter_mysqli___construct_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "__construct", sizeof("__construct") - 1), 2, attribute_name_SensitiveParameter_mysqli___construct_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_mysqli___construct_arg2); - zend_string *attribute_name_SensitiveParameter_arginfo_class_mysqli_change_user_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "change_user", sizeof("change_user") - 1), 1, attribute_name_SensitiveParameter_arginfo_class_mysqli_change_user_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_class_mysqli_change_user_arg1); + zend_string *attribute_name_SensitiveParameter_mysqli_change_user_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "change_user", sizeof("change_user") - 1), 1, attribute_name_SensitiveParameter_mysqli_change_user_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_mysqli_change_user_arg1); - zend_string *attribute_name_SensitiveParameter_arginfo_class_mysqli_connect_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "connect", sizeof("connect") - 1), 2, attribute_name_SensitiveParameter_arginfo_class_mysqli_connect_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_class_mysqli_connect_arg2); + zend_string *attribute_name_SensitiveParameter_mysqli_connect_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "connect", sizeof("connect") - 1), 2, attribute_name_SensitiveParameter_mysqli_connect_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_mysqli_connect_arg2); - zend_string *attribute_name_SensitiveParameter_arginfo_class_mysqli_real_connect_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "real_connect", sizeof("real_connect") - 1), 2, attribute_name_SensitiveParameter_arginfo_class_mysqli_real_connect_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_class_mysqli_real_connect_arg2); + zend_string *attribute_name_SensitiveParameter_mysqli_real_connect_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "real_connect", sizeof("real_connect") - 1), 2, attribute_name_SensitiveParameter_mysqli_real_connect_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_mysqli_real_connect_arg2); return class_entry; } diff --git a/ext/oci8/oci8_arginfo.h b/ext/oci8/oci8_arginfo.h index c6544ac3e8ee7..11c4973b3f3b0 100644 --- a/ext/oci8/oci8_arginfo.h +++ b/ext/oci8/oci8_arginfo.h @@ -802,29 +802,29 @@ static const zend_function_entry class_OCICollection_methods[] = { static void register_oci8_symbols(int module_number) { - zend_string *attribute_name_SensitiveParameter_arginfo_oci_new_connect_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "oci_new_connect", sizeof("oci_new_connect") - 1), 1, attribute_name_SensitiveParameter_arginfo_oci_new_connect_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_oci_new_connect_arg1); + zend_string *attribute_name_SensitiveParameter_oci_new_connect_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "oci_new_connect", sizeof("oci_new_connect") - 1), 1, attribute_name_SensitiveParameter_oci_new_connect_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_oci_new_connect_arg1); - zend_string *attribute_name_SensitiveParameter_arginfo_ocinlogon_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ocinlogon", sizeof("ocinlogon") - 1), 1, attribute_name_SensitiveParameter_arginfo_ocinlogon_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_ocinlogon_arg1); + zend_string *attribute_name_SensitiveParameter_ocinlogon_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ocinlogon", sizeof("ocinlogon") - 1), 1, attribute_name_SensitiveParameter_ocinlogon_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_ocinlogon_arg1); - zend_string *attribute_name_SensitiveParameter_arginfo_oci_connect_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "oci_connect", sizeof("oci_connect") - 1), 1, attribute_name_SensitiveParameter_arginfo_oci_connect_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_oci_connect_arg1); + zend_string *attribute_name_SensitiveParameter_oci_connect_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "oci_connect", sizeof("oci_connect") - 1), 1, attribute_name_SensitiveParameter_oci_connect_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_oci_connect_arg1); - zend_string *attribute_name_SensitiveParameter_arginfo_ocilogon_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ocilogon", sizeof("ocilogon") - 1), 1, attribute_name_SensitiveParameter_arginfo_ocilogon_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_ocilogon_arg1); + zend_string *attribute_name_SensitiveParameter_ocilogon_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ocilogon", sizeof("ocilogon") - 1), 1, attribute_name_SensitiveParameter_ocilogon_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_ocilogon_arg1); - zend_string *attribute_name_SensitiveParameter_arginfo_oci_pconnect_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "oci_pconnect", sizeof("oci_pconnect") - 1), 1, attribute_name_SensitiveParameter_arginfo_oci_pconnect_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_oci_pconnect_arg1); + zend_string *attribute_name_SensitiveParameter_oci_pconnect_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "oci_pconnect", sizeof("oci_pconnect") - 1), 1, attribute_name_SensitiveParameter_oci_pconnect_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_oci_pconnect_arg1); - zend_string *attribute_name_SensitiveParameter_arginfo_ociplogon_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ociplogon", sizeof("ociplogon") - 1), 1, attribute_name_SensitiveParameter_arginfo_ociplogon_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_ociplogon_arg1); + zend_string *attribute_name_SensitiveParameter_ociplogon_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "ociplogon", sizeof("ociplogon") - 1), 1, attribute_name_SensitiveParameter_ociplogon_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_ociplogon_arg1); } static zend_class_entry *register_class_OCILob(void) diff --git a/ext/odbc/odbc_arginfo.h b/ext/odbc/odbc_arginfo.h index a45fcbe1ff18e..53c3a20d41c8e 100644 --- a/ext/odbc/odbc_arginfo.h +++ b/ext/odbc/odbc_arginfo.h @@ -395,11 +395,11 @@ static const zend_function_entry ext_functions[] = { static void register_odbc_symbols(int module_number) { - zend_string *attribute_name_SensitiveParameter_arginfo_odbc_connect_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "odbc_connect", sizeof("odbc_connect") - 1), 2, attribute_name_SensitiveParameter_arginfo_odbc_connect_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_odbc_connect_arg2); + zend_string *attribute_name_SensitiveParameter_odbc_connect_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "odbc_connect", sizeof("odbc_connect") - 1), 2, attribute_name_SensitiveParameter_odbc_connect_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_odbc_connect_arg2); - zend_string *attribute_name_SensitiveParameter_arginfo_odbc_pconnect_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "odbc_pconnect", sizeof("odbc_pconnect") - 1), 2, attribute_name_SensitiveParameter_arginfo_odbc_pconnect_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_odbc_pconnect_arg2); + zend_string *attribute_name_SensitiveParameter_odbc_pconnect_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "odbc_pconnect", sizeof("odbc_pconnect") - 1), 2, attribute_name_SensitiveParameter_odbc_pconnect_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_odbc_pconnect_arg2); } diff --git a/ext/openssl/openssl_arginfo.h b/ext/openssl/openssl_arginfo.h index 8917c55dde230..addb3803b06d0 100644 --- a/ext/openssl/openssl_arginfo.h +++ b/ext/openssl/openssl_arginfo.h @@ -537,161 +537,161 @@ static const zend_function_entry class_OpenSSLAsymmetricKey_methods[] = { static void register_openssl_symbols(int module_number) { - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_x509_check_private_key_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_x509_check_private_key", sizeof("openssl_x509_check_private_key") - 1), 1, attribute_name_SensitiveParameter_arginfo_openssl_x509_check_private_key_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_x509_check_private_key_arg1); + zend_string *attribute_name_SensitiveParameter_openssl_x509_check_private_key_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_x509_check_private_key", sizeof("openssl_x509_check_private_key") - 1), 1, attribute_name_SensitiveParameter_openssl_x509_check_private_key_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_x509_check_private_key_arg1); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_export_to_file_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkcs12_export_to_file", sizeof("openssl_pkcs12_export_to_file") - 1), 2, attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_export_to_file_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_export_to_file_arg2); + zend_string *attribute_name_SensitiveParameter_openssl_pkcs12_export_to_file_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkcs12_export_to_file", sizeof("openssl_pkcs12_export_to_file") - 1), 2, attribute_name_SensitiveParameter_openssl_pkcs12_export_to_file_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_pkcs12_export_to_file_arg2); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_export_to_file_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkcs12_export_to_file", sizeof("openssl_pkcs12_export_to_file") - 1), 3, attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_export_to_file_arg3, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_export_to_file_arg3); + zend_string *attribute_name_SensitiveParameter_openssl_pkcs12_export_to_file_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkcs12_export_to_file", sizeof("openssl_pkcs12_export_to_file") - 1), 3, attribute_name_SensitiveParameter_openssl_pkcs12_export_to_file_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_pkcs12_export_to_file_arg3); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_export_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkcs12_export", sizeof("openssl_pkcs12_export") - 1), 2, attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_export_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_export_arg2); + zend_string *attribute_name_SensitiveParameter_openssl_pkcs12_export_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkcs12_export", sizeof("openssl_pkcs12_export") - 1), 2, attribute_name_SensitiveParameter_openssl_pkcs12_export_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_pkcs12_export_arg2); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_export_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkcs12_export", sizeof("openssl_pkcs12_export") - 1), 3, attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_export_arg3, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_export_arg3); + zend_string *attribute_name_SensitiveParameter_openssl_pkcs12_export_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkcs12_export", sizeof("openssl_pkcs12_export") - 1), 3, attribute_name_SensitiveParameter_openssl_pkcs12_export_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_pkcs12_export_arg3); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_read_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkcs12_read", sizeof("openssl_pkcs12_read") - 1), 2, attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_read_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkcs12_read_arg2); + zend_string *attribute_name_SensitiveParameter_openssl_pkcs12_read_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkcs12_read", sizeof("openssl_pkcs12_read") - 1), 2, attribute_name_SensitiveParameter_openssl_pkcs12_read_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_pkcs12_read_arg2); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_csr_sign_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_csr_sign", sizeof("openssl_csr_sign") - 1), 2, attribute_name_SensitiveParameter_arginfo_openssl_csr_sign_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_csr_sign_arg2); + zend_string *attribute_name_SensitiveParameter_openssl_csr_sign_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_csr_sign", sizeof("openssl_csr_sign") - 1), 2, attribute_name_SensitiveParameter_openssl_csr_sign_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_csr_sign_arg2); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_csr_new_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_csr_new", sizeof("openssl_csr_new") - 1), 1, attribute_name_SensitiveParameter_arginfo_openssl_csr_new_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_csr_new_arg1); + zend_string *attribute_name_SensitiveParameter_openssl_csr_new_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_csr_new", sizeof("openssl_csr_new") - 1), 1, attribute_name_SensitiveParameter_openssl_csr_new_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_csr_new_arg1); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkey_export_to_file_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkey_export_to_file", sizeof("openssl_pkey_export_to_file") - 1), 0, attribute_name_SensitiveParameter_arginfo_openssl_pkey_export_to_file_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkey_export_to_file_arg0); + zend_string *attribute_name_SensitiveParameter_openssl_pkey_export_to_file_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkey_export_to_file", sizeof("openssl_pkey_export_to_file") - 1), 0, attribute_name_SensitiveParameter_openssl_pkey_export_to_file_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_pkey_export_to_file_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkey_export_to_file_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkey_export_to_file", sizeof("openssl_pkey_export_to_file") - 1), 2, attribute_name_SensitiveParameter_arginfo_openssl_pkey_export_to_file_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkey_export_to_file_arg2); + zend_string *attribute_name_SensitiveParameter_openssl_pkey_export_to_file_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkey_export_to_file", sizeof("openssl_pkey_export_to_file") - 1), 2, attribute_name_SensitiveParameter_openssl_pkey_export_to_file_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_pkey_export_to_file_arg2); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkey_export_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkey_export", sizeof("openssl_pkey_export") - 1), 0, attribute_name_SensitiveParameter_arginfo_openssl_pkey_export_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkey_export_arg0); + zend_string *attribute_name_SensitiveParameter_openssl_pkey_export_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkey_export", sizeof("openssl_pkey_export") - 1), 0, attribute_name_SensitiveParameter_openssl_pkey_export_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_pkey_export_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkey_export_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkey_export", sizeof("openssl_pkey_export") - 1), 2, attribute_name_SensitiveParameter_arginfo_openssl_pkey_export_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkey_export_arg2); + zend_string *attribute_name_SensitiveParameter_openssl_pkey_export_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkey_export", sizeof("openssl_pkey_export") - 1), 2, attribute_name_SensitiveParameter_openssl_pkey_export_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_pkey_export_arg2); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkey_get_private_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkey_get_private", sizeof("openssl_pkey_get_private") - 1), 0, attribute_name_SensitiveParameter_arginfo_openssl_pkey_get_private_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkey_get_private_arg0); + zend_string *attribute_name_SensitiveParameter_openssl_pkey_get_private_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkey_get_private", sizeof("openssl_pkey_get_private") - 1), 0, attribute_name_SensitiveParameter_openssl_pkey_get_private_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_pkey_get_private_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkey_get_private_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkey_get_private", sizeof("openssl_pkey_get_private") - 1), 1, attribute_name_SensitiveParameter_arginfo_openssl_pkey_get_private_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkey_get_private_arg1); + zend_string *attribute_name_SensitiveParameter_openssl_pkey_get_private_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkey_get_private", sizeof("openssl_pkey_get_private") - 1), 1, attribute_name_SensitiveParameter_openssl_pkey_get_private_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_pkey_get_private_arg1); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_get_privatekey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_get_privatekey", sizeof("openssl_get_privatekey") - 1), 0, attribute_name_SensitiveParameter_arginfo_openssl_get_privatekey_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_get_privatekey_arg0); + zend_string *attribute_name_SensitiveParameter_openssl_get_privatekey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_get_privatekey", sizeof("openssl_get_privatekey") - 1), 0, attribute_name_SensitiveParameter_openssl_get_privatekey_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_get_privatekey_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_get_privatekey_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_get_privatekey", sizeof("openssl_get_privatekey") - 1), 1, attribute_name_SensitiveParameter_arginfo_openssl_get_privatekey_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_get_privatekey_arg1); + zend_string *attribute_name_SensitiveParameter_openssl_get_privatekey_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_get_privatekey", sizeof("openssl_get_privatekey") - 1), 1, attribute_name_SensitiveParameter_openssl_get_privatekey_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_get_privatekey_arg1); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pbkdf2_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pbkdf2", sizeof("openssl_pbkdf2") - 1), 0, attribute_name_SensitiveParameter_arginfo_openssl_pbkdf2_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pbkdf2_arg0); + zend_string *attribute_name_SensitiveParameter_openssl_pbkdf2_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pbkdf2", sizeof("openssl_pbkdf2") - 1), 0, attribute_name_SensitiveParameter_openssl_pbkdf2_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_pbkdf2_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkcs7_sign_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkcs7_sign", sizeof("openssl_pkcs7_sign") - 1), 3, attribute_name_SensitiveParameter_arginfo_openssl_pkcs7_sign_arg3, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkcs7_sign_arg3); + zend_string *attribute_name_SensitiveParameter_openssl_pkcs7_sign_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkcs7_sign", sizeof("openssl_pkcs7_sign") - 1), 3, attribute_name_SensitiveParameter_openssl_pkcs7_sign_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_pkcs7_sign_arg3); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkcs7_decrypt_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkcs7_decrypt", sizeof("openssl_pkcs7_decrypt") - 1), 2, attribute_name_SensitiveParameter_arginfo_openssl_pkcs7_decrypt_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkcs7_decrypt_arg2); + zend_string *attribute_name_SensitiveParameter_openssl_pkcs7_decrypt_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkcs7_decrypt", sizeof("openssl_pkcs7_decrypt") - 1), 2, attribute_name_SensitiveParameter_openssl_pkcs7_decrypt_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_pkcs7_decrypt_arg2); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkcs7_decrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkcs7_decrypt", sizeof("openssl_pkcs7_decrypt") - 1), 3, attribute_name_SensitiveParameter_arginfo_openssl_pkcs7_decrypt_arg3, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkcs7_decrypt_arg3); + zend_string *attribute_name_SensitiveParameter_openssl_pkcs7_decrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkcs7_decrypt", sizeof("openssl_pkcs7_decrypt") - 1), 3, attribute_name_SensitiveParameter_openssl_pkcs7_decrypt_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_pkcs7_decrypt_arg3); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_cms_sign_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_cms_sign", sizeof("openssl_cms_sign") - 1), 3, attribute_name_SensitiveParameter_arginfo_openssl_cms_sign_arg3, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_cms_sign_arg3); + zend_string *attribute_name_SensitiveParameter_openssl_cms_sign_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_cms_sign", sizeof("openssl_cms_sign") - 1), 3, attribute_name_SensitiveParameter_openssl_cms_sign_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_cms_sign_arg3); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_cms_decrypt_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_cms_decrypt", sizeof("openssl_cms_decrypt") - 1), 2, attribute_name_SensitiveParameter_arginfo_openssl_cms_decrypt_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_cms_decrypt_arg2); + zend_string *attribute_name_SensitiveParameter_openssl_cms_decrypt_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_cms_decrypt", sizeof("openssl_cms_decrypt") - 1), 2, attribute_name_SensitiveParameter_openssl_cms_decrypt_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_cms_decrypt_arg2); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_cms_decrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_cms_decrypt", sizeof("openssl_cms_decrypt") - 1), 3, attribute_name_SensitiveParameter_arginfo_openssl_cms_decrypt_arg3, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_cms_decrypt_arg3); + zend_string *attribute_name_SensitiveParameter_openssl_cms_decrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_cms_decrypt", sizeof("openssl_cms_decrypt") - 1), 3, attribute_name_SensitiveParameter_openssl_cms_decrypt_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_cms_decrypt_arg3); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_private_encrypt_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_private_encrypt", sizeof("openssl_private_encrypt") - 1), 0, attribute_name_SensitiveParameter_arginfo_openssl_private_encrypt_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_private_encrypt_arg0); + zend_string *attribute_name_SensitiveParameter_openssl_private_encrypt_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_private_encrypt", sizeof("openssl_private_encrypt") - 1), 0, attribute_name_SensitiveParameter_openssl_private_encrypt_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_private_encrypt_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_private_encrypt_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_private_encrypt", sizeof("openssl_private_encrypt") - 1), 2, attribute_name_SensitiveParameter_arginfo_openssl_private_encrypt_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_private_encrypt_arg2); + zend_string *attribute_name_SensitiveParameter_openssl_private_encrypt_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_private_encrypt", sizeof("openssl_private_encrypt") - 1), 2, attribute_name_SensitiveParameter_openssl_private_encrypt_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_private_encrypt_arg2); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_private_decrypt_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_private_decrypt", sizeof("openssl_private_decrypt") - 1), 1, attribute_name_SensitiveParameter_arginfo_openssl_private_decrypt_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_private_decrypt_arg1); + zend_string *attribute_name_SensitiveParameter_openssl_private_decrypt_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_private_decrypt", sizeof("openssl_private_decrypt") - 1), 1, attribute_name_SensitiveParameter_openssl_private_decrypt_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_private_decrypt_arg1); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_private_decrypt_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_private_decrypt", sizeof("openssl_private_decrypt") - 1), 2, attribute_name_SensitiveParameter_arginfo_openssl_private_decrypt_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_private_decrypt_arg2); + zend_string *attribute_name_SensitiveParameter_openssl_private_decrypt_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_private_decrypt", sizeof("openssl_private_decrypt") - 1), 2, attribute_name_SensitiveParameter_openssl_private_decrypt_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_private_decrypt_arg2); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_public_encrypt_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_public_encrypt", sizeof("openssl_public_encrypt") - 1), 0, attribute_name_SensitiveParameter_arginfo_openssl_public_encrypt_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_public_encrypt_arg0); + zend_string *attribute_name_SensitiveParameter_openssl_public_encrypt_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_public_encrypt", sizeof("openssl_public_encrypt") - 1), 0, attribute_name_SensitiveParameter_openssl_public_encrypt_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_public_encrypt_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_public_decrypt_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_public_decrypt", sizeof("openssl_public_decrypt") - 1), 1, attribute_name_SensitiveParameter_arginfo_openssl_public_decrypt_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_public_decrypt_arg1); + zend_string *attribute_name_SensitiveParameter_openssl_public_decrypt_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_public_decrypt", sizeof("openssl_public_decrypt") - 1), 1, attribute_name_SensitiveParameter_openssl_public_decrypt_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_public_decrypt_arg1); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_sign_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_sign", sizeof("openssl_sign") - 1), 2, attribute_name_SensitiveParameter_arginfo_openssl_sign_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_sign_arg2); + zend_string *attribute_name_SensitiveParameter_openssl_sign_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_sign", sizeof("openssl_sign") - 1), 2, attribute_name_SensitiveParameter_openssl_sign_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_sign_arg2); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_seal_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_seal", sizeof("openssl_seal") - 1), 0, attribute_name_SensitiveParameter_arginfo_openssl_seal_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_seal_arg0); + zend_string *attribute_name_SensitiveParameter_openssl_seal_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_seal", sizeof("openssl_seal") - 1), 0, attribute_name_SensitiveParameter_openssl_seal_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_seal_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_open_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_open", sizeof("openssl_open") - 1), 1, attribute_name_SensitiveParameter_arginfo_openssl_open_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_open_arg1); + zend_string *attribute_name_SensitiveParameter_openssl_open_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_open", sizeof("openssl_open") - 1), 1, attribute_name_SensitiveParameter_openssl_open_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_open_arg1); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_open_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_open", sizeof("openssl_open") - 1), 3, attribute_name_SensitiveParameter_arginfo_openssl_open_arg3, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_open_arg3); + zend_string *attribute_name_SensitiveParameter_openssl_open_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_open", sizeof("openssl_open") - 1), 3, attribute_name_SensitiveParameter_openssl_open_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_open_arg3); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_encrypt_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_encrypt", sizeof("openssl_encrypt") - 1), 0, attribute_name_SensitiveParameter_arginfo_openssl_encrypt_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_encrypt_arg0); + zend_string *attribute_name_SensitiveParameter_openssl_encrypt_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_encrypt", sizeof("openssl_encrypt") - 1), 0, attribute_name_SensitiveParameter_openssl_encrypt_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_encrypt_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_encrypt_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_encrypt", sizeof("openssl_encrypt") - 1), 2, attribute_name_SensitiveParameter_arginfo_openssl_encrypt_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_encrypt_arg2); + zend_string *attribute_name_SensitiveParameter_openssl_encrypt_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_encrypt", sizeof("openssl_encrypt") - 1), 2, attribute_name_SensitiveParameter_openssl_encrypt_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_encrypt_arg2); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_decrypt_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_decrypt", sizeof("openssl_decrypt") - 1), 2, attribute_name_SensitiveParameter_arginfo_openssl_decrypt_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_decrypt_arg2); + zend_string *attribute_name_SensitiveParameter_openssl_decrypt_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_decrypt", sizeof("openssl_decrypt") - 1), 2, attribute_name_SensitiveParameter_openssl_decrypt_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_decrypt_arg2); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_dh_compute_key_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_dh_compute_key", sizeof("openssl_dh_compute_key") - 1), 1, attribute_name_SensitiveParameter_arginfo_openssl_dh_compute_key_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_dh_compute_key_arg1); + zend_string *attribute_name_SensitiveParameter_openssl_dh_compute_key_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_dh_compute_key", sizeof("openssl_dh_compute_key") - 1), 1, attribute_name_SensitiveParameter_openssl_dh_compute_key_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_dh_compute_key_arg1); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_pkey_derive_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkey_derive", sizeof("openssl_pkey_derive") - 1), 1, attribute_name_SensitiveParameter_arginfo_openssl_pkey_derive_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_pkey_derive_arg1); + zend_string *attribute_name_SensitiveParameter_openssl_pkey_derive_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_pkey_derive", sizeof("openssl_pkey_derive") - 1), 1, attribute_name_SensitiveParameter_openssl_pkey_derive_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_pkey_derive_arg1); - zend_string *attribute_name_SensitiveParameter_arginfo_openssl_spki_new_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_spki_new", sizeof("openssl_spki_new") - 1), 0, attribute_name_SensitiveParameter_arginfo_openssl_spki_new_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_openssl_spki_new_arg0); + zend_string *attribute_name_SensitiveParameter_openssl_spki_new_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "openssl_spki_new", sizeof("openssl_spki_new") - 1), 0, attribute_name_SensitiveParameter_openssl_spki_new_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_openssl_spki_new_arg0); } static zend_class_entry *register_class_OpenSSLCertificate(void) diff --git a/ext/pdo/pdo_dbh_arginfo.h b/ext/pdo/pdo_dbh_arginfo.h index 249e540115b50..a817f760c8f7e 100644 --- a/ext/pdo/pdo_dbh_arginfo.h +++ b/ext/pdo/pdo_dbh_arginfo.h @@ -104,9 +104,9 @@ static zend_class_entry *register_class_PDO(void) class_entry->ce_flags |= ZEND_ACC_NOT_SERIALIZABLE; - zend_string *attribute_name_SensitiveParameter_arginfo_class_PDO___construct_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "__construct", sizeof("__construct") - 1), 2, attribute_name_SensitiveParameter_arginfo_class_PDO___construct_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_class_PDO___construct_arg2); + zend_string *attribute_name_SensitiveParameter_PDO___construct_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "__construct", sizeof("__construct") - 1), 2, attribute_name_SensitiveParameter_PDO___construct_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_PDO___construct_arg2); return class_entry; } diff --git a/ext/sodium/libsodium_arginfo.h b/ext/sodium/libsodium_arginfo.h index aa9d799abfff5..f9f4505086990 100644 --- a/ext/sodium/libsodium_arginfo.h +++ b/ext/sodium/libsodium_arginfo.h @@ -888,332 +888,332 @@ static void register_libsodium_symbols(int module_number) { #if defined(HAVE_AESGCM) - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_aes256gcm_decrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_aes256gcm_decrypt", sizeof("sodium_crypto_aead_aes256gcm_decrypt") - 1), 3, attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_aes256gcm_decrypt_arg3, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_aes256gcm_decrypt_arg3); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_aead_aes256gcm_decrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_aes256gcm_decrypt", sizeof("sodium_crypto_aead_aes256gcm_decrypt") - 1), 3, attribute_name_SensitiveParameter_sodium_crypto_aead_aes256gcm_decrypt_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_aead_aes256gcm_decrypt_arg3); #endif #if defined(HAVE_AESGCM) - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_aes256gcm_encrypt_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_aes256gcm_encrypt", sizeof("sodium_crypto_aead_aes256gcm_encrypt") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_aes256gcm_encrypt_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_aes256gcm_encrypt_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_aead_aes256gcm_encrypt_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_aes256gcm_encrypt", sizeof("sodium_crypto_aead_aes256gcm_encrypt") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_aead_aes256gcm_encrypt_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_aead_aes256gcm_encrypt_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_aes256gcm_encrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_aes256gcm_encrypt", sizeof("sodium_crypto_aead_aes256gcm_encrypt") - 1), 3, attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_aes256gcm_encrypt_arg3, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_aes256gcm_encrypt_arg3); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_aead_aes256gcm_encrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_aes256gcm_encrypt", sizeof("sodium_crypto_aead_aes256gcm_encrypt") - 1), 3, attribute_name_SensitiveParameter_sodium_crypto_aead_aes256gcm_encrypt_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_aead_aes256gcm_encrypt_arg3); #endif - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_decrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_chacha20poly1305_decrypt", sizeof("sodium_crypto_aead_chacha20poly1305_decrypt") - 1), 3, attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_decrypt_arg3, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_decrypt_arg3); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_aead_chacha20poly1305_decrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_chacha20poly1305_decrypt", sizeof("sodium_crypto_aead_chacha20poly1305_decrypt") - 1), 3, attribute_name_SensitiveParameter_sodium_crypto_aead_chacha20poly1305_decrypt_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_aead_chacha20poly1305_decrypt_arg3); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_encrypt_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_chacha20poly1305_encrypt", sizeof("sodium_crypto_aead_chacha20poly1305_encrypt") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_encrypt_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_encrypt_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_aead_chacha20poly1305_encrypt_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_chacha20poly1305_encrypt", sizeof("sodium_crypto_aead_chacha20poly1305_encrypt") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_aead_chacha20poly1305_encrypt_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_aead_chacha20poly1305_encrypt_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_encrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_chacha20poly1305_encrypt", sizeof("sodium_crypto_aead_chacha20poly1305_encrypt") - 1), 3, attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_encrypt_arg3, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_encrypt_arg3); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_aead_chacha20poly1305_encrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_chacha20poly1305_encrypt", sizeof("sodium_crypto_aead_chacha20poly1305_encrypt") - 1), 3, attribute_name_SensitiveParameter_sodium_crypto_aead_chacha20poly1305_encrypt_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_aead_chacha20poly1305_encrypt_arg3); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_ietf_decrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_chacha20poly1305_ietf_decrypt", sizeof("sodium_crypto_aead_chacha20poly1305_ietf_decrypt") - 1), 3, attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_ietf_decrypt_arg3, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_ietf_decrypt_arg3); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_aead_chacha20poly1305_ietf_decrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_chacha20poly1305_ietf_decrypt", sizeof("sodium_crypto_aead_chacha20poly1305_ietf_decrypt") - 1), 3, attribute_name_SensitiveParameter_sodium_crypto_aead_chacha20poly1305_ietf_decrypt_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_aead_chacha20poly1305_ietf_decrypt_arg3); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_ietf_encrypt_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_chacha20poly1305_ietf_encrypt", sizeof("sodium_crypto_aead_chacha20poly1305_ietf_encrypt") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_ietf_encrypt_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_ietf_encrypt_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_aead_chacha20poly1305_ietf_encrypt_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_chacha20poly1305_ietf_encrypt", sizeof("sodium_crypto_aead_chacha20poly1305_ietf_encrypt") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_aead_chacha20poly1305_ietf_encrypt_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_aead_chacha20poly1305_ietf_encrypt_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_ietf_encrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_chacha20poly1305_ietf_encrypt", sizeof("sodium_crypto_aead_chacha20poly1305_ietf_encrypt") - 1), 3, attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_ietf_encrypt_arg3, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_chacha20poly1305_ietf_encrypt_arg3); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_aead_chacha20poly1305_ietf_encrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_chacha20poly1305_ietf_encrypt", sizeof("sodium_crypto_aead_chacha20poly1305_ietf_encrypt") - 1), 3, attribute_name_SensitiveParameter_sodium_crypto_aead_chacha20poly1305_ietf_encrypt_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_aead_chacha20poly1305_ietf_encrypt_arg3); #if defined(crypto_aead_xchacha20poly1305_IETF_NPUBBYTES) - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_xchacha20poly1305_ietf_decrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_xchacha20poly1305_ietf_decrypt", sizeof("sodium_crypto_aead_xchacha20poly1305_ietf_decrypt") - 1), 3, attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_xchacha20poly1305_ietf_decrypt_arg3, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_xchacha20poly1305_ietf_decrypt_arg3); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_aead_xchacha20poly1305_ietf_decrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_xchacha20poly1305_ietf_decrypt", sizeof("sodium_crypto_aead_xchacha20poly1305_ietf_decrypt") - 1), 3, attribute_name_SensitiveParameter_sodium_crypto_aead_xchacha20poly1305_ietf_decrypt_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_aead_xchacha20poly1305_ietf_decrypt_arg3); #endif #if defined(crypto_aead_xchacha20poly1305_IETF_NPUBBYTES) - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_xchacha20poly1305_ietf_encrypt_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_xchacha20poly1305_ietf_encrypt", sizeof("sodium_crypto_aead_xchacha20poly1305_ietf_encrypt") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_xchacha20poly1305_ietf_encrypt_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_xchacha20poly1305_ietf_encrypt_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_aead_xchacha20poly1305_ietf_encrypt_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_xchacha20poly1305_ietf_encrypt", sizeof("sodium_crypto_aead_xchacha20poly1305_ietf_encrypt") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_aead_xchacha20poly1305_ietf_encrypt_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_aead_xchacha20poly1305_ietf_encrypt_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_xchacha20poly1305_ietf_encrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_xchacha20poly1305_ietf_encrypt", sizeof("sodium_crypto_aead_xchacha20poly1305_ietf_encrypt") - 1), 3, attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_xchacha20poly1305_ietf_encrypt_arg3, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_aead_xchacha20poly1305_ietf_encrypt_arg3); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_aead_xchacha20poly1305_ietf_encrypt_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_aead_xchacha20poly1305_ietf_encrypt", sizeof("sodium_crypto_aead_xchacha20poly1305_ietf_encrypt") - 1), 3, attribute_name_SensitiveParameter_sodium_crypto_aead_xchacha20poly1305_ietf_encrypt_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_aead_xchacha20poly1305_ietf_encrypt_arg3); #endif - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_auth_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_auth", sizeof("sodium_crypto_auth") - 1), 1, attribute_name_SensitiveParameter_arginfo_sodium_crypto_auth_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_auth_arg1); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_auth_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_auth", sizeof("sodium_crypto_auth") - 1), 1, attribute_name_SensitiveParameter_sodium_crypto_auth_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_auth_arg1); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_auth_verify_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_auth_verify", sizeof("sodium_crypto_auth_verify") - 1), 2, attribute_name_SensitiveParameter_arginfo_sodium_crypto_auth_verify_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_auth_verify_arg2); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_auth_verify_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_auth_verify", sizeof("sodium_crypto_auth_verify") - 1), 2, attribute_name_SensitiveParameter_sodium_crypto_auth_verify_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_auth_verify_arg2); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box", sizeof("sodium_crypto_box") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_box_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box", sizeof("sodium_crypto_box") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_box_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_box_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box", sizeof("sodium_crypto_box") - 1), 2, attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_arg2); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_box_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box", sizeof("sodium_crypto_box") - 1), 2, attribute_name_SensitiveParameter_sodium_crypto_box_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_box_arg2); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_seed_keypair_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box_seed_keypair", sizeof("sodium_crypto_box_seed_keypair") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_seed_keypair_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_seed_keypair_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_box_seed_keypair_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box_seed_keypair", sizeof("sodium_crypto_box_seed_keypair") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_box_seed_keypair_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_box_seed_keypair_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_keypair_from_secretkey_and_publickey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box_keypair_from_secretkey_and_publickey", sizeof("sodium_crypto_box_keypair_from_secretkey_and_publickey") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_keypair_from_secretkey_and_publickey_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_keypair_from_secretkey_and_publickey_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_box_keypair_from_secretkey_and_publickey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box_keypair_from_secretkey_and_publickey", sizeof("sodium_crypto_box_keypair_from_secretkey_and_publickey") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_box_keypair_from_secretkey_and_publickey_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_box_keypair_from_secretkey_and_publickey_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_open_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box_open", sizeof("sodium_crypto_box_open") - 1), 2, attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_open_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_open_arg2); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_box_open_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box_open", sizeof("sodium_crypto_box_open") - 1), 2, attribute_name_SensitiveParameter_sodium_crypto_box_open_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_box_open_arg2); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_publickey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box_publickey", sizeof("sodium_crypto_box_publickey") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_publickey_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_publickey_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_box_publickey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box_publickey", sizeof("sodium_crypto_box_publickey") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_box_publickey_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_box_publickey_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_publickey_from_secretkey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box_publickey_from_secretkey", sizeof("sodium_crypto_box_publickey_from_secretkey") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_publickey_from_secretkey_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_publickey_from_secretkey_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_box_publickey_from_secretkey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box_publickey_from_secretkey", sizeof("sodium_crypto_box_publickey_from_secretkey") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_box_publickey_from_secretkey_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_box_publickey_from_secretkey_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_seal_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box_seal", sizeof("sodium_crypto_box_seal") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_seal_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_seal_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_box_seal_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box_seal", sizeof("sodium_crypto_box_seal") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_box_seal_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_box_seal_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_seal_open_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box_seal_open", sizeof("sodium_crypto_box_seal_open") - 1), 1, attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_seal_open_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_seal_open_arg1); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_box_seal_open_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box_seal_open", sizeof("sodium_crypto_box_seal_open") - 1), 1, attribute_name_SensitiveParameter_sodium_crypto_box_seal_open_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_box_seal_open_arg1); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_secretkey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box_secretkey", sizeof("sodium_crypto_box_secretkey") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_secretkey_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_box_secretkey_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_box_secretkey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_box_secretkey", sizeof("sodium_crypto_box_secretkey") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_box_secretkey_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_box_secretkey_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_publickey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_kx_publickey", sizeof("sodium_crypto_kx_publickey") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_publickey_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_publickey_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_kx_publickey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_kx_publickey", sizeof("sodium_crypto_kx_publickey") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_kx_publickey_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_kx_publickey_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_secretkey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_kx_secretkey", sizeof("sodium_crypto_kx_secretkey") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_secretkey_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_secretkey_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_kx_secretkey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_kx_secretkey", sizeof("sodium_crypto_kx_secretkey") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_kx_secretkey_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_kx_secretkey_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_seed_keypair_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_kx_seed_keypair", sizeof("sodium_crypto_kx_seed_keypair") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_seed_keypair_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_seed_keypair_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_kx_seed_keypair_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_kx_seed_keypair", sizeof("sodium_crypto_kx_seed_keypair") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_kx_seed_keypair_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_kx_seed_keypair_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_client_session_keys_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_kx_client_session_keys", sizeof("sodium_crypto_kx_client_session_keys") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_client_session_keys_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_client_session_keys_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_kx_client_session_keys_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_kx_client_session_keys", sizeof("sodium_crypto_kx_client_session_keys") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_kx_client_session_keys_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_kx_client_session_keys_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_server_session_keys_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_kx_server_session_keys", sizeof("sodium_crypto_kx_server_session_keys") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_server_session_keys_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_kx_server_session_keys_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_kx_server_session_keys_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_kx_server_session_keys", sizeof("sodium_crypto_kx_server_session_keys") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_kx_server_session_keys_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_kx_server_session_keys_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_generichash_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_generichash", sizeof("sodium_crypto_generichash") - 1), 1, attribute_name_SensitiveParameter_arginfo_sodium_crypto_generichash_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_generichash_arg1); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_generichash_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_generichash", sizeof("sodium_crypto_generichash") - 1), 1, attribute_name_SensitiveParameter_sodium_crypto_generichash_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_generichash_arg1); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_generichash_init_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_generichash_init", sizeof("sodium_crypto_generichash_init") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_generichash_init_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_generichash_init_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_generichash_init_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_generichash_init", sizeof("sodium_crypto_generichash_init") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_generichash_init_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_generichash_init_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_kdf_derive_from_key_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_kdf_derive_from_key", sizeof("sodium_crypto_kdf_derive_from_key") - 1), 3, attribute_name_SensitiveParameter_arginfo_sodium_crypto_kdf_derive_from_key_arg3, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_kdf_derive_from_key_arg3); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_kdf_derive_from_key_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_kdf_derive_from_key", sizeof("sodium_crypto_kdf_derive_from_key") - 1), 3, attribute_name_SensitiveParameter_sodium_crypto_kdf_derive_from_key_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_kdf_derive_from_key_arg3); #if defined(crypto_pwhash_SALTBYTES) - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_pwhash", sizeof("sodium_crypto_pwhash") - 1), 1, attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_arg1); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_pwhash_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_pwhash", sizeof("sodium_crypto_pwhash") - 1), 1, attribute_name_SensitiveParameter_sodium_crypto_pwhash_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_pwhash_arg1); #endif #if defined(crypto_pwhash_SALTBYTES) - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_str_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_pwhash_str", sizeof("sodium_crypto_pwhash_str") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_str_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_str_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_pwhash_str_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_pwhash_str", sizeof("sodium_crypto_pwhash_str") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_pwhash_str_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_pwhash_str_arg0); #endif #if defined(crypto_pwhash_SALTBYTES) - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_str_verify_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_pwhash_str_verify", sizeof("sodium_crypto_pwhash_str_verify") - 1), 1, attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_str_verify_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_str_verify_arg1); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_pwhash_str_verify_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_pwhash_str_verify", sizeof("sodium_crypto_pwhash_str_verify") - 1), 1, attribute_name_SensitiveParameter_sodium_crypto_pwhash_str_verify_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_pwhash_str_verify_arg1); #endif #if defined(crypto_pwhash_scryptsalsa208sha256_SALTBYTES) - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_scryptsalsa208sha256_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_pwhash_scryptsalsa208sha256", sizeof("sodium_crypto_pwhash_scryptsalsa208sha256") - 1), 1, attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_scryptsalsa208sha256_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_scryptsalsa208sha256_arg1); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_pwhash_scryptsalsa208sha256_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_pwhash_scryptsalsa208sha256", sizeof("sodium_crypto_pwhash_scryptsalsa208sha256") - 1), 1, attribute_name_SensitiveParameter_sodium_crypto_pwhash_scryptsalsa208sha256_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_pwhash_scryptsalsa208sha256_arg1); #endif #if defined(crypto_pwhash_scryptsalsa208sha256_SALTBYTES) - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_scryptsalsa208sha256_str_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_pwhash_scryptsalsa208sha256_str", sizeof("sodium_crypto_pwhash_scryptsalsa208sha256_str") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_scryptsalsa208sha256_str_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_scryptsalsa208sha256_str_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_pwhash_scryptsalsa208sha256_str_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_pwhash_scryptsalsa208sha256_str", sizeof("sodium_crypto_pwhash_scryptsalsa208sha256_str") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_pwhash_scryptsalsa208sha256_str_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_pwhash_scryptsalsa208sha256_str_arg0); #endif #if defined(crypto_pwhash_scryptsalsa208sha256_SALTBYTES) - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_scryptsalsa208sha256_str_verify_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_pwhash_scryptsalsa208sha256_str_verify", sizeof("sodium_crypto_pwhash_scryptsalsa208sha256_str_verify") - 1), 1, attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_scryptsalsa208sha256_str_verify_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_pwhash_scryptsalsa208sha256_str_verify_arg1); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_pwhash_scryptsalsa208sha256_str_verify_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_pwhash_scryptsalsa208sha256_str_verify", sizeof("sodium_crypto_pwhash_scryptsalsa208sha256_str_verify") - 1), 1, attribute_name_SensitiveParameter_sodium_crypto_pwhash_scryptsalsa208sha256_str_verify_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_pwhash_scryptsalsa208sha256_str_verify_arg1); #endif - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretbox_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_secretbox", sizeof("sodium_crypto_secretbox") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretbox_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretbox_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_secretbox_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_secretbox", sizeof("sodium_crypto_secretbox") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_secretbox_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_secretbox_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretbox_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_secretbox", sizeof("sodium_crypto_secretbox") - 1), 2, attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretbox_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretbox_arg2); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_secretbox_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_secretbox", sizeof("sodium_crypto_secretbox") - 1), 2, attribute_name_SensitiveParameter_sodium_crypto_secretbox_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_secretbox_arg2); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretbox_open_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_secretbox_open", sizeof("sodium_crypto_secretbox_open") - 1), 2, attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretbox_open_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretbox_open_arg2); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_secretbox_open_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_secretbox_open", sizeof("sodium_crypto_secretbox_open") - 1), 2, attribute_name_SensitiveParameter_sodium_crypto_secretbox_open_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_secretbox_open_arg2); #if defined(crypto_secretstream_xchacha20poly1305_ABYTES) - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretstream_xchacha20poly1305_init_push_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_secretstream_xchacha20poly1305_init_push", sizeof("sodium_crypto_secretstream_xchacha20poly1305_init_push") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretstream_xchacha20poly1305_init_push_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretstream_xchacha20poly1305_init_push_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_secretstream_xchacha20poly1305_init_push_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_secretstream_xchacha20poly1305_init_push", sizeof("sodium_crypto_secretstream_xchacha20poly1305_init_push") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_secretstream_xchacha20poly1305_init_push_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_secretstream_xchacha20poly1305_init_push_arg0); #endif #if defined(crypto_secretstream_xchacha20poly1305_ABYTES) - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretstream_xchacha20poly1305_push_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_secretstream_xchacha20poly1305_push", sizeof("sodium_crypto_secretstream_xchacha20poly1305_push") - 1), 1, attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretstream_xchacha20poly1305_push_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretstream_xchacha20poly1305_push_arg1); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_secretstream_xchacha20poly1305_push_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_secretstream_xchacha20poly1305_push", sizeof("sodium_crypto_secretstream_xchacha20poly1305_push") - 1), 1, attribute_name_SensitiveParameter_sodium_crypto_secretstream_xchacha20poly1305_push_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_secretstream_xchacha20poly1305_push_arg1); #endif #if defined(crypto_secretstream_xchacha20poly1305_ABYTES) - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretstream_xchacha20poly1305_init_pull_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_secretstream_xchacha20poly1305_init_pull", sizeof("sodium_crypto_secretstream_xchacha20poly1305_init_pull") - 1), 1, attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretstream_xchacha20poly1305_init_pull_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_secretstream_xchacha20poly1305_init_pull_arg1); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_secretstream_xchacha20poly1305_init_pull_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_secretstream_xchacha20poly1305_init_pull", sizeof("sodium_crypto_secretstream_xchacha20poly1305_init_pull") - 1), 1, attribute_name_SensitiveParameter_sodium_crypto_secretstream_xchacha20poly1305_init_pull_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_secretstream_xchacha20poly1305_init_pull_arg1); #endif - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_shorthash_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_shorthash", sizeof("sodium_crypto_shorthash") - 1), 1, attribute_name_SensitiveParameter_arginfo_sodium_crypto_shorthash_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_shorthash_arg1); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_shorthash_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_shorthash", sizeof("sodium_crypto_shorthash") - 1), 1, attribute_name_SensitiveParameter_sodium_crypto_shorthash_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_shorthash_arg1); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_sign", sizeof("sodium_crypto_sign") - 1), 1, attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_arg1); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_sign_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_sign", sizeof("sodium_crypto_sign") - 1), 1, attribute_name_SensitiveParameter_sodium_crypto_sign_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_sign_arg1); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_detached_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_sign_detached", sizeof("sodium_crypto_sign_detached") - 1), 1, attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_detached_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_detached_arg1); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_sign_detached_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_sign_detached", sizeof("sodium_crypto_sign_detached") - 1), 1, attribute_name_SensitiveParameter_sodium_crypto_sign_detached_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_sign_detached_arg1); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_ed25519_sk_to_curve25519_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_sign_ed25519_sk_to_curve25519", sizeof("sodium_crypto_sign_ed25519_sk_to_curve25519") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_ed25519_sk_to_curve25519_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_ed25519_sk_to_curve25519_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_sign_ed25519_sk_to_curve25519_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_sign_ed25519_sk_to_curve25519", sizeof("sodium_crypto_sign_ed25519_sk_to_curve25519") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_sign_ed25519_sk_to_curve25519_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_sign_ed25519_sk_to_curve25519_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_keypair_from_secretkey_and_publickey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_sign_keypair_from_secretkey_and_publickey", sizeof("sodium_crypto_sign_keypair_from_secretkey_and_publickey") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_keypair_from_secretkey_and_publickey_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_keypair_from_secretkey_and_publickey_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_sign_keypair_from_secretkey_and_publickey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_sign_keypair_from_secretkey_and_publickey", sizeof("sodium_crypto_sign_keypair_from_secretkey_and_publickey") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_sign_keypair_from_secretkey_and_publickey_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_sign_keypair_from_secretkey_and_publickey_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_publickey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_sign_publickey", sizeof("sodium_crypto_sign_publickey") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_publickey_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_publickey_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_sign_publickey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_sign_publickey", sizeof("sodium_crypto_sign_publickey") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_sign_publickey_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_sign_publickey_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_secretkey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_sign_secretkey", sizeof("sodium_crypto_sign_secretkey") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_secretkey_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_secretkey_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_sign_secretkey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_sign_secretkey", sizeof("sodium_crypto_sign_secretkey") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_sign_secretkey_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_sign_secretkey_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_publickey_from_secretkey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_sign_publickey_from_secretkey", sizeof("sodium_crypto_sign_publickey_from_secretkey") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_publickey_from_secretkey_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_publickey_from_secretkey_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_sign_publickey_from_secretkey_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_sign_publickey_from_secretkey", sizeof("sodium_crypto_sign_publickey_from_secretkey") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_sign_publickey_from_secretkey_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_sign_publickey_from_secretkey_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_seed_keypair_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_sign_seed_keypair", sizeof("sodium_crypto_sign_seed_keypair") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_seed_keypair_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_sign_seed_keypair_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_sign_seed_keypair_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_sign_seed_keypair", sizeof("sodium_crypto_sign_seed_keypair") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_sign_seed_keypair_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_sign_seed_keypair_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_stream", sizeof("sodium_crypto_stream") - 1), 2, attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_arg2); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_stream_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_stream", sizeof("sodium_crypto_stream") - 1), 2, attribute_name_SensitiveParameter_sodium_crypto_stream_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_stream_arg2); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xor_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_stream_xor", sizeof("sodium_crypto_stream_xor") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xor_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xor_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_stream_xor_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_stream_xor", sizeof("sodium_crypto_stream_xor") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_stream_xor_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_stream_xor_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xor_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_stream_xor", sizeof("sodium_crypto_stream_xor") - 1), 2, attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xor_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xor_arg2); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_stream_xor_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_stream_xor", sizeof("sodium_crypto_stream_xor") - 1), 2, attribute_name_SensitiveParameter_sodium_crypto_stream_xor_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_stream_xor_arg2); #if defined(crypto_stream_xchacha20_KEYBYTES) - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_stream_xchacha20", sizeof("sodium_crypto_stream_xchacha20") - 1), 2, attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_arg2); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_stream_xchacha20_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_stream_xchacha20", sizeof("sodium_crypto_stream_xchacha20") - 1), 2, attribute_name_SensitiveParameter_sodium_crypto_stream_xchacha20_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_stream_xchacha20_arg2); #endif #if defined(crypto_stream_xchacha20_KEYBYTES) - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_xor_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_stream_xchacha20_xor", sizeof("sodium_crypto_stream_xchacha20_xor") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_xor_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_xor_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_stream_xchacha20_xor_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_stream_xchacha20_xor", sizeof("sodium_crypto_stream_xchacha20_xor") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_stream_xchacha20_xor_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_stream_xchacha20_xor_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_xor_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_stream_xchacha20_xor", sizeof("sodium_crypto_stream_xchacha20_xor") - 1), 2, attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_xor_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_xor_arg2); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_stream_xchacha20_xor_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_stream_xchacha20_xor", sizeof("sodium_crypto_stream_xchacha20_xor") - 1), 2, attribute_name_SensitiveParameter_sodium_crypto_stream_xchacha20_xor_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_stream_xchacha20_xor_arg2); #endif #if defined(crypto_stream_xchacha20_KEYBYTES) - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_xor_ic_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_stream_xchacha20_xor_ic", sizeof("sodium_crypto_stream_xchacha20_xor_ic") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_xor_ic_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_xor_ic_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_stream_xchacha20_xor_ic_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_stream_xchacha20_xor_ic", sizeof("sodium_crypto_stream_xchacha20_xor_ic") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_stream_xchacha20_xor_ic_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_stream_xchacha20_xor_ic_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_xor_ic_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_stream_xchacha20_xor_ic", sizeof("sodium_crypto_stream_xchacha20_xor_ic") - 1), 3, attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_xor_ic_arg3, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_stream_xchacha20_xor_ic_arg3); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_stream_xchacha20_xor_ic_arg3 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_stream_xchacha20_xor_ic", sizeof("sodium_crypto_stream_xchacha20_xor_ic") - 1), 3, attribute_name_SensitiveParameter_sodium_crypto_stream_xchacha20_xor_ic_arg3, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_stream_xchacha20_xor_ic_arg3); #endif - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_compare_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_compare", sizeof("sodium_compare") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_compare_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_compare_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_compare_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_compare", sizeof("sodium_compare") - 1), 0, attribute_name_SensitiveParameter_sodium_compare_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_compare_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_compare_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_compare", sizeof("sodium_compare") - 1), 1, attribute_name_SensitiveParameter_arginfo_sodium_compare_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_compare_arg1); + zend_string *attribute_name_SensitiveParameter_sodium_compare_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_compare", sizeof("sodium_compare") - 1), 1, attribute_name_SensitiveParameter_sodium_compare_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_compare_arg1); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_memcmp_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_memcmp", sizeof("sodium_memcmp") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_memcmp_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_memcmp_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_memcmp_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_memcmp", sizeof("sodium_memcmp") - 1), 0, attribute_name_SensitiveParameter_sodium_memcmp_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_memcmp_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_memcmp_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_memcmp", sizeof("sodium_memcmp") - 1), 1, attribute_name_SensitiveParameter_arginfo_sodium_memcmp_arg1, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_memcmp_arg1); + zend_string *attribute_name_SensitiveParameter_sodium_memcmp_arg1 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_memcmp", sizeof("sodium_memcmp") - 1), 1, attribute_name_SensitiveParameter_sodium_memcmp_arg1, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_memcmp_arg1); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_memzero_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_memzero", sizeof("sodium_memzero") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_memzero_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_memzero_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_memzero_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_memzero", sizeof("sodium_memzero") - 1), 0, attribute_name_SensitiveParameter_sodium_memzero_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_memzero_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_pad_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_pad", sizeof("sodium_pad") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_pad_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_pad_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_pad_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_pad", sizeof("sodium_pad") - 1), 0, attribute_name_SensitiveParameter_sodium_pad_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_pad_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_unpad_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_unpad", sizeof("sodium_unpad") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_unpad_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_unpad_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_unpad_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_unpad", sizeof("sodium_unpad") - 1), 0, attribute_name_SensitiveParameter_sodium_unpad_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_unpad_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_bin2hex_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_bin2hex", sizeof("sodium_bin2hex") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_bin2hex_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_bin2hex_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_bin2hex_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_bin2hex", sizeof("sodium_bin2hex") - 1), 0, attribute_name_SensitiveParameter_sodium_bin2hex_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_bin2hex_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_hex2bin_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_hex2bin", sizeof("sodium_hex2bin") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_hex2bin_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_hex2bin_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_hex2bin_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_hex2bin", sizeof("sodium_hex2bin") - 1), 0, attribute_name_SensitiveParameter_sodium_hex2bin_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_hex2bin_arg0); #if defined(sodium_base64_VARIANT_ORIGINAL) - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_bin2base64_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_bin2base64", sizeof("sodium_bin2base64") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_bin2base64_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_bin2base64_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_bin2base64_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_bin2base64", sizeof("sodium_bin2base64") - 1), 0, attribute_name_SensitiveParameter_sodium_bin2base64_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_bin2base64_arg0); #endif #if defined(sodium_base64_VARIANT_ORIGINAL) - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_base642bin_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_base642bin", sizeof("sodium_base642bin") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_base642bin_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_base642bin_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_base642bin_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_base642bin", sizeof("sodium_base642bin") - 1), 0, attribute_name_SensitiveParameter_sodium_base642bin_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_base642bin_arg0); #endif - zend_string *attribute_name_SensitiveParameter_arginfo_sodium_crypto_scalarmult_base_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_scalarmult_base", sizeof("sodium_crypto_scalarmult_base") - 1), 0, attribute_name_SensitiveParameter_arginfo_sodium_crypto_scalarmult_base_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_sodium_crypto_scalarmult_base_arg0); + zend_string *attribute_name_SensitiveParameter_sodium_crypto_scalarmult_base_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "sodium_crypto_scalarmult_base", sizeof("sodium_crypto_scalarmult_base") - 1), 0, attribute_name_SensitiveParameter_sodium_crypto_scalarmult_base_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_sodium_crypto_scalarmult_base_arg0); } static zend_class_entry *register_class_SodiumException(zend_class_entry *class_entry_Exception) diff --git a/ext/standard/basic_functions_arginfo.h b/ext/standard/basic_functions_arginfo.h index 0ed34c8fa3ef8..a53784a4ca3f4 100644 --- a/ext/standard/basic_functions_arginfo.h +++ b/ext/standard/basic_functions_arginfo.h @@ -3532,13 +3532,13 @@ static void register_basic_functions_symbols(int module_number) ZEND_ASSERT(M_E == 2.7182818284590451); - zend_string *attribute_name_SensitiveParameter_arginfo_password_hash_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "password_hash", sizeof("password_hash") - 1), 0, attribute_name_SensitiveParameter_arginfo_password_hash_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_password_hash_arg0); + zend_string *attribute_name_SensitiveParameter_password_hash_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "password_hash", sizeof("password_hash") - 1), 0, attribute_name_SensitiveParameter_password_hash_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_password_hash_arg0); - zend_string *attribute_name_SensitiveParameter_arginfo_password_verify_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "password_verify", sizeof("password_verify") - 1), 0, attribute_name_SensitiveParameter_arginfo_password_verify_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_password_verify_arg0); + zend_string *attribute_name_SensitiveParameter_password_verify_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "password_verify", sizeof("password_verify") - 1), 0, attribute_name_SensitiveParameter_password_verify_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_password_verify_arg0); } static zend_class_entry *register_class___PHP_Incomplete_Class(void) diff --git a/ext/zip/php_zip_arginfo.h b/ext/zip/php_zip_arginfo.h index bc8c48c7dc7d5..a3ec21417a13a 100644 --- a/ext/zip/php_zip_arginfo.h +++ b/ext/zip/php_zip_arginfo.h @@ -531,20 +531,20 @@ static zend_class_entry *register_class_ZipArchive(zend_class_entry *class_entry zend_string_release(property_comment_name); - zend_string *attribute_name_SensitiveParameter_arginfo_class_ZipArchive_setPassword_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "setpassword", sizeof("setpassword") - 1), 0, attribute_name_SensitiveParameter_arginfo_class_ZipArchive_setPassword_arg0, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_class_ZipArchive_setPassword_arg0); + zend_string *attribute_name_SensitiveParameter_ZipArchive_setPassword_arg0 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "setpassword", sizeof("setpassword") - 1), 0, attribute_name_SensitiveParameter_ZipArchive_setPassword_arg0, 0); + zend_string_release(attribute_name_SensitiveParameter_ZipArchive_setPassword_arg0); #if defined(HAVE_ENCRYPTION) - zend_string *attribute_name_SensitiveParameter_arginfo_class_ZipArchive_setEncryptionName_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "setencryptionname", sizeof("setencryptionname") - 1), 2, attribute_name_SensitiveParameter_arginfo_class_ZipArchive_setEncryptionName_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_class_ZipArchive_setEncryptionName_arg2); + zend_string *attribute_name_SensitiveParameter_ZipArchive_setEncryptionName_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "setencryptionname", sizeof("setencryptionname") - 1), 2, attribute_name_SensitiveParameter_ZipArchive_setEncryptionName_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_ZipArchive_setEncryptionName_arg2); #endif #if defined(HAVE_ENCRYPTION) - zend_string *attribute_name_SensitiveParameter_arginfo_class_ZipArchive_setEncryptionIndex_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); - zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "setencryptionindex", sizeof("setencryptionindex") - 1), 2, attribute_name_SensitiveParameter_arginfo_class_ZipArchive_setEncryptionIndex_arg2, 0); - zend_string_release(attribute_name_SensitiveParameter_arginfo_class_ZipArchive_setEncryptionIndex_arg2); + zend_string *attribute_name_SensitiveParameter_ZipArchive_setEncryptionIndex_arg2 = zend_string_init("SensitiveParameter", sizeof("SensitiveParameter") - 1, 1); + zend_add_parameter_attribute(zend_hash_str_find_ptr(&class_entry->function_table, "setencryptionindex", sizeof("setencryptionindex") - 1), 2, attribute_name_SensitiveParameter_ZipArchive_setEncryptionIndex_arg2, 0); + zend_string_release(attribute_name_SensitiveParameter_ZipArchive_setEncryptionIndex_arg2); #endif return class_entry;