/PHP-7.4/ |
H A D | EXTENSIONS | 337 EXTENSION: hash
|
H A D | NEWS | 802 . Fixed bug #79797 (Use of freed hash key in the phar_parse_zipfile 1482 . The hash extension is now an integral part of PHP and cannot be disabled 1686 https://wiki.php.net/rfc/sodium.argon.hash (Sara) 1939 . Fixed bug #78189 (file cache strips last character of uname hash). (cmb)
|
H A D | UPGRADING | 293 . Added "crc32c" hash using Castagnoli's polynomial. This crc32 variant is 383 RFC: https://wiki.php.net/rfc/sodium.argon.hash 598 . The hash extension cannot be disabled anymore and is always an integral part
|
H A D | UPGRADING.INTERNALS | 37 b. ext/hash 237 - The hash extension is now always available, meaning the --enable-hash 325 b. ext/hash 326 - The hash extension is now always available, allowing extensions to rely
|
/PHP-7.4/Zend/ |
H A D | micro_bench.php | 192 $hash = array('test' => 0); 194 $x = $hash['test'];
|
H A D | zend_string.h | 431 hash = hash * 33 + *str; in zend_inline_hash_func() 436 hash = ((hash << 5) + hash) + *str++; in zend_inline_hash_func() 437 hash = ((hash << 5) + hash) + *str++; in zend_inline_hash_func() 438 hash = ((hash << 5) + hash) + *str++; in zend_inline_hash_func() 439 hash = ((hash << 5) + hash) + *str++; in zend_inline_hash_func() 440 hash = ((hash << 5) + hash) + *str++; in zend_inline_hash_func() 441 hash = ((hash << 5) + hash) + *str++; in zend_inline_hash_func() 442 hash = ((hash << 5) + hash) + *str++; in zend_inline_hash_func() 443 hash = ((hash << 5) + hash) + *str++; in zend_inline_hash_func() 446 case 7: hash = ((hash << 5) + hash) + *str++; /* fallthrough... */ in zend_inline_hash_func() [all …]
|
H A D | zend_ts_hash.h | 25 HashTable hash; member 35 #define TS_HASH(table) (&(table->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 | bug64555.phpt | 2 Bug #64555: Array key within interned string gets wrong hash value
|
H A D | bug79668.phpt | 8 foreach (['sha1', 'sha1_file', 'hash', 'password_hash'] as $funcname) {
|
H A D | foreach_by_ref_repacking_insert.phpt | 2 Perform a packed to hash insert when the iterator is at the end of the array
|
H A D | property_guard_hash_val.phpt | 2 Test property guard hash value assumption
|
/PHP-7.4/build/ |
H A D | php.m4 | 2237 crypt_r("passwd", "hash", &buffer); 2246 crypt_r("passwd", "hash", &buffer); 2257 crypt_r("passwd", "hash", &buffer);
|
/PHP-7.4/ext/dba/libcdb/ |
H A D | cdb_make.c | 63 c->hash = 0; in cdb_make_start() 178 c->hash = c->split + c->numentries; in cdb_make_finish() 200 c->hash[u].h = c->hash[u].p = 0; in cdb_make_finish() 205 while (c->hash[where].p) in cdb_make_finish() 208 c->hash[where] = *hp++; in cdb_make_finish() 212 uint32_pack(buf, c->hash[u].h); in cdb_make_finish() 213 uint32_pack(buf + 4, c->hash[u].p); in cdb_make_finish()
|
H A D | cdb_make.h | 47 struct cdb_hp *hash; member
|
/PHP-7.4/ext/fileinfo/tests/ |
H A D | magic | 12042 >0x10040 lelong 3 r5 hash 17362 >0 byte 0 hash file (?), 17363 >0 byte 1 3.0 hash file, 17364 >0 byte 2 3.1 hash file, 17365 >0 byte 3 hash file (?), 23912 # hash algo mapper 23914 0 name hash 23948 >>5 use hash 23952 >>5 use hash 23963 >2 use hash [all …]
|
H A D | magic私はガラスを食べられます | 12042 >0x10040 lelong 3 r5 hash 17362 >0 byte 0 hash file (?), 17363 >0 byte 1 3.0 hash file, 17364 >0 byte 2 3.1 hash file, 17365 >0 byte 3 hash file (?), 23912 # hash algo mapper 23914 0 name hash 23948 >>5 use hash 23952 >>5 use hash 23963 >2 use hash [all …]
|
/PHP-7.4/ext/gd/tests/ |
H A D | imagebmp_basic.phpt | 16 // write the md5 hash of its BMP representation
|
/PHP-7.4/ext/hash/ |
H A D | CREDITS | 1 PHP hash
|
H A D | bench.php | 82 hash($algo, $data);
|
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 | config.w32 | 3 ARG_WITH('mhash', 'mhash support (BC via hash)', 'no'); 14 EXTENSION('hash', 'hash.c hash_md.c hash_sha.c hash_ripemd.c hash_haval.c ' + 19 var hash_sha3_dir = 'ext/hash/sha3/generic' + (X64 ? '64' : '32') + 'lc'; 22 ADD_SOURCES(hash_sha3_dir, 'KeccakHash.c KeccakSponge.c KeccakP-1600-opt64.c', 'hash'); 24 ADD_SOURCES(hash_sha3_dir, 'KeccakHash.c KeccakSponge.c KeccakP-1600-inplace32BI.c', 'hash'); 34 PHP_INSTALL_HEADERS('ext/hash/', 'php_hash.h php_hash_md.h php_hash_sha.h ' +
|
H A D | hash.c | 187 PHP_FUNCTION(hash) in PHP_FUNCTION() argument 383 hash->ops = ops; in PHP_FUNCTION() 386 hash->key = NULL; in PHP_FUNCTION() 471 hash->ops->hash_update(hash->context, (unsigned char *) buf, n); in PHP_FUNCTION() 507 hash->ops->hash_update(hash->context, (unsigned char *) buf, n); in PHP_FUNCTION() 545 hash->ops->hash_init(hash->context); in PHP_FUNCTION() 546 hash->ops->hash_update(hash->context, hash->key, hash->ops->block_size); in PHP_FUNCTION() 547 hash->ops->hash_update(hash->context, (unsigned char *) ZSTR_VAL(digest), hash->ops->digest_size); in PHP_FUNCTION() 551 ZEND_SECURE_ZERO(hash->key, hash->ops->block_size); in PHP_FUNCTION() 1137 hash->ops->hash_final(dummy, hash->context); in php_hashcontext_dtor() [all …]
|
H A D | php_hash.h | 132 PHP_FUNCTION(hash);
|
/PHP-7.4/ext/hash/tests/ |
H A D | adler32.phpt | 5 echo hash('adler32', ''), "\n"; 6 echo hash('adler32', 'a'), "\n"; 7 echo hash('adler32', 'abc'), "\n"; 8 echo hash('adler32', 'message digest'), "\n"; 9 echo hash('adler32', 'abcdefghijklmnopqrstuvwxyz'), "\n"; 10 echo hash('adler32', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'), "\n"; 11 echo hash('adler32', '12345678901234567890123456789012345678901234567890123456789012345678901234567…
|