arXiv:2608.24799quant-phAug 2026

Manuscript Offprint

arXiv:2608.24799

Masked Differential-linear Distinguishers and Quantum Approaches

Shobhit Pandey, Sarbani Sen, Debajyoti Bera, Ravi Anand

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

Shobhit Pandey, Sarbani Sen, Debajyoti Bera, and Ravi Anand

Indraprastha Institute of Information Technology, Delhi, India

Abstract. We introduce masked auto-correlation, a new primitive for the cryptanalysis of symmetric-key primitives, together with a quantum attack pipeline built on it. For a permutation ff, output masks α,β\alpha, \beta, and an input difference ww, masked auto-correlation (MAC) measures the correlation between the masked outputs α⋅f(x)\alpha \cdot f(x) and β⋅f(x⊕w)\beta \cdot f(x \oplus w). The associated masked differential-linear (MDL) approximations strictly generalize several classical techniques; ordinary linear cryptanalysis, differential-linear cryptanalysis, and the differential-linear connectivity table all arise as special cases. Our central object of study is the problem of finding mask pairs with large masked cross-correlation—those that yield powerful distinguishers—which we call MAC Fishing. We give a constant-query quantum algorithm that samples such pairs according to their squared correlation, and we prove an exponential classical lower bound of Ω(N/log⁡N)\Omega(N/\log N) queries, by adapting the hardness of Fourier Fishing. To our knowledge this is the first result pairing a quantum upper bound with a classical lower bound for the core task of identifying high-correlation approximations, making quantum algorithms an absolute necessity. Building on this, we analyse the distribution of masked auto-correlation for random permutations, and then construct capacity-based distinguishers and key-recovery attacks, both classically and with a quadratic quantum speed-up using amplitude estimation. We validate our claims with experiments on reduced-round mini-AES.

Keywords: Cryptanalysis · Quantum cryptanalysis · Masked auto-correlation · Differential-linear · Boolean functions.

1 Introduction

The security of symmetric-key primitives—block ciphers, stream ciphers, and their associated modes—has been studied extensively in the classical paradigm. The two foundational classical attack paradigms, linear cryptanalysis [34] and differential cryptanalysis [9], were introduced in the early 1990s and remain the primary benchmarks against which new designs are evaluated. Subsequent work has produced a rich body of classical techniques that interpolate and extend these two paradigms: differential-linear cryptanalysis [33], multiple and multidimensional linear approximations [22,24], and algebraic variants [19], among others. Despite this diversity, virtually all of these techniques share a common

S. Pandey et al.

classical algorithmic trait: the attacker processes keystream or ciphertext samples sequentially, accumulates statistical evidence, and constructs a distinguishing attack or recovers key. In the classical setting, the bottleneck is always the number of plaintext-ciphertext pairs required to drive the distinguishing attack to significance, and the design community has responded by designing ciphers whose linear and differential probabilities are as low as possible.

The advent of quantum computing forces a re-examination of this picture. Quantum algorithms can offer quadratic to superpolynomial speedups for certain structured search and sampling problems, so it is natural to ask whether the statistical properties underlying symmetric-key cryptanalysis admit similar quantum speed-ups. Early results showed that Simon's algorithm can break many constructions with a secret period structure [38,32], and subsequent work has turned classical statistical attacks—linear, differential, and meet-in-the-middle—into the quantum setting [15,29,27]. Most recently, Hosoyamada studied quantum multi-linear approximations [26], showing that the quantum query complexity of multidimensional linear distinguishers can be significantly lower than their classical counterparts. Despite this progress, most existing quantum attacks inherit the structure of their classical counterparts, porting a known statistical distinguisher into a quantum query model rather than identifying new properties that are inherently quantum in nature. In this paper we introduce a new cryptanalytic primitive, masked auto-correlation, whose most powerful instantiation is provably beyond the reach of efficient classical algorithms.

Masked auto-correlation. At the base of linear cryptanalysis is the Walsh–Hadamard transform: for f:F2n→F2f : \mathbb{F}_2^n \to \mathbb{F}_2, the coefficient f^(λ)\widehat{f}(\lambda) measures the correlation between ff and the linear function x↦λ⋅xx \mapsto \lambda \cdot x, and the design goal is to keep all coefficients small. Cross-correlation generalizes this: instead of correlating ff against a fixed linear function, one correlates it against a shifted copy of another function, sweeping over all shifts, and auto-correlation is the special case of a function against a shifted copy of itself. We study this in the vectorial setting natural for block ciphers, where the round function is a permutation f:F2n→F2nf : \mathbb{F}_2^n \to \mathbb{F}_2^n, and ask where the auto-correlations among different output bits are statistically significant. Rather than fix a single output bit, we take linear combinations: fixing output masks α,β∈F2n\alpha, \beta \in \mathbb{F}_2^n, the masked auto-correlation measures the cross-correlation between α⋅f(x)\alpha \cdot f(x) and β⋅f(x⊕w)\beta \cdot f(x \oplus w) as the difference ww ranges over F2n\mathbb{F}_2^n,

Cfw(α,β)∝∑x(−1)α⋅f(x)⊕β⋅f(x⊕w)C_{f}^{w}(\alpha,\beta)\propto\sum_{x}(-1)^{\alpha\cdot f(x)\oplus\beta\cdot f(x\oplus w)}

(formalized in Section 3). Since ff is a permutation, Cfw(α,β)C_f^w(\alpha, \beta) is proportional to the expectation of a ±1\pm 1 random variable, so it can be estimated accurately for any given α,β,w\alpha, \beta, w. Two obstacles stand in the way of exploiting it, however. First, finding the mask pairs (α,β)(\alpha, \beta) whose cross-correlation is large—those that yield powerful distinguishers—is a search over an exponential space, infeasible by naive enumeration. Second, even granted such masks, sampling according to the cross-correlation distribution has no obvious efficient classical solution. The central thesis of this paper is that both obstacles fall to a quantum algorithm, and that the resulting pipeline is provably beyond efficient classical reach.

References (37)