Lines Matching full:seed

87  * @param seed Initial value for the CRC computation
93 uint16_t crc16(uint16_t poly, uint16_t seed, const uint8_t *src, size_t len);
107 * depending on the value provided for the initial seed and the value the final
112 * poly: 0x8005 (0xA001) initial seed: 0xffff, xor output: 0x0000
117 * @param seed Initial value for the CRC computation
123 uint16_t crc16_reflect(uint16_t poly, uint16_t seed, const uint8_t *src, size_t len);
151 * depending on the value provided for the initial seed and the value the final
156 * initial seed: 0x0000, xor output: 0x0000
160 * initial seed: 0xffff, xor output: 0xffff
163 * value from block N-1 as the seed for block N.
167 * @param seed Value to seed the CRC with
173 uint16_t crc16_ccitt(uint16_t seed, const uint8_t *src, size_t len);
184 * depending on the value provided for the initial seed and the value the final
189 * initial seed: 0x0000, xor output: 0x0000
193 * initial seed: 0xffff, xor output: 0x0000
197 * initial seed: 0x0000, xor output: 0xffff
200 * value from block N-1 as the seed for block N.
204 * @param seed Value to seed the CRC with
210 uint16_t crc16_itu_t(uint16_t seed, const uint8_t *src, size_t len);
300 * @param seed Value to seed the CRC with
306 uint8_t crc7_be(uint8_t seed, const uint8_t *src, size_t len);
315 * @param seed Value to seed the CRC with
321 uint8_t crc4_ti(uint8_t seed, const uint8_t *src, size_t len);
372 * For 7, 8, 16 and 24-bit CRCs, the relevant @p seed and @p poly values should
381 * @param seed Value to seed the CRC with
389 uint32_t seed, uint32_t poly, bool reflect, bool first, in crc_by_type() argument
394 return crc4(src, len, poly, seed, reflect); in crc_by_type()
396 return crc4_ti(seed, src, len); in crc_by_type()
398 return crc7_be(seed, src, len); in crc_by_type()
400 return crc8(src, len, poly, seed, reflect); in crc_by_type()
402 return crc8_ccitt(seed, src, len); in crc_by_type()
404 return crc8_rohc(seed, src, len); in crc_by_type()
407 return crc16_reflect(poly, seed, src, len); in crc_by_type()
409 return crc16(poly, seed, src, len); in crc_by_type()
414 return crc16_ccitt(seed, src, len); in crc_by_type()
416 return crc16_itu_t(seed, src, len); in crc_by_type()
418 uint32_t crc = crc24_pgp_update(seed, src, len); in crc_by_type()
425 return crc32_c(seed, src, len, first, last); in crc_by_type()
427 return crc32_ieee_update(seed, src, len); in crc_by_type()