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
32
HA_EXTERN_C_BEG
33
49
HA_PUBFUN
uint32_t
ha_crc32_hash
(
ha_inbuf_t
data,
size_t
len);
50
51
HA_EXTERN_C_END
52
53
#endif
// __HASHA_CRC_H
ha_crc32_hash
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.
HA_PUBFUN
#define HA_PUBFUN
Definition
hadefs.h:34
HA_EXTERN_C_END
#define HA_EXTERN_C_END
Definition
hadefs.h:78
HA_EXTERN_C_BEG
#define HA_EXTERN_C_BEG
Definition
hadefs.h:70
internal.h
ha_inbuf_t
__ha_in_buf_type ha_inbuf_t
Definition
types.h:12
include
hasha
crc.h
Generated by
1.14.0