Lines Matching refs:CRC32_TABLE
1 use table::CRC32_TABLE;
38 crc = CRC32_TABLE[0x0][buf[0xf] as usize] in update_fast_16()
39 ^ CRC32_TABLE[0x1][buf[0xe] as usize] in update_fast_16()
40 ^ CRC32_TABLE[0x2][buf[0xd] as usize] in update_fast_16()
41 ^ CRC32_TABLE[0x3][buf[0xc] as usize] in update_fast_16()
42 ^ CRC32_TABLE[0x4][buf[0xb] as usize] in update_fast_16()
43 ^ CRC32_TABLE[0x5][buf[0xa] as usize] in update_fast_16()
44 ^ CRC32_TABLE[0x6][buf[0x9] as usize] in update_fast_16()
45 ^ CRC32_TABLE[0x7][buf[0x8] as usize] in update_fast_16()
46 ^ CRC32_TABLE[0x8][buf[0x7] as usize] in update_fast_16()
47 ^ CRC32_TABLE[0x9][buf[0x6] as usize] in update_fast_16()
48 ^ CRC32_TABLE[0xa][buf[0x5] as usize] in update_fast_16()
49 ^ CRC32_TABLE[0xb][buf[0x4] as usize] in update_fast_16()
50 ^ CRC32_TABLE[0xc][buf[0x3] as usize ^ ((crc >> 0x18) & 0xFF) as usize] in update_fast_16()
51 ^ CRC32_TABLE[0xd][buf[0x2] as usize ^ ((crc >> 0x10) & 0xFF) as usize] in update_fast_16()
52 ^ CRC32_TABLE[0xe][buf[0x1] as usize ^ ((crc >> 0x08) & 0xFF) as usize] in update_fast_16()
53 ^ CRC32_TABLE[0xf][buf[0x0] as usize ^ ((crc >> 0x00) & 0xFF) as usize]; in update_fast_16()
65 crc = CRC32_TABLE[0][((crc as u8) ^ byte) as usize] ^ (crc >> 8); in update_slow()