arXiv:2610.01924math.NTOct 2026

Manuscript Offprint

arXiv:2610.01924

Supersingularity and Superspeciality Verification of Abelian Surfaces

Maria Corte-Real Santos, Gioella Lorenzon, Krijn Reijnders

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Maria Corte-Real Santos 1^{1}, Gioella Lorenzon 2^{2}, and Krijn Reijnders 2^{2}

1^{1} École Normale Supérieure de Lyon, CNRS

2^{2} COSIC, KU Leuven

Abstract. Supersingular abelian surfaces are essential in isogeny-based cryptography. Despite this, we have no efficient algorithm to verify if a given abelian surface is supersingular. In this work, we initiate this research topic by giving an efficient Monte Carlo algorithm to verify if an abelian surface over Fp\mathbb{F}_p is supersingular in O(log⁡p)O(\log p) with negligible failure probability, and an efficient conclusive algorithm if the order is smooth. We derive this algorithm by a careful analysis on the structure of supersingular Jacobians over Fp\mathbb{F}_p. Furthermore, we derive efficient algorithms to verify if an abelian variety of any dimension is minimal or maximal, and to verify if a Jacobian of any dimension is superspecial.

Keywords: post-quantum cryptography, isogenies, Jacobians, supersingularity

1 Introduction

Since the spectacular break of SIDH/SIKE [10, 25, 33], higher-dimensional techniques have revolutionized isogeny-based cryptography. Modern protocols, such as the signature schemes SQIsign [1] and PRISM [3], the NIKE MIKE [35], or the KEM POKÉ [5] heavily rely on higher-dimensional isogenies for both performance and small sizes. Abelian varieties of dimension g>1g > 1 have therefore become fundamental objects in isogeny-based cryptography. More precisely, such protocols rely on supersingular principally polarized abelian varieties, and often even the more restricted superspecial principally polarized abelian varieties. With recent developments, such as the module action framework [4, 35] or the Shimura class group action on abelian surfaces [11], validating supersingularity becomes crucial to security. This can be seen as the higher-dimensional equivalent of public key validation in CSIDH [12], where omitting key validation would introduce a significant attack vector for an adversary.

Supersingular elliptic curves. Supersingularity verification of elliptic curves has been studied extensively in both mathematical and cryptographic literature. Sutherland [42] initiated this study by describing a Monte Carlo test for elliptic curves over Fp\mathbb{F}_p and Fp2\mathbb{F}_{p^2}: take a random point P∈E(Fq)P \in E(\mathbb{F}_q) and check if [p]P=±P[p]P = \pm P. The probability of a false positive is O(q−12)O(q^{-\frac{1}{2}}) and therefore suitable for almost all cryptographic purposes, where qq is large.

Maria Corte-Real Santos, Gioella Lorenzon, and Krijn Reijnders

Nevertheless, such a test does not conclusively prove that a curve is supersingular. To do so, Sutherland describes an algorithm based on the depth of isogeny volcanoes. In CSIDH [12], the supersingularity test is instead performed by verifying that the order of a random point is larger than 4p4\sqrt{p}, which, by the bound on width of the Hasse-Weil interval, proves that the order of the curve is p+1p+1, and therefore the curve is supersingular. dCSIDH [8] optimizes this approach for primes pp where 2f∣p+12^f \mid p+1 with f>12log⁡pf > \frac{1}{2} \log p, e.g., most primes used in current-day isogeny-based cryptography. Doliskani [18] describes an algorithm based on polynomial identity testing to establish supersingularity, which uses the fact that the pp-th division polynomial ψp(x)\psi_p(x) is precisely ±1\pm 1 for supersingular curves, as these have pp-rank 0. Banegas, Gilchrist, and Smith [2] give an in-depth performance comparison between these algorithms, and reinterpret Doliskani's test using Montgomery arithmetic, for which Robert [34] gives a reinterpretation as a self-pairing using cubical arithmetic. Lastly, in [31], pairings are used to optimize the verification of the order of the curve, moving much of the computational cost from curve arithmetic to field arithmetic.

Supersingular and superspecial abelian surfaces. Moving up in dimension, there is no single analogue of supersingularity. Instead, there are several inequivalent generalizations organized by the Ekedahl–Oort stratification. As a leading example in dimension 2, supersingularity for elliptic curves may be generalized as either supersingularity of an abelian surface, or the more specific notion of superspeciality. The latter property is often the right generalization for cryptographic purposes. Although literature exists which studies this classification of abelian varieties in this stratification, we are not aware of literature addressing the specific question of efficiently verifying the supersingularity and superspeciality of abelian surfaces over a finite field. To the best of our knowledge, the best known methods to verify such results depend on point-counting algorithms or L-polynomial computations, which are prohibitively slow for the large primes used in isogeny-based cryptography. In this work, we present an efficient algorithm for supersingularity testing of abelian surfaces over FpF_p. We furthermore study the question of minimality and maximality of abelian varieties, which allows us to efficiently verify superspeciality of Jacobians over FpF_p and Fp2F_{p^2}.

Key Example. We demonstrate the core idea of our simple and efficient probabilistic verification with the following key example, in which we verify minimality or maximality of an abelian variety. This property implies superspeciality, and therefore supersingularity [22, Thm. 5.3].

Algorithm 1 Let A be an abelian surface over Fp2\mathbb{F}_{p^2}. Let P \xleftarrow{\} A(Fp2)A(\mathbb{F}_{p^2}).

  • If [p+1]P=0A[p+1]P = \mathbf{0}_A, return true.

  • Otherwise, return false.

The algorithm for minimal abelian surfaces replaces p+1p+1 by p−1p-1. The probability of a false positive is O(p−1)O(p^{-1}), and is thus negligibly small for large primes.

This follows from what we call the width-bound argument, used by Sutherland for elliptic curves [42]. In Theorem 4.1, we generalize this argument to abelian varieties. However, this algorithm only works for minimal and maximal varieties, whereas general supersingularity testing is much more complicated. Already for the cases of abelian surfaces over Fp\mathbb{F}_p, we require a deeper understanding of the group structures of supersingular abelian surfaces and their twists. Furthermore, the above algorithm can never conclusively prove that an abelian surface is supersingular or even superspecial, which requires additional understanding of the isotropic subgroups of abelian surfaces.

Contributions. We provide the first practical polynomial time supersingularity and superspeciality verification algorithms for abelian surfaces over FpF_{p}. We develop both probabilistic and conclusive algorithms.

  1. In Section 3, we analyze the structure of supersingular and superspecial Jacobians over Fp\mathbb{F}_p, resulting in three key results:

(a) Theorem 3.12, which describes the possible orders of supersingular Jacobians over Fp2\mathbb{F}_{p^{2}};

(b) Table 3, giving the group structures of supersingular Jacobians over Fp\mathbb{F}_p;

(c) Theorem 3.26, which classifies superspecial Jacobians using the automorphism group of the associated genus-2 curve.

These results underlie both the probabilistic and conclusive testing.

  1. In Section 4, we derive algorithms for probabilistic verification of extremality, supersingularity and superspeciality of abelian surfaces.

(a) In Algorithm 2 and Theorem 4.1, we generalize Algorithm 1 to verify minimality and maximality of an abelian variety of any dimension.

(b) Using Theorem 3.26 we construct Algorithm 3, an efficient algorithm for testing superspeciality of Jacobians over Fp\mathbb{F}_p. Its correctness and runtime are proved in Theorem 4.2. We show a similar result for superspecial Jacobians over Fp2\mathbb{F}_{p^2} in Appendix B.

(c) In Algorithm 4 we give a O(log⁡p)O(\log p) Monte Carlo supersingularity test for abelian surfaces over FpF_p, with all arithmetic performed over FpF_p. Its correctness and runtime are based on Theorem 4.7.

  1. In Section 5, we derive algorithms for conclusive verification of supersingularity for abelian surfaces over Fp\mathbb{F}_p, summarized in Corollaries 5.5 and 5.10. We furthermore analyze the factorization and discrete logarithm requirements for these algorithms, and specialize to a case of specific cryptographic interest, i.e. when 2f∣p+12^f \mid p + 1, with ff close to log⁡p\log p.

We give an overview of all verification algorithms in this work in Table 1 (probabilistic tests) and Table 2 (conclusive tests), listing the setting in which each algorithm applies, its complexity, and either its failure probability or its structural requirements. We implemented these algorithms in Magma, and benchmark their performance in Section 6. The code is available at the following repository,

https://github.com/KULeuven-COSIC/supersingularity-and-superspeciality.

Maria Corte-Real Santos, Gioella Lorenzon, and Krijn Reijnders

Table 1: Overview of probabilistic (Monte Carlo) verification algorithms in this work. Complexities count field operations in the stated field, and q=pq = p or p2p^2.

AlgorithmVerifiesVarietyComplexityFalse pos.
Algorithm 1maximalityA/Fp2A/\mathbb{F}_{p^{2}}O(log⁡p)O(\log p)O(p−1)O(p^{-1})
Algorithm 2maximalityA/Fq, any gA/\mathbb{F}_{q},\ \text{any } gO(log⁡p)O(\log p)O(p−1)O(p^{-1})
Algorithm 3superspecialityJ/Fq, any g\mathcal{J}/\mathbb{F}_{q},\ \text{any } gO(glog⁡p)O(g\log p)O((g−1)p−1)O((g-1)p^{-1})
Algorithm 4supersingularityA/FpA/\mathbb{F}_{p}O(log⁡p)O(\log p)O(p−1/2)O(p^{-1/2})

Table 2: Overview of conclusive verification algorithms in this work. In the first three rows, n=p2−bp+1n = p^2 - bp + 1 for b∈{−1,0,1}b \in \{-1, 0, 1\} and n=p∓1n = p \mp 1 for b=±2b = \pm 2, and ω(n)\omega(n) is the number of distinct prime factors of nn. We assume the factorization of nn is known. Complexities count field operations in the stated field.

AlgorithmVerifiesSettingComplexityRequirements
Corollary 5.5supersing.b=2 over Fpb = 2\ \text{over} \ \mathbb{F}_pO(log⁡ω(n) log⁡p)O(\log \omega(n)\ \log p)factorization of nn
Corollary 5.5supersing.b=−2 over Fpb = -2\ \text{over} \ \mathbb{F}_pO(log⁡ω(n) log⁡p)O(\log \omega(n)\ \log p)DLog in μp+1\text{DLog in } \mu_{p+1}
Corollary 5.10supersing.b∈{−1,0,1} over Fpb \in \{-1, 0, 1\} \text{ over } \mathbb{F}_pO(log⁡ω(n) log⁡p)O(\log \omega(n)\ \log p)works over Fpk\mathbb{F}_{p^k}
Lemma 5.15supersing.b=±2 over Fpb = \pm 2\ \text{over} \ \mathbb{F}_pO(log⁡p)O(\log p)p=c⋅2f±1p = c \cdot 2^f \pm 1
Algorithm 5maximalityb=−2 over Fp2b = -2\ \text{over} \ \mathbb{F}_{p^2}O(log⁡p)O(\log p)DLog in μp+1\text{DLog in } \mu_{p+1}
Lemma 5.16maximalityb=−2 over Fp2b = -2\ \text{over} \ \mathbb{F}_{p^2}O(log⁡p)O(\log p)p=c⋅2f−1p = c \cdot 2^f - 1

Some of this work is phrased using Jacobians, representing principally polarized abelian surfaces that are neither products nor Weil restrictions. However, in practice we need fairly little machinery to apply our algorithms: the probabilistic algorithms rely only on uniform random sampling and scalar multiplication, whereas the conclusive algorithms additionally require pairing computations and discrete logarithms. Our conventions and the role of the principal polarization are detailed in Section 2.

Related Work. The task of verifying supersingularity or superspeciality in dimension 2 fits into the much more general task of classifying curves and principally polarized abelian varieties according to their pp-rank. This is called the Ekedahl–Oort stratification [28], and has been widely studied (see, e.g., [17, 27]).

In dimension 2, one may directly detect supersingularity by computing the LL-polynomial of the abelian surface or, equivalently, the characteristic polynomial of Frobenius. Methods to do so often rely on generalizations of Schoof-like algorithms to determine the number of points on a curve or variety. Most directly applicable is the Schoof–Pila algorithm [29], and subsequent improvements [20, 24]. Of particular interest to this work is the article by Shi [39] on lifting LL-polynomials of genus-2 curves. For superspeciality, the most well-known approach relies on computation of the Cartier-Manin or Hasse-Witt matrix, which also allows one to verify supersingularity. In Section 6, we compare these approaches to the algorithms given in this work.

Acknowledgements. This work is supported by the European Research Council under grant No. 101116169 (AGATHA CRYPTO), under the European Union's Horizon 2020 research and innovation programme (grant agreement ISOCRYPT – No. 101020788), by the Research Council KU Leuven grant C14/24/099 and by CyberSecurity Research Flanders with reference number VOEWICS02. The second-listed author is additionally supported by the Fonds voor Wetenschappelijk Onderzoek (FWO) under grant number 1139225N.

References (46)