Skip to main navigation Skip to search Skip to main content

DPA-Style Attacks on HQC

  • Zhuo Huang
  • , Weijia Wang
  • , Xiaogang Zhou
  • , Yu Yu
  • Shanghai Jiao Tong University
  • Shandong University
  • Ltd.
  • Shanghai Qi Zhi Institute

Research output: Contribution to journalArticlepeer-review

Abstract

HQC (Hamming Quasi-Cyclic) was selected as the fifth algorithm in the NIST suite of post-quantum cryptographic (PQC) standards. As the only code-based algorithm currently standardized by NIST, HQC offers a good balance between security assurance, performance, and implementation simplicity. Most existing power analyses against HQC are of the SPA style: they can recover secrets with a small number of traces, but can only tolerate limited noise. In this paper, we develop a chosen-ciphertext DPA-style attack methodology against HQC. We formalize a dedicated chosen-ciphertext setting in which the adversary selects (u, v) to target the intermediate value v ⊕ (uy) over F2[x]/(xn − 1). We further optimize the attack by reducing its computational complexity and generalizing it to target masked HQC implementations. The proposed approach is validated through both simulation and practical experiments. In noiseless simulations, full-key recovery is achieved with just 10 traces, and the required number of traces increases linearly with 1/SNR. In practical evaluations on an STM32F4 microcontroller, the secret key can be recovered with 50 traces without profiling and 20 traces with profiling. When first-order masking is applied, key recovery on the same hardware target remains feasible by exploiting second-order features, requiring approximately 3,000 traces without profiling. Our results establish a direct and analyzable connection between leakage on v ⊕ (uy) and end-to-end key recovery, emphasizing the necessity of higher-order masking countermeasures for HQC implementations.

Original languageEnglish
Pages (from-to)928-952
Number of pages25
JournalIACR Transactions on Cryptographic Hardware and Embedded Systems
Volume2026
Issue number2
DOIs
StatePublished - 23 Apr 2026
Externally publishedYes

Keywords

  • Differential power analysis
  • HQC
  • Masking countermeasures
  • Side-channel attacks
  • Tap-based Toeplitz windowed projections

Fingerprint

Dive into the research topics of 'DPA-Style Attacks on HQC'. Together they form a unique fingerprint.

Cite this