Lines Matching refs:crc1
434 u32 crc1, crc2; in test_step() local
437 crc1 = crc32_be(init, buf, len); in test_step()
438 store_be(crc1, buf + len); in test_step()
455 crc2 = bitrev32(crc1); in test_step()
456 if (crc1 != bitrev32(crc2)) in test_step()
458 crc1, crc2, bitrev32(crc2)); in test_step()
459 crc1 = crc32_le(init, buf, len); in test_step()
460 if (crc1 != crc2) in test_step()
461 printf("\nCRC endianness fail: 0x%08x != 0x%08x\n", crc1, in test_step()
475 return crc1; in test_step()
488 u32 crc1, crc2, crc3; in main() local
498 crc1 = test_step(INIT1, buf1, i); in main()
502 if (crc3 != (crc1 ^ crc2)) in main()
504 crc3, crc1, crc2); in main()