cronokirby

(2026-02) Fast cube roots in Fp2 via the algebraic torus

2026-02-25

Abstract

Computing cube roots in quadratic extensions of finite fields is a subroutine that arises in elliptic-curve point decompression, hash-to-curve and isogeny-based protocols. We present a new algorithm that, for p1(mod3)p \equiv 1 \pmod{3} –which holds in all settings where Fp2\mathbb{F}_{p^2} cube roots arise in practice– reduces the Fp2\mathbb{F}_{p^2} cube root to operations entirely in the base field Fp\mathbb{F}_p via the algebraic torus T2(Fp)\mathbb{T}_2(\mathbb{F}_p) and Lucas sequences. We prove correctness in all residuosity cases and implement the algorithm using the gnark-crypto\texttt{gnark-crypto} open-source library. Benchmarks on six primes spanning pairing-based and isogeny-based cryptography show 1.61.62.3×2.3\times speed-ups over direct (addition chain) exponentiations in Fp2\mathbb{F}_{p^2}. We also extend the approach to p2(mod3)p \equiv 2 \pmod{3} and, more generally, to any odd nn-th roots in quadratic towers Fp2k\mathbb{F}_{p^{2^k}} with \gcd(n,p+1)=1\gcd(n, p+1) = 1.