10 extern UInt32 g_CrcTable
[256];
13 void CrcInit(UInt32
*crc
);
14 UInt32
CrcGetDigest(UInt32
*crc
);
15 void CrcUpdateByte(UInt32
*crc
, Byte v
);
16 void CrcUpdateUInt16(UInt32
*crc
, UInt16 v
);
17 void CrcUpdateUInt32(UInt32
*crc
, UInt32 v
);
18 void CrcUpdateUInt64(UInt32
*crc
, UInt64 v
);
19 void CrcUpdate(UInt32
*crc
, const void *data
, size_t size
);
21 UInt32
CrcCalculateDigest(const void *data
, size_t size
);
22 int CrcVerifyDigest(UInt32 digest
, const void *data
, size_t size
);