Article (Scientific journals)
mid-pSquare: Leveraging the Strong Side-Channel Security of Prime-Field Masking in Software
Balon, Brieuc; Grassi, Lorenzo; MEAUX, Pierrick et al.
2025In IACR Transactions on Cryptographic Hardware and Embedded Systems, 2025 (4), p. 486 - 519
Peer Reviewed verified by ORBi
 

Files


Full Text
TCHES2025_4_16.pdf
Author postprint (2.23 MB)
Download

All documents in ORBilu are protected by a user license.

Send to



Details



Keywords :
Prime Ciphers; Side-Channel Attacks; Software Masking; Algebraic attack; Block ciphers; Channel securities; Prime cipher; Prime field; Side-channel; Side-channel attacks; Software implementation; Software masking; Symmetrics; Software; Signal Processing; Hardware and Architecture
Abstract :
[en] Efficiently protecting embedded software implementations of standard symmetric cryptographic primitives against side-channel attacks has been shown to be a considerable challenge in practice. This is, in part, due to the most natural countermeasure for such ciphers, namely Boolean masking, not amplifying security well in the absence of sufficient physical noise in the measurements. So-called prime-field masking has been demonstrated to provide improved theoretical guarantees in this context, and the Feistel for Prime Masking (FPM) family of Tweakable Block Ciphers (TBCs) has been recently introduced by Grassi et al. (Eurocrypt’24) to efficiently leverage these advantages. However, it was so far only instantiated for and empirically evaluated in a hardware implementation context, by using a small (7-bit) prime modulus. In this paper, we build on the theoretical incentive to increase the prime field size to obtain improved side-channel (Faust et al., Eurocrypt’24) and fault (Moos et al., CHES’24) resistance, as well as on the practical incentive to instantiate an FPM instance with optimized performance on 32-bit software platforms. We introduce mid-pSquare for this purpose, a lightweight TBC operating over a 31-bit Mersenne prime field. We first provide an in-depth black-box security analysis with a particular focus on algebraic attacks – which, contrary to the cryptanalysis of instances over smaller primes, are more powerful than statistical ones in our setting. We also design a strong tweak schedule to account for potential related-tweak algebraic attacks which, so far, are almost unknown in the literature. We then demonstrate that mid-pSquare implementations deliver very competitive performance results on the target platform compared to analogous binary TBCs regardless of masked or unmasked implementation (we use fix-sliced SKINNY for our comparisons). Finally, we experimentally establish the side-channel security improvements that masked mid-pSquare can lead to, reaching unmatched resistance to profiled horizontal attacks on lightweight 32-bit processors (ARM Cortex-M4).
Disciplines :
Computer science
Author, co-author :
Balon, Brieuc;  Crypto Group, ICTEAM Institute, UCLouvain, Louvain-la-Neuve, Belgium
Grassi, Lorenzo ;  Eindhoven University of Technology, Eindhoven, Netherlands
MEAUX, Pierrick  ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > PI Coron
Moos, Thorben ;  Crypto Group, ICTEAM Institute, UCLouvain, Louvain-la-Neuve, Belgium
Standaert, François-Xavier ;  Crypto Group, ICTEAM Institute, UCLouvain, Louvain-la-Neuve, Belgium
Steiner, Matthias Johann ;  Alpen-Adria-Universität Klagenfurt, Klagenfurt am Wörthersee, Austria
External co-authors :
yes
Language :
English
Title :
mid-pSquare: Leveraging the Strong Side-Channel Security of Prime-Field Masking in Software
Publication date :
05 September 2025
Journal title :
IACR Transactions on Cryptographic Hardware and Embedded Systems
eISSN :
2569-2925
Publisher :
Ruhr-University of Bochum
Volume :
2025
Issue :
4
Pages :
486 - 519
Peer reviewed :
Peer Reviewed verified by ORBi
Funders :
ERC - European Research Council
Funding number :
787390
Funding text :
Lorenzo Grassi was supported by the European Research Council (ERC), grant number 101160608 \u201CSYMPZON\u201D. Pierrick M\u00E9aux was funded by the ERC under the Advanced Grant program (grant number: 787390). Fran\u00E7ois-Xavier Standaert and Thorben Moos are research director and post-doctoral researcher of the Belgian Fund for Scientific Research (FNRS-F.R.S.), respectively. This work has been funded in part by the ERC Advanced Grant number 101096871. Views and opinions expressed are those of the authors and do not necessarily reflect those of the European Union or the ERC. Neither the European Union nor the granting authority can be held responsible for them.
Available on ORBilu :
since 11 November 2025

Statistics


Number of views
31 (0 by Unilu)
Number of downloads
27 (0 by Unilu)

Scopus citations®
 
0
Scopus citations®
without self-citations
0
OpenCitations
 
0
OpenAlex citations
 
1

Bibliography


Similar publications



Contact ORBilu