csp_crc32.h File Reference
#include <csp/csp.h>

Go to the source code of this file.

Functions

void csp_crc32_gentab (void)
 Generate precomputed CRC32 table. More...
 
int csp_crc32_append (csp_packet_t *packet, bool include_header)
 Append CRC32 checksum to packet. More...
 
int csp_crc32_verify (csp_packet_t *packet, bool include_header)
 Verify CRC32 checksum on packet. More...
 
uint32_t csp_crc32_memory (const uint8_t *data, uint32_t length)
 Calculate checksum for a given memory area. More...