Paper 2025/1779

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

Luca Bonamino, University of Luxembourg
Pierrick Méaux, University of Luxembourg
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
Published elsewhere. Minor revision. International Conference on Cryptology and Network Security 2025
Keywords
Boolean functionsAlgebraic immunityRestricted algebraic immunityWeightwise Perfectly Balanced functions
Contact author(s)
luca bonamino 001 @ uni lu
pierrick meaux @ uni lu
History
2025-10-03: approved
2025-09-29: received
See all versions
Short URL
https://ia.cr/2025/1779
License
Creative Commons Attribution
CC BY

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, eprint.iacr.org does not use cookies or embedded third party content.