{
  "id": "2026/1906",
  "url": "https://opencryptology.org/2026/1906",
  "original_url": "https://eprint.iacr.org/2026/1906",
  "title": "Revisiting Side-Channel Analysis on Polynomial Multiplication in the HQC Implementation",
  "authors": [
    "Trevor Yap",
    "Shivam Bhasin",
    "Léo Weissbart"
  ],
  "affiliations": null,
  "abstract": "The Hamming Quasi-Cyclic (HQC) scheme is a post-quantum key encapsulation mechanism recently selected for standardization by NIST.\nWhile the security against quantum-capable computation is the focus of the development, the security of its implementations against side-channel analysis is also a critical concern.\nIn this work, we revisit the side-channel analysis of the latest HQC reference implementation, targeting its polynomial multiplication function notably used in decryption algorithm.\nAfter prior work demonstrated a simple power analysis (SPA) attack against a lookup-table-based multiplication, the implementation  of the function have been updated by replacing it to a bitwise schoolbook multiplication.\n\nWe show that the updated implementation is still vulnerable to SPA with clearly distinguishable secret data dependent variations in power consumption when compiled using the \\texttt{-O0} flag.\nBy analyzing these patterns, an attacker can recover individual bits of the secret polynomial, demonstrating that SPA remains effective against the updated design.\nHowever, SPA is not exploitable when using compilation optimization with \\texttt{-Os} flag.\nAs such, we consider a profiling adversary model and show that with Linear Discriminant Analysis classifiers, one can recover the secret key with $100\\%$.\n\nWe discuss various countermeasures. The first countermeasure we consider is swapping the inputs of the multiplication. We show that this countermeasure is ineffective, as training a multi-bit neural network in a profiling setting enables recovery of all bits of the secret key with $100\\%$ accuracy. As such, there is a need for a more secure polynomial multiplication implementation in HQC, either through the introduction of hiding countermeasures or through a redesign of the implementation itself.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Revisiting Side-Channel Analysis on Polynomial Multiplication in the HQC Implementation” by Trevor Yap, Shivam Bhasin, Léo Weissbart, Cryptology ePrint Archive, Paper 2026/1906, https://eprint.iacr.org/2026/1906. 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-09-07T10:47:51Z",
    "updated": "2026-11-23T06:21:14Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/1906.pdf",
    "sha256": "79a06cfcc3d0c9ffa35507d0691670f12c9dbc62347999c140ae3000bef67f4a",
    "size": 3606943,
    "source": "upload",
    "source_date": "2026-11-23T18:08:00.557Z",
    "maybe_stale": false,
    "newer_on_eprint": false,
    "eprint_size": 3606943,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/1906/versions/20261123T180800Z.pdf",
      "captured_at": "2026-11-23T18:08:00.557Z",
      "label": "copy captured 2026-11-23",
      "source": "upload",
      "source_url": null,
      "size": 3606943,
      "sha256": "79a06cfcc3d0c9ffa35507d0691670f12c9dbc62347999c140ae3000bef67f4a",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2026/1906/versions/20261112T195137Z.pdf",
      "captured_at": "2026-11-12T19:51:37.497Z",
      "label": "copy captured 2026-11-12",
      "source": "upload",
      "source_url": null,
      "size": 1792241,
      "sha256": "68d81c8a7ada516d330d3194c843055b09aefb490b5042386501bc09821f7982",
      "is_default_pdf": false
    }
  ],
  "other_sources": [],
  "bibtex": "@misc{cryptoeprint:2026/1906,\n      author = {Trevor Yap and Shivam Bhasin and Léo Weissbart},\n      title = {Revisiting Side-Channel Analysis on Polynomial Multiplication in the HQC Implementation},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/1906},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/1906}\n}"
}
