arXiv:2610.29837cs.CROct 2026

Manuscript Offprint

arXiv:2610.29837

Linear Self-Symmetries of Inverse-Based S-boxes: Generic Rigidity and Applications

Zheng Zhang, Na Zhang

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

Abstract

Finite-field inversion is a basic nonlinear building block in the design of S-boxes for symmetric cryptography. In inverse-based S-boxes, finite-field inversion is often combined with linear or affine layers that may preserve or destroy algebraic symmetries of the inverse function. We study how often nontrivial linear self-symmetries remain as the outer invertible linear transformation varies over GLn(F2)GL_n(\mathbb{F}_2). Using the classification of two-sided linear equivalences of inversion, we reduce the problem to semilinear conjugacy and centralizer estimates. We obtain matching upper and lower bounds for the probability that a nontrivial linear self-symmetry remains, and these bounds determine its leading quadratic exponent. This exponent is governed by the smallest prime divisor of the extension degree. Thus the decay rate depends on the arithmetic of the field extension and not only on its dimension. As cryptographic applications, we provide a practical rigidity criterion, prove that the full AES S-box has no nontrivial linear self-symmetry, and illustrate the broader relevance of the framework through ARIA and Vision.

Keywords: finite-field inversion, linear stabilizers, semilinear conjugacy, centralizers, inverse-based S-boxes.

1 Introduction

Finite-field inversion on F2nF_{2^{n}} is one of the best-known nonlinear maps used in the design of S-boxes for symmetric-key cryptography. Its algebraic structure is also highly symmetric. If

J(x)=x−1,J(0)=0,J(x)=x^{-1},\qquad J(0)=0,

then JJ commutes with every Frobenius automorphism x↦x2rx \mapsto x^{2^{r}}. Thus inversion comes with a natural family of nontrivial linear symmetries.

In inverse-based S-box constructions, inversion is usually combined with an outer linear or affine layer, and such a layer may preserve or destroy symmetries of the inverse function. This raises a natural structural question: when the outer linear layer varies, how often does any nontrivial symmetry of inversion survive?

To make the question precise, for a map Φ:F2n→F2n\Phi : \mathbb{F}_{2^n} \to \mathbb{F}_{2^n}, define

Stab(Φ)={T∈GLn(F2):T∘Φ=Φ∘T}.\mathrm{Stab}(\Phi)=\{T\in GL_{n}(\mathbb{F}_{2}):T\circ\Phi=\Phi\circ T\}.

A nonidentity element of Stab( Φ\Phi) is a nontrivial linear self-symmetry of Φ\Phi, and we call Φ\Phi rigid when Stab( Φ\Phi) = {I}\{I\}.

Remark 1. We emphasize that this notion is different from linear self-equivalence. A linear self-equivalence allows a pair of linear maps acting separately on the input and output, whereas a linear self-symmetry in the sense above requires the same linear map to commute with Φ\Phi.

*Corresponding author. Department of Mathematics, Towson University, 7800 York Rd, Towson, MD 21204, USA. Email: zhengzhang@towson.edu.

†^{\dagger}Department of Mathematics, Towson University, 7800 York Rd, Towson, MD 21204, USA. Email: nzhang@towson.edu.

We study the family

ΦA=A∘J,A∈GLn(F2),\Phi_{A}=A\circ J,\qquad A\in G L_{n}(\mathbb{F}_{2}),

and measure the frequency with which ΦA\Phi_{A} retains a nontrivial linear self-symmetry.

Self-symmetries are especially natural in iterative constructions. When the same linear transformation is compatible with the S-box, the diffusion layer, and the round constants, it can propagate from one round to the next without changing form. Such self-symmetries therefore represent algebraic structure that can persist through repeated applications of the round function and may give rise to invariant state spaces or other non-random structure [11]. Understanding when such self-symmetries survive is therefore relevant to both the design and the structural analysis of inverse-based S-boxes.

This setting arises naturally in several inverse-based cryptographic constructions. The AES S-box is the best-known example, where inversion over F2sF_{2s} is followed by a fixed affine layer [15]. Related inverse-based substitution layers also appear in ARIA [12], while more recent designs such as Vision use inversion together with sparse linearized polynomials over binary fields [1]. These examples show that the interaction between finite-field inversion and surrounding linear structure is a recurring feature of inverse-based cryptographic design.

This problem is related to several lines of work on symmetry, equivalence, and self-equivalence of cryptographic functions. Rijmen, Barreto, and Gazzoni Filho [18] studied rotation symmetry in S-boxes generated algebraically from finite-field power maps. Related work has further examined rotation-symmetric S-boxes and their affine-equivalence classes [9, 16]. Algebraic and alternative representations of Rijndael have also been studied extensively [19, 13, 2]. These works show that finite-field structure and surrounding linear transformations can produce useful symmetries and alternative representations of S-boxes, but they address a different question from the survival problem considered here.

More generally, linear, affine, EA, and CCZ equivalence provide standard frameworks for comparing vectorial Boolean functions [5, 3, 4, 6]. Self-equivalences have also been studied in white-box cryptography [17]. For inversion specifically, Kölsch [10] obtained strong classifications of its CCZ and EA equivalence classes. These notions allow broader input and output transformations than the commuting linear self-symmetries considered here.

More directly related to our problem, Yuan et al. [20] classified the two-sided linear equivalences

J∘T=U∘J.J\circ T=U\circ J.

Their classification identifies the possible transformations that can occur in the stabilizer of A∘JA \circ J. Ishizuka [8] recently proved generic stabilizer triviality in the full space of vectorial functions. In contrast, we consider the structured family

{A∘J:A∈GLn(F2)}.\{A\circ J:A\in G L_{n}(\mathbb{F}_{2})\}.

The above works do not determine how frequently a nontrivial linear self-symmetry survives in this family, or how that frequency depends on the arithmetic of n. Let

En={A∈GLn(F2):Stab(A∘J)≠{I}}\mathcal{E}_{n}=\{A\in G L_{n}(\mathbb{F}_{2}):\mathrm{Stab}(A\circ J)\neq\{I\}\}

and

pn=∣En∣∣GLn(F2)∣.p_{n}=\frac{|\mathcal{E}_{n}|}{|G L_{n}(\mathbb{F}_{2})|}.

Thus pnp_{n} is the probability that a uniformly chosen outer linear transformation leaves a nontrivial linear self-symmetry of the transformed inversion map. Our main result determines the exact leading quadratic exponent of pnp_{n}.

Main Theorem. Let q(n)q(n) be the smallest prime divisor of n, and let

κ=∏j≥1(1−2−j).\kappa=\prod_{j\geq1}(1-2^{-j}).

For n≥4n \geq 4,

κq(n)2−n2(1−1/q(n))≤pn≤nκ2−n2(1−1/q(n))+n.\kappa^{q(n)}2^{-n^{2}(1-1/q(n))}\leq p_{n}\leq\frac{n}{\kappa}2^{-n^{2}(1-1/q(n))+n}.

Consequently,

−log⁡2pn=n2(1−1q(n))+O(n).-\log_{2}p_{n}=n^{2}\left(1-\frac{1}{q(n)}\right)+O(n).

In particular, when nn is even the leading quadratic term is n2/2n^{2}/2, while for prime nn it is n2n^{2}. Thus the rate at which nontrivial self-symmetries disappear depends strongly on the arithmetic of the extension degree.

The theorem can be read in two ways. For designers who want symmetry, En\mathcal{E}_n measures the set of outer linear layers that preserve a nontrivial self-symmetry of inversion. For designers who want to avoid symmetry, the theorem shows that a generic outer layer removes all such symmetries. Common S-box dimensions such as n=4n = 4 and n=8n = 8 lie in the least favorable case q(n)=2q(n) = 2, which motivates direct checks for concrete constructions.

We develop several cryptographic applications in Section 5. We provide a simple rigidity criterion and apply it to the AES S-box, use ARIA to illustrate the propagation of byte-wise self-symmetries through binary diffusion, and consider Vision as a large-field example. We also briefly discuss Camellia [14] and SM4 [7] as related inverse-based constructions.

The paper is organized as follows. Section 2 introduces the notation and the basic symmetry structure of finite-field inversion. Section 3 develops the structural estimates for the exceptional set. Section 4 proves the main theorem. Section 5 develops cryptographic applications to inverse-based S-boxes, including AES, ARIA, and Vision. Section 6 concludes the paper.