Searched refs:crctab (Results 1 – 5 of 5) sorted by relevance
42 static uint32_t crctab[4][256]; variable86 crctab[3 - k][i] = flip32(reflect_32(crc)); in sctp_crc32_init()88 crctab[k][i] = reflect_32(crc); in sctp_crc32_init()103 crc = (crc << 8) ^ crctab[3][buf[i] ^ (crc >> 24)]; in sctp_crc_byte()105 crc = (crc >> 8) ^ crctab[0][buf[i] ^ (crc & 0xff)]; in sctp_crc_byte()120 crc = crctab[0][w >> 24] ^ crctab[1][(w >> 16) & 0xff] ^ in sctp_crc_word()121 crctab[2][(w >> 8) & 0xff] ^ crctab[3][w & 0xff]; in sctp_crc_word()
53 static const unsigned int crctab[256] = { variable55 static const unsigned long crctab[256] = {122 *crcp = (*crcp << 8) ^ crctab[(unsigned char)((*crcp>>24)^*bp++)]; in m_crcposix()
48 static ulong crctab[256] = { /* layout is from the POSIX.2 Rationale */ variable113 *crcp = (*crcp<<8) ^ crctab[(uchar)((*crcp>>24)^*bp++)];
536 static unsigned short crctab[] = { variable577 crc = (crc << 8) ^ crctab[((crc >> 8) ^ *buf++) & 0xff]; in crc16()
1464 static unsigned crctab[256] = { variable1522 *crcp = (*crcp<<8) ^ crctab[(unsigned char)((*crcp>>24)^val)]; in crc()