← Lab

Quantum algorithm finds high-correlation mask pairs with constant queries, classical needs Ω(N/log N)

Quantum methods can efficiently identify mask pairs with large masked auto-correlation, while any classical algorithm requires exponential queries

arXiv 25 Aug 2026 Attack Prototype evidence

Published as “Masked Differential-linear Distinguishers and Quantum Approaches”

Why it matters

The results demonstrate that quantum algorithms can fundamentally enable mask-finding attacks that are classically infeasible, suggesting a new quantum threat to symmetric-key ciphers once quantum superposition access becomes realistic.

Summary

The paper shows a constant-query quantum algorithm can sample mask pairs with large masked auto-correlation, while any classical algorithm needs Ω(N/ log N) queries to find such masks, giving a provable exponential separation. Using these masks, they build capacity-based distinguishers and last-round key-recovery attacks that enjoy a quadratic quantum speed-up in the verification step, and they validate the approach on 16-bit Mini-AES and a toy Simon cipher.

What they found 4

  1. A constant-query quantum algorithm can sample high-correlation mask pairs.

    “We give a constantquery quantum algorithm that samples such pairs according to their squared correlation, and we prove an exponential classical lower bound of Ω(N/ log N) queries, by adapting the hardness of Fourier Fishing.”

  2. The quantum sampler draws masks in proportion to squared cross-correlation and matches a classical lower bound.

    “We give a constant-query quantum algorithm that samples mask pairs in proportion to their squared cross-correlation, directly producing high-correlation MDL approximations, and a matching classical lower bound: MAC Fishing requires Ω(N/ log N) classical queries (Theorem 1), adapting the AaronsonChen hardness of Fourier Fishing.”

  3. The quantum distinguisher uses O(1) queries for mask sampling and O(1/√τ) queries for correlation verification.

    “Algorithm 4 uses O(1) quantum queries in Phase 1 and O(1/√τ) in Phase 2, succeeding per run with probability adv.”

  4. Amplitude estimation provides the same verification precision with O(1/√τ) quantum queries instead of O(1/τ) classically.

    “quantumly, amplitude estimation reaches the same precision in O(1/√τ) queries.”

Caveats 2

  • The theorem is proved in the dense regime Nτ = Θ(1), whereas the distinguisher runs at the sparser Nτ = ω(log N); there the classical obstruction remains the exponential search over the mask space, though the precise Ω(N/ log N) bound is stated only for the dense threshold.
  • We leave a rigorous treatment of this composition to future work and state the amplitude-estimation-only bound as our result.

What’s new here 4

  • Introduces masked auto-correlation as a unified primitive for linear, differential-linear, and related attacks.
  • Provides a constant-query quantum sampler that draws mask pairs proportional to the squared correlation.
  • Proves an exponential classical lower bound (Ω(N/ log N) queries) for the MAC Fishing problem.
  • Constructs capacity-based distinguishers and signed-template key-recovery attacks with quadratic quantum verification speed-up.