TheSchoof–Elkies–Atkin algorithm (SEA) is analgorithm used for finding theorder of or calculating the number of points on anelliptic curve over afinite field. Its primary application is inelliptic curve cryptography. The algorithm is an extension ofSchoof's algorithm byNoam Elkies andA. O. L. Atkin to significantly improve its efficiency (under heuristic assumptions).
The Elkies-Atkin extension toSchoof's algorithm works by restricting the set of primes considered to primes of a certain kind. These came to be called Elkies primes and Atkin primes respectively. A prime is called an Elkies prime if the characteristic equation: splits over, 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 ofmodular polynomials that parametrize pairs of-isogenous elliptic curves in terms of theirj-invariants (in practice alternative modular polynomials may also be used but for the same purpose).
If the instantiated polynomial has a root in then is an Elkies prime, and we may compute a polynomial whose roots correspond to points in the kernel of the-isogeny from to. The polynomial is a divisor of the correspondingdivision polynomial used in Schoof's algorithm, and it has significantly lower degree, versus. For Elkies primes, this allows one to compute the number of points on modulo more efficiently than in Schoof's algorithm.In the case of an Atkin prime, we can gain some information from the factorization pattern of in, which constrains the possibilities for the number of points modulo, 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 to be Elkies primes), this results in a reduction in the running time. The resulting algorithm is probabilistic (ofLas Vegas type), and its expected running time is, heuristically,, making it more efficient in practice than Schoof's algorithm. Here the notation is a variant ofbig O notation that suppresses terms that are logarithmic in the main term of an expression.
The Schoof–Elkies–Atkin algorithm is implemented in thePARI/GP computer algebra system in the GP function ellap.