/* crc is the crc of the byte i; other entries are filled in based on the fact that crctable = crctable ^ crctable.  */
static void crc32init_le(void)
/* crc is the crc of the byte i; other entries are filled in based on the fact that crctable = crctable ^ crctable.  */
static void crc32init_le(void)
{
	unsigned i, j;
	uint32_t crc = 1;
	crc32table_le[0] = 0;
	for (i = 1 << (CRC_LE_BITS - 1); i; i >>= 1) {
		crc = (crc >> 1) ^ ((crc & 1) ? CRCPOLY_LE : 0);
		for (j = 0; j < LE_TABLE_SIZE; j += 2 * i)
			crc32table_le[i + j] = crc ^ crc32table_le[j];
	}
}