Home
last modified time | relevance | path

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

/openbsd/games/adventure/
H A Dcrc.c38 unsigned long crctab[] = { variable
121 if (step >= sizeof(crctab) / sizeof(crctab[0])) in crc()
124 crcval = ((crcval << 8) ^ crctab[i]) & 0xffffffff; in crc()
/openbsd/usr.sbin/mtree/
H A Dcrc.c41 static const u_int32_t crctab[] = { variable
112 #define COMPUTE(var, ch) (var) = (var) << 8 ^ crctab[(var) >> 24 ^ (ch)] in crc()
/openbsd/sys/net/
H A Dif_ethersubr.c781 static const u_int32_t crctab[] = { in ether_crc32_le_update() local
791 crc = (crc >> 4) ^ crctab[crc & 0xf]; in ether_crc32_le_update()
792 crc = (crc >> 4) ^ crctab[crc & 0xf]; in ether_crc32_le_update()
805 static const u_int32_t crctab[] = { in ether_crc32_be_update() local
816 crc = (crc << 4) ^ crctab[(crc >> 28) ^ rev[data & 0xf]]; in ether_crc32_be_update()
817 crc = (crc << 4) ^ crctab[(crc >> 28) ^ rev[data >> 4]]; in ether_crc32_be_update()
/openbsd/usr.sbin/nsd/
H A Dutil.c876 static uint32_t crctab[] = { variable
931 #define COMPUTE(var, ch) (var) = (var) << 8 ^ crctab[(var) >> 24 ^ (ch)]