mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +00:00
This commit contains only the result of `git add --renormalize .` `git show --ignore-space-change` can verify that this commit only changes whitespace.
17 lines
625 B
C
17 lines
625 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
uint32_t XADCRC(uint32_t prevcrc, uint8_t byte, const uint32_t *table);
|
|
uint32_t XADCalculateCRC(uint32_t prevcrc, const uint8_t *buffer, int length, const uint32_t *table);
|
|
|
|
uint64_t XADCRC64(uint64_t prevcrc, uint8_t byte, const uint64_t *table);
|
|
uint64_t XADCalculateCRC64(uint64_t prevcrc, const uint8_t *buffer, int length, const uint64_t *table);
|
|
|
|
int XADUnReverseCRC16(int val);
|
|
|
|
extern const uint32_t XADCRCTable_a001[256];
|
|
extern const uint32_t XADCRCReverseTable_1021[256];
|
|
extern const uint32_t XADCRCTable_edb88320[256];
|
|
extern const uint64_t XADCRCTable_c96c5795d7870f42[256];
|