Uses the CRC_IV directly in the crc32c() function.

This commit is contained in:
Andrea Mazzoleni 2013-08-19 12:45:12 +02:00
parent 5136eb3719
commit 9d00435b42
4 changed files with 21 additions and 13 deletions

6
util.h
View file

@ -496,12 +496,6 @@ void randomize(void* ptr, unsigned size);
/****************************************************************************/
/* crc */
/**
* CRC initial value.
* Using a not zero value allows to detect trailing zeros at the end.
*/
#define CRC_IV 0xffffffffU
/**
* Computes the CRC-32 (Castagnoli)
*/