{
  "id": "2022/1183",
  "url": "https://opencryptology.org/2022/1183",
  "original_url": "https://eprint.iacr.org/2022/1183",
  "title": "Fast and Efficient Hardware Implementation of HQC",
  "authors": [
    "Sanjay Deshpande",
    "Chuanqi Xu",
    "Mamuri Nawan",
    "Kashif Nawaz",
    "Jakub Szefer"
  ],
  "affiliations": null,
  "abstract": "This work presents a hardware design for constant-time implementation of the HQC (Hamming Quasi-Cyclic) code-based key encapsulation mechanism. HQC has been selected for the fourth round of NIST's Post-Quantum Cryptography standardization process and this work presents the first, hand-optimized design of HQC key generation, encapsulation, and decapsulation written in Verilog targeting implementation on FPGAs. The three modules further share a common SHAKE256 hash module to reduce area overhead. All the hardware modules are parametrizable at compile time so that designs for the different security levels can be easily generated. The design currently outperforms the other hardware designs for HQC, and many of the fourth-round Post-Quantum Cryptography standardization process, with one of the best time-area products as well. For the combined HighSpeed design targeting the lowest security level, we show that the HQC design can perform key generation in 0.09ms, encapsulation in 0.13ms, and decapsulation in 0.21ms when synthesized for an Xilinx Artix 7 FPGA. Our work shows that when hardware performance is compared, HQC can be a competitive alternative candidate from the fourth round of the NIST PQC competition.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Fast and Efficient Hardware Implementation of HQC” by Sanjay Deshpande, Chuanqi Xu, Mamuri Nawan, Kashif Nawaz, Jakub Szefer, Cryptology ePrint Archive, Paper 2022/1183, https://eprint.iacr.org/2022/1183. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2022-09-09T08:24:16Z",
    "updated": "2023-08-14T18:09:36Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/1183.pdf",
    "sha256": "136c3185992166bf847c02407a5b55c6ebf7e207b1e553822166eab9337d29c6",
    "size": 967493,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:34Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/1183/versions/20240114T061334Z.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1183.pdf",
      "size": 967493,
      "sha256": "136c3185992166bf847c02407a5b55c6ebf7e207b1e553822166eab9337d29c6",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2022/1183/versions/20230128T010349Z.pdf",
      "captured_at": "2023-01-28T01:03:49Z",
      "label": "copy captured 2023-01-28",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20230128010349id_/https://eprint.iacr.org/2022/1183.pdf",
      "size": 1199430,
      "sha256": "2ea686108acbdbbab509bb755c5098c01b3aa641415238ac7829279f3441a122",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2022/1183/versions/20221019T065047Z.pdf",
      "captured_at": "2022-10-19T06:50:47Z",
      "label": "copy captured 2022-10-19",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20221019065047id_/https://eprint.iacr.org/2022/1183.pdf",
      "size": 900026,
      "sha256": "c181bec66ce4445a4654543ad6d05554b37f482141e3b85ff0a6d4d103db2c3f",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260924174702id_/https://eprint.iacr.org/2022/1183.pdf",
      "captured_at": "2026-09-24T17:47:02Z",
      "size": 909633
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1183.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 967493
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/1183,\n      author = {Sanjay Deshpande and Chuanqi Xu and Mamuri Nawan and Kashif Nawaz and Jakub Szefer},\n      title = {Fast and Efficient Hardware Implementation of HQC},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/1183},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/1183}\n}"
}
