mirror of
https://github.com/im-tomu/foboot.git
synced 2024-09-21 19:30:10 +00:00
06d64b8c68
Signed-off-by: Sean Cross <sean@xobs.io>
16 lines
237 B
C
16 lines
237 B
C
#ifndef __CRC_H
|
|
#define __CRC_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
unsigned short crc16(const unsigned char *buffer, int len);
|
|
unsigned int crc32(const unsigned char *buffer, unsigned int len);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|