Go to the source code of this file.
|
unsigned long | reflect (unsigned long data, unsigned char nBits) |
|
void | crcInit (void) |
|
template<typename CharIterator > |
crc | crcCalc (const CharIterator message, unsigned int nBytes) |
|
#define CHECK_VALUE 0xCBF43926 |
Definition at line 68 of file crc.h.
Definition at line 29 of file crc.h.
Definition at line 20 of file crc.h.
#define CRC_NAME "CRC-32" |
Definition at line 62 of file crc.h.
Definition at line 23 of file crc.h.
#define FINAL_XOR_VALUE 0xFFFFFFFF |
Definition at line 65 of file crc.h.
#define INITIAL_REMAINDER 0xFFFFFFFF |
Definition at line 64 of file crc.h.
#define POLYNOMIAL 0x04C11DB7 |
Definition at line 63 of file crc.h.
Definition at line 84 of file crc.h.
#define REFLECT_DATA |
( |
|
X) | |
((unsigned char) reflect((X), 8)) |
Definition at line 84 of file crc.h.
Definition at line 92 of file crc.h.
Definition at line 92 of file crc.h.
#define TOPBIT (1 << (WIDTH - 1)) |
Definition at line 80 of file crc.h.
#define WIDTH (8 * sizeof(crc)) |
Definition at line 79 of file crc.h.
Definition at line 60 of file crc.h.
template<typename CharIterator >
crc crcCalc |
( |
const CharIterator |
message, |
|
|
unsigned int |
nBytes |
|
) |
| |
unsigned long reflect |
( |
unsigned long |
data, |
|
|
unsigned char |
nBits |
|
) |
| |