Go to the source code of this file.
Macros | |
#define | DO1 crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8) |
#define | DO8 DO1; DO1; DO1; DO1; DO1; DO1; DO1; DO1 |
#define | GF2_DIM 32 /* dimension of GF(2) vectors (length of CRC) */ |
#define | local static |
#define | TBLS 1 |
Functions | |
unsigned long ZEXPORT | crc32 (unsigned long crc, const unsigned char FAR *buf, unsigned len) |
uLong ZEXPORT | crc32_combine (uLong crc1, uLong crc2, z_off_t len2) |
const unsigned long FAR *ZEXPORT | get_crc_table () |
void | gf2_matrix_square (unsigned long *square, unsigned long *mat) |
unsigned long | gf2_matrix_times (unsigned long *mat, unsigned long vec) |
unsigned long gf2_matrix_times | OF ((unsigned long *mat, unsigned long vec)) |
void gf2_matrix_square | OF ((unsigned long *square, unsigned long *mat)) |
#define GF2_DIM 32 /* dimension of GF(2) vectors (length of CRC) */ |
void gf2_matrix_square | ( | unsigned long * | square, |
unsigned long * | mat | ||
) |
unsigned long gf2_matrix_times | ( | unsigned long * | mat, |
unsigned long | vec | ||
) |
unsigned long gf2_matrix_times OF | ( | (unsigned long *mat, unsigned long vec) | ) |
void gf2_matrix_square OF | ( | (unsigned long *square, unsigned long *mat) | ) |