/* crc32.h - Exports and Data Structures for crc32.c */ #define _ARISA_CRC32_H #ifndef U32 #define U32 uint32_t #endif/*U32*/ #ifndef U16 #define U16 uint16_t #endif/*U16*/ #ifndef U8 #define U8 uint8_t #endif/*U8*/ typedef struct { U32 crc32_total; U32 crc; } CRC32_CTX; void CRC32Init(CRC32_CTX *ctx); void CRC32Update(CRC32_CTX* ctx, const U8* buf, size_t len); void CRC32Final(U8* digest, CRC32_CTX *ctx);