General Results of Linear Approximations over Finite Abelian Groups

Qi Wang (王琦), Zhongfeng Niu, Siwei Sun, Hailun Yan, Qi WangIACR ePrint 2023

Abstract

This paper establishes a formal mathematical bridge between differential and linear cryptanalysis for functions defined over any finite Abelian group. By leveraging group character theory and Fourier analysis, the authors generalize classical security bounds—such as the Sidelnikov–Chabaud–Vaudenay bound—and derive exact formulas for differential-linear distinguishers. These results are particularly relevant for evaluating the security of modern "arithmetic-friendly" ciphers used in Zero-Knowledge Proofs (ZKPs) and Multi-Party Computation (MPC), where operations occur over large prime fields rather than traditional binary fields.

Introduction

For decades, the field of symmetric-key cryptanalysis was dominated by the "binary paradigm." Standard techniques, such as Matsui’s linear cryptanalysis and Biham and Shamir’s differential cryptanalysis, were perfected for systems operating on bits ($\mathbb{F}_2^n$). However, the rise of Multi-Party Computation (MPC), Fully Homomorphic Encryption (FHE), and Zero-Knowledge Proofs (ZKP) has shifted the landscape toward "arithmetic-friendly" ciphers. These algorithms operate efficiently over large prime fields ($\mathbb{F}_p$) or rings, where traditional binary-centric security proofs often fail to apply directly. This research addresses this gap by generalizing fundamental cryptanalytic tools to any finite Abelian group, regardless of its size or structure.

Methodology: Group Character Theory and Fourier Analysis

To transcend the limitations of binary fields, the authors utilize Group Character Theory and Fourier Analysis. In this generalized framework, "linear approximations" are no longer defined by parity bits but by group homomorphisms (characters). This approach allows for a more abstract and powerful definition of linearity.

The core theoretical contribution is the establishment of a mathematical identity (Lemma 11) that relates differential probabilities ($\delta_F$) to the squares of linear correlations ($C^F$). This identity proves that differential and linear cryptanalysis are not merely two different attack vectors, but are fundamentally two sides of the same algebraic coin, linked through the properties of Fourier analysis on groups.

Generalizing Security Bounds

By treating the search for optimal S-boxes as a combinatorial optimization task, the authors calculate the minimum possible "linearity" ($\lambda_F$) a function can achieve. This work completes the generalization of the Sidelnikov–Chabaud–Vaudenay bound, which was previously only fully understood in the context of binary fields. The paper provides a definitive "Table of Truth" that establishes the lower bound of linearity for all possible cases of group size and differential uniformity.

Key Results

The authors establish that the sum of the fourth powers of linear correlations is directly proportional to the sum of the squares of differential probabilities. This provides a rigorous foundation for the duality of these two cryptanalytic methods.

Theorem 4: The Generalized Bound

This theorem provides the definitive lower bound for linearity over finite Abelian groups. It serves as a "speed limit" for cipher designers, defining the maximum possible resistance to linear cryptanalysis an S-box can offer within a specific prime field.

Theorem 8: Differential-Linear Formula

The paper provides a closed-form expression for the correlation of a differential-linear distinguisher:

$$DL^F_{\alpha,\chi} = \sum_{\rho \in \hat{K}} DL^{F_1}_{\alpha,\rho} \|C^{F_2}_{\rho,\chi}\|^2$$

This formula allows cryptanalysts to calculate the effectiveness of combined attacks over arbitrary groups without relying on heuristic "rules of thumb," provided the two components of the cipher are independent.

Validation and Applications

The authors validated their theorems using mathematical functions common in modern cipher design, such as Power Functions ($F(x) = x^3 \pmod p$) used in MiMC and Poseidon, and Grendel-like functions. Numerical verifications across various prime sizes (up to $p=83$) confirmed that the theoretical lower bounds accurately predict the actual linearity of these functions.

Limitations and Future Directions

While the results are robust, the differential-linear formulas currently rely on the "independence assumption" between cipher rounds. In practice, dependencies often exist, which are typically captured by a Differential-Linear Connectivity Table (DLCT). Generalizing the DLCT to arbitrary groups remains a significant open challenge. Additionally, the authors suggest that extending this framework to finite monoids (structures without inverses) could reveal deeper connections to integral attacks.

Ultimately, this work provides the theoretical tools necessary for cipher designers to construct the next generation of optimally nonlinear S-boxes for large prime fields, ensuring the security of the protocols underlying modern privacy-preserving technologies.

Summary updated

BibTeX
@article{2023general,
  author = {Qi Wang (王琦) and Zhongfeng Niu and Siwei Sun and Hailun Yan and Qi Wang},
  title = {{General Results of Linear Approximations over Finite Abelian Groups}},
  journal = {IACR ePrint},
  year = {2023},
}
Figure