Lines Matching refs:z
845 const struct gf_poly *f, struct gf_poly *z, in compute_trace_bk_mod() argument
852 z->deg = 1; in compute_trace_bk_mod()
853 z->c[0] = 0; in compute_trace_bk_mod()
854 z->c[1] = bch->a_pow_tab[k]; in compute_trace_bk_mod()
864 for (j = z->deg; j >= 0; j--) { in compute_trace_bk_mod()
865 out->c[j] ^= z->c[j]; in compute_trace_bk_mod()
866 z->c[2*j] = gf_sqr(bch, z->c[j]); in compute_trace_bk_mod()
867 z->c[2*j+1] = 0; in compute_trace_bk_mod()
869 if (z->deg > out->deg) in compute_trace_bk_mod()
870 out->deg = z->deg; in compute_trace_bk_mod()
873 z->deg *= 2; in compute_trace_bk_mod()
875 gf_poly_mod(bch, z, f, bch->cache); in compute_trace_bk_mod()
893 struct gf_poly *z = bch->poly_2t[3]; in factor_polynomial() local
902 compute_trace_bk_mod(bch, k, f, z, tk); in factor_polynomial()