{
  "id": "2021/138",
  "url": "https://opencryptology.org/2021/138",
  "original_url": "https://eprint.iacr.org/2021/138",
  "title": "Classic McEliece Implementation with Low Memory Footprint",
  "authors": [
    "Johannes Roth",
    "Evangelos Karatsiolis",
    "Juliane Krämer"
  ],
  "affiliations": null,
  "abstract": "The Classic McEliece cryptosystem is one of the most trusted quantum-resistant cryptographic schemes. Deploying it in practical applications, however, is challenging due to the size of its public key. In this work, we bridge this gap. We present an implementation of Classic McEliece on an ARM Cortex-M4 processor, optimized to overcome memory constraints. To this end, we present an algorithm to retrieve the public key ad-hoc. This reduces memory and storage requirements and enables the generation of larger key pairs on the device. To further improve the implementation, we perform the public key operation by\nstreaming the key to avoid storing it as a whole. This additionally reduces the risk of denial of service attacks. Finally, we use these results to implement and run TLS on the embedded device.",
  "category": "Public-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Classic McEliece Implementation with Low Memory Footprint” by Johannes Roth, Evangelos Karatsiolis, Juliane Krämer, Cryptology ePrint Archive, Paper 2021/138, https://eprint.iacr.org/2021/138. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2021-02-10T07:34:30Z",
    "updated": "2021-02-10T07:34:30Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2021/138.pdf",
    "sha256": "63ec8fb106543bd3b171a930c9990a28f17cdf67a136f7a3a61e7bc84aa3f5b9",
    "size": 330434,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:28Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2021/138/versions/20240114T061328Z.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/138.pdf",
      "size": 330434,
      "sha256": "63ec8fb106543bd3b171a930c9990a28f17cdf67a136f7a3a61e7bc84aa3f5b9",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260102125421id_/https://eprint.iacr.org/2021/138.pdf",
      "captured_at": "2026-01-02T12:54:21Z",
      "size": 286437
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/138.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "size": 330434
    }
  ],
  "bibtex": "@misc{cryptoeprint:2021/138,\n      author = {Johannes Roth and Evangelos Karatsiolis and Juliane Krämer},\n      title = {Classic McEliece Implementation with Low Memory Footprint},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2021/138},\n      year = {2021},\n      url = {https://eprint.iacr.org/2021/138}\n}"
}
