Schoof–Elkies–Atkin algorithm

From HandWiki

The Schoof–Elkies–Atkin algorithm (SEA) is an algorithm used for finding the order of or calculating the number of points on an elliptic curve over a finite field. Its primary application is in elliptic curve cryptography. The algorithm is an extension of Schoof's algorithm by Noam Elkies and A. O. L. Atkin to significantly improve its efficiency (under heuristic assumptions).

Details

The Elkies-Atkin extension to Schoof's algorithm works by restricting the set of primes [math]\displaystyle{ S = \{l_1, \ldots, l_s\} }[/math] considered to primes of a certain kind. These came to be called Elkies primes and Atkin primes respectively. A prime [math]\displaystyle{ l }[/math] is called an Elkies prime if the characteristic equation: [math]\displaystyle{ \phi^2-t\phi+ q = 0 }[/math] splits over [math]\displaystyle{ \mathbb{F}_l }[/math], while an Atkin prime is a prime that is not an Elkies prime. Atkin showed how to combine information obtained from the Atkin primes with the information obtained from Elkies primes to produce an efficient algorithm, which came to be known as the Schoof–Elkies–Atkin algorithm. The first problem to address is to determine whether a given prime is Elkies or Atkin. In order to do so, we make use of modular polynomials [math]\displaystyle{ \Phi_l(X,Y) }[/math] that parametrize pairs of [math]\displaystyle{ l }[/math]-isogenous elliptic curves in terms of their j-invariants (in practice alternative modular polynomials may also be used but for the same purpose).

If the instantiated polynomial [math]\displaystyle{ \Phi_l(X,j(E)) }[/math] has a root [math]\displaystyle{ j(E') }[/math] in [math]\displaystyle{ \mathbb{F}_q }[/math] then [math]\displaystyle{ l }[/math] is an Elkies prime, and we may compute a polynomial [math]\displaystyle{ f_l(X) }[/math] whose roots correspond to points in the kernel of the [math]\displaystyle{ l }[/math]-isogeny from [math]\displaystyle{ E }[/math] to [math]\displaystyle{ E' }[/math]. The polynomial [math]\displaystyle{ f_l }[/math] is a divisor of the corresponding division polynomial used in Schoof's algorithm, and it has significantly lower degree, [math]\displaystyle{ O(l) }[/math] versus [math]\displaystyle{ O(l^2) }[/math]. For Elkies primes, this allows one to compute the number of points on [math]\displaystyle{ E }[/math] modulo [math]\displaystyle{ l }[/math] more efficiently than in Schoof's algorithm. In the case of an Atkin prime, we can gain some information from the factorization pattern of [math]\displaystyle{ \Phi_l(X,j(E)) }[/math] in [math]\displaystyle{ \mathbb{F}_l[X] }[/math], which constrains the possibilities for the number of points modulo [math]\displaystyle{ l }[/math], but the asymptotic complexity of the algorithm depends entirely on the Elkies primes. Provided there are sufficiently many small Elkies primes (on average, we expect half the primes [math]\displaystyle{ l }[/math] to be Elkies primes), this results in a reduction in the running time. The resulting algorithm is probabilistic (of Las Vegas type), and its expected running time is, heuristically, [math]\displaystyle{ \tilde{O}(\log^4 q) }[/math], making it more efficient in practice than Schoof's algorithm. Here the [math]\displaystyle{ \tilde{O} }[/math] notation is a variant of big O notation that suppresses terms that are logarithmic in the main term of an expression.

Implementations

Schoof–Elkies–Atkin algorithm is implemented in the PARI/GP computer algebra system in the GP function ellap.

External links