#include "zutil.h"
#include "crc32.h"
Go to the source code of this file.
|
#define | N 5 |
|
#define | W 4 |
|
#define | W 4 |
|
#define | POLY 0xedb88320 /* p(x) reflected, with x^32 implied */ |
|
|
local z_crc_t multmodp | OF ((z_crc_t a, z_crc_t b)) |
|
local z_crc_t x2nmodp | OF ((z_off64_t n, unsigned k)) |
|
local z_word_t byte_swap | OF ((z_word_t word)) |
|
local z_crc_t crc_word | OF ((z_word_t data)) |
|
local z_word_t | byte_swap (z_word_t word) |
|
local z_crc_t | multmodp (z_crc_t a, z_crc_t b) |
|
local z_crc_t | x2nmodp (z_off64_t n, unsigned k) |
|
const z_crc_t FAR *ZEXPORT | get_crc_table () |
|
local z_crc_t | crc_word (z_word_t data) |
|
local z_word_t | crc_word_big (z_word_t data) |
|
unsigned long ZEXPORT | crc32_z (unsigned long crc, const unsigned char FAR *buf, z_size_t len) |
|
unsigned long ZEXPORT | crc32 (unsigned long crc, const unsigned char FAR *buf, uInt len) |
|
uLong ZEXPORT | crc32_combine64 (uLong crc1, uLong crc2, z_off64_t len2) |
|
uLong ZEXPORT | crc32_combine (uLong crc1, uLong crc2, z_off_t len2) |
|
uLong ZEXPORT | crc32_combine_gen64 (z_off64_t len2) |
|
uLong ZEXPORT | crc32_combine_gen (z_off_t len2) |
|
uLong ZEXPORT | crc32_combine_op (uLong crc1, uLong crc2, uLong op) |
|
◆ POLY
#define POLY 0xedb88320 /* p(x) reflected, with x^32 implied */ |
◆ W [1/2]
◆ W [2/2]
◆ z_word_t
◆ byte_swap()
◆ crc32()
unsigned long ZEXPORT crc32 |
( |
unsigned long | crc, |
|
|
const unsigned char FAR * | buf, |
|
|
uInt | len ) |
◆ crc32_combine()
◆ crc32_combine64()
◆ crc32_combine_gen()
◆ crc32_combine_gen64()
◆ crc32_combine_op()
◆ crc32_z()
unsigned long ZEXPORT crc32_z |
( |
unsigned long | crc, |
|
|
const unsigned char FAR * | buf, |
|
|
z_size_t | len ) |
◆ crc_word()
◆ crc_word_big()
◆ get_crc_table()
◆ multmodp()
◆ OF() [1/4]
◆ OF() [2/4]
◆ OF() [3/4]
◆ OF() [4/4]
◆ x2nmodp()