/PHP-7.4/ |
H A D | UPGRADING | 293 . Added "crc32c" hash using Castagnoli's polynomial. This crc32 variant is
|
/PHP-7.4/Zend/tests/ |
H A D | bug78340.phpt | 14 $this->ino= crc32($path);
|
/PHP-7.4/ext/hash/tests/ |
H A D | crc32.phpt | 5 echo "crc32\n"; 6 echo hash('crc32', ''), "\n"; 7 echo hash('crc32', 'a'), "\n"; 8 echo hash('crc32', 'abc'), "\n"; 9 echo hash('crc32', 'message digest'), "\n"; 10 echo hash('crc32', 'abcdefghijklmnopqrstuvwxyz'), "\n"; 11 echo hash('crc32', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'), "\n"; 12 echo hash('crc32', '1234567890123456789012345678901234567890123456789012345678901234567890123456789… 65 crc32
|
H A D | hash-clone.phpt | 122 string(5) "crc32" 281 string(5) "crc32"
|
H A D | hash_algos.phpt | 81 string(5) "crc32"
|
H A D | hash_copy_001.phpt | 122 string(5) "crc32" 281 string(5) "crc32"
|
H A D | hash_file_basic1.phpt | 34 echo "crc32: " . hash_file('crc32', $file) . "\n"; 63 crc32: 61664d33
|
H A D | hash_hkdf_error.phpt | 27 var_dump(hash_hkdf('crc32', $ikm)); 67 Warning: hash_hkdf(): Non-cryptographic hashing algorithm: crc32 in %s on line %d
|
H A D | hash_hmac_error.phpt | 28 var_dump(hash_hmac('crc32', $data, $key)); 58 Warning: hash_hmac(): Non-cryptographic hashing algorithm: crc32 in %s on line %d
|
H A D | hash_hmac_file_error.phpt | 19 var_dump(hash_hmac_file('crc32')); 20 var_dump(hash_hmac_file('crc32', $file)); 24 hash_hmac_file('crc32', $file, $key, TRUE, $extra_arg); 30 hash_hmac_file('crc32', $file, $key, TRUE); 61 Warning: hash_hmac_file(): Non-cryptographic hashing algorithm: crc32 in %s on line %d
|
H A D | hash_init_error.phpt | 14 var_dump(hash_init('crc32', HASH_HMAC)); 32 Warning: hash_init(): HMAC requested with a non-cryptographic hashing algorithm: crc32 in %s on lin…
|
H A D | hash_pbkdf2_error.phpt | 28 var_dump(hash_pbkdf2('crc32', $password, $salt, 1)); 68 Warning: hash_pbkdf2(): Non-cryptographic hashing algorithm: crc32 in %s on line %d
|
/PHP-7.4/ext/phar/ |
H A D | phar.c | 1106 PHAR_GET_32(buffer, entry.crc32); in phar_parse_pharfile() 2344 int phar_postprocess_file(phar_entry_data *idata, uint32_t crc32, char **error, int process_zip) /*… in phar_postprocess_file() argument 2385 memcpy(&(local.crc32), &(desc.crc32), 12); in phar_postprocess_file() 2388 memcpy(&(local.crc32), &desc, 12); in phar_postprocess_file() 2392 …->filename_len != PHAR_ZIP_16(local.filename_len) || entry->crc32 != PHAR_ZIP_32(local.crc32) || e… in phar_postprocess_file() 2418 if (~crc == crc32) { in phar_postprocess_file() 2776 entry->crc32 = ~newcrc32; in phar_flush() 2976 phar_set_32(entry_buffer+12, entry->crc32); in phar_flush()
|
H A D | phar_internal.h | 221 uint32_t crc32; member 525 int phar_postprocess_file(phar_entry_data *idata, uint32_t crc32, char **error, int process_zip);
|
H A D | phar_object.c | 4622 RETURN_LONG(entry_obj->entry->crc32); in PHP_METHOD()
|
H A D | pharzip.h | 27 char crc32[4]; /* crc-32 4 bytes */ member 39 char crc32[4]; /* crc-32 4 bytes */ member 46 char crc32[4]; /* crc-32 4 bytes */ member 141 char crc32[4]; /* CRC Long CRC-32 of the remaining data */ member 157 char crc32[4]; /* crc-32 4 bytes */ member
|
H A D | shortarc.php | 271 if ($entry[3] != sprintf("%u", crc32((binary)$data) & 0xffffffff)) {
|
H A D | stream.c | 313 …ile->is_crc_checked && phar_postprocess_file(idata, idata->internal_file->crc32, &error, 2) != SUC… in phar_wrapper_open_url()
|
H A D | tar.c | 795 entry->crc32 = phar_tar_checksum((char *)&header, sizeof(header)); in phar_tar_writeheaders_int() 797 if (FAILURE == phar_tar_octal(header.checksum, entry->crc32, sizeof(header.checksum)-1)) { in phar_tar_writeheaders_int()
|
/PHP-7.4/ext/phar/tests/ |
H A D | 010.phpt | 15 $manifest = pack('V', 1) . 'a' . pack('VVVVVV', 0, time(), 0, crc32(''), 0x00000000, 0);
|
H A D | 014.phpt | 12 // wrong crc32 15 $files['a'] = array('cont'=>'a', 'crc32'=>crc32('aX')); 23 …/a): failed to open stream: phar error: internal corruption of phar "%s" (crc32 mismatch on file "…
|
/PHP-7.4/ext/phar/tests/cache_list/files/ |
H A D | nophar.phar | 265 if ($entry[3] != sprintf("%u", crc32($data) & 0xffffffff)) {
|
H A D | openssl.phar | 265 if ($entry[3] != sprintf("%u", crc32($data) & 0xffffffff)) {
|
H A D | phar_test.inc | 13 $crc32= NULL; 24 foreach(array('comp','crc32','clen','ulen','time','flags','perm','meta','cont') as $what) 37 if (empty($crc32))$crc32= crc32((binary)$cont); 42 …$manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$m…
|
/PHP-7.4/ext/phar/tests/files/ |
H A D | include_path2.phar | 265 if ($entry[3] != sprintf("%u", crc32($data) & 0xffffffff)) {
|