56 uint64_t crc = 0xFFFFFFFFFFFFFFFFULL;
60 for( i = 0 ; i < size ; i++ )
61 crc = crc_table[(crc ^ source[i]) & 0xff] ^ (crc >> 8);
static uint64_t MALP_Trace_crc64(char *source, uint64_t size)
Computes the hash of a given data.
uint64_t crc_table[256]
crc_table
void MALP_Trace_crc64_init()
This initializes the CRC64 internals.