{
  "id": "2021/156",
  "url": "https://opencryptology.org/2021/156",
  "original_url": "https://eprint.iacr.org/2021/156",
  "title": "Mechanized Proofs of Adversarial Complexity and Application to Universal Composability",
  "authors": [
    "Manuel Barbosa",
    "Gilles Barthe",
    "Benjamin Grégoire",
    "Adrien Koutsos",
    "Pierre-Yves Strub"
  ],
  "affiliations": null,
  "abstract": "EasyCrypt is a proof assistant used for verifying computational\nsecurity proofs of cryptographic constructions. It has been applied to\nseveral prominent examples, including the SHA3 standard and a\ncritical component of AWS Key Management Services.\n\nIn this paper we enhance the EasyCrypt proof assistant to reason\nabout computational complexity of adversaries. The key technical\ntool is a Hoare logic for reasoning about computational complexity\n(execution time and oracle calls) of adversarial computations. Our\nHoare logic is built on top of the module system used by EasyCrypt\nfor modeling adversaries. We prove that our logic is sound w.r.t.\nthe semantics of EasyCrypt programs --- we also provide\nfull semantics for the EasyCrypt module system, which was previously\nlacking.\n\nWe showcase (for the first time in EasyCrypt and in other\ncomputer-aided cryptographic tools) how our approach can express\nprecise relationships between the probability of adversarial success\nand their execution time. In particular, we can quantify\nexistentially over adversaries in a complexity class, and express\ngeneral composition statements in simulation-based frameworks.\nMoreover, such statements can be composed to derive standard\nconcrete security bounds for cryptographic constructions whose\nsecurity is proved in a modular way.  As a main benefit of our\napproach, we revisit security proofs of some well-known\ncryptographic constructions and we present a new formalization of\nUniversal Composability (UC).",
  "category": "Foundations",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Mechanized Proofs of Adversarial Complexity and Application to Universal Composability” by Manuel Barbosa, Gilles Barthe, Benjamin Grégoire, Adrien Koutsos, Pierre-Yves Strub, Cryptology ePrint Archive, Paper 2021/156, https://eprint.iacr.org/2021/156. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2021-02-17T10:02:33Z",
    "updated": "2021-09-07T14:56:44Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2021/156.pdf",
    "sha256": "1d682f3e4ae5ab5619ebf37eb229600051e77d1b9af76d00f2765712e038a865",
    "size": 997515,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:28Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2021/156/versions/20240114T061328Z.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/156.pdf",
      "size": 997515,
      "sha256": "1d682f3e4ae5ab5619ebf37eb229600051e77d1b9af76d00f2765712e038a865",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2021/156/versions/20210516T090523Z.pdf",
      "captured_at": "2021-05-16T09:05:23Z",
      "label": "copy captured 2021-05-16",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20210516090523id_/https://eprint.iacr.org/2021/156.pdf",
      "size": 978659,
      "sha256": "1c97efc111702347c0d89280dc810971a7f02f480b745910462da2c34f2a3f34",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260301023125id_/https://eprint.iacr.org/2021/156.pdf",
      "captured_at": "2026-03-01T02:31:25Z",
      "size": 998445
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/156.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "size": 997515
    }
  ],
  "bibtex": "@misc{cryptoeprint:2021/156,\n      author = {Manuel Barbosa and Gilles Barthe and Benjamin Grégoire and Adrien Koutsos and Pierre-Yves Strub},\n      title = {Mechanized Proofs of Adversarial Complexity and Application to Universal Composability},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2021/156},\n      year = {2021},\n      url = {https://eprint.iacr.org/2021/156}\n}"
}
