{
  "id": "2022/362",
  "url": "https://opencryptology.org/2022/362",
  "original_url": "https://eprint.iacr.org/2022/362",
  "title": "How to Backdoor (Classic) McEliece and How to Guard Against Backdoors",
  "authors": [
    "Tobias Hemmert",
    "Alexander May",
    "Johannes Mittmann",
    "Carl Richard Theodor Schneider"
  ],
  "affiliations": null,
  "abstract": "We show how to backdoor the McEliece cryptosystem such that a backdoored public key is indistinguishable from a usual public key, but allows to efficiently retrieve the underlying secret key. \n\nFor good cryptographic reasons, McEliece uses a small random seed 𝛅 that generates via some pseudo random generator (PRG) the randomness that determines the secret key. Our backdoor mechanism works by encoding an encryption of 𝛅 into the public key. Retrieving 𝛅 then allows to efficiently recover the (backdoored) secret key. Interestingly, McEliece can be used itself to encrypt 𝛅, thereby protecting our backdoor mechanism with strong post-quantum security guarantees.\n\nOur construction also works for the current Classic McEliece NIST standard proposal for non-compressed secret keys, and therefore opens the door for widespread maliciously backdoored implementations.\n\nFortunately, our backdoor mechanism can be detected by the owner of the (backdoored) secret key if 𝛅 is stored after key generation as specified by the Classic McEliece proposal. Thus, our results provide strong advice for implementers to store 𝛅 inside the secret key and use 𝛅 to guard against backdoor mechanisms.",
  "category": "Public-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“How to Backdoor (Classic) McEliece and How to Guard Against Backdoors” by Tobias Hemmert, Alexander May, Johannes Mittmann, Carl Richard Theodor Schneider, Cryptology ePrint Archive, Paper 2022/362, https://eprint.iacr.org/2022/362. 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-18T09:47:47Z",
    "updated": "2022-09-29T09:39:47Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/362.pdf",
    "sha256": "687c0a38cb70e18119d2d9dcd5606fd479a561fedea80e88012d5f31c999c7c2",
    "size": 611050,
    "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/362/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/362.pdf",
      "size": 611050,
      "sha256": "687c0a38cb70e18119d2d9dcd5606fd479a561fedea80e88012d5f31c999c7c2",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2022/362/versions/20220318T095559Z.pdf",
      "captured_at": "2022-03-18T09:55:59Z",
      "label": "copy captured 2022-03-18",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20220318095559id_/https://eprint.iacr.org/2022/362.pdf",
      "size": 555308,
      "sha256": "846f0c56b6a246a67038a58834f83e1907a1344cf475f91fb734c4b92607f8f4",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20250428071623id_/https://eprint.iacr.org/2022/362.pdf",
      "captured_at": "2025-04-28T07:16:23Z",
      "size": 604658
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/362.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 611050
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/362,\n      author = {Tobias Hemmert and Alexander May and Johannes Mittmann and Carl Richard Theodor Schneider},\n      title = {How to Backdoor (Classic) McEliece and How to Guard Against Backdoors},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/362},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/362}\n}"
}
