TY - JOUR
T1 - DPA-Style Attacks on HQC
AU - Huang, Zhuo
AU - Wang, Weijia
AU - Zhou, Xiaogang
AU - Yu, Yu
N1 - Publisher Copyright:
© 2026, Ruhr-University of Bochum. All rights reserved.
PY - 2026/4/23
Y1 - 2026/4/23
N2 - 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.
AB - 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.
KW - Differential power analysis
KW - HQC
KW - Masking countermeasures
KW - Side-channel attacks
KW - Tap-based Toeplitz windowed projections
UR - https://www.scopus.com/pages/publications/105036966678
U2 - 10.46586/tches.v2026.i2.928-952
DO - 10.46586/tches.v2026.i2.928-952
M3 - 文章
AN - SCOPUS:105036966678
SN - 2569-2925
VL - 2026
SP - 928
EP - 952
JO - IACR Transactions on Cryptographic Hardware and Embedded Systems
JF - IACR Transactions on Cryptographic Hardware and Embedded Systems
IS - 2
ER -