Home
last modified time | relevance | path

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

/lib/
Dbch.c392 struct gf_poly *elp = bch->elp; in compute_error_locator_polynomial() local
398 memset(elp, 0, GF_POLY_SZ(2*t)); in compute_error_locator_polynomial()
402 elp->deg = 0; in compute_error_locator_polynomial()
403 elp->c[0] = 1; in compute_error_locator_polynomial()
406 for (i = 0; (i < t) && (elp->deg <= t); i++) { in compute_error_locator_polynomial()
409 gf_poly_copy(elp_copy, elp); in compute_error_locator_polynomial()
415 elp->c[j+k] ^= a_pow(bch, tmp+l); in compute_error_locator_polynomial()
420 if (tmp > elp->deg) { in compute_error_locator_polynomial()
421 elp->deg = tmp; in compute_error_locator_polynomial()
430 for (j = 1; j <= elp->deg; j++) in compute_error_locator_polynomial()
[all …]