Home
last modified time | relevance | path

Searched refs:hash (Results 1 – 25 of 163) sorted by path

1234567

/PHP-7.4/
H A DEXTENSIONS337 EXTENSION: hash
H A DNEWS802 . 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 DUPGRADING293 . 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 DUPGRADING.INTERNALS37 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 Dmicro_bench.php192 $hash = array('test' => 0);
194 $x = $hash['test'];
H A Dzend_string.h431 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 Dzend_ts_hash.h25 HashTable hash; member
35 #define TS_HASH(table) (&(table->hash))
/PHP-7.4/Zend/tests/
H A Darray_hash_zero.phpt11 foreach ($hashes as $hash => $bits) {
12 var_dump($hashes[$hash], $bits);
H A Dbug64555.phpt2 Bug #64555: Array key within interned string gets wrong hash value
H A Dbug79668.phpt8 foreach (['sha1', 'sha1_file', 'hash', 'password_hash'] as $funcname) {
H A Dforeach_by_ref_repacking_insert.phpt2 Perform a packed to hash insert when the iterator is at the end of the array
H A Dproperty_guard_hash_val.phpt2 Test property guard hash value assumption
/PHP-7.4/build/
H A Dphp.m42237 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 Dcdb_make.c63 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 Dcdb_make.h47 struct cdb_hp *hash; member
/PHP-7.4/ext/fileinfo/tests/
H A Dmagic12042 >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 Dmagic私はガラスを食べられます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 Dimagebmp_basic.phpt16 // write the md5 hash of its BMP representation
/PHP-7.4/ext/hash/
H A DCREDITS1 PHP hash
H A Dbench.php82 hash($algo, $data);
H A Dconfig.m436 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 Dconfig.w323 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 Dhash.c187 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 Dphp_hash.h132 PHP_FUNCTION(hash);
/PHP-7.4/ext/hash/tests/
H A Dadler32.phpt5 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…

Completed in 164 milliseconds

1234567