{
  "id": "2016/1123",
  "url": "https://opencryptology.org/2016/1123",
  "original_url": "https://eprint.iacr.org/2016/1123",
  "title": "Dude, is my code constant time?",
  "authors": [
    "Oscar Reparaz",
    "Josep Balasch",
    "Ingrid Verbauwhede"
  ],
  "affiliations": null,
  "abstract": "This paper introduces dudect: a tool to assess whether a piece of code runs in constant time or not on a given platform. We base our approach on leakage detection techniques, resulting in a very compact, easy to use and easy to maintain tool. Our methodology fits in around 300 lines of C and runs on the target platform. The approach is substantially different from previous solutions. Contrary to others, our solution requires no modeling of hardware behavior. Our solution can be used in black-box testing, yet benefits from implementation details if available. We show the effectiveness of our approach by detecting several variable-time cryptographic implementations. We place a prototype implementation of dudect in the public domain.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Dude, is my code constant time?” by Oscar Reparaz, Josep Balasch, Ingrid Verbauwhede, Cryptology ePrint Archive, Paper 2016/1123, https://eprint.iacr.org/2016/1123. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2016-12-01T04:59:28Z",
    "updated": "2016-12-01T04:59:28Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2016/1123.pdf",
    "sha256": "db622164b74c1f7b9da9b3fc38de23fabd918ab885e418c54e10af85868df637",
    "size": 1252799,
    "source": "github-mirror",
    "source_date": "2019-02-25T17:24:56Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2016/1123/versions/20190225T172456Z.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/1123.pdf",
      "size": 1252799,
      "sha256": "db622164b74c1f7b9da9b3fc38de23fabd918ab885e418c54e10af85868df637",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260421232052id_/https://eprint.iacr.org/2016/1123.pdf",
      "captured_at": "2026-04-21T23:20:52Z",
      "size": 1223906
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/1123.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "size": 1252799
    }
  ],
  "bibtex": "@misc{cryptoeprint:2016/1123,\n      author = {Oscar Reparaz and Josep Balasch and Ingrid Verbauwhede},\n      title = {Dude, is my code constant time?},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2016/1123},\n      year = {2016},\n      url = {https://eprint.iacr.org/2016/1123}\n}"
}
