Polynomials over GF(2⁸) #
A polynomial is a list of coefficients, lowest degree first: [c₀, c₁, …, c_d] stands for
c₀ + c₁·x + … + c_d·x^d. Trailing zeros are allowed (they don't change the value), so a list of
length k is a polynomial of degree < k.
Evaluation uses Horner's method: c₀ + x·(c₁ + x·(c₂ + …)).