#include <nitro/math/crc.h>
typedef struct MATHCRC8Table
{
u8 table[256];
} MATHCRC8Table;
typedef struct MATHCRC16Table
{
u16 table[256];
} MATHCRC16Table;
typedef struct MATHCRC32Table
{
u32 table[256];
} MATHCRC32Table;
Structure for the tables used to compute various CRCs. Use MATH_CRC*InitTable
to initialize the structure, and then use it with MATH_CRC*Update
and MATH_CalcCRC*
.
CRC (Cyclic Redundancy Check: an error detection method that uses check values.
MATH_CRC*InitTable
, MATH_CRC*Init
, MATH_CRC*Update
, MATH_CRC*GetHash
04/12/2005 Initial version.