On the success probability of the quantum algorithm for the short DLP
Martin Ekerå
TL;DR
The paper provides a formal, rigorous bound on the single-run success probability of Ekerå–Håstad's quantum algorithm for the short discrete logarithm in unknown-order groups, showing it can reach $1 - 10^{-10}$ with a practical classical post-processing step. It achieves this via a lattice-based approach to post-processing, introducing a $\tau$-good pair and a balanced two-dimensional lattice $\mathcal{L}^\tau(j)$, and leveraging a meet-in-the-middle enumeration to bound the cost by $O(\sqrt{N})$ group operations with $N = 2^{\Delta+\tau+1} + 2^{\tau+t+2} + 2$. The main contributions are probabilistic bounds for observing $\tau$-good pairs, $t$-balanced lattices, and an explicit upper bound on enumeration, which together guarantee a polynomial-time post-processing that scales well with the bit-length $m$ of the short exponent. The results apply to Diffie–Hellman in safe-prime groups with short exponents and to RSA via reductions to short DLP, enabling tighter practical security assessments for quantum attacks and offering concrete quantum-classical tradeoffs for implementation.
Abstract
Ekerå and Håstad have introduced a variation of Shor's algorithm for the discrete logarithm problem (DLP). Unlike Shor's original algorithm, Ekerå-Håstad's algorithm solves the short DLP in groups of unknown order. In this work, we prove a lower bound on the probability of Ekerå-Håstad's algorithm recovering the short logarithm $d$ in a single run. By our bound, the success probability can easily be pushed as high as $1 - 10^{-10}$ for any short $d$. A key to achieving such a high success probability is to efficiently perform a limited search in the classical post-processing by leveraging meet-in-the-middle techniques. Asymptotically, in the limit as the bit length $m$ of $d$ tends to infinity, the success probability tends to one if the limits on the search space are parameterized in $m$. Our results are directly applicable to Diffie-Hellman in safe-prime groups with short exponents, and to RSA via a reduction from the RSA integer factoring problem (IFP) to the short DLP.
