Home
last modified time | relevance | path

Searched refs:poly (Results 1 – 3 of 3) sorted by relevance

/lib/
A Dbch.c124 struct gf_poly poly; member
391 uint32_t poly; in compute_syndromes() local
404 poly = *ecc++; in compute_syndromes()
406 while (poly) { in compute_syndromes()
407 i = deg(poly); in compute_syndromes()
599 if (poly->c[0]) in find_poly_deg1_roots()
615 if (poly->c[0] && poly->c[1]) { in find_poly_deg2_roots()
657 if (poly->c[0]) { in find_poly_deg3_roots()
659 e3 = poly->c[3]; in find_poly_deg3_roots()
694 e4 = poly->c[4]; in find_poly_deg4_roots()
[all …]
A Dcrc32c.c28 const uint32_t poly = pol; /* Bit-reflected CRC32C polynomial */ in crc32c_init() local
33 v = (v >> 1) ^ ((v & 1) ? poly : 0); in crc32c_init()
A Dcrc32.c66 uLong poly; /* polynomial exclusive-or pattern */ in make_crc_table() local
72 poly = 0L; in make_crc_table()
74 poly |= 1L << (31 - p[n]); in make_crc_table()
80 c = c & 1 ? poly ^ (c >> 1) : c >> 1; in make_crc_table()

Completed in 11 milliseconds