/* crc32init_be() - allocate and initialize BE table data  */
static void crc32init_be(void)
/* crc32init_be() - allocate and initialize BE table data  */
static void crc32init_be(void)
{
	unsigned i, j;
	uint32_t crc = 0x80000000;
	crc32table_be[0] = 0;
	for (i = 1; i < BE_TABLE_SIZE; i <<= 1) {
		crc = (crc << 1) ^ ((crc & 0x80000000) ? CRCPOLY_BE : 0);
		for (j = 0; j < i; j++)
			crc32table_be[i + j] = crc ^ crc32table_be[j];
	}
}