Mechanized Proofs of Adversarial Complexity and Application to UC


We enhance the EasyCrypt proof assistant to reason about 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 previously lacking. We showcase (for the first time in EasyCrypt and in other compu- ter-aided cryptographic tools) how our approach can express pre- cise 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 compo- sition 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 se- curity proofs of some well-known cryptographic constructions and we present a new formalization of Universal Composability (UC). (joint work with M. Barbosa, G. Barthe, B. Grégoire and P.-Y. Strub)

Dec 15, 2023 3:00 PM
Online Event

My research interests include formal methods, security, cryptographic protocols and privacy.