{
  "id": "2024/621",
  "url": "https://opencryptology.org/2024/621",
  "original_url": "https://eprint.iacr.org/2024/621",
  "title": "How to Lose Some Weight - A Practical Template Syndrome Decoding Attack",
  "authors": [
    "Sebastian Bitzer",
    "Jeroen Delvaux",
    "Elena Kirshanova",
    "Sebastian Maaßen",
    "Alexander May",
    "Antonia Wachter-Zeh"
  ],
  "affiliations": null,
  "abstract": "We study the hardness of the Syndrome Decoding problem, the base of most code-based cryptographic schemes, such as Classic McEliece, in the presence of side-channel information. We use ChipWhisperer equipment to perform a template attack on Classic McEliece running on an ARM Cortex-M4, and accurately classify the Hamming weights of consecutive 32-bit blocks of the secret error vector. With these weights at hand, we optimize Information Set Decoding algorithms. Technically, we show how to speed up information set decoding via a dimension reduction, additional parity-check equations, and an improved information set search, all derived from the Hamming weight information.\n\nConsequently, using our template attack, we can practically recover an error vector in dimension n=2197 in a matter of seconds. Without side-channel information, such an instance has a complexity of around 88 bit.\nWe also estimate how our template attack affects the security of the proposed McEliece parameter sets. Roughly speaking, even an error-prone leak of our Hamming weight information leads for n=3488 to a security drop of 89 bits.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“How to Lose Some Weight - A Practical Template Syndrome Decoding Attack” by Sebastian Bitzer, Jeroen Delvaux, Elena Kirshanova, Sebastian Maaßen, Alexander May, Antonia Wachter-Zeh, Cryptology ePrint Archive, Paper 2024/621, https://eprint.iacr.org/2024/621. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2024-04-22T11:54:26Z",
    "updated": "2025-02-26T10:00:02Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/621.pdf",
    "sha256": "969bad400127da53e18ae9d8285ab98c98afeb8aaebe1e53963c6584aa067324",
    "size": 474026,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2024/621/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/2024/621.pdf",
      "size": 474026,
      "sha256": "969bad400127da53e18ae9d8285ab98c98afeb8aaebe1e53963c6584aa067324",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2024/621/versions/20240429T114203Z.pdf",
      "captured_at": "2024-04-29T11:42:03Z",
      "label": "copy captured 2024-04-29",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240429114203id_/https://eprint.iacr.org/2024/621.pdf",
      "size": 436234,
      "sha256": "81f802d68826772a0c33a6acadb158dcc980b7af5c008bec8aaa04edf06a1573",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/621.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 474026
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20240429114203id_/https://eprint.iacr.org/2024/621.pdf",
      "captured_at": "2024-04-29T11:42:03Z",
      "size": 419505
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/621,\n      author = {Sebastian Bitzer and Jeroen Delvaux and Elena Kirshanova and Sebastian Maaßen and Alexander May and Antonia Wachter-Zeh},\n      title = {How to Lose Some Weight - A Practical Template Syndrome Decoding Attack},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/621},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/621}\n}"
}
