Lune

CCS2021Top-tier venue

Mechanized Proofs of Adversarial Complexity and Application to Universal Composability

Manuel Barbosa, Gilles Barthe, Benjamin Grégoire, Adrien Koutsos, Pierre-Yves Strub

Abstract

In this work, we enhance the EasyCrypt proof assistant to reason about the computational complexity of adversaries. The key technical tool is a Hoare logic for reasoning about computational complexity (execution time and oracle calls) of adversarial computations. Our Hoare logic is built on top of the module system used by EasyCrypt for modeling adversaries. We prove that our logic is sound w.r.t. the semantics of EasyCrypt programs—we also provide full semantics for the EasyCrypt module system, which was lacking previously. We showcase (for the first time in EasyCrypt and in other computer-aided cryptographic tools) how our approach can express precise relationships between the probability of adversarial success and their execution time. In particular, we can quantify existentially over adversaries in a complexity class and express general composition statements in simulation-based frameworks. Moreover, such statements can be composed to derive standard concrete security bounds for cryptographic constructions whose security is proved in a modular way. As a main benefit of our approach, we revisit security proofs of some well-known cryptographic constructions and present a new formalization of universal composability.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • A Core Calculus for Equational Proofs of Cryptographic Protocols cites SoK: Computer-Aided Cryptography
  • Asynchronous Probabilistic Couplings in Higher-Order Separation Logic cites A Core Calculus for Equational Proofs of Cryptographic Protocols
  • Asynchronous Probabilistic Couplings in Higher-Order Separation Logic cites Machine-Checked Proofs for Cryptographic Standards: Indifferentiability of Sponge and Secure High-Assurance Implementations of SHA-3
  • SoK: Computer-Aided Cryptography cites A Machine-Checked Proof of Security for AWS Key Management Service
  • SoK: Computer-Aided Cryptography cites Machine-Checked Proofs for Cryptographic Standards: Indifferentiability of Sponge and Secure High-Assurance Implementations of SHA-3
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Asynchronous Probabilistic Couplings in Higher-Order Separation LogicSimon Oddershede Gregersen, Alejandro Aguirre, Philipp G. Haselwarter, Joseph Tassarotti et al.POPL 2024 · 23 citations
  2. A Core Calculus for Equational Proofs of Cryptographic ProtocolsJoshua Gancher, Kristina Sojakova, Xiong Fan, Elaine Shi et al.POPL 2023 · 8 citations
  3. Hopping Proofs of Expectation-Based Properties: Applications to Skiplists and Security ProofsMartin Avanzini, Gilles Barthe, Benjamin Grégoire, Georg Moser et al.OOPSLA 2024 · 5 citations
  4. EasyPQC: Verifying Post-Quantum CryptographyManuel Barbosa, Gilles Barthe, Xiong Fan, Benjamin Grégoire et al.CCS 2021 · 2 citations
  5. Program Analysis for Adaptive Data AnalysisJiawen Liu, Weihao Qu, Marco Gaboardi, Deepak Garg et al.PLDI 2024 · 2 citations

Builds on4

  1. SoK: Computer-Aided CryptographyManuel Barbosa, Gilles Barthe, Karthik Bhargavan, Bruno Blanchet et al.S&P 2021 · 169 citations
  2. Aiming low is harder: induction for lower bounds in probabilistic program verificationMarcel Hark, Benjamin Lucien Kaminski, Jürgen Giesl, Joost-Pieter KatoenPOPL 2020 · 47 citations
  3. Machine-Checked Proofs for Cryptographic Standards: Indifferentiability of Sponge and Secure High-Assurance Implementations of SHA-3José Bacelar Almeida, Cécile Baritel-Ruet, Manuel Barbosa, Gilles Barthe et al.CCS 2019 · 35 citations
  4. A Machine-Checked Proof of Security for AWS Key Management ServiceJosé Bacelar Almeida, Manuel Barbosa, Gilles Barthe, Matthew Campagna et al.CCS 2019 · 24 citations

Related papers

  1. Combining Classical and Probabilistic Independence Reasoning to Verify the Security of Oblivious AlgorithmsPengbo Yan, Toby Murray, Olga Ohrimenko, Van-Thuan Pham et al.FM 2024 · 2 citations
  2. A High-Assurance Evaluator for Machine-Checked Secure Multiparty ComputationKarim Eldefrawy, Vitor PereiraCCS 2019 · 14 citations
  3. Relational Hoare Logic for Realistically Modelled Machine CodeDenis Mazzucato, Abdalrhman Mohamed, Juneyoung Lee, Clark W. Barrett et al.CAV 2025 · 1 citation
  4. Foundations for Cryptographic Reductions in CCSA LogicsDavid Baelde, Adrien Koutsos, Justine SauvageCCS 2024
  5. A Higher-Order Indistinguishability Logic for Cryptographic ReasoningDavid Baelde, Adrien Koutsos, Joseph LallemandLICS 2023 · 6 citations
Dusk over the sea between two cliffs drawn in fine vertical lines