Searched refs:phar_tar_checksum (Results 1 – 1 of 1) sorted by relevance
87 static uint32_t phar_tar_checksum(char *buf, size_t len) /* {{{ */ in phar_tar_checksum() function114 ret = (checksum == phar_tar_checksum(buf, 512)); in phar_is_tar()258 if (sum1 == 0 && phar_tar_checksum(buf, sizeof(buf)) == 0) { in phar_parse_tarfile()262 sum2 = phar_tar_checksum(buf, old?sizeof(old_tar_header):sizeof(tar_header)); in phar_parse_tarfile()265 uint32_t sum3 = phar_tar_checksum(buf, sizeof(tar_header)); in phar_parse_tarfile()351 if (sum1 == 0 && phar_tar_checksum(buf, sizeof(buf)) == 0) { in phar_parse_tarfile()786 entry->crc32 = phar_tar_checksum((char *)&header, sizeof(header)); in phar_tar_writeheaders_int()
Completed in 5 milliseconds