#include "zutil.h"
#include "crc32.h"
Go to the source code of this file.
|
static unsigned long | gf2_matrix_times () |
|
static void | gf2_matrix_square () |
|
static uLong | crc32_combine_ () |
|
z_crc_t * | get_crc_table () |
|
unsigned long | crc32 (unsigned long crc, unsigned char *buf, uInt len) |
|
static unsigned long | gf2_matrix_times (unsigned long *mat, unsigned long vec) |
|
static void | gf2_matrix_square (unsigned long *square, unsigned long *mat) |
|
static uLong | crc32_combine_ (uLong crc1, uLong crc2, long len2) |
|
uLong | crc32_combine (uLong crc1, uLong crc2, long len2) |
|
uLong | crc32_combine64 (uLong crc1, uLong crc2, long len2) |
|
#define DO1 crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8) |
#define GF2_DIM 32 /* dimension of GF(2) vectors (length of CRC) */ |
unsigned long crc32 |
( |
unsigned long |
crc, |
|
|
unsigned char * |
buf, |
|
|
uInt |
len |
|
) |
| |
static uLong crc32_combine_ |
( |
| ) |
|
|
static |
static void gf2_matrix_square |
( |
| ) |
|
|
static |
static void gf2_matrix_square |
( |
unsigned long * |
square, |
|
|
unsigned long * |
mat |
|
) |
| |
|
static |
static unsigned long gf2_matrix_times |
( |
| ) |
|
|
static |
static unsigned long gf2_matrix_times |
( |
unsigned long * |
mat, |
|
|
unsigned long |
vec |
|
) |
| |
|
static |