{
  "id": "2026/2782",
  "url": "https://opencryptology.org/2026/2782",
  "original_url": "https://eprint.iacr.org/2026/2782",
  "title": "Memory-Efficient HQC Implementations on Cortex-M3 and Cortex-M7",
  "authors": [
    "Minjoo Sim",
    "Siwoo Eum",
    "Minwoo Lee",
    "Seungwon Lee",
    "Gyeongju Song",
    "Lee Wai Kong",
    "Anupam Chattopadhyay",
    "Hwajeong Seo"
  ],
  "affiliations": null,
  "abstract": "In the Hamming Quasi-Cyclic (HQC) key encapsulation mechanism (KEM), eliminating the polynomial product buffer still leaves serialized inputs, operands, and candidate ciphertexts that may coexist during decapsulation. We organize storage around the last use of each value. Comparing each candidate component before producing the next allows both to share one workspace, while deterministic regeneration shortens the lifetimes of ephemeral supports. Our lifetime analysis relates the measured footprint to the values that coexist during reencryption in our compact design. We read dense operands directly from serialized inputs and reuse output storage as workspace before final serialization during key generation and encapsulation. These choices reduce overlapping storage across the complete KEM and complement established support-form and Zero-Buffer multiplication. We evaluate this organization for all three HQC parameter sets on ARM Cortex-M3 and Cortex-M7 under the August 2025 specification. In a cumulative Cortex-M3 HQC-256 comparison, combined representation and lifetime changes reduced the stack by 38.9% relative to a Zero-Buffer configuration that already uses component-wise ciphertext comparison. Using a separate configuration, we measured decapsulation footprints of 36,858 bytes on Cortex-M3 and 36,850 bytes on Cortex-M7, including peak operation stack and serialized input/output storage. The common object layout accounts for most of these footprints. In the evaluated configurations, the relative increase in decapsulation cycles from the direct to the compact implementation is larger on Cortex-M7 than on Cortex-M3. Retaining supports reduces cycles when memory permits. The kernels retain support-dependent control flow and memory accesses; we did not establish complete-KEM constant-time execution or physical side-channel resistance.",
  "category": "Implementation",
  "license": {
    "code": "CC0",
    "url": "https://creativecommons.org/publicdomain/zero/1.0/",
    "label": "CC0 1.0",
    "attribution": "“Memory-Efficient HQC Implementations on Cortex-M3 and Cortex-M7” by Minjoo Sim, Siwoo Eum, Minwoo Lee, Seungwon Lee, Gyeongju Song, Lee Wai Kong, Anupam Chattopadhyay, Hwajeong Seo, Cryptology ePrint Archive, Paper 2026/2782, https://eprint.iacr.org/2026/2782. Licensed under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2026-11-05T04:04:23Z",
    "updated": "2026-11-05T04:04:23Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/2782.pdf",
    "sha256": "4bf4d33b2b18f8fe890cba8b30c4d7696835ec3c7c56009b7700d2a0ce945030",
    "size": 733131,
    "source": "upload",
    "source_date": "2026-11-11T02:41:06.206Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/2782/versions/20261111T024106Z.pdf",
      "captured_at": "2026-11-11T02:41:06.206Z",
      "label": "copy captured 2026-11-11",
      "source": "upload",
      "source_url": null,
      "size": 733131,
      "sha256": "4bf4d33b2b18f8fe890cba8b30c4d7696835ec3c7c56009b7700d2a0ce945030",
      "is_default_pdf": true
    }
  ],
  "other_sources": [],
  "bibtex": "@misc{cryptoeprint:2026/2782,\n      author = {Minjoo Sim and Siwoo Eum and Minwoo Lee and Seungwon Lee and Gyeongju Song and Lee Wai Kong and Anupam Chattopadhyay and Hwajeong Seo},\n      title = {Memory-Efficient HQC Implementations on Cortex-M3 and Cortex-M7},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/2782},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/2782}\n}"
}
