using error location or error correction polynomials