Paper 2026/1906
Revisiting Simple Power Analysis of Polynomial Multiplication in the HQC Implementation
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.
- 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-09-10: approved
- 2026-09-07: received
- See all versions
- Short URL
- https://ia.cr/2026/1906
- License
-
CC BY
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}
}