Paper 2026/1906 Original: eprint.iacr.org/2026/1906 ↗

Revisiting Simple Power Analysis of Polynomial Multiplication in the HQC Implementation

Trevor Yap
Shivam Bhasin
Léo Weissbart
Abstract

The Hamming Quasi-Cyclic (HQC) scheme is a post-quantum key encapsulation mechanism recently selected for standardization by NIST, making the security of its implementations a critical concern. In this work, we revisit the side-channel resistance of the latest HQC reference implementation, with a focus on its polynomial multiplication routine used in decryption. While prior work demonstrated a simple power analysis (SPA) attack against a lookup-table-based multiplication, the updated implementation replaces this with a bitwise schoolbook multiplication. Despite these modifications, we show that the updated function schoolbook_mul still shows clear, visually distinguishable variations in power consumption that depend on secret data. Using these patterns, an attacker can recover individual bits of the secret polynomial, demonstrating that SPA remains effective against the updated design. To address this vulnerability, we analyze potential countermeasures and propose a zero-cost mitigation based on swapping operand roles so that the mask computation depends only on public data. This eliminates direct leakage of secret-dependent control flow while preserving performance.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Preprint.
History
2026-09-07: last updated
2026-09-07: published
Short URL
https://ia.cr/2026/1906
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@misc{cryptoeprint:2026/1906,
      author = {Trevor Yap and Shivam Bhasin and Léo Weissbart},
      title = {Revisiting Simple Power Analysis of 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, this archive does not use cookies or embedded third party content.