Paper 2025/2259

HQC Beyond the Standard: Ciphertext Compression and Refined DFR Analysis

Sebastian Bitzer, Technical University of Munich
Jean-Christophe Deneuville, Fédération ENAC ISAE-SUPAERO ONERA, Université de Toulouse
Emma Munisamy, Technical University of Munich
Bharath Purtipli, Technical University of Munich
Stefan Ritterhoff, Technical University of Munich
Antonia Wachter-Zeh, Technical University of Munich
Abstract

Hamming Quasi-Cyclic (HQC), recently selected by NIST for standardization, does not employ ciphertext compression, unlike its lattice-based counterpart Kyber. In lattice-based encryption, ciphertext compression is a standard post-processing step, typically implemented through coefficient-wise rounding. In contrast, analogous methods have not yet been explored in code-based cryptography. We address this gap by developing techniques to reduce ciphertext sizes in schemes defined over the Hamming metric, with a particular focus on HQC. To support this approach, the decryption failure rate (DFR) analysis is generalized. Specifically, we revisit the modeling of the error that must be correctable with probability $2^{-\lambda}$ to achieve $\lambda$ bits of security; previously, only tractable under an independence assumption. We propose a more accurate model of the error distribution, which takes dependencies between the coefficients into account. Confirmed by extensive simulations, the proposed model sharpens the DFR analysis and, hence, our understanding of the security of HQC. Building on this generalized framework, we present a ciphertext compression mechanism that enables a precise DFR analysis and is therefore transparent with respect to security. This is achieved by carefully designing a quantization code with a direct-product structure, aligned with HQC's error-correcting code. For the parameters proposed in the round 4 submission, our techniques reduce HQC ciphertext sizes by up to 4.7%; a proof-of-concept implementation confirms that this improvement comes without noticeable loss in efficiency. Reductions of up to 10% are achievable through a trade-off with public-key size.

Note: Preprint.

Metadata
Available format(s)
PDF
Category
Public-key cryptography
Publication info
Preprint.
Keywords
Code-based cryptographyHamming Quasi-CyclicCiphertext compressionDecryption failure rate
Contact author(s)
sebastian bitzer @ tum de
jean-christophe deneuville @ enac fr
emma munisamy @ tum de
bharath purtipli @ tum de
stefan ritterhoff @ tum de
antonia wachter-zeh @ tum de
History
2025-12-18: approved
2025-12-16: received
See all versions
Short URL
https://ia.cr/2025/2259
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/2259,
      author = {Sebastian Bitzer and Jean-Christophe Deneuville and Emma Munisamy and Bharath Purtipli and Stefan Ritterhoff and Antonia Wachter-Zeh},
      title = {{HQC} Beyond the Standard: Ciphertext Compression and Refined {DFR} Analysis},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/2259},
      year = {2025},
      url = {https://eprint.iacr.org/2025/2259}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.