/PHP-5.5/ |
H A D | NEWS | 6811 - Fixed bug #45028 (CRC32 output endianness is different between crc32() and 8796 - Fixed bug #36306 (crc32() differ on 32-bit and 64-bit platforms)
|
/PHP-5.5/ext/hash/tests/ |
H A D | crc32.phpt | 7 echo hash('crc32', ''), "\n"; 8 echo hash('crc32', 'a'), "\n"; 9 echo hash('crc32', 'abc'), "\n"; 10 echo hash('crc32', 'message digest'), "\n"; 11 echo hash('crc32', 'abcdefghijklmnopqrstuvwxyz'), "\n"; 12 echo hash('crc32', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'), "\n"; 13 echo hash('crc32', '1234567890123456789012345678901234567890123456789012345678901234567890123456789…
|
H A D | hash_algos.phpt | 69 string(5) "crc32"
|
H A D | hash_copy_001.phpt | 103 string(5) "crc32" 232 string(5) "crc32"
|
H A D | hash_file_basic1.phpt | 36 echo "crc32: " . hash_file('crc32', $file) . "\n"; 65 crc32: 61664d33
|
H A D | hash_hmac_basic.phpt | 20 echo "crc32: " . hash_hmac('crc32', $content, $key) . "\n"; 46 crc32: 96859101
|
H A D | hash_hmac_error.phpt | 19 var_dump(hash_hmac('crc32')); 20 var_dump(hash_hmac('crc32', $data)); 24 var_dump(hash_hmac('crc32', $data, $key, TRUE, $extra_arg));
|
H A D | hash_hmac_file_basic.phpt | 40 echo "crc32: " . hash_hmac_file('crc32', $file, $key) . "\n"; 74 crc32: f2a60b9c
|
H A D | hash_hmac_file_error.phpt | 21 var_dump(hash_hmac_file('crc32')); 22 var_dump(hash_hmac_file('crc32', $file)); 26 hash_hmac_file('crc32', $file, $key, TRUE, $extra_arg); 32 hash_hmac_file('crc32', $file.chr(0).$file, $key, TRUE);
|
H A D | hash_pbkdf2_error.phpt | 20 var_dump(@hash_pbkdf2('crc32')); 22 var_dump(@hash_pbkdf2('crc32', $password)); 24 var_dump(@hash_pbkdf2('crc32', $password, $salt)); 28 var_dump(@hash_pbkdf2('crc32', $password, $salt, 10, 10, true, 'extra arg'));
|
/PHP-5.5/ext/phar/ |
H A D | phar.c | 1100 PHAR_GET_32(buffer, entry.crc32); 2408 int phar_postprocess_file(phar_entry_data *idata, php_uint32 crc32, char **error, int process_zip T… argument 2449 memcpy(&(local.crc32), &(desc.crc32), 12); 2452 memcpy(&(local.crc32), &desc, 12); 2456 …->filename_len != PHAR_ZIP_16(local.filename_len) || entry->crc32 != PHAR_ZIP_32(local.crc32) || e… 2482 if (~crc == crc32) { 2849 entry->crc32 = ~newcrc32; 3051 phar_set_32(entry_buffer+12, entry->crc32);
|
H A D | phar_internal.h | 259 php_uint32 crc32; member 584 int phar_postprocess_file(phar_entry_data *idata, php_uint32 crc32, char **error, int process_zip T…
|
H A D | phar_object.c | 4594 RETURN_LONG(entry_obj->ent.entry->crc32); in PHP_METHOD()
|
H A D | pharzip.h | 29 char crc32[4]; /* crc-32 4 bytes */ member 41 char crc32[4]; /* crc-32 4 bytes */ member 48 char crc32[4]; /* crc-32 4 bytes */ member 143 char crc32[4]; /* CRC Long CRC-32 of the remaining data */ member 159 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 | 311 …ile->is_crc_checked && phar_postprocess_file(idata, idata->internal_file->crc32, &error, 2 TSRMLS_… in phar_wrapper_open_url()
|
H A D | tar.c | 772 entry->crc32 = phar_tar_checksum((char *)&header, sizeof(header)); in phar_tar_writeheaders() 774 if (FAILURE == phar_tar_octal(header.checksum, entry->crc32, sizeof(header.checksum)-1)) { in phar_tar_writeheaders()
|
/PHP-5.5/ext/phar/tests/ |
H A D | 010.phpt | 15 $manifest = pack('V', 1) . 'a' . pack('VVVVVV', 0, time(), 0, crc32(b''), 0x00000000, 0);
|
H A D | 014.phpt | 12 // wrong crc32 15 $files['a'] = array('cont'=>'a', 'crc32'=>crc32(b'aX')); 23 …/a): failed to open stream: phar error: internal corruption of phar "%s" (crc32 mismatch on file "…
|
/PHP-5.5/ext/phar/tests/cache_list/files/ |
H A D | nophar.phar | 265 if ($entry[3] != sprintf("%u", crc32((binary)$data) & 0xffffffff)) {
|
H A D | openssl.phar | 265 if ($entry[3] != sprintf("%u", crc32((binary)$data) & 0xffffffff)) {
|
H A D | phar_test.inc | 15 $crc32= NULL; 26 foreach(array('comp','crc32','clen','ulen','time','flags','perm','meta','cont') as $what) 39 if (empty($crc32))$crc32= crc32((binary)$cont); 44 …$manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$m…
|
/PHP-5.5/ext/phar/tests/files/ |
H A D | include_path2.phar | 265 if ($entry[3] != sprintf("%u", crc32((binary)$data) & 0xffffffff)) {
|
H A D | nophar.phar | 265 if ($entry[3] != sprintf("%u", crc32((binary)$data) & 0xffffffff)) {
|
H A D | openssl.phar | 265 if ($entry[3] != sprintf("%u", crc32((binary)$data) & 0xffffffff)) {
|