Searched refs:checksum (Results 1 – 1 of 1) sorted by relevance
2207 unsigned checksum = adler32(out->data, (unsigned)(out->size)); in lodepng_zlib_decompressv() local2208 if(checksum != ADLER32) return 58; /*error, adler checksum not correct, data must be corrupted*/ in lodepng_zlib_decompressv()2504 unsigned checksum = lodepng_crc32(&chunk[4], length + 4); in lodepng_chunk_check_crc() local2505 if(CRC != checksum) return 1; in lodepng_chunk_check_crc()4095 unsigned checksum = lodepng_crc32(&in[12], 17); in lodepng_inspect() local4096 if(CRC != checksum) { in lodepng_inspect()