Schoof's algorithm

From HandWiki

Schoof's algorithm is an efficient algorithm to count points on elliptic curves over finite fields. The algorithm has applications in elliptic curve cryptography where it is important to know the number of points to judge the difficulty of solving the discrete logarithm problem in the group of points on an elliptic curve. The algorithm was published by René Schoof in 1985 and it was a theoretical breakthrough, as it was the first deterministic polynomial time algorithm for counting points on elliptic curves. Before Schoof's algorithm, approaches to counting points on elliptic curves such as the naive and baby-step giant-step algorithms were, for the most part, tedious and had an exponential running time.

This article explains Schoof's approach, laying emphasis on the mathematical ideas underlying the structure of the algorithm.

Introduction

Let [math]\displaystyle{ E }[/math] be an elliptic curve defined over the finite field [math]\displaystyle{ \mathbb{F}_{q} }[/math], where [math]\displaystyle{ q=p^n }[/math] for [math]\displaystyle{ p }[/math] a prime and [math]\displaystyle{ n }[/math] an integer [math]\displaystyle{ \geq 1 }[/math]. Over a field of characteristic [math]\displaystyle{ \neq 2, 3 }[/math] an elliptic curve can be given by a (short) Weierstrass equation

[math]\displaystyle{ y^2 = x^3 + Ax + B }[/math]

with [math]\displaystyle{ A,B\in \mathbb{F}_{q} }[/math]. The set of points defined over [math]\displaystyle{ \mathbb{F}_{q} }[/math] consists of the solutions [math]\displaystyle{ (a,b)\in\mathbb{F}_{q}^2 }[/math] satisfying the curve equation and a point at infinity [math]\displaystyle{ O }[/math]. Using the group law on elliptic curves restricted to this set one can see that this set [math]\displaystyle{ E(\mathbb{F}_{q}) }[/math] forms an abelian group, with [math]\displaystyle{ O }[/math] acting as the zero element. In order to count points on an elliptic curve, we compute the cardinality of [math]\displaystyle{ E(\mathbb{F}_{q}) }[/math]. Schoof's approach to computing the cardinality [math]\displaystyle{ \# E(\mathbb{F}_{q}) }[/math] makes use of Hasse's theorem on elliptic curves along with the Chinese remainder theorem and division polynomials.

Hasse's theorem

Main page: Hasse's theorem on elliptic curves

Hasse's theorem states that if [math]\displaystyle{ E/\mathbb{F}_{q} }[/math] is an elliptic curve over the finite field [math]\displaystyle{ \mathbb{F}_{q} }[/math], then [math]\displaystyle{ \# E(\mathbb{F}_q) }[/math] satisfies

[math]\displaystyle{ \mid q + 1 - \# E(\mathbb{F}_{q}) \mid \leq 2\sqrt{q}. }[/math]

This powerful result, given by Hasse in 1934, simplifies our problem by narrowing down [math]\displaystyle{ \# E(\mathbb{F}_{q}) }[/math] to a finite (albeit large) set of possibilities. Defining [math]\displaystyle{ t }[/math] to be [math]\displaystyle{ q + 1 - \# E(\mathbb{F}_{q}) }[/math], and making use of this result, we now have that computing the value of [math]\displaystyle{ t }[/math] modulo [math]\displaystyle{ N }[/math] where [math]\displaystyle{ N \gt 4\sqrt{q} }[/math], is sufficient for determining [math]\displaystyle{ t }[/math], and thus [math]\displaystyle{ \# E(\mathbb{F}_{q}) }[/math]. While there is no efficient way to compute [math]\displaystyle{ t \pmod N }[/math] directly for general [math]\displaystyle{ N }[/math], it is possible to compute [math]\displaystyle{ t \pmod l }[/math] for [math]\displaystyle{ l }[/math] a small prime, rather efficiently. We choose [math]\displaystyle{ S=\{l_1,l_2,...,l_r\} }[/math] to be a set of distinct primes such that [math]\displaystyle{ \prod l_i = N \gt 4\sqrt{q} }[/math]. Given [math]\displaystyle{ t \pmod {l_i} }[/math] for all [math]\displaystyle{ l_i\in S }[/math], the Chinese remainder theorem allows us to compute [math]\displaystyle{ t \pmod N }[/math].

In order to compute [math]\displaystyle{ t \pmod l }[/math] for a prime [math]\displaystyle{ l \neq p }[/math], we make use of the theory of the Frobenius endomorphism [math]\displaystyle{ \phi }[/math] and division polynomials. Note that considering primes [math]\displaystyle{ l \neq p }[/math] is no loss since we can always pick a bigger prime to take its place to ensure the product is big enough. In any case Schoof's algorithm is most frequently used in addressing the case [math]\displaystyle{ q=p }[/math] since there are more efficient, so called [math]\displaystyle{ p }[/math] adic algorithms for small-characteristic fields.

The Frobenius endomorphism

Given the elliptic curve [math]\displaystyle{ E }[/math] defined over [math]\displaystyle{ \mathbb{F}_{q} }[/math] we consider points on [math]\displaystyle{ E }[/math] over [math]\displaystyle{ \bar{\mathbb{F}}_{q} }[/math], the algebraic closure of [math]\displaystyle{ \mathbb{F}_{q} }[/math]; i.e. we allow points with coordinates in [math]\displaystyle{ \bar{\mathbb{F}}_{q} }[/math]. The Frobenius endomorphism of [math]\displaystyle{ \bar{\mathbb{F}}_{q} }[/math] over [math]\displaystyle{ \mathbb{F}_q }[/math] extends to the elliptic curve by [math]\displaystyle{ \phi : (x, y) \mapsto (x^{q}, y^{q}) }[/math].

This map is the identity on [math]\displaystyle{ E(\mathbb{F}_{q}) }[/math] and one can extend it to the point at infinity [math]\displaystyle{ O }[/math], making it a group morphism from [math]\displaystyle{ E(\bar{\mathbb{F}_{q}}) }[/math] to itself.

The Frobenius endomorphism satisfies a quadratic polynomial which is linked to the cardinality of [math]\displaystyle{ E(\mathbb{F}_{q}) }[/math] by the following theorem:

Theorem: The Frobenius endomorphism given by [math]\displaystyle{ \phi }[/math] satisfies the characteristic equation

[math]\displaystyle{ \phi ^2 - t\phi + q = 0, }[/math] where [math]\displaystyle{ t = q + 1 - \# E(\mathbb{F}_q) }[/math]

Thus we have for all [math]\displaystyle{ P=(x, y) \in E }[/math] that [math]\displaystyle{ (x^{q^{2}}, y^{q^{2}} ) + q(x, y) = t(x^{q}, y^{q}) }[/math], where + denotes addition on the elliptic curve and [math]\displaystyle{ q(x,y) }[/math] and [math]\displaystyle{ t(x^{q},y^{q}) }[/math] denote scalar multiplication of [math]\displaystyle{ (x,y) }[/math] by [math]\displaystyle{ q }[/math] and of [math]\displaystyle{ (x^{q},y^{q}) }[/math] by [math]\displaystyle{ t }[/math].

One could try to symbolically compute these points [math]\displaystyle{ (x^{q^{2}}, y^{q^{2}}) }[/math], [math]\displaystyle{ (x^{q}, y^{q}) }[/math] and [math]\displaystyle{ q(x, y) }[/math] as functions in the coordinate ring [math]\displaystyle{ \mathbb{F}_{q}[x,y]/(y^{2}-x^{3}-Ax-B) }[/math] of [math]\displaystyle{ E }[/math] and then search for a value of [math]\displaystyle{ t }[/math] which satisfies the equation. However, the degrees get very large and this approach is impractical.

Schoof's idea was to carry out this computation restricted to points of order [math]\displaystyle{ l }[/math] for various small primes [math]\displaystyle{ l }[/math]. Fixing an odd prime [math]\displaystyle{ l }[/math], we now move on to solving the problem of determining [math]\displaystyle{ t_{l} }[/math], defined as [math]\displaystyle{ t \pmod l }[/math], for a given prime [math]\displaystyle{ l \neq 2, p }[/math]. If a point [math]\displaystyle{ (x, y) }[/math] is in the [math]\displaystyle{ l }[/math]-torsion subgroup [math]\displaystyle{ E[l]=\{P\in E(\bar{\mathbb{F}_{q}}) \mid lP=O \} }[/math], then [math]\displaystyle{ qP = \bar{q}P }[/math] where [math]\displaystyle{ \bar{q} }[/math] is the unique integer such that [math]\displaystyle{ q \equiv \bar{q} \pmod l }[/math] and [math]\displaystyle{ \mid \bar{q} \mid\lt l/2 }[/math]. Note that [math]\displaystyle{ \phi(O) = O }[/math] and that for any integer [math]\displaystyle{ r }[/math] we have [math]\displaystyle{ r\phi (P) = \phi (rP) }[/math]. Thus [math]\displaystyle{ \phi (P) }[/math] will have the same order as [math]\displaystyle{ P }[/math]. Thus for [math]\displaystyle{ (x, y) }[/math] belonging to [math]\displaystyle{ E[l] }[/math], we also have [math]\displaystyle{ t(x^{q}, y^{q})= \bar{t}(x^{q}, y^{q}) }[/math] if [math]\displaystyle{ t \equiv \bar{t} \pmod l }[/math]. Hence we have reduced our problem to solving the equation

[math]\displaystyle{ (x^{q^{2}}, y^{q^{2}}) + \bar{q}(x, y) \equiv \bar{t}(x^{q}, y^{q}), }[/math]

where [math]\displaystyle{ \bar{t} }[/math] and [math]\displaystyle{ \bar{q} }[/math] have integer values in [math]\displaystyle{ [-(l-1)/2,(l-1)/2] }[/math].

Computation modulo primes

The lth division polynomial is such that its roots are precisely the x coordinates of points of order l. Thus, to restrict the computation of [math]\displaystyle{ (x^{q^{2}}, y^{q^{2}}) + \bar{q}(x, y) }[/math] to the l-torsion points means computing these expressions as functions in the coordinate ring of E and modulo the lth division polynomial. I.e. we are working in [math]\displaystyle{ \mathbb{F}_{q}[x,y]/(y^{2}-x^{3}-Ax-B, \psi_{l}) }[/math]. This means in particular that the degree of X and Y defined via [math]\displaystyle{ (X(x,y),Y(x,y)):=(x^{q^{2}}, y^{q^{2}}) + \bar{q}(x, y) }[/math] is at most 1 in y and at most [math]\displaystyle{ (l^2-3)/2 }[/math] in x.

The scalar multiplication [math]\displaystyle{ \bar{q}(x, y) }[/math] can be done either by double-and-add methods or by using the [math]\displaystyle{ \bar{q} }[/math]th division polynomial. The latter approach gives:

[math]\displaystyle{ \bar{q} (x,y) = (x_{\bar{q}},y_{\bar{q}}) = \left( x - \frac {\psi_{\bar{q}-1} \psi_{\bar{q}+1}}{\psi^{2}_{\bar{q}}}, \frac{\psi_{2\bar{q}}}{2\psi^{4}_{\bar{q}}} \right) }[/math]

where [math]\displaystyle{ \psi_{n} }[/math] is the nth division polynomial. Note that [math]\displaystyle{ y_{\bar{q}}/y }[/math] is a function in x only and denote it by [math]\displaystyle{ \theta(x) }[/math].

We must split the problem into two cases: the case in which [math]\displaystyle{ (x^{q^{2}}, y^{q^{2}}) \neq \pm \bar{q}(x, y) }[/math], and the case in which [math]\displaystyle{ (x^{q^{2}}, y^{q^{2}}) = \pm \bar{q}(x, y) }[/math]. Note that these equalities are checked modulo [math]\displaystyle{ \psi_l }[/math].

Case 1: [math]\displaystyle{ (x^{q^{2}}, y^{q^{2}}) \neq \pm \bar{q}(x, y) }[/math]

By using the addition formula for the group [math]\displaystyle{ E(\mathbb{F}_{q}) }[/math] we obtain:

[math]\displaystyle{ X(x,y) = \left( \frac{y^{q^{2}} - y_{\bar{q}}}{x^{q^{2}} - x_{\bar{q}}} \right) ^{2} - x^{q^{2}} - x_{\bar{q}}. }[/math]

Note that this computation fails in case the assumption of inequality was wrong.

We are now able to use the x-coordinate to narrow down the choice of [math]\displaystyle{ \bar{t} }[/math] to two possibilities, namely the positive and negative case. Using the y-coordinate one later determines which of the two cases holds.

We first show that X is a function in x alone. Consider [math]\displaystyle{ (y^{q^{2}} - y_{\bar{q}})^{2}=y^{2}(y^{q^{2}-1}-y_{\bar{q}}/y)^{2} }[/math]. Since [math]\displaystyle{ q^{2}-1 }[/math] is even, by replacing [math]\displaystyle{ y^{2} }[/math] by [math]\displaystyle{ x^3+Ax+B }[/math], we rewrite the expression as

[math]\displaystyle{ (x^3+Ax+B)((x^3+Ax+B)^{\frac{q^{2}-1}{2}}-\theta(x)) }[/math]

and have that

[math]\displaystyle{ X(x)\equiv (x^3+Ax+B)((x^3+Ax+B)^{\frac{q^{2}-1}{2}}-\theta(x))\bmod \psi_l(x). }[/math]

Here, it seems not right, we throw away [math]\displaystyle{ x^{q^{2}}-x_{\bar{q}} }[/math]?

Now if [math]\displaystyle{ X \equiv x^{q} _ {\bar{t}}\bmod \psi_l(x) }[/math] for one [math]\displaystyle{ \bar{t}\in [0,(l-1)/2] }[/math] then [math]\displaystyle{ \bar{t} }[/math] satisfies

[math]\displaystyle{ \phi ^{2}(P) \mp \bar{t} \phi(P) + \bar{q}P = O }[/math]

for all l-torsion points P.

As mentioned earlier, using Y and [math]\displaystyle{ y_{\bar{t}}^{q} }[/math] we are now able to determine which of the two values of [math]\displaystyle{ \bar{t} }[/math] ([math]\displaystyle{ \bar{t} }[/math] or [math]\displaystyle{ -\bar{t} }[/math]) works. This gives the value of [math]\displaystyle{ t\equiv \bar{t}\pmod l }[/math]. Schoof's algorithm stores the values of [math]\displaystyle{ \bar{t}\pmod l }[/math] in a variable [math]\displaystyle{ t_l }[/math] for each prime l considered.

Case 2: [math]\displaystyle{ (x^{q^{2}}, y^{q^{2}}) = \pm \bar{q}(x, y) }[/math]

We begin with the assumption that [math]\displaystyle{ (x^{q^{2}}, y^{q^{2}}) = \bar{q}(x, y) }[/math]. Since l is an odd prime it cannot be that [math]\displaystyle{ \bar{q}(x, y)=-\bar{q}(x, y) }[/math] and thus [math]\displaystyle{ \bar{t}\neq 0 }[/math]. The characteristic equation yields that [math]\displaystyle{ \bar{t} \phi(P) = 2\bar{q} P }[/math]. And consequently that [math]\displaystyle{ \bar{t}^{2}\bar{q} \equiv (2q)^{2} \pmod l }[/math]. This implies that q is a square modulo l. Let [math]\displaystyle{ q \equiv w^{2} \pmod l }[/math]. Compute [math]\displaystyle{ w\phi(x,y) }[/math] in [math]\displaystyle{ \mathbb{F}_{q}[x,y]/(y^{2}-x^{3}-Ax-B, \psi_{l}) }[/math] and check whether [math]\displaystyle{ \bar{q}(x, y)=w\phi(x,y) }[/math]. If so, [math]\displaystyle{ t_{l} }[/math] is [math]\displaystyle{ \pm 2w \pmod l }[/math] depending on the y-coordinate.

If q turns out not to be a square modulo l or if the equation does not hold for any of w and [math]\displaystyle{ -w }[/math], our assumption that [math]\displaystyle{ (x^{q^{2}}, y^{q^{2}}) = +\bar{q}(x, y) }[/math] is false, thus [math]\displaystyle{ (x^{q^{2}}, y^{q^{2}}) = - \bar{q}(x, y) }[/math]. The characteristic equation gives [math]\displaystyle{ t_l=0 }[/math].

Additional case [math]\displaystyle{ l = 2 }[/math]

If you recall, our initial considerations omit the case of [math]\displaystyle{ l = 2 }[/math]. Since we assume q to be odd, [math]\displaystyle{ q + 1 - t \equiv t \pmod 2 }[/math] and in particular, [math]\displaystyle{ t_{2} \equiv 0 \pmod 2 }[/math] if and only if [math]\displaystyle{ E(\mathbb{F}_{q}) }[/math] has an element of order 2. By definition of addition in the group, any element of order 2 must be of the form [math]\displaystyle{ (x_{0}, 0) }[/math]. Thus [math]\displaystyle{ t_{2} \equiv 0 \pmod 2 }[/math] if and only if the polynomial [math]\displaystyle{ x^{3} + Ax + B }[/math] has a root in [math]\displaystyle{ \mathbb{F}_{q} }[/math], if and only if [math]\displaystyle{ \gcd(x^{q}-x, x^{3} + Ax + B)\neq 1 }[/math].

The algorithm

    Input:
        1. An elliptic curve [math]\displaystyle{ E = y^{2}-x^{3}-Ax-B }[/math].
        2. An integer q for a finite field [math]\displaystyle{ F_q }[/math] with [math]\displaystyle{ q=p^{b}, b \ge 1 }[/math].
    Output:
        The number of points of E over [math]\displaystyle{ F_q }[/math].
    Choose a set of odd primes S not containing p such that [math]\displaystyle{ N=\prod_{l\in S} l \gt  4\sqrt{q}. }[/math]
    Put [math]\displaystyle{ t_2=0 }[/math] if [math]\displaystyle{ \gcd(x^{q}-x, x^{3} + Ax + B)\neq 1 }[/math], else [math]\displaystyle{ t_2=1 }[/math].
    Compute the division polynomial [math]\displaystyle{ \psi_l }[/math]. 
    All computations in the loop below are performed in the ring [math]\displaystyle{ \mathbb{F}_{q}[x,y]/(y^{2}-x^{3}-Ax-B, \psi_{l}). }[/math]
    For [math]\displaystyle{ l \in S }[/math] do:
        Let [math]\displaystyle{ \bar{q} }[/math] be the unique integer such that  [math]\displaystyle{ q \equiv \bar{q}  \pmod l }[/math] and [math]\displaystyle{ \mid \bar{q} \mid\lt  l/2 }[/math].
        Compute [math]\displaystyle{ (x^{q}, y^{q}) }[/math], [math]\displaystyle{ (x^{q^{2}}, y^{q^{2}}) }[/math] and [math]\displaystyle{ (x_{\bar{q}},y_{\bar{q}}) }[/math].   
        if [math]\displaystyle{ x^{q^{2}}\neq x_{\bar{q}} }[/math] then
            Compute [math]\displaystyle{ (X,Y) }[/math].
            for [math]\displaystyle{ 1\leq \bar{t} \leq (l-1)/2 }[/math] do:
                if [math]\displaystyle{ X = x^{q} _ {\bar{t}} }[/math] then
                    if [math]\displaystyle{ Y = y^{q} _ {\bar{t}} }[/math] then
                        [math]\displaystyle{ t_{l}=\bar{t} }[/math];
                    else
                        [math]\displaystyle{ t_{l}=-\bar{t} }[/math].
        else if q is a square modulo l then
            compute w with [math]\displaystyle{ q\equiv w^{2} \pmod l }[/math]
            compute [math]\displaystyle{ w(x^{q}, y^{q}) }[/math]
            if [math]\displaystyle{ w(x^{q}, y^{q})=(x^{q^{2}}, y^{q^{2}}) }[/math] then
                [math]\displaystyle{ t_l=2w }[/math]
            else if [math]\displaystyle{ w(x^{q}, y^{q})=(x^{q^{2}}, -y^{q^{2}}) }[/math] then
                [math]\displaystyle{ t_l=-2w }[/math]
            else
                [math]\displaystyle{ t_{l}=0 }[/math]
        else
            [math]\displaystyle{ t_{l}=0 }[/math]
    Use the Chinese Remainder Theorem to compute t modulo N
        from the equations [math]\displaystyle{ t \equiv t_{l} \pmod l }[/math], where [math]\displaystyle{ l \in S }[/math].
    Output [math]\displaystyle{ q+1-t }[/math].

Complexity

Most of the computation is taken by the evaluation of [math]\displaystyle{ \phi(P) }[/math] and [math]\displaystyle{ \phi^{2}(P) }[/math], for each prime [math]\displaystyle{ l }[/math], that is computing [math]\displaystyle{ x^q }[/math], [math]\displaystyle{ y^q }[/math], [math]\displaystyle{ x^{q^2} }[/math], [math]\displaystyle{ y^{q^2} }[/math] for each prime [math]\displaystyle{ l }[/math]. This involves exponentiation in the ring [math]\displaystyle{ R = \mathbb{F}_{q}[x, y]/ (y^2-x^3-Ax-B, \psi_l) }[/math] and requires [math]\displaystyle{ O(\log q) }[/math] multiplications. Since the degree of [math]\displaystyle{ \psi_l }[/math] is [math]\displaystyle{ \frac{l^2-1}{2} }[/math], each element in the ring is a polynomial of degree [math]\displaystyle{ O(l^2) }[/math]. By the prime number theorem, there are around [math]\displaystyle{ O(\log q) }[/math] primes of size [math]\displaystyle{ O(\log q) }[/math], giving that [math]\displaystyle{ l }[/math] is [math]\displaystyle{ O(\log q) }[/math] and we obtain that [math]\displaystyle{ O(l^2) = O(\log^2q) }[/math]. Thus each multiplication in the ring [math]\displaystyle{ R }[/math] requires [math]\displaystyle{ O(\log^4 q) }[/math] multiplications in [math]\displaystyle{ \mathbb{F}_{q} }[/math] which in turn requires [math]\displaystyle{ O(\log^2 q) }[/math] bit operations. In total, the number of bit operations for each prime [math]\displaystyle{ l }[/math] is [math]\displaystyle{ O(\log^7 q) }[/math]. Given that this computation needs to be carried out for each of the [math]\displaystyle{ O(\log q) }[/math] primes, the total complexity of Schoof's algorithm turns out to be [math]\displaystyle{ O(\log^8 q) }[/math]. Using fast polynomial and integer arithmetic reduces this to [math]\displaystyle{ \tilde{O}(\log^5 q) }[/math].

Improvements to Schoof's algorithm

Main page: Schoof–Elkies–Atkin algorithm

In the 1990s, Noam Elkies, followed by A. O. L. Atkin, devised improvements to Schoof's basic algorithm by restricting the set of primes [math]\displaystyle{ S = \{l_1, \ldots, l_s\} }[/math] considered before 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, which come from the study of modular forms and an interpretation of elliptic curves over the complex numbers as lattices. Once we have determined which case we are in, instead of using division polynomials, we are able to work with a polynomial that has lower degree than the corresponding division polynomial: [math]\displaystyle{ O(l) }[/math] rather than [math]\displaystyle{ O(l^2) }[/math]. For efficient implementation, probabilistic root-finding algorithms are used, which makes this a Las Vegas algorithm rather than a deterministic algorithm. Under the heuristic assumption that approximately half of the primes up to an [math]\displaystyle{ O(\log q) }[/math] bound are Elkies primes, this yields an algorithm that is more efficient than Schoof's, with an expected running time of [math]\displaystyle{ O(\log^6 q) }[/math] using naive arithmetic, and [math]\displaystyle{ \tilde{O}(\log^4 q) }[/math] using fast arithmetic. Although this heuristic assumption is known to hold for most elliptic curves, it is not known to hold in every case, even under the GRH.

Implementations

Several algorithms were implemented in C++ by Mike Scott and are available with source code. The implementations are free (no terms, no conditions), and make use of the MIRACL library which is distributed under the AGPLv3.

  • Schoof's algorithm implementation for [math]\displaystyle{ E(\mathbb{F}_p) }[/math] with prime [math]\displaystyle{ p }[/math].
  • Schoof's algorithm implementation for [math]\displaystyle{ E(\mathbb{F}_{2^m}) }[/math].

See also

References

  • R. Schoof: Elliptic Curves over Finite Fields and the Computation of Square Roots mod p. Math. Comp., 44(170):483–494, 1985. Available at http://www.mat.uniroma2.it/~schoof/ctpts.pdf
  • R. Schoof: Counting Points on Elliptic Curves over Finite Fields. J. Theor. Nombres Bordeaux 7:219–254, 1995. Available at http://www.mat.uniroma2.it/~schoof/ctg.pdf
  • G. Musiker: Schoof's Algorithm for Counting Points on [math]\displaystyle{ E(\mathbb{F}_{q}) }[/math]. Available at http://www.math.umn.edu/~musiker/schoof.pdf
  • V. Müller : Die Berechnung der Punktanzahl von elliptischen kurven über endlichen Primkörpern. Master's Thesis. Universität des Saarlandes, Saarbrücken, 1991. Available at http://lecturer.ukdw.ac.id/vmueller/publications.php
  • A. Enge: Elliptic Curves and their Applications to Cryptography: An Introduction. Kluwer Academic Publishers, Dordrecht, 1999.
  • L. C. Washington: Elliptic Curves: Number Theory and Cryptography. Chapman & Hall/CRC, New York, 2003.
  • N. Koblitz: A Course in Number Theory and Cryptography, Graduate Texts in Math. No. 114, Springer-Verlag, 1987. Second edition, 1994