Long division

From Elliptic Curve Crypto
Revision as of 03:42, 23 December 2024 by Rational Point (talk | contribs) (polynomial long division in latex)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Polynomials

Long division of polynomials is very important for doing arithmetic on elliptic curves. It is exactly as you learned in grade school, except that the place values are powers of an unknown variable and it is impossible to carry or borrow.

The divisor in this example is from the Weierstraß normal form of an elliptic curve.

Big integers

Long division on big integers is of course also valuable for performing the point group operation and other arithmetic on elliptic curves over finite fields. These are long numbers with many, many digits, and the carrying and borrowing is performed exactly as in the grade school algorithm, but generally with a base that is a power of two, 232 or 264, more convenient for computers to work with.