Lines Matching defs:crc
57 static unsigned long crc = 0xffffffffL; /* shift register contents */
107 unsigned long table_entry; /* crc shift register */
110 int k; /* byte being shifted into crc apparatus */
112 /* terms of polynomial defining this crc (except x^32): */
135 * Write the output window window[0..outcnt-1] and update crc and bytes_out.
146 crc = crc_table[((int) crc ^ (window[n])) & 0xff] ^ (crc >> 8);
972 /* Get the crc and original length
978 /* Validate decompression - crc */
979 if ((unsigned int)((buf[0] | (buf[1] << 8)) |((buf[2] | (buf[3] << 8)) << 16)) != (crc ^ 0xffffffffL)) {
980 error_msg("invalid compressed data--crc error");