Paper 2025/1779 Original: eprint.iacr.org/2025/1779 ↗

Computing the Restricted Algebraic Immunity, and Application to Weightwise Perfectly Balanced Functions.

Luca Bonamino
Pierrick Méaux
Abstract

Algebraic Immunity (AI) is a fundamental property in the security analysis of stream ciphers and Boolean functions, measuring the resistance of a function against algebraic attacks. In this work, we focus on the computation of AI and, more specifically, on its generalization to restricted algebraic immunity, which considers annihilators constrained to specific subsets of $\mathbb{F}_2^n$. While the computation of AI has been studied using methods based on Reed-Muller codes and iterative rank-based algorithms, these approaches have not been formally adapted to the restricted setting. We address this gap by establishing the theoretical foundations required for the adaptation of these techniques and providing explicit algorithms for computing restricted algebraic immunity. To assess the efficiency of our algorithms, we conduct practical experiments comparing the computational cost of the Reed-Muller and iterative approaches in terms of time and memory. As a case study, we analyze the algebraic immunity restricted to the slices of $\mathbb{F}_2^n$, i.e. the sets of binary vectors of fixed Hamming weight, denoted $\mathsf{AI}_k$. The slices are of particular interest in areas of cryptography, such as side-channel analysis and stream cipher design, where the input weight may be partially predictable. We further investigate restricted algebraic immunity for Weightwise (Almost) Perfectly Balanced (W(A)PB) functions, which have been extensively studied since $2017$. Our results include an empirical analysis of $\mathsf{AI}_k$ distributions for WPB functions with $4$, $8$, and $16$ variables, as well as an evaluation of $\mathsf{AI}_k$ for various known function families.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Preprint.
History
2025-09-29: last updated
2025-09-29: published
Short URL
https://ia.cr/2025/1779
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@misc{cryptoeprint:2025/1779,
      author = {Luca Bonamino and Pierrick Méaux},
      title = {Computing the Restricted Algebraic Immunity, and Application to Weightwise Perfectly Balanced Functions.},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1779},
      year = {2025},
      url = {https://eprint.iacr.org/2025/1779}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.