{
  "id": "2026/795",
  "url": "https://opencryptology.org/2026/795",
  "original_url": "https://eprint.iacr.org/2026/795",
  "title": "On the Decoding Failure Rate of HQC",
  "authors": [
    "Alessandro Annechini",
    "Alessandro Barenghi",
    "Gerardo Pelosi"
  ],
  "affiliations": null,
  "abstract": "Cryptography based on error correction codes has gained significant interest due\nto its ability to provide security against both classical and quantum adversaries.\nIn 2025, the U.S. National Institute of Standards and Technology selected\nthe Hamming Quasi-Cyclic (HQC) key encapsulation mechanism for standardization.\nA key aspect of HQC is the possibility of decryption failures, which reveal\ninformation about the private key. To address this issue, the HQC authors developed\na probabilistic model for the decoding failure rate (DFR) of the underlying\nerror-correcting code, and adjusted the cryptosystem parameters to thwart attacks\nbased on decryption failures. However, the DFR model relies on the assumption of\nindependence between coordinates of the error vector, which does not hold in HQC.\nThis approximation yields conservative DFR estimates in regimes where failure\nprobabilities can be simulated, and it is hypothesized to remains conservative\nfor cryptographic-grade parameter sets.\nIn this work, we eliminate the independence assumptions and derive a new\nclosed-form DFR model for HQC. We demonstrate that the previous approximation\nremains conservative in the cryptographic regime and that HQC's current decoding\nfailure rates are lower than the required ones. We describe optimization techniques\nthat enable our probabilistic model to serve as a parameter-tuning tool, and\ndemonstrate how the size of HQC public keys and ciphertexts can be slightly reduced\nwithout compromising security.",
  "category": "Public-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“On the Decoding Failure Rate of HQC” by Alessandro Annechini, Alessandro Barenghi, Gerardo Pelosi, Cryptology ePrint Archive, Paper 2026/795, https://eprint.iacr.org/2026/795. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2026-04-22T14:27:44Z",
    "updated": "2026-04-22T14:27:44Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/795.pdf",
    "sha256": "a05229a58041d41a3b3f1b8b3aa5326dfcfd40a9268bf46c355edf6a6c62f4b0",
    "size": 371154,
    "source": "wayback",
    "source_date": "2026-04-30T04:37:08Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/795/versions/20260430T043708Z.pdf",
      "captured_at": "2026-04-30T04:37:08Z",
      "label": "copy captured 2026-04-30",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20260430043708id_/https://eprint.iacr.org/2026/795.pdf",
      "size": 371154,
      "sha256": "a05229a58041d41a3b3f1b8b3aa5326dfcfd40a9268bf46c355edf6a6c62f4b0",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260430043708id_/https://eprint.iacr.org/2026/795.pdf",
      "captured_at": "2026-04-30T04:37:08Z",
      "size": 360527
    }
  ],
  "bibtex": "@misc{cryptoeprint:2026/795,\n      author = {Alessandro Annechini and Alessandro Barenghi and Gerardo Pelosi},\n      title = {On the Decoding Failure Rate of HQC},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/795},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/795}\n}"
}
