3 cdef extern from "a/crc.h":
4 void a_crc8m_init(a_u8 *table, a_u8 poly)
5 void a_crc8l_init(a_u8 *table, a_u8 poly)
6 a_u8 a_crc8(const a_u8 *table, const void *pdata, a_size nbyte, a_u8 value)
7 void a_crc16m_init(a_u16 *table, a_u16 poly)
8 void a_crc16l_init(a_u16 *table, a_u16 poly)
9 a_u16 a_crc16m(const a_u16 *table, const void *pdata, a_size nbyte, a_u16 value)
10 a_u16 a_crc16l(const a_u16 *table, const void *pdata, a_size nbyte, a_u16 value)
11 void a_crc32m_init(a_u32 *table, a_u32 poly)
12 void a_crc32l_init(a_u32 *table, a_u32 poly)
13 a_u32 a_crc32m(const a_u32 *table, const void *pdata, a_size nbyte, a_u32 value)
14 a_u32 a_crc32l(const a_u32 *table, const void *pdata, a_size nbyte, a_u32 value)
15 void a_crc64m_init(a_u64 *table, a_u64 poly)
16 void a_crc64l_init(a_u64 *table, a_u64 poly)
17 a_u64 a_crc64m(const a_u64 *table, const void *pdata, a_size nbyte, a_u64 value)
18 a_u64 a_crc64l(const a_u64 *table, const void *pdata, a_size nbyte, a_u64 value)