Paper 2026/934

First-Order Masked Fine-Shuffling Implementation Against Side-Channel Attacks with Application to ML-KEM

Noura Ait Manssour, Valeo
Souhayl Ben El Haj Soulami
Sylvain Duquesne, University of Rennes 1
Guillaume Fumaroli, Valeo
Abstract

In 2020, Ravi et al. [23] published three shuffling variants with each offering a different performance-security trade-off for protecting the Numeric theoretic Transform (NTT). Among them, the fine-shuffling was proposed as the lightweight variant. The idea is to randomise the order of loading and storing the operands of the butterfly computation using conditional swapping based on random control bit. However, as noted by the authors themselves, basic fine-shuffling implementation suffered from an obvious attack on the conditional swapping mask. So they introduced the bitwise-fine-shuffling to fix this issue. In this paper, we break this implementation using a template attack. The idea is to aggregate the leakage from the 16 bitwise AND operations used to construct the swap mask. The attack has been performed both on simulation and on a STM32F303 target. Then, we propose a masked fine-shuffling variant to protect the fine-shuffling operation. The idea is to mask the secret-dependent memory accesses and apply the swap mask over its boolean sharing instead. The implementation is proven secure against first-order attacks in the probing model. The implementation has been benchmarked on an ARM-Cortex-M4 processor and incurs a total overhead of 25% on the entire ML-KEM768 decapsulation algorithm, compared with 51% overhead for the defeated bitwise-fine-shuffling of[23].

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Published elsewhere. AFRICACRYPT 2026
Keywords
ShufflingSide-channel AttackNumber Theoretic TransformCountermeasuresLattice-based cryptography
Contact author(s)
noura ait-manssour @ valeo com
souhaylsoulami1 @ gmail com
Sylvain Duquesne @ univ-rennes fr
Guillaume Fumaroli @ valeo com
History
2026-05-15: last of 2 revisions
2026-05-11: received
See all versions
Short URL
https://ia.cr/2026/934
License
Creative Commons Attribution-NonCommercial
CC BY-NC

BibTeX

@misc{cryptoeprint:2026/934,
      author = {Noura Ait Manssour and Souhayl Ben El Haj Soulami and Sylvain Duquesne and Guillaume Fumaroli},
      title = {First-Order Masked Fine-Shuffling Implementation Against Side-Channel Attacks with Application to {ML}-{KEM}},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/934},
      year = {2026},
      url = {https://eprint.iacr.org/2026/934}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.