Go to the source code of this file.
Defines | |
#define | UINT32 unsigned long |
Functions | |
static unsigned long | doFCS (const void *ss, int len) |
Variables | |
const unsigned long | crc32_table [256] |
static unsigned long doFCS | ( | const void * | ss, | |
int | len | |||
) | [inline, static] |
Definition at line 14 of file crc-32.h.
References crc32_table.
00015 { 00016 const unsigned char *s = ss; 00017 UINT32 val = 0xffffffff; 00018 00019 while (--len >= 0) 00020 val = crc32_table[(val ^ *s++) & 0xff] ^ (val >> 8); 00021 return val; 00022 }
const unsigned long crc32_table[256] |