arXiv:2610.20537quant-phOct 2026

Manuscript Offprint

arXiv:2610.20537

Quantum-Aware Key Rank for Side-Channel Attacks evaluation

Yevgen Kotukh

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Yevgen Kotukh

Abstract. Side-channel attacks on block-cipher implementations rarely recover the key outright; they leave a residual key space ordered by subkey posteriors, and evaluation laboratories report the true key's position in that ordering, its key rank, against thresholds near 2482^{48} and 2602^{60}. No evaluation framework models an adversary who collects traces classically and finishes the search on a quantum computer, although quantum search with advice provides exactly that. We give such an adversary a cost model and a metric. For a device whose key has rank r, we prove that any quantum algorithm with classical access to the posteriors needs Ω(r)\Omega(\sqrt{r}) cipher evaluations and that block search achieves O(r)O(\sqrt{r}): the per-instance advantage is exactly quadratic. The super-quadratic exponents recently reported for search with advice are averages over the prior and do not apply to any single device; we show both statements are consistent. Second, under NIST's MAXDEPTH depth budget D and a Grover iteration of g gates and depth d, the quadratic advantage holds only for ranks up to (4D/πd)2(4D/\pi d)^2 and collapses to a constant factor 16cclD/(π2gd)16c_{\mathrm{cl}}D/(\pi^2gd) beyond; with the best published AES-128 oracle and D=240D = 2^{40} the window closes near rank 258.62^{58.6}. Third, we define the quantum-aware key rank, the classical rank of equal cost, computable from the rank estimators laboratories already run, and derive the classical rank a device must retain to keep a given threshold against each depth budget. Fourth, we compare the two ways of using the posteriors, block search and amplitude amplification from the product-form posterior state, and show that on Hamming-weight posteriors they are within a factor of two to four of each other, so that the cost of coherent indexing decides between them. Experiments on simulated leakage and a toy cipher confirm the predicted window: at SNR 0.125 a depth-limited quantum adversary is worth about 22 traces to a classical one, however large its gate budget.

Introduction

This section states the problem, fixes the adversary we consider, and lists the five contributions with forward pointers to the sections that establish them.

A side-channel attack on a block-cipher implementation rarely recovers the key outright. Correlation power analysis (CPA) or template attacks return, for each subkey byte, a score or posterior distribution; the true key is then one candidate among many, and its position in the resulting ordering is its key rank. Evaluation laboratories treat the rank as the residual security of the device: optimal-order enumeration is practical up to roughly 2402^{40} candidates [1], parallel and histogram-based enumeration extend this to the 250−2602^{50}-2^{60} range depending on infrastructure [2; 3], and rank estimation bounds the rank even when enumeration is out of reach [4; 5; 6]. A commonly stated rule of thumb is that a rank below about 2482^{48} counts as a full break and that a well-resourced adversary can enumerate up to about 2602^{60} [7].

None of the frameworks that govern side-channel evaluation—the JIL attack-potential rating for smartcards [8], ISO/IEC 17825 [9], or the FIPS 140-3 test suite—models an adversary who, after collecting traces classically, performs the remaining enumeration on a quantum computer. The ingredients for such an adversary exist: Grover’s algorithm [10], amplitude amplification from a biased initial state [11], Montanaro’s quantum search with advice [12], and the explicit side-channel instantiation of Martin, Montanaro, Oswald and Shepherd [13], which obtains a quadratic reduction in the number of keys that must be tested. The only public reference to the consequence we are aware of is a remark that a classical cut-off at 2802^{80} would not be safe post-quantum because Grover reduces it to 2402^{40} [7].

Two recent results complicate the picture in opposite directions. On the one hand, Bashiri, Glaser, May and Nowakowski [14] and Schubert et al. [15] show that when the attacker’s expected cost is averaged over the prior distribution, the quantum exponent is super-quadratic: the classical guesswork grows as 2H1/2(D)2^{H_{1/2}(\mathcal{D})} while the quantum cost grows as 2H2/3(D)/22^{H_{2/3}(\mathcal{D})/2}, and H2/3<H1/2H_{2/3} < H_{1/2} for every non-uniform distribution. On the other hand, the NIST post-quantum standardization process bounds every quantum attack by a maximal circuit depth MAXDEPTH ∈ {2^{40}, 2^{64}, 2^{96}} [16], and Jaques, Naehrig, Roetteler and Virdia [17] show that under this bound Grover search on AES must be parallelized with a √-loss [18], so that the total gate cost becomes G⋅DGrover/MAXDEPTHG \cdot D_{Grover}/MAXDEPTH rather than GG. An evaluation lab that wants a single number for "residual security against a quantum adversary" is therefore caught between a result that says the speed-up is more than quadratic and a constraint that says it may be no speed-up at all.

We resolve the tension by separating two questions that the literature has treated as one. The first is per-instance: a specific device holds a specific key of a specific rank r, and the evaluator wants the cost of recovering that key. The second is average-case: a population of devices draws keys from a distribution, and one wants the expected cost. We show that the per-instance quantum advantage is exactly quadratic in r and cannot be improved, that the super-quadratic exponents are a property of the average only, and that under MAXDEPTH the quadratic advantage survives only for ranks inside an explicit window. We package the result as a metric, quantum-aware key rank, that an evaluation lab can compute with the rank estimators it already runs.

References (40)