Home
last modified time | relevance | path

Searched refs:CRC_BITS (Results 1 – 4 of 4) sorted by relevance

/linux/lib/crc/riscv/
H A Dcrc-clmul-template.h19 #define CRC_BITS (8 * sizeof(crc_t)) /* a.k.a. 'n' */ macro
82 return msgpoly ^ ((unsigned long)crc << (BITS_PER_LONG - CRC_BITS)); in crc_clmul_prep()
182 msgpoly ^= (unsigned long)crc << (8*len - CRC_BITS); in crc_clmul_update_partial()
190 msgpoly ^= crc >> (CRC_BITS - 8*len); in crc_clmul_update_partial()
/linux/lib/842/
H A D842.h103 #define CRC_BITS (32) macro
H A D842_decompress.c378 ret = next_bits(&p, &crc, CRC_BITS); in sw842_decompress()
H A D842_compress.c585 ret = add_bits(p, crc, CRC_BITS); in sw842_compress()