#include "crc32i.h"

uint32_t crc32c_r(uint32_t crc, const unsigned char *message, size_t sz)
{
	while (sz--)
		crc = (crc >> 8) ^ crc32_tab[(crc ^ *message++) & 0xFF];

	return crc;
}
