Home
last modified time | relevance | path

Searched refs:gf_sqr (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/lib/
H A Dbch.c348 static inline unsigned int gf_sqr(struct bch_control *bch, unsigned int a) in gf_sqr() function
414 syn[2*j+1] = gf_sqr(bch, syn[j]); in compute_syndromes()
634 if ((gf_sqr(bch, r)^r) == u) { in find_poly_deg2_roots()
664 a = gf_sqr(bch, a2)^b2; /* a = a2^2 + b2 */ in find_poly_deg3_roots()
863 z->c[2*j] = gf_sqr(bch, z->c[j]); in compute_trace_bk_mod()
1179 y = gf_sqr(bch, x)^x; in build_deg2_base()
/openbmc/linux/lib/
H A Dbch.c335 static inline unsigned int gf_sqr(struct bch_control *bch, unsigned int a) in gf_sqr() function
401 syn[2*j+1] = gf_sqr(bch, syn[j]); in compute_syndromes()
621 if ((gf_sqr(bch, r)^r) == u) { in find_poly_deg2_roots()
651 a = gf_sqr(bch, a2)^b2; /* a = a2^2 + b2 */ in find_poly_deg3_roots()
850 z->c[2*j] = gf_sqr(bch, z->c[j]); in compute_trace_bk_mod()
1169 y = gf_sqr(bch, x)^x; in build_deg2_base()