blob: 2aeed828324246a2d35577c20c9362652625b396 [file] [log] [blame]
#ifndef CAPE_CRC_H_
#define CAPE_CRC_H_
#include <stdint.h>
#include <sys/types.h>
void crc_init(void);
// The second argument is the number of words to checksum, NOT the number of
// bytes.
uint32_t crc_calculate(uint32_t *restrict data, size_t words);
#endif // CAPE_CRC_H_