{
  "id": "2025/435",
  "url": "https://opencryptology.org/2025/435",
  "original_url": "https://eprint.iacr.org/2025/435",
  "title": "Constant-Time Code: The Pessimist Case",
  "authors": [
    "Thomas Pornin"
  ],
  "affiliations": null,
  "abstract": "This note discusses the problem of writing cryptographic implementations in software, free of timing-based side-channels, and many ways in which that endeavour can fail in practice. It is a pessimist view: it highlights why such failures are expected to become more common, and how constant-time coding is, or will soon become, infeasible in all generality.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Constant-Time Code: The Pessimist Case” by Thomas Pornin, Cryptology ePrint Archive, Paper 2025/435, https://eprint.iacr.org/2025/435. 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-03-06T18:00:02Z",
    "updated": "2025-03-06T18:00:02Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/435.pdf",
    "sha256": "e3f38b155dc221a7328dc49c053639dea46215f75f79552c7a62123efd62b578",
    "size": 218046,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/435/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/435.pdf",
      "size": 218046,
      "sha256": "e3f38b155dc221a7328dc49c053639dea46215f75f79552c7a62123efd62b578",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260918234415id_/https://eprint.iacr.org/2025/435.pdf",
      "captured_at": "2026-09-18T23:44:15Z",
      "size": 219361
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/435.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 218046
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/435,\n      author = {Thomas Pornin},\n      title = {Constant-Time Code: The Pessimist Case},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/435},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/435}\n}"
}
