Home
last modified time | relevance | path

Searched refs:crctab (Results 1 – 5 of 5) sorted by relevance

/titanic_44/usr/src/uts/common/os/
H A Dsctp_crc32.c42 static uint32_t crctab[4][256]; variable
86 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()
/titanic_44/usr/src/lib/libxcurses2/src/libc/mks/
H A Dm_crcpos.c53 static const unsigned int crctab[256] = { variable
55 static const unsigned long crctab[256] = {
122 *crcp = (*crcp << 8) ^ crctab[(unsigned char)((*crcp>>24)^*bp++)]; in m_crcposix()
/titanic_44/usr/src/lib/libxcurses/src/libc/mks/
H A Dm_crcpos.c48 static ulong crctab[256] = { /* layout is from the POSIX.2 Rationale */ variable
113 *crcp = (*crcp<<8) ^ crctab[(uchar)((*crcp>>24)^*bp++)];
/titanic_44/usr/src/cmd/fs.d/udfs/mkfs/
H A Dudfslib.c536 static unsigned short crctab[] = { variable
577 crc = (crc << 8) ^ crctab[((crc >> 8) ^ *buf++) & 0xff]; in crc16()
/titanic_44/usr/src/lib/fm/libdiagcode/common/
H A Ddiagcode.c1464 static unsigned crctab[256] = { variable
1522 *crcp = (*crcp<<8) ^ crctab[(unsigned char)((*crcp>>24)^val)]; in crc()