liba 0.1.15
An algorithm library based on C/C++
Loading...
Searching...
No Matches
crc.h File Reference

Cyclic Redundancy Check. More...

#include "a.h"
Include dependency graph for crc.h:

Go to the source code of this file.

Functions

void a_crc8m_init (uint8_t table[0x100], uint8_t poly)
 
void a_crc8l_init (uint8_t table[0x100], uint8_t poly)
 
uint8_t a_crc8 (uint8_t const table[0x100], void const *pdata, size_t nbyte, uint8_t value)
 
void a_crc16l_init (uint16_t table[0x100], uint16_t poly)
 
void a_crc16m_init (uint16_t table[0x100], uint16_t poly)
 
uint16_t a_crc16l (uint16_t const table[0x100], void const *pdata, size_t nbyte, uint16_t value)
 
uint16_t a_crc16m (uint16_t const table[0x100], void const *pdata, size_t nbyte, uint16_t value)
 
void a_crc32l_init (uint32_t table[0x100], uint32_t poly)
 
void a_crc32m_init (uint32_t table[0x100], uint32_t poly)
 
uint32_t a_crc32l (uint32_t const table[0x100], void const *pdata, size_t nbyte, uint32_t value)
 
uint32_t a_crc32m (uint32_t const table[0x100], void const *pdata, size_t nbyte, uint32_t value)
 
void a_crc64l_init (uint64_t table[0x100], uint64_t poly)
 
void a_crc64m_init (uint64_t table[0x100], uint64_t poly)
 
uint64_t a_crc64l (uint64_t const table[0x100], void const *pdata, size_t nbyte, uint64_t value)
 
uint64_t a_crc64m (uint64_t const table[0x100], void const *pdata, size_t nbyte, uint64_t value)
 

Detailed Description