libhasha 2.2.2
Loading...
Searching...
No Matches
crc.h
Go to the documentation of this file.
1
16
17#if !defined(__HASHA_CRC_H)
18#define __HASHA_CRC_H
19
20#include "internal/internal.h"
21
30#define CRC32_POLYNOMIAL 0xEDB88320
31
33
49HA_PUBFUN uint32_t ha_crc32_hash(ha_inbuf_t data, size_t len);
50
52
53#endif // __HASHA_CRC_H
HA_EXTERN_C_BEG HA_PUBFUN uint32_t ha_crc32_hash(ha_inbuf_t data, size_t len)
Computes the CRC32 checksum in a single operation.
#define HA_PUBFUN
Definition hadefs.h:34
#define HA_EXTERN_C_END
Definition hadefs.h:78
#define HA_EXTERN_C_BEG
Definition hadefs.h:70
__ha_in_buf_type ha_inbuf_t
Definition types.h:12