{
  "id": "2022/412",
  "url": "https://opencryptology.org/2022/412",
  "original_url": "https://eprint.iacr.org/2022/412",
  "title": "Complete and Improved FPGA Implementation of Classic McEliece",
  "authors": [
    "Po-Jen Chen",
    "Tung Chou",
    "Sanjay Deshpande",
    "Norman Lahr",
    "Ruben Niederhagen",
    "Jakub Szefer",
    "Wen Wang"
  ],
  "affiliations": null,
  "abstract": "We present the first specification-compliant constant-time FPGA implementation of the Classic McEliece cryptosystem from the third-round of NIST's Post-Quantum Cryptography standardization process. In particular, we present the first complete implementation including encapsulation and decapsulation modules as well as key generation with seed expansion. All the hardware modules are parametrizable, at compile time, with security level and performance parameters. As the most time consuming operation of Classic McEliece is the systemization of the public key matrix during key generation, we present and evaluate three new algorithms that can be used for systemization while complying with the specification: hybrid early-abort systemizer (HEA), single-pass early-abort systemizer (SPEA), and dual-pass early-abort systemizer (DPEA). All of the designs outperform the prior systemizer designs for Classic McEliece by 2.2x to 2.6x in average runtime and by 1.7x to 2.4x in time-area efficiency. We show that our complete Classic McEliece design for example can perform key generation in 5.2-20ms, encapsulation in 0.1-0.5ms, and decapsulation in 0.7-1.5ms for all security levels on an Xlilinx Artix 7 FPGA. The performance can be increased even further at the cost of resources by increasing the level of parallelization using the performance parameters of our design.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Complete and Improved FPGA Implementation of Classic McEliece” by Po-Jen Chen, Tung Chou, Sanjay Deshpande, Norman Lahr, Ruben Niederhagen, Jakub Szefer, Wen Wang, Cryptology ePrint Archive, Paper 2022/412, https://eprint.iacr.org/2022/412. 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-03-31T07:34:48Z",
    "updated": "2022-09-05T07:12:44Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/412.pdf",
    "sha256": "9a7c820f22e8e331c44717cf05a67bd595ecb55c618222b0be5b86112ec62806",
    "size": 1257163,
    "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/412/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/412.pdf",
      "size": 1257163,
      "sha256": "9a7c820f22e8e331c44717cf05a67bd595ecb55c618222b0be5b86112ec62806",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2022/412/versions/20220331T074655Z.pdf",
      "captured_at": "2022-03-31T07:46:55Z",
      "label": "copy captured 2022-03-31",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20220331074655id_/https://eprint.iacr.org/2022/412.pdf",
      "size": 1215068,
      "sha256": "e0d4709ae5a81df208cb297b007fb6db7c3eb704f70d134257288fd392dae630",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251214055642id_/https://eprint.iacr.org/2022/412.pdf",
      "captured_at": "2025-12-14T05:56:42Z",
      "size": 1219043
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/412.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 1257163
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/412,\n      author = {Po-Jen Chen and Tung Chou and Sanjay Deshpande and Norman Lahr and Ruben Niederhagen and Jakub Szefer and Wen Wang},\n      title = {Complete and Improved FPGA Implementation of Classic McEliece},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/412},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/412}\n}"
}
