EUROCRYPT 2024
Generalized Feistel Ciphers for Efficient Prime Field Masking
Lorenzo Grassi
Ruhr University Bochum (Germany)
Loïc Masure
LIRMM, Univ. Montpellier, CNRS (France)
Pierrick Méaux
University of Luxembourg (Luxembourg)
Thorben Moos
Université catholique de Louvain (Belgium)
François-Xavier Standaert
Université catholique de Louvain (Belgium)
Keywords:
Abstract
A recent work from Eurocrypt 2023 suggests that prime-field masking has excellent potential to improve the efficiency vs. security tradeoff of masked implementations against side-channel attacks, especially in contexts where physical leakages show low noise. We pick up on the main open challenge that this seed result leads to, namely the design of an optimized prime cipher able to take advantage of this potential. Given the interest of tweakable block ciphers with cheap inverses in many leakage-resistant designs, we start by describing the FPM (Feistel for Prime Masking) family of tweakable block ciphers based on a generalized Feistel structure. We then propose a first instantiation of FPM, which we denote as small-pSquare. It builds on the recent observation that the square operation (which is non-linear in \\mathbb {F}\_p) can lead to masked gadgets that are more efficient than those for multiplication, and is tailored for efficient masked implementations in hardware. We analyze the mathematical security of the FPM family of ciphers and the small-pSquare instance, trying to isolate the parts of our study that can be re-used for other instances. We additionally evaluate the implementation features of small-pSquare by comparing the efficiency vs. security tradeoff of masked FPGA circuits against those of a state-of-the art binary cipher, namely SKINNY, confirming significant gains in relevant contexts.
Publication
EUROCRYPT 2024
PaperArtifact
Artifact number
eurocrypt/2024/a12
Artifact published
June 15, 2024
License
This work is licensed under the CERN Open Hardware Licence Version 2 - Permissive licence.
BibTeX How to cite
Grassi, L., Masure, L., Méaux, P., Moos, T., Standaert, FX. (2024). Generalized Feistel Ciphers for Efficient Prime Field Masking. In: Joye, M., Leander, G. (eds) Advances in Cryptology – EUROCRYPT 2024. EUROCRYPT 2024. Lecture Notes in Computer Science, vol. 14653. Springer, Cham. https://doi.org/10.1007/978-3-031-58734-4_7. Artifact available at https://artifacts.iacr.org/eurocrypt/2024/a12