Searched refs:gf_mul (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/lib/ |
H A D | bch.c | 341 static inline unsigned int gf_mul(struct bch_control *bch, unsigned int a, in gf_mul() function 467 d ^= gf_mul(bch, elp->c[j], syn[2*i+2-j]); in compute_error_locator_polynomial() 662 c = gf_mul(bch, a2, c2); /* c = a2c2 */ in find_poly_deg3_roots() 663 b = gf_mul(bch, a2, b2)^c2; /* b = a2b2 + c2 */ in find_poly_deg3_roots() 713 d = a_pow(bch, 2*l)^gf_mul(bch, b, f)^d; in find_poly_deg4_roots() 714 b = gf_mul(bch, a, e)^b; in find_poly_deg4_roots() 1245 g->c[j] = gf_mul(bch, g->c[j], r)^g->c[j-1]; in compute_generator_polynomial() 1247 g->c[0] = gf_mul(bch, g->c[0], r); in compute_generator_polynomial()
|
/openbmc/linux/lib/ |
H A D | bch.c | 328 static inline unsigned int gf_mul(struct bch_control *bch, unsigned int a, in gf_mul() function 454 d ^= gf_mul(bch, elp->c[j], syn[2*i+2-j]); in compute_error_locator_polynomial() 649 c = gf_mul(bch, a2, c2); /* c = a2c2 */ in find_poly_deg3_roots() 650 b = gf_mul(bch, a2, b2)^c2; /* b = a2b2 + c2 */ in find_poly_deg3_roots() 700 d = a_pow(bch, 2*l)^gf_mul(bch, b, f)^d; in find_poly_deg4_roots() 701 b = gf_mul(bch, a, e)^b; in find_poly_deg4_roots() 1235 g->c[j] = gf_mul(bch, g->c[j], r)^g->c[j-1]; in compute_generator_polynomial() 1237 g->c[0] = gf_mul(bch, g->c[0], r); in compute_generator_polynomial()
|