Lune

CCS2017Top-tier venue

A Fast and Verified Software Stack for Secure Function Evaluation

José Bacelar Almeida, Manuel Barbosa, Gilles Barthe, François Dupressoir, Benjamin Grégoire, Vincent Laporte, Vitor Pereira

Abstract

We present a high-assurance software stack for secure function evaluation (SFE). Our stack consists of three components: i. a verified compiler (CircGen) that translates C programs into Boolean circuits; ii. a verified implementation of Yao's SFE protocol based on garbled circuits and oblivious transfer; and iii. transparent application integration and communications via FRESCO, an open-source framework for secure multiparty computation (MPC). CircGen is a general purpose tool that builds on CompCert, a verified optimizing compiler for C. It can be used in arbitrary Boolean circuit-based cryptography deployments. The security of our SFE protocol implementation is formally verified using EasyCrypt, a tool-assisted framework for building high-confidence cryptographic proofs, and it leverages a new formalization of garbled circuits based on the framework of Bellare, Hoang, and Rogaway (CCS 2012). We conduct a practical evaluation of our approach, and conclude that it is competitive with state-of-the-art (unverified) approaches. Our work provides concrete evidence of the feasibility of building efficient, verified, implementations of higher-level cryptographic systems. All our development is publicly available.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • PPE Circuits for Rational Polynomials cites A Machine-Checked Proof of Security for AWS Key Management Service
  • PPE Circuits for Rational Polynomials cites SoK: Computer-Aided Cryptography
  • SoK: Computer-Aided Cryptography cites A Machine-Checked Proof of Security for AWS Key Management Service
  • SoK: Computer-Aided Cryptography cites The Last Mile: High-Assurance and High-Speed Cryptographic Implementations
  • SoK: Computer-Aided Cryptography cites Implementing and Proving the TLS 1.3 Record Layer
  • Machine-checked ZKP for NP relations: Formally Verified Security Proofs and Implementations of MPC-in-the-Head cites SoK: Computer-Aided Cryptography
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. SoK: Computer-Aided CryptographyManuel Barbosa, Gilles Barthe, Karthik Bhargavan, Bruno Blanchet et al.S&P 2021 · 169 citations
  2. The Last Mile: High-Assurance and High-Speed Cryptographic ImplementationsJosé Bacelar Almeida, Manuel Barbosa, Gilles Barthe, Benjamin Grégoire et al.S&P 2020 · 67 citations
  3. A Machine-Checked Proof of Security for AWS Key Management ServiceJosé Bacelar Almeida, Manuel Barbosa, Gilles Barthe, Matthew Campagna et al.CCS 2019 · 24 citations
  4. Machine-checked ZKP for NP relations: Formally Verified Security Proofs and Implementations of MPC-in-the-HeadJosé Bacelar Almeida, Manuel Barbosa, Manuel L. Correia, Karim Eldefrawy et al.CCS 2021 · 1 citation
  5. PPE Circuits for Rational PolynomialsSusan Hohenberger, Satyanarayana VusirikalaCCS 2021

Builds on1

  1. Implementing and Proving the TLS 1.3 Record LayerAntoine Delignat-Lavaud, Cédric Fournet, Markulf Kohlweiss, Jonathan Protzenko et al.S&P 2017 · 20 citations

Related papers

  1. A High-Assurance Evaluator for Machine-Checked Secure Multiparty ComputationKarim Eldefrawy, Vitor PereiraCCS 2019 · 14 citations
  2. SoK: General Purpose Compilers for Secure Multi-Party ComputationMarcella Hastings, Brett Hemenway, Daniel Noble, Steve ZdancewicS&P 2019 · 181 citations
  3. CirC: Compiler infrastructure for proof systems, software verification, and moreAlex Ozdemir, Fraser Brown, Riad S. WahbyS&P 2022 · 60 citations
  4. CryptOpt: Verified Compilation with Randomized Program Search for Cryptographic PrimitivesJoel Kuepper, Andres Erbsen, Jason Gross, Owen Conoly et al.PLDI 2023 · 12 citations
  5. CompCertELF: verified separate compilation of C programs into ELF object filesYuting Wang, Xiangzhe Xu, Pierre Wilke, Zhong ShaoOOPSLA 2020 · 26 citations
Dusk over the sea between two cliffs drawn in fine vertical lines