Turnstone Operating System
|
crc headers. More...
#include <types.h>
Macros | |
#define | ___CRC_H 0 |
#define | CRC32_SEED 0xffffffff |
Functions | |
void | crc32_init_table (void) |
initialize crc32 tables for fast calculation | |
uint32_t | crc32_sum (uint8_t *p, uint32_t bytelength, uint32_t init) |
calculates crc32 sum More... | |
crc headers.
This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.
#define ___CRC_H 0 |
prevent duplicate header error macro
#define CRC32_SEED 0xffffffff |
crc32 seed
calculates crc32 sum
[in] | p | input data |
[in] | bytelength | input length |
[in] | init | CRC32_SEED or previous sum |