{
  "id": "2025/2043",
  "url": "https://opencryptology.org/2025/2043",
  "original_url": "https://eprint.iacr.org/2025/2043",
  "title": "Key-Recovery Side-Channel Attack on the Berlekamp-Massey Decoding Algorithm in the Classic McEliece KEM",
  "authors": [
    "Andrei Alexei",
    "Marios Omar Choudary",
    "Vlad-Florin Dragoi"
  ],
  "affiliations": null,
  "abstract": "In this article, we present a side-channel attack on unprotected implementations\nof the Berlekamp-Massey (BM) algorithm in both the reference implementation\nand an embedded implementation of the Classic McEliece KEM, where BM is used\nduring decapsulation as part of the decoder implementation. We conduct a chosen\ncipher-text key recovery attack that exploits the power consumption of the BM, which\nis highly dependent on the secret Goppa support elements. We exploit the relation\nbetween plain-texts of small Hamming weight, secret elements in the Goppa support\nand power traces using an efficient Template Attack. Our method completely recovers\nthe secret Goppa support for the first parameter set of the Classic McEliece KEM\nusing a single attack trace per secret coefficient. The entire support can be recovered\nin less than 50 seconds. The remaining part of the secret, the Goppa polynomial, is\nrecovered using Kirshanova and May’s algorithm (“Breaking Goppa with hints”) in\nless than 1 minute. Our experiments are performed on the reference implementation\nusing the ChipWhisperer-Lite board platform with the ARM Cortex-M4 microcontroller.\nWe also provide further insights into other implementations as well as an\noverview of possible extensions and limitations of our attack.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Key-Recovery Side-Channel Attack on the Berlekamp-Massey Decoding Algorithm in the Classic McEliece KEM” by Andrei Alexei, Marios Omar Choudary, Vlad-Florin Dragoi, Cryptology ePrint Archive, Paper 2025/2043, https://eprint.iacr.org/2025/2043. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-11-05T06:44:11Z",
    "updated": "2026-07-06T15:59:45Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/2043.pdf",
    "sha256": "2bfe7b49cb6b3c98986c9c2f7829c0d9fd95b5ad513930140e25a473c8fa3537",
    "size": 1430694,
    "source": "upload",
    "source_date": "2026-11-14T03:48:44.766Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/2043/versions/20261114T034844Z.pdf",
      "captured_at": "2026-11-14T03:48:44.766Z",
      "label": "copy captured 2026-11-14",
      "source": "upload",
      "source_url": null,
      "size": 1430694,
      "sha256": "2bfe7b49cb6b3c98986c9c2f7829c0d9fd95b5ad513930140e25a473c8fa3537",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2025/2043/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/2043.pdf",
      "size": 1063480,
      "sha256": "29d377ddddc8e28275d2a8bd8b32687f1a3559d2387739ff25e79558be348879",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/2043.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 1063480
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251220040222id_/https://eprint.iacr.org/2025/2043.pdf",
      "captured_at": "2025-12-20T04:02:22Z",
      "size": 1050370
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/2043,\n      author = {Andrei Alexei and Marios Omar Choudary and Vlad-Florin Dragoi},\n      title = {Key-Recovery Side-Channel Attack on the Berlekamp-Massey Decoding Algorithm in the Classic McEliece KEM},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/2043},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/2043}\n}"
}
