A cryptographic protocol compiler for multiparty sessions

  • Authors:
  • Cédric Fournet

  • Affiliations:
  • Microsoft Research, Cambridge, United Kingdom

  • Venue:
  • Proceedings of the 2009 ACM SIGPLAN workshop on ML
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present the design and implementation of a verifying compiler that, given high-level multiparty session descriptions, generates custom cryptographic protocols. Our sessions specify pre-arranged patterns of message exchanges and data accesses between distributed participants. They provide each participant with strong, abstract security guarantees for all their messages. Our compiler generates ML code for sending and receiving these messages, with cryptographic operations and checks, in order to enforce these guarantees against any adversary that may control both the network and some session participants. We verify that the generated code is secure by relying on a recent refinement type system for cryptography. Most of the proof is performed by mechanized typechecking and does not rely on the correctness of our compiler. We obtain the strongest session security guarantees to date in a model that captures the executable details of protocol code. We illustrate and evaluate our approach on a series of protocols inspired by web services.