Paper 2021/397 Original: eprint.iacr.org/2021/397 ↗

SSProve: A Foundational Framework for Modular Cryptographic Proofs in Coq

Philipp G. Haselwarter
Exequiel Rivas
Antoine Van Muylder
Théo Winterhalter
Carmine Abate
Nikolaj Sidorenco
Catalin Hritcu
Kenji Maillard
Bas Spitters
Abstract

State-separating proofs (SSP) is a recent methodology for structuring game-based cryptographic proofs in a modular way, by using algebraic laws to exploit the modular structure of composed protocols. While promising, this methodology was previously not fully formalized and came with little tool support. We address this by introducing SSProve, the first general verification framework for machine-checked state-separating proofs. SSProve combines high-level modular proofs about composed protocols, as proposed in SSP, with a probabilistic relational program logic for formalizing the lower-level details, which together enable constructing machine-checked cryptographic proofs in the Coq proof assistant. Moreover, SSProve is itself fully formalized in Coq, including the algebraic laws of SSP, the soundness of the program logic, and the connection between these two verification styles. To illustrate SSProve we use it to mechanize the simple security proofs of ElGamal and PRF-based encryption. We also validate the SSProve approach by conducting two more substantial case studies: First, we mechanize an SSP security proof of the KEM-DEM public key encryption scheme, which led to the discovery of an error in the original paper proof that has since been fixed. Second, we use SSProve to formally prove security of the sigma-protocol zero-knowledge construction, and we moreover construct a commitment scheme from a sigma-protocol to compare with a similar development in CryptHOL. We instantiate the security proof for sigma-protocols to give concrete security bounds for Schnorr's sigma-protocol.

Metadata
Available format(s)
PDF
Category
Foundations
Publication info
Preprint.
History
2023-11-08: last updated
2021-03-27: published
Short URL
https://ia.cr/2021/397
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@misc{cryptoeprint:2021/397,
      author = {Philipp G.  Haselwarter and Exequiel Rivas and Antoine Van Muylder and Théo Winterhalter and Carmine Abate and Nikolaj Sidorenco and Catalin Hritcu and Kenji Maillard and Bas Spitters},
      title = {SSProve: A Foundational Framework for Modular Cryptographic Proofs in Coq},
      howpublished = {Cryptology {ePrint} Archive, Paper 2021/397},
      year = {2021},
      url = {https://eprint.iacr.org/2021/397}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.