Lines Matching refs:CRC
33 /* Makes the table for a fast CRC. */
53 Updates a running crc with the bytes buf[0..len-1] and returns
54 the updated crc. The crc should be initialized to zero.
56 static unsigned long UpdateCRC(unsigned long crc,
58 unsigned long c = crc ^ 0xffffffffL;
69 /* Returns the CRC of the bytes buf[0..len-1]. */
70 static unsigned long CRC(const unsigned char* buf, int len) {
80 unsigned long crcvalue = CRC(in, insize);
99 /* CRC */