On Proving the Security of Message Authentication Codes Using Lambda-BLL and Hoare Logic

Dinelli, Michele (2026) On Proving the Security of Message Authentication Codes Using Lambda-BLL and Hoare Logic. [Laurea magistrale], Università di Bologna, Corso di Studio in Informatica [LM-DM270]
Documenti full-text disponibili:
[thumbnail of Thesis] Documento PDF (Thesis)
Disponibile con Licenza: Creative Commons: Attribuzione - Non commerciale - Condividi allo stesso modo 4.0 (CC BY-NC-SA 4.0)

Download (1MB)

Abstract

Reduction-based proofs are the standard technique for establishing the security of cryptographic constructions in the computational model. However, encoding such proofs within formal systems remains a difficult task, as these proofs involve probabilistic computation, adversarial interaction, and explicit reasoning about resource bounds and computational efficiency. This thesis studies the use of programming-language techniques for formalizing cryptographic proofs in the computational model. We work within lambda-BLL, a probabilistic lambda calculus whose graded type system characterizes probabilistic polynomial-time computation. To support reasoning about program correctness and cryptographic experiments, we introduce an assertion-annotated extension of lambda-BLL inspired by Hoare logic, together with a lifting procedure that embeds standard typing judgments into the enriched system. Within this framework, we formalize the security of Message Authentication Codes (MACs) constructed from pseudorandom functions by proving existential unforgeability under chosen-message attacks (EUF-CMA). Overall, this work shows that the lambda-BLL calculus is expressive enough to represent classical cryptographic reductions while statically enforcing polynomial-time resource bounds. By extending the calculus with Hoare-style assertions, we enable reasoning about invariants during program execution as well as about stateful references that arise in cryptographic constructions. This demonstrates the potential of the framework as a foundation for the formal verification of proofs in computational cryptography.

Abstract
Tipologia del documento
Tesi di laurea (Laurea magistrale)
Autore della tesi
Dinelli, Michele
Relatore della tesi
Correlatore della tesi
Scuola
Corso di studio
Indirizzo
CURRICULUM A: TECNICHE DEL SOFTWARE
Ordinamento Cds
DM270
Parole chiave
Cryptography,Lambda-BLL,Computational Cryptography,Hoare Logic,Probabilistic Lambda Calculus,Contextual Indistinguishability,Formal Verification,Lambda-Calculus,Message Authentication Codes
Data di discussione della Tesi
26 Marzo 2026
URI

Altri metadati

Statistica sui download

Gestione del documento: Visualizza il documento

^