Searched refs:polynomial (Results 1 – 5 of 5) sorted by relevance
29 void crc8_populate_msb(u8 table[CRC8_TABLE_SIZE], u8 polynomial) in crc8_populate_msb() argument38 t = (t << 1) ^ (t & msbit ? polynomial : 0); in crc8_populate_msb()51 void crc8_populate_lsb(u8 table[CRC8_TABLE_SIZE], u8 polynomial) in crc8_populate_lsb() argument59 t = (t >> 1) ^ (t & 1 ? polynomial : 0); in crc8_populate_lsb()
148 u32 polynomial) argument155 crc = (crc >> 1) ^ ((crc & 1) ? polynomial : 0);241 u32 polynomial) argument243 u32 power = polynomial; /* CRC of x^32 */248 crc = (crc >> 1) ^ (crc & 1 ? polynomial : 0);257 crc = gf2_multiply(crc, power, polynomial);264 power = gf2_multiply(power, power, polynomial);293 u32 polynomial) argument301 (crc << 1) ^ ((crc & 0x80000000) ? polynomial :
37 static void crc32init_le_generic(const uint32_t polynomial, in crc32init_le_generic() argument46 crc = (crc >> 1) ^ ((crc & 1) ? polynomial : 0); in crc32init_le_generic()
55 void crc8_populate_lsb(u8 table[CRC8_TABLE_SIZE], u8 polynomial);73 void crc8_populate_msb(u8 table[CRC8_TABLE_SIZE], u8 polynomial);
569 CRC32c algorithm implemented using vector polynomial multiply-sum637 CRC10T10DIF algorithm implemented using vector polynomial