blob: 508f512e5a2fcebbaf1f243e7a4fd42a7ace96db (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#ifndef _LINUX_CRC32C_H
#define _LINUX_CRC32C_H
#include <linux/types.h>
extern u32 crc32c_le(u32 crc, unsigned char const *address, size_t length);
extern u32 crc32c_be(u32 crc, unsigned char const *address, size_t length);
#define crc32c(seed, data, length) crc32c_le(seed, (unsigned char const *)data, length)
#endif /* _LINUX_CRC32C_H */
|