arXiv:2609.35421cs.CRSep 2026

Manuscript Offprint

arXiv:2609.35421

Indistinguishability of Sum of Permutations: A Fourier Analytic Route to Classical and Quantum Security

Ritam Bhaumik, Chun Guo, Xiaoning Guo, Ashwin Jha

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

Ritam Bhaumik 1^{1} ID^{ID}, Chun Guo 2,3,4^{2,3,4} ID^{ID}, Xiaoning Guo 2,3,4^{2,3,4} ID^{ID}, and Ashwin Jha 5^{5} ID^{ID}

1^{1} CRC, TII, Abu Dhabi, UAE

bhaumik.ritam@gmail.com

2^{2} School of Cyber Science and Technology;

3^{3} State Key Laboratory of Cryptography and Digital Economy Security;

4^{4} Key Laboratory of Cryptologic Technology and Information Security of Ministry of Education,

Shandong University, Qingdao, China

chun.guo.sc@gmail.com, xxiaoningguo@gmail.com

5^{5} University of Wuppertal, Wuppertal, Germany

ashwin.jha@outlook.de

Abstract. We study classical and quantum indistinguishability of sums of independent random permutations and related transformations from permutations to functions. Let G be a finite abelian group of order N, and let π+k(x)=π1(x)+⋯+πk(x)\pi_{+}^k(x) = \pi_1(x) + \cdots + \pi_k(x) for k≥2k \geq 2 independent uniform random permutations of G. We give a unified Fourier analytic treatment in which the construction is represented by its probability density and a distinguisher by its acceptance function, with the classical and quantum query models imposing different restrictions on the Fourier support of the latter.

Classically, we obtain the bound Ok(q/Nk−1/2)O_k(q/N^{k-1/2}) for every q<Nq < N, and refine it below the birthday threshold to Ok(q2/Nk)O_k(q^2/N^k). In the quantum model, a simulation argument gives Ok(N−(k−3/2))O_k(N^{-(k-3/2)}) for q≤(N−1)/2q \leq (N-1)/2, while Fourier interpolation gives concrete finite bounds up to q≤4N/15q \leq 4N/15 and the query-dependent bounds

O(min⁡{N−1/2,q3N2+1N}),Ok(min⁡{q3Nk,N−(k−3/2)}),O\left(\min\left\{N^{-1/2},\frac{q^{3}}{N^{2}}+\frac{1}{N}\right\}\right),\qquad O_{k}\left(\min\left\{\frac{q^{3}}{N^{k}},N^{-(k-3/2)}\right\}\right),

for k=2k = 2 and k≥3k \geq 3, respectively, throughout 1≤q≤(N−1)/21 \leq q \leq (N - 1)/2. For q=1q = 1, the first bound sharpens to O(N−2)O(N^{-2}). Over G=F2nG = \mathbb{F}_2^n, a one-query Fourier attack matches the order of our one-query bound, while an N/2N/2-query parity attack with advantage 1/21/2 shows that our bounds reach the constant-advantage query threshold.

We further study two variants of sum of permutations over binary vector spaces. First, we allow arbitrary surjective linear postprocessing, which includes truncation, and obtain classical and quantum bounds that retain the output-size dependence. Second, we analyse Dinur's variable-output single-permutation construction, LXoP, for every fixed output width, and derive its classical and quantum security bounds; for one- and two-block outputs, we give concrete quantum security bounds.

Keywords: sum of permutations, LXoP, Fourier analysis, quantum security, PRP-to-PRF conversion

1 Introduction

Block ciphers, or pseudorandom permutation (PRP) candidates, are among the most thoroughly studied primitives in symmetric-key cryptography, while many applications [RS06, Che22, Nan24] require a pseudorandom function (PRF). Apart from a few examples like SURF [Ber97], SipHash [AB12], and some AES-based constructions [MN17b, BIL+21, FGL+24], relatively few dedicated PRF candidates have been proposed or analysed. This makes permutation-to-function transformation a natural route to pseudorandom function designs. It is well-known [Rao66, Fre77, BKR94, CN08] that a random permutation itself can be distinguished from a random function by looking for collisions, with constant advantage after about N\sqrt{N} classical queries, where N denotes the ambient group size. A natural question is therefore how to combine a small number of random permutation calls so that the resulting function remains indistinguishable from random well beyond the birthday bound.

In this line of research, three simple constructions are the sum of permutations [BKR98], encrypted Davies-Meyer [CS16] and its dual [MN17a]. In particular, the sum of permutations construction has received a lot of attention from the community. Let G be a finite abelian group of order N, written additively, and let π1,…,πk\pi_1, \ldots, \pi_k be independent uniform random permutations of G. For k≥2k \geq 2, define the sum of k permutations by

π+k(x):=π1(x)+⋯+πk(x).\pi_{+}^{k}(x):=\pi_{1}(x)+\cdots+\pi_{k}(x).

R. Bhaumik, C. Guo, X. Guo, A. Jha

When G=F2nG = \mathbb{F}_2^n, this is the usual XOR-of-permutations construction. The two-permutation case goes back to Bellare et al. [BKR98], and the k-permutation generalisation [Luc00] is due to Lucks. The construction is simple to evaluate: the permutation calls are independent and can be made in parallel, followed by a group addition. Its security analysis, however, has proved considerably more involved, and has occupied the community for more than two decades.

Classical security of sum of permutations. A long line of work [BI99, Luc00, Pat08, CLP15, MP15, Ebe17, DHT17, DNS22, CP20, Din24] has investigated how much security this simple transformation provides. Adding independent permutation outputs allows collisions, so the absence of collisions no longer distinguishes the construction from a random function. The outputs nevertheless remain dependent, because each constituent permutation samples without replacement. An analysis must bound the effect of these dependencies on the joint distribution of all queried outputs, including when the number of queries is close to N. Over the years, different proof techniques have been used to prove this result when G=F2nG = \mathbb{F}_2^n, with various degrees of success. The first verifiable proof [Luc00] was given by Lucks who employed the game-playing technique to prove PRF advantage of O(q3/N2)O(q^3/N^2), where qq is the number of queries. Bellare and Impagliazzo, and later, Dai et al. devised new statistical techniques [BI99, DHT17] to show bounds of On(q/N)O_n(q/N) and O(q3/N3)O(\sqrt{q^3/N^3}), respectively. Patarin's mirror theory [Pat08, Pat10, Pat16] has been the main tool to study the problem from a combinatorial viewpoint, and a verified proof [DNS22] of the mirror theory result yields a bound of O(q2/N2)O(q^2/N^2) for q≤N/17q \leq N/17 (see also [CP20] for the single-permutation variant). On the other hand, for N≤q<N\sqrt{N} \leq q < N, the best-known attack [Pat13] due to Patarin only achieved an advantage of Ω(q2/N3)\Omega(\sqrt{q^2/N^3}), leaving a tightness gap. This gap was recently filled [Din24] by Dinur who established a bound of O(q2/N3)O(\sqrt{q^2/N^3}) for q<N/2q < N/2 and N≥1000N \geq 1000, which is tight for q≥Nq \geq \sqrt{N}. Shortly after, it came to light that Eberhard had already proved [Ebe17] the same bound for any finite abelian group and for every q<Nq < N, in a work [Ebe17] that was largely unknown in the cryptography community. Both Eberhard and Dinur applied Fourier analytic techniques to study the problem. Dinur also studied the sum of kk permutations construction, and obtained a bound of q/Nk−1/2q/N^{k-1/2} for q<N/2q < N/2 queries.

Variants of sum of permutations. Several variants of the sum of permutations have been proposed to obtain shorter outputs or to generate several output blocks from a single permutation. For shorter outputs, summation can be combined with the truncation technique [HWKS98]. Let G=F2nG = \mathbb{F}_2^n, with ∣G∣=N|G| = N, and let τ:G→H\tau: G \to H be a surjective linear map, where ∣H∣=M≤N|H| = M \leq N. The corresponding construction is

x⟼τ(π1(x)+π2(x)),x\longmapsto\tau\big(\pi_{1}(x)+\pi_{2}(x)\big),

where π1\pi_1 and π2\pi_2 are independent random permutations of GG. When τ\tau is a coordinate projection, Choi et al. [CKLL22] proved a classical distinguishing bound of O(qqM/N2)O(q\sqrt{qM}/N^2) for q≤N/4q \leq N/4.

For outputs in the larger range GwG^w, Iwata's XORP[w] construction [Iwa06] uses a single random permutation π ⁣:G→G\pi\colon G \to G and is given by

x⟼(π(0∥x)+π(1∥x),…,π(0∥x)+π(w∥x)).x\longmapsto\big(\pi(0\parallel x)+\pi(1\parallel x),\ldots,\pi(0\parallel x)+\pi(w\parallel x)\big).

Here the prefixes are encoded in s=⌈log⁡2(w+1)⌉s = \lceil \log_2(w + 1) \rceil bits and x∈F2n−sx \in \mathbb{F}_2^{n-s}. The construction produces ww output blocks using w+1w + 1 permutation calls. For fixed ww, its classical distinguishing advantage is Ow(q/N)O_w(q/N) [Pat16, IMV16, BN18]. Dinur [Din25] introduced the LXoP family, which also produces ww output blocks from w+1w + 1 calls, but combines consecutive permutation outputs using a linear automorphism σ:G→G\sigma: G \to G:

x⟼(π(0∥x)+σ(π(1∥x)),…,π((w−1)∥x)+σ(π(w∥x))).x\longmapsto\big(\pi(0\parallel x)+\sigma(\pi(1\parallel x)),\ldots,\pi((w-1)\parallel x)+\sigma(\pi(w\parallel x))\big).

For w∈{1,2}w \in \{1, 2\}, he proved a classical distinguishing advantage bound of O(q/N3/2)O(q/N^{3/2}) for q≤N/16q \leq N/16 and q≤N/32q \leq N/32, respectively, and N≥1024N \geq 1024.

Quantum security of sum of permutations. The quantum setting raises a different difficulty. For these input-symmetric constructions, a classical distinguisher can be reduced to observing the outputs on a fixed set of queried inputs. This remains true even when the queries are adaptive, as the labels of fresh inputs do not affect the distribution of the next answer. A quantum distinguisher may instead query a superposition of inputs and combine information from different positions by interference. Its behaviour is therefore not determined by the output distribution on any one fixed set of q inputs.

Quantum security of XOR-of-PRP constructions has been studied [MS17] by Mennink and Szepieniec, including key-recovery attacks and a security analysis. There, the construction oracle is queried classically, while the adversary may use offline quantum computation. This is the so-called Q1 security model. In this paper, we study information-theoretic security in the Q2 model, where the adversary can make quantum superposition queries to the construction. The adversary is computationally unbounded, and we count only queries to the construction. Thus the question concerns what can be learned from the oracle itself, independently of the time complexity of processing its answers.

The sum of permutations has a global constraint that makes this question particularly interesting. Every complete truth table satisfies

∑x∈Gπ+k(x)=k∑y∈Gy.\sum_{x\in G}\pi_{+}^{k}(x)=k\sum_{y\in G}y.

For a uniform random function, the sum on the left is uniform on G, so the same equality holds with probability exactly 1/N. The complete-table distribution of π+k\pi_{+}^{k} therefore has statistical distance at least 1 - 1/N from uniform. At the same time, the classical bounds show that every proper restriction is close to uniform. How much of this dependence can a quantum algorithm detect with few queries? At what query count does the checksum become visible?

Our bounds give a sharp answer to the second question in the binary setting. For every fixed k≥2k \geq 2, the advantage tends to zero for all q≤N/2−1q \leq N/2 - 1, whereas an N/2N/2-query parity algorithm has advantage 1/2. For q<N/2q < N/2, we exploit the well-known fact [BBC +^{+}98, Zha12b] that the acceptance probability of a q-query quantum adversary depends only on the joint distributions of oracle outputs on all sets of at most 2q inputs. This allows us to focus on dependencies among small collections of outputs, even though each quantum query may involve a superposition over the entire domain.