Paper 2026/1906

Revisiting Side-Channel Analysis on Polynomial Multiplication in the HQC Implementation

Trevor Yap, Nanyang Technological University
Shivam Bhasin, Nanyang Technological University
Léo Weissbart, Nanyang Technological University
Abstract

The Hamming Quasi-Cyclic (HQC) scheme is a post-quantum key encapsulation mechanism recently selected for standardization by NIST. While the security against quantum-capable computation is the focus of the development, the security of its implementations against side-channel analysis is also a critical concern. In this work, we revisit the side-channel analysis of the latest HQC reference implementation, targeting its polynomial multiplication function notably used in decryption algorithm. After prior work demonstrated a simple power analysis (SPA) attack against a lookup-table-based multiplication, the implementation of the function have been updated by replacing it to a bitwise schoolbook multiplication. We show that the updated implementation is still vulnerable to SPA with clearly distinguishable secret data dependent variations in power consumption when compiled using the \texttt{-O0} flag. By analyzing these patterns, an attacker can recover individual bits of the secret polynomial, demonstrating that SPA remains effective against the updated design. However, SPA is not exploitable when using compilation optimization with \texttt{-Os} flag. As such, we consider a profiling adversary model and show that with Linear Discriminant Analysis classifiers, one can recover the secret key with $100\%$. We discuss various countermeasures. The first countermeasure we consider is swapping the inputs of the multiplication. We show that this countermeasure is ineffective, as training a multi-bit neural network in a profiling setting enables recovery of all bits of the secret key with $100\%$ accuracy. As such, there is a need for a more secure polynomial multiplication implementation in HQC, either through the introduction of hiding countermeasures or through a redesign of the implementation itself.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Preprint.
Keywords
Simple Power AnalysisHQCPolynomial MultiplicationPost-Quantum Cryptography.
Contact author(s)
trevor yap @ ntu edu sg
sbhasin @ ntu edu sg
leojoseph weissbart @ ntu edu sg
History
2026-11-23: revised
2026-09-07: received
See all versions
Short URL
https://ia.cr/2026/1906
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2026/1906,
      author = {Trevor Yap and Shivam Bhasin and Léo Weissbart},
      title = {Revisiting Side-Channel Analysis on Polynomial Multiplication in the {HQC} Implementation},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/1906},
      year = {2026},
      url = {https://eprint.iacr.org/2026/1906}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.