summaryrefslogtreecommitdiff
path: root/meta-openbmc-mods/meta-common/recipes-core/interfaces/libmctp/crc32c.h
blob: 4586547e610423925d500a0df6c0a6bee23a5ca8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef CRC32C_H
#define CRC32C_H

#ifdef __cplusplus
extern "C" {
#endif

#include <stdint.h>
#include <stdlib.h>

uint32_t crc32c(uint8_t *buf, int len);

#ifdef __cplusplus
}
#endif
#endif /* CRC32C_H */