Paper 2025/802

Optimizing Key Recovery in Classic McEliece: Advanced Error Correction for Noisy Side-Channel Measurements

Nicolas Vallet, Laboratoire Hubert Curien
Pierre-Louis Cayrel, Laboratoire Hubert Curien
Brice Colombier, Laboratoire Hubert Curien
Vlad-Florin Dragoi, Aurel Vlaicu University of Arad, LITIS, University of Rouen Normandie
Vincent Grosso, Laboratoire Hubert Curien, French National Centre for Scientific Research
Abstract

Classic McEliece is one of the code-based Key Encapsulation Mechanism finalists in the ongoing NIST post-quantum cryptography standardization process. Several key-recovery side-channel attacks on the decapsulation algorithm have already been published. However none of them discusses the feasibility and/or efficiency of the attack in the case of noisy side-channel acquisitions. In this paper, we address this issue by proposing two improvements on the recent key-recovery attack published by Drăgoi et al.. First, we introduce an error correction algorithm for the lists of Hamming weights obtained by side-channel measurements, based on the assumption, validated experimentally, that the error on a recovered Hamming weight is bounded to . We then offer a comparison between two decoding efficiency metrics, the theoretical minimal error correction capability and an empirical average correction probability. We show that the minimal error correction capability, widely used for linear codes, is not suitable for the (non-linear) code formed by the lists of Hamming weights. Conversely, experimental results show that out of 1 million random erroneous lists of Hamming weights, only 2 could not be corrected by the proposed algorithm. This shows that the probability of successfully decoding a list of erroneous Hamming weights is very high, regardless of the error weight. In addition to this algorithm, we describe how the secret Goppa polynomial , recovered during the first step of the attack, can be exploited to reduce both the time and space complexity of recovering the secret permuted support .

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Preprint.
Keywords
Post-quantum cryptographyCode-based cryptographyClassic McElieceSide-channel attacks
Contact author(s)
nicolas vallet @ univ-st-etienne fr
pierre louis cayrel @ univ-st-etienne fr
b colombier @ univ-st-etienne fr
vlad dragoi @ uav ro
vincent grosso @ univ-st-etienne fr
History
2025-05-05: approved
2025-05-05: received
See all versions
Short URL
https://ia.cr/2025/802
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/802,
      author = {Nicolas Vallet and Pierre-Louis Cayrel and Brice Colombier and Vlad-Florin Dragoi and Vincent Grosso},
      title = {Optimizing Key Recovery in Classic {McEliece}: Advanced Error Correction for Noisy Side-Channel Measurements},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/802},
      year = {2025},
      url = {https://eprint.iacr.org/2025/802}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.