68#define arginfo_hash_hmac_algos arginfo_hash_algos
93#if defined(PHP_MHASH_BC)
122#define arginfo_class_HashContext___serialize arginfo_hash_algos
128#define arginfo_class_HashContext___debugInfo arginfo_hash_algos
145#if defined(PHP_MHASH_BC)
173#if defined(PHP_MHASH_BC)
191static void register_hash_symbols(
int module_number)
196 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"hash_hmac",
sizeof(
"hash_hmac") - 1), 2,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
198 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"hash_hmac_file",
sizeof(
"hash_hmac_file") - 1), 2,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
200 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"hash_init",
sizeof(
"hash_init") - 1), 2,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
202 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"hash_pbkdf2",
sizeof(
"hash_pbkdf2") - 1), 1,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
204 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"hash_equals",
sizeof(
"hash_equals") - 1), 0,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
206 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"hash_equals",
sizeof(
"hash_equals") - 1), 1,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
208 zend_add_parameter_attribute(zend_hash_str_find_ptr(
CG(function_table),
"hash_hkdf",
sizeof(
"hash_hkdf") - 1), 1,
ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
209#if defined(PHP_MHASH_BC)
211 zend_attribute *attribute_Deprecated_func_mhash_get_block_size_0 = zend_add_function_attribute(zend_hash_str_find_ptr(
CG(function_table),
"mhash_get_block_size",
sizeof(
"mhash_get_block_size") - 1),
ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 1);
212 zval attribute_Deprecated_func_mhash_get_block_size_0_arg0;
213 zend_string *attribute_Deprecated_func_mhash_get_block_size_0_arg0_str = zend_string_init(
"8.1",
strlen(
"8.1"), 1);
214 ZVAL_STR(&attribute_Deprecated_func_mhash_get_block_size_0_arg0, attribute_Deprecated_func_mhash_get_block_size_0_arg0_str);
215 ZVAL_COPY_VALUE(&attribute_Deprecated_func_mhash_get_block_size_0->
args[0].
value, &attribute_Deprecated_func_mhash_get_block_size_0_arg0);
216 attribute_Deprecated_func_mhash_get_block_size_0->
args[0].
name =
ZSTR_KNOWN(ZEND_STR_SINCE);
218 zend_attribute *attribute_Deprecated_func_mhash_get_hash_name_0 = zend_add_function_attribute(zend_hash_str_find_ptr(
CG(function_table),
"mhash_get_hash_name",
sizeof(
"mhash_get_hash_name") - 1),
ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 1);
219 zval attribute_Deprecated_func_mhash_get_hash_name_0_arg0;
220 zend_string *attribute_Deprecated_func_mhash_get_hash_name_0_arg0_str = zend_string_init(
"8.1",
strlen(
"8.1"), 1);
221 ZVAL_STR(&attribute_Deprecated_func_mhash_get_hash_name_0_arg0, attribute_Deprecated_func_mhash_get_hash_name_0_arg0_str);
222 ZVAL_COPY_VALUE(&attribute_Deprecated_func_mhash_get_hash_name_0->
args[0].
value, &attribute_Deprecated_func_mhash_get_hash_name_0_arg0);
223 attribute_Deprecated_func_mhash_get_hash_name_0->
args[0].
name =
ZSTR_KNOWN(ZEND_STR_SINCE);
225 zend_attribute *attribute_Deprecated_func_mhash_keygen_s2k_0 = zend_add_function_attribute(zend_hash_str_find_ptr(
CG(function_table),
"mhash_keygen_s2k",
sizeof(
"mhash_keygen_s2k") - 1),
ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 1);
226 zval attribute_Deprecated_func_mhash_keygen_s2k_0_arg0;
227 zend_string *attribute_Deprecated_func_mhash_keygen_s2k_0_arg0_str = zend_string_init(
"8.1",
strlen(
"8.1"), 1);
228 ZVAL_STR(&attribute_Deprecated_func_mhash_keygen_s2k_0_arg0, attribute_Deprecated_func_mhash_keygen_s2k_0_arg0_str);
229 ZVAL_COPY_VALUE(&attribute_Deprecated_func_mhash_keygen_s2k_0->
args[0].
value, &attribute_Deprecated_func_mhash_keygen_s2k_0_arg0);
230 attribute_Deprecated_func_mhash_keygen_s2k_0->
args[0].
name =
ZSTR_KNOWN(ZEND_STR_SINCE);
232 zend_attribute *attribute_Deprecated_func_mhash_count_0 = zend_add_function_attribute(zend_hash_str_find_ptr(
CG(function_table),
"mhash_count",
sizeof(
"mhash_count") - 1),
ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 1);
233 zval attribute_Deprecated_func_mhash_count_0_arg0;
234 zend_string *attribute_Deprecated_func_mhash_count_0_arg0_str = zend_string_init(
"8.1",
strlen(
"8.1"), 1);
235 ZVAL_STR(&attribute_Deprecated_func_mhash_count_0_arg0, attribute_Deprecated_func_mhash_count_0_arg0_str);
236 ZVAL_COPY_VALUE(&attribute_Deprecated_func_mhash_count_0->
args[0].
value, &attribute_Deprecated_func_mhash_count_0_arg0);
239 zend_attribute *attribute_Deprecated_func_mhash_0 = zend_add_function_attribute(zend_hash_str_find_ptr(
CG(function_table),
"mhash",
sizeof(
"mhash") - 1),
ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 1);
240 zval attribute_Deprecated_func_mhash_0_arg0;
241 zend_string *attribute_Deprecated_func_mhash_0_arg0_str = zend_string_init(
"8.1",
strlen(
"8.1"), 1);
242 ZVAL_STR(&attribute_Deprecated_func_mhash_0_arg0, attribute_Deprecated_func_mhash_0_arg0_str);
mhash_get_hash_name(int $algo)
mhash_get_block_size(int $algo)
hash_update(HashContext $context, string $data)
hash_update_stream(HashContext $context, $stream, int $length=-1)
hash_file(string $algo, string $filename, bool $binary=false, array $options=[])
hash_equals(#[\SensitiveParameter] string $known_string, #[\SensitiveParameter] string $user_string)
hash_hmac_file(string $algo, string $filename, #[\SensitiveParameter] string $key, bool $binary=false)
hash_init(string $algo, int $flags=0, #[\SensitiveParameter] string $key="", array $options=[])
hash_final(HashContext $context, bool $binary=false)
hash_hmac(string $algo, string $data, #[\SensitiveParameter] string $key, bool $binary=false)
hash_hkdf(string $algo, #[\SensitiveParameter] string $key, int $length=0, string $info="", string $salt="")
hash_pbkdf2(string $algo, #[\SensitiveParameter] string $password, string $salt, int $iterations, int $length=0, bool $binary=false, array $options=[])
hash(string $algo, string $data, bool $binary=false, array $options=[])
mhash(int $algo, string $data, ?string $key=null)
hash_update_file(HashContext $context, string $filename, $stream_context=null)
mhash_keygen_s2k(int $algo, string $password, string $salt, int $length)
hash_copy(HashContext $context)
#define arginfo_class_HashContext___debugInfo
#define arginfo_hash_hmac_algos
#define arginfo_class_HashContext___serialize
PHP_JSON_API size_t int options
unsigned char key[REFLECTION_KEY_LEN]
zend_attribute_arg args[1]
ZEND_API zend_class_entry * zend_register_internal_class_with_flags(zend_class_entry *class_entry, zend_class_entry *parent_ce, uint32_t ce_flags)
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(name, return_reference, required_num_args, type)
struct _zend_function_entry zend_function_entry
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(name, return_reference, required_num_args, type, allow_null)
#define INIT_CLASS_ENTRY(class_container, class_name, functions)
#define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags, frameless_function_infos, doc_comment)
#define ZEND_ARG_INFO(pass_by_ref, name)
#define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(name, return_reference, required_num_args, class_name, allow_null)
#define ZEND_METHOD(classname, name)
#define ZEND_END_ARG_INFO()
#define ZEND_ARG_OBJ_INFO(pass_by_ref, name, class_name, allow_null)
#define ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, type_hint, allow_null, default_value)
#define ZEND_ARG_TYPE_INFO(pass_by_ref, name, type_hint, allow_null)
#define ZEND_BEGIN_ARG_INFO_EX(name, _unused, return_reference, required_num_args)
#define ZEND_FE(name, arg_info)
#define ZEND_ME(classname, name, arg_info, flags)
#define ZEND_FUNCTION(name)
#define ZEND_ARG_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, default_value)
struct _zend_attribute zend_attribute
#define ZEND_ACC_COMPILE_TIME_EVAL
#define ZEND_ACC_DEPRECATED
#define REGISTER_LONG_CONSTANT(name, lval, flags)
struct _zend_string zend_string
struct _zend_class_entry zend_class_entry
#define ZVAL_COPY_VALUE(z, v)