Home
last modified time | relevance | path

Searched refs:polynomial (Results 1 – 5 of 5) sorted by relevance

/linux-4.19.296/lib/
Dcrc8.c29 void crc8_populate_msb(u8 table[CRC8_TABLE_SIZE], u8 polynomial) in crc8_populate_msb() argument
38 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() argument
59 t = (t >> 1) ^ (t & 1 ? polynomial : 0); in crc8_populate_lsb()
Dcrc32.c148 u32 polynomial) argument
155 crc = (crc >> 1) ^ ((crc & 1) ? polynomial : 0);
241 u32 polynomial) argument
243 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) argument
301 (crc << 1) ^ ((crc & 0x80000000) ? polynomial :
Dgen_crc32table.c37 static void crc32init_le_generic(const uint32_t polynomial, in crc32init_le_generic() argument
46 crc = (crc >> 1) ^ ((crc & 1) ? polynomial : 0); in crc32init_le_generic()
/linux-4.19.296/include/linux/
Dcrc8.h55 void crc8_populate_lsb(u8 table[CRC8_TABLE_SIZE], u8 polynomial);
73 void crc8_populate_msb(u8 table[CRC8_TABLE_SIZE], u8 polynomial);
/linux-4.19.296/crypto/
DKconfig569 CRC32c algorithm implemented using vector polynomial multiply-sum
637 CRC10T10DIF algorithm implemented using vector polynomial