Home | History | Annotate | Download | only in src

Lines Matching refs:crc_table

57 local z_crc_t FAR crc_table[TBLS][256];
113 crc_table[0][n] = c;
120 c = crc_table[0][n];
121 crc_table[4][n] = ZSWAP32(c);
123 c = crc_table[0][c & 0xff] ^ (c >> 8);
124 crc_table[k][n] = c;
125 crc_table[k + 4][n] = ZSWAP32(c);
148 fprintf(out, "crc_table[TBLS][256] =\n{\n {\n");
149 write_table(out, crc_table[0]);
154 write_table(out, crc_table[k]);
194 return (const z_crc_t FAR *)crc_table;
198 #define DO1 crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8)
261 c = crc_table[3][c & 0xff] ^ crc_table[2][(c >> 8) & 0xff] ^ \
262 crc_table[1][(c >> 16) & 0xff] ^ crc_table[0][c >> 24]
277 c = crc_table[0][(c ^ *buf++) & 0xff] ^ (c >> 8);
293 c = crc_table[0][(c ^ *buf++) & 0xff] ^ (c >> 8);
301 c = crc_table[4][c & 0xff] ^ crc_table[5][(c >> 8) & 0xff] ^ \
302 crc_table[6][(c >> 16) & 0xff] ^ crc_table[7][c >> 24]
317 c = crc_table[4][(c >> 24) ^ *buf++] ^ (c << 8);
333 c = crc_table[4][(c >> 24) ^ *buf++] ^ (c << 8);