In abstract algebra, the Chien search, named after Robert Tienwen Chien, is a fast algorithm for determining roots of polynomials defined over a finite field. Chien search is commonly used to find the roots of error-locator polynomials encountered in decoding Reed-Solomon codes and BCH codes.
The problem is to find the roots of the polynomial (over the finite field):
The roots may be found using brute force: there are a finite number of, so the polynomial can be evaluated for each element . If the polynomial evaluates to zero, then that element is a root.
For the trivial case, only the coefficient need be tested for zero. Below, the only concern will be for non-zero .
A straightforward evaluation of the polynomial involves general multiplications and additions. A more efficient scheme would use Horner's method for general multiplications and additions. Both of these approaches may evaluate the elements of the finite field in any order.
Chien search improves upon the above by selecting a specific order for the non-zero elements. In particular, the finite field has a (constant) generator element . Chien tests the elements in the generator's order . Consequently, Chien search needs only multiplications by constants and additions. The multiplications by constants are less complex than general multiplications.
The Chien search is based on two observations:
\beta
i\beta | |
\alpha |
i\beta
\alpha
GF(q)
i\beta
\alpha
\alphai
0\leqi<(q-1)
\begin \Lambda(\alpha^i) &=& \lambda_0 &+& \lambda_1 (\alpha^i) &+& \lambda_2 (\alpha^i)^2 &+& \cdots &+& \lambda_t (\alpha^i)^t \\ &\triangleq& \gamma_ &+& \gamma_ &+& \gamma_ &+& \cdots &+& \gamma_ \\ \Lambda(\alpha^) &=& \lambda_0 &+& \lambda_1 (\alpha^) &+& \lambda_2 (\alpha^)^2 &+& \cdots &+& \lambda_t (\alpha^)^t \\ &=& \lambda_0 &+& \lambda_1 (\alpha^i)\,\alpha &+& \lambda_2 (\alpha^i)^2\,\alpha^2 &+& \cdots &+& \lambda_t (\alpha^i)^t\,\alpha^t \\ &=& \gamma_ &+& \gamma_\,\alpha &+& \gamma_\,\alpha^2 &+& \cdots &+& \gamma_\,\alpha^t \\ &\triangleq& \gamma_ &+& \gamma_ &+& \gamma_ &+& \cdots &+& \gamma_\end
In other words, we may define each
Λ(\alphai)
\{\gammaj,i\mid0\leqj\leqt\}
In this way, we may start at
i=0
\gammaj,0=λj
i
(q-1)
Λ(\alphai)=0
\alphai
When implemented in hardware, this approach significantly reduces the complexity, as all multiplications consist of one variable and one constant, rather than two variables as in the brute-force approach.