xrock/crc32.h
2021-08-05 19:53:20 +08:00

17 lines
216 B
C

#ifndef __CRC32_H__
#define __CRC32_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <x.h>
uint32_t crc32_sum(uint32_t crc, const uint8_t * buf, int len);
#ifdef __cplusplus
}
#endif
#endif /* __CRC32_H__ */