Lines Matching refs:checksum
2109 unsigned checksum = adler32(*out, (unsigned)(*outsize));
2110 if(checksum != ADLER32) return 58; /*error, adler checksum not correct, data must be corrupted*/
2145 /*zlib data: 1 byte CMF (CM+CINFO), 1 byte FLG, deflate data, 4 byte ADLER32 checksum of the Decompressed data*/
2410 unsigned checksum = lodepng_crc32(&chunk[4], length + 4);
2411 if(CRC != checksum) return 1;
3990 unsigned checksum = lodepng_crc32(&in[12], 17);
3991 if(CRC != checksum)