A High Assurance Evaluator for Machine-Checked Secure MultiParty Computation (CCS’19)

The paper presented in this blog post can be found here. This work was presented at CCS’19 by Vitor Pereira.

The area of secure MPC has been progressing rapidly in the past decade both from a theory and an application point of view. In addition to more efficient theoretical protocols, we now have faster implementations available out there (such as SCALE-MAMBA). However, even if we prove the underlying protocols secure, how can one be confident that the implementation of such protocols does indeed guarantee the same properties ? In this paper the authors provide a starting point to answering this issue, that is they provide a way to automatically generate verified code from a specification that has been proven secure.

To achieve this, the authors augmented EasyCrypt to reason about secret sharing and MPC protocols. In particular they made a substantial contribution to how EasyCrypt deals with polynomials, which is essential in Shamir secret sharing schemes. In their work, the authors provide a toolchain that generates OCaml code for the sharing and reconstruction procedures of secret sharing schemes. They also are able to generate code for BGW addition and multiplication in the MPC use case. This code is generated from a proven specification made in EasyCrypt which is then translated to Why3 and eventually to OCaml. In this work both passive and active security for honest majority are considered.

This work is a very interesting step towards secure implementation of MPC protocols. However some open problems still remain, two of which are to formalize UC security within EasyCrypt and make the OCaml generated code more efficient to be able to compare with the current state of the art regarding implementation.