Lines Matching refs:crc1
435 u32 crc1, crc2; in test_step() local
438 crc1 = crc32_be(init, buf, len); in test_step()
439 store_be(crc1, buf + len); in test_step()
456 crc2 = bitrev32(crc1); in test_step()
457 if (crc1 != bitrev32(crc2)) in test_step()
459 crc1, crc2, bitrev32(crc2)); in test_step()
460 crc1 = crc32_le(init, buf, len); in test_step()
461 if (crc1 != crc2) in test_step()
462 printf("\nCRC endianness fail: 0x%08x != 0x%08x\n", crc1, in test_step()
476 return crc1; in test_step()
489 u32 crc1, crc2, crc3; in main() local
499 crc1 = test_step(INIT1, buf1, i); in main()
503 if (crc3 != (crc1 ^ crc2)) in main()
505 crc3, crc1, crc2); in main()