Lines Matching defs:polynomial
24 * crc8_populate_msb - fill crc table for given polynomial in reverse bit order.
27 * @polynomial: polynomial for which table is to be filled.
29 void crc8_populate_msb(u8 table[CRC8_TABLE_SIZE], u8 polynomial)
38 t = (t << 1) ^ (t & msbit ? polynomial : 0);
46 * crc8_populate_lsb - fill crc table for given polynomial in regular bit order.
49 * @polynomial: polynomial for which table is to be filled.
51 void crc8_populate_lsb(u8 table[CRC8_TABLE_SIZE], u8 polynomial)
59 t = (t >> 1) ^ (t & 1 ? polynomial : 0);