/PHP-7.4/ext/hash/ |
H A D | config.m4 | 36 PHP_ADD_BUILD_DIR(ext/hash/$SHA3_DIR, 1) 39 EXT_HASH_SOURCES="hash.c hash_md.c hash_sha.c hash_ripemd.c hash_haval.c \ 47 PHP_NEW_EXTENSION(hash, $EXT_HASH_SOURCES, 0,,$PHP_HASH_CFLAGS) 48 PHP_INSTALL_HEADERS(ext/hash, $EXT_HASH_HEADERS)
|
H A D | CREDITS | 1 PHP hash
|
H A D | bench.php | 82 hash($algo, $data);
|
/PHP-7.4/ext/phar/tests/cache_list/ |
H A D | copyonwrite12.phar.phpt | 13 ["hash"]=> 19 ["hash"]=>
|
/PHP-7.4/Zend/tests/ |
H A D | array_hash_zero.phpt | 11 foreach ($hashes as $hash => $bits) { 12 var_dump($hashes[$hash], $bits);
|
H A D | property_guard_hash_val.phpt | 2 Test property guard hash value assumption
|
/PHP-7.4/ext/hash/tests/ |
H A D | hash_file_basic.phpt | 8 * Description: Generate a hash of a given file 9 * Source code: ext/hash/hash.c
|
H A D | hash_hkdf_error.phpt | 8 * Source code: ext/hash/hash.c 22 echo "\n-- Testing hash_hkdf() function with invalid hash algorithm --\n"; 25 echo "\n-- Testing hash_hkdf() function with non-cryptographic hash algorithm --\n"; 38 var_dump(hash_hkdf('sha1', $ikm, 20 * 255 + 1)); // Length can't be more than 255 times the hash di… 57 -- Testing hash_hkdf() function with invalid hash algorithm -- 62 -- Testing hash_hkdf() function with non-cryptographic hash algorithm --
|
H A D | hash_pbkdf2_basic.phpt | 7 * Description: Generate a keyed hash value using the HMAC method 8 * Source code: ext/hash/hash.c
|
H A D | haval.phpt | 9 echo $algo . ': ' . hash($algo,'') . "\n"; 16 echo $algo . ': ' . hash($algo,'abc') . "\n"; 23 …echo $algo . ': ' . hash($algo,'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMOPQRSTUVWXYZ0123456789abcde…
|
H A D | hash_pbkdf2_error.phpt | 7 Generate a PBKDF2 hash of the given password and salt 24 echo "\n-- Testing hash_pbkdf2() function with invalid hash algorithm --\n"; 27 echo "\n-- Testing hash_pbkdf2() function with non-cryptographic hash algorithm --\n"; 61 -- Testing hash_pbkdf2() function with invalid hash algorithm -- 66 -- Testing hash_pbkdf2() function with non-cryptographic hash algorithm --
|
H A D | hash_hkdf_edges.phpt | 8 * Source code: ext/hash/hash.c
|
H A D | hash_file_error.phpt | 8 * Description: Generate a hash of a given file 9 * Source code: ext/hash/hash.c
|
H A D | hash_hmac_basic.phpt | 7 * Description: Generate a keyed hash value using the HMAC method 8 * Source code: ext/hash/hash.c
|
/PHP-7.4/ext/spl/tests/ |
H A D | iterator_057.phpt | 8 * From Docs: Construct a new array iterator from anything that has a hash table. 9 * NULL, NOTHING is not a hash table ;)
|
/PHP-7.4/ext/intl/collator/ |
H A D | collator_convert.h | 24 void collator_convert_hash_from_utf8_to_utf16( HashTable* hash, UErrorCode* status ); 25 void collator_convert_hash_from_utf16_to_utf8( HashTable* hash, UErrorCode* status );
|
H A D | collator_sort.c | 297 HashTable* hash = NULL; in collator_sort_internal() local 318 hash = Z_ARRVAL_P( array ); in collator_sort_internal() 321 collator_convert_hash_from_utf8_to_utf16( hash, COLLATOR_ERROR_CODE_P( co ) ); in collator_sort_internal() 329 zend_hash_sort(hash, collator_compare_func, renumber); in collator_sort_internal() 335 collator_convert_hash_from_utf16_to_utf8( hash, COLLATOR_ERROR_CODE_P( co ) ); in collator_sort_internal() 373 HashTable* hash = NULL; in PHP_FUNCTION() local 421 hash = Z_ARRVAL_P( array ); in PHP_FUNCTION() 423 if( !hash || zend_hash_num_elements( hash ) == 0 ) in PHP_FUNCTION() 432 ZEND_HASH_FOREACH_VAL(hash, hashData) { in PHP_FUNCTION()
|
/PHP-7.4/ext/sodium/tests/ |
H A D | php_password_hash_argon2i.phpt | 27 $hash = password_hash($password, 'argon2i', $opts); 28 echo "Hash: "; var_dump($hash); 29 var_dump(sodium_crypto_pwhash_str_verify($hash, $password)); 33 var_dump(sodium_crypto_pwhash_str_verify($hash, $password));
|
H A D | php_password_hash_argon2id.phpt | 27 $hash = password_hash($password, 'argon2id', $opts); 28 echo "Hash: "; var_dump($hash); 29 var_dump(sodium_crypto_pwhash_str_verify($hash, $password)); 33 var_dump(sodium_crypto_pwhash_str_verify($hash, $password));
|
/PHP-7.4/ext/oci8/ |
H A D | oci8_statement.c | 1010 HashTable *hash; in php_oci_bind_post_exec() local 1013 hash = Z_ARRVAL_P(zv); in php_oci_bind_post_exec() 1738 HashTable *hash; in php_oci_bind_array_helper_string() local 1742 hash = Z_ARRVAL_P(var); in php_oci_bind_array_helper_string() 1755 zend_hash_move_forward(hash); in php_oci_bind_array_helper_string() 1827 HashTable *hash; in php_oci_bind_array_helper_number() local 1831 hash = Z_ARRVAL_P(var); in php_oci_bind_array_helper_number() 1868 HashTable *hash; in php_oci_bind_array_helper_double() local 1872 hash = Z_ARRVAL_P(var); in php_oci_bind_array_helper_double() 1909 HashTable *hash; in php_oci_bind_array_helper_date() local [all …]
|
/PHP-7.4/sapi/phpdbg/ |
H A D | phpdbg_cmd.c | 196 zend_ulong hash = param->type; in phpdbg_hash_param() local 204 hash += zend_inline_hash_func(param->str, param->len); in phpdbg_hash_param() 213 hash += zend_inline_hash_func(param->file.name, strlen(param->file.name)); in phpdbg_hash_param() 214 hash += param->file.line; in phpdbg_hash_param() 216 hash += param->num; in phpdbg_hash_param() 220 hash += param->addr; in phpdbg_hash_param() 224 hash += param->num; in phpdbg_hash_param() 228 hash += zend_inline_hash_func(param->str, param->len); in phpdbg_hash_param() 229 hash += param->num; in phpdbg_hash_param() 236 hash+= param->num; in phpdbg_hash_param() [all …]
|
/PHP-7.4/ext/opcache/Optimizer/ |
H A D | compact_literals.c | 81 static uint32_t add_static_slot(HashTable *hash, in add_static_slot() argument 106 pos = zend_hash_find(hash, key); in add_static_slot() 113 zend_hash_add(hash, key, &tmp); in add_static_slot() 129 HashTable hash, double_hash; in zend_optimizer_compact_literals() local 378 if ((pos = zend_hash_find(&hash, key)) != NULL in zend_optimizer_compact_literals() 385 zend_hash_add_new(&hash, key, &zv); in zend_optimizer_compact_literals() 423 if (key && (pos = zend_hash_find(&hash, key)) != NULL && in zend_optimizer_compact_literals() 442 zend_hash_add_new(&hash, key, &zv); in zend_optimizer_compact_literals() 489 zend_hash_clean(&hash); in zend_optimizer_compact_literals() 644 opline->result.num = add_static_slot(&hash, op_array, in zend_optimizer_compact_literals() [all …]
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | crypt.phpt | 32 …ied. You must use a randomly generated salt and a strong hash function to produce a secure hash. i…
|
/PHP-7.4/ext/standard/html_tables/ |
H A D | html_table_gen.php | 727 $hash = 5381; 732 $hash = (int)(((int)(((int)($hash << 5)) + $hash)) + ord($str[$pos++])) 735 return $hash;
|
/PHP-7.4/ext/phar/tests/ |
H A D | bug79797.phpt | 2 Bug #79797 (Use of freed hash key in the phar_parse_zipfile function)
|