Mechanized Proofs of Adversarial Complexity and Application to Universal Composability - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Journal Articles ACM Transactions on Privacy and Security Year : 2023

Mechanized Proofs of Adversarial Complexity and Application to Universal Composability

Abstract

In this paper we enhance the EasyCrypt proof assistant to reason about computational complexity of ad- versaries. 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 previously lacking. 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 we present a new formalization of Universal Composability (UC).
Fichier principal
Vignette du fichier
hal-preprint.pdf (1012.33 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-04048217 , version 1 (27-03-2023)

Licence

Attribution

Identifiers

Cite

Manuel Barbosa, Gilles Barthe, Benjamin Grégoire, Adrien Koutsos, Pierre-Yves Strub. Mechanized Proofs of Adversarial Complexity and Application to Universal Composability: Journal pre-print: full version. ACM Transactions on Privacy and Security, 2023, 26 (3), pp.1-34. ⟨10.1145/3589962⟩. ⟨hal-04048217⟩
49 View
51 Download

Altmetric

Share

Gmail Facebook X LinkedIn More