Paper 2026/1462

Power Reveals Timing Conceals - Side-Channel Attacks and Hiding Countermeasures for HQC's Fixed-Weight Vector Sampling

Dina Hesse, Ruhr University Bochum
Markus Krausz, TÜVIT
Raagavan Murugananthan, TÜVIT
Tabea Wollinger, Ruhr University Bochum
Tim Güneysu, Ruhr University Bochum, German Research Centre for Artificial Intelligence
Abstract

Fixed‑weight sampling is a core primitive in many post‑quantum schemes, including the HQC key encapsulation mechanism. An early implementation of fixed-weight vector sampling in HQC was shown by Guo et al. (CHES 2022) to suffer from a timing side-channel vulnerability, leading to complete key recovery. This timing side-channel was fixed in the current HQC version, however, power side-channel leakage is not addressed. In this work, we demonstrate that fixed-weight vector sampling in HQC is vulnerable to power side-channel attacks and present two practical attacks. First, we construct a power-based distinguisher targeting the support-vector generation and employ the strategy developed by Guo et al. (CHES 2022) to recover the shared key. Our attack recovers the key with a 100% success rate using 900,000 distinguisher calls. On these grounds, we evaluate hiding countermeasures based on dummy operations and find that they linearly increase the trace requirement for a successful distinguishing attack by the number of dummy operations. Second, we target a masked software implementation of the fixed-weight vector sampling in HQC and demonstrate a single‑trace attack on the support conversion that recovers the secret key, again with a success rate of 100%. We then discuss leakage attribution, specifically how shares are unintentionally recombined. Finally, we investigate how hiding techniques such as bitslicing, shuffling, and dummy operations can enhance the security of the implementation. In particular, the use of shuffling can lead to a complete prevention of our attack. Our results show that fixed-weight vector sampling of HQC is highly susceptible to power side-channel analysis. In particular, our results highlight that a combination of masking and hiding is required to effectively protect the implementations.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Preprint.
Keywords
Side-Channel AnalysisHidingMaskingHQCFWVS
Contact author(s)
dina hesse @ rub de
m krausz @ tuvit de
r murugananthan @ tuvit de
tabea wollinger @ rub de
tim gueneysu @ rub de
History
2026-07-21: approved
2026-07-17: received
See all versions
Short URL
https://ia.cr/2026/1462
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2026/1462,
      author = {Dina Hesse and Markus Krausz and Raagavan Murugananthan and Tabea Wollinger and Tim Güneysu},
      title = {Power Reveals Timing Conceals - Side-Channel Attacks and Hiding Countermeasures for {HQC}'s Fixed-Weight Vector Sampling},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/1462},
      year = {2026},
      url = {https://eprint.iacr.org/2026/1462}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.