mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
15 lines
237 B
C
15 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
|