Skip to Main content Skip to Navigation
Book sections

Cryptographic Verification by Typing for a Sample Protocol Implementation

Abstract : Type systems are effective tools for verifying the security of cryptographic protocols and implementations. They provide automation, modularity and scalability, and have been applied to large protocols. In this tutorial, we illustrate the use of types for verifying authenticity properties, first using a symbolic model of cryptography, then relying on a concrete computational assumption. (1) We introduce refinement types (that is, types carrying formulas to record invariants) for programs written in F# and verified by F7, an SMT-based type checker. (2) We describe a sample authenticated RPC protocol, we implement it in F#, and we specify its security against active adversaries. (3) We develop a sample symbolic library, we present its main cryptographic invariants, and we show that our RPC implementation is perfectly secure when linked to this symbolic library. (4) We implement the same library using concrete cryptographic primitives, we make a standard computational assumption, and we show that our RPC implementation is also secure with overwhelming probability when linked to this concrete library.
Complete list of metadata

Cited literature [37 references]  Display  Hide  Download

https://hal.inria.fr/hal-01295013
Contributor : Bhargavan Karthikeyan <>
Submitted on : Monday, April 4, 2016 - 2:24:55 PM
Last modification on : Thursday, April 26, 2018 - 10:28:26 AM
Long-term archiving on: : Tuesday, July 5, 2016 - 1:50:10 PM

File

cryptographic_verification_fos...
Files produced by the author(s)

Identifiers

Collections

Citation

Cédric Fournet, Karthikeyan Bhargavan, Andrew Gordon. Cryptographic Verification by Typing for a Sample Protocol Implementation. Alessandro Aldini; Roberto Gorrieri Cryptographic Verification by Typing for a Sample Protocol Implementation, 6858, Springer, 2011, LNCS - Lecture Notes in Computer Science, 978-3-642-23081-3. ⟨10.1007/978-3-642-23082-0_3⟩. ⟨hal-01295013⟩

Share

Metrics

Record views

152

Files downloads

289