mirror of https://github.com/Cisco-Talos/clamav
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
444 B
19 lines
444 B
#ifndef _RAR_CRC_
|
|
#define _RAR_CRC_
|
|
|
|
// This function is only to intialize external CRC tables. We do not need to
|
|
// call it before calculating CRC32.
|
|
void InitCRC32(uint *CRCTab);
|
|
|
|
uint CRC32(uint StartCRC,const void *Addr,size_t Size);
|
|
|
|
#ifndef SFX_MODULE
|
|
ushort Checksum14(ushort StartCRC,const void *Addr,size_t Size);
|
|
#endif
|
|
|
|
#if 0
|
|
void InitCRC64(uint64 *CRCTab);
|
|
uint64 CRC64(uint64 StartCRC,const void *Addr,size_t Size);
|
|
#endif
|
|
|
|
#endif
|
|
|