{
  "id": "2017/821",
  "url": "https://opencryptology.org/2017/821",
  "original_url": "https://eprint.iacr.org/2017/821",
  "title": "A Fast and Verified Software Stack for Secure Function Evaluation",
  "authors": [
    "José Bacelar Almeida",
    "Manuel Barbosa",
    "Gilles Barthe",
    "François Dupressoir",
    "Benjamin Grégoire",
    "Vincent Laporte",
    "Vitor Pereira"
  ],
  "affiliations": null,
  "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.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“A Fast and Verified Software Stack for Secure Function Evaluation” by José Bacelar Almeida, Manuel Barbosa, Gilles Barthe, François Dupressoir, Benjamin Grégoire, Vincent Laporte, Vitor Pereira, Cryptology ePrint Archive, Paper 2017/821, https://eprint.iacr.org/2017/821. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2017-08-31T18:35:46Z",
    "updated": "2017-08-31T18:35:46Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2017/821.pdf",
    "sha256": "d9c00099a28d1a3a0262d24fe6841d64eef2888163feade0c7d5bac6666fea03",
    "size": 941307,
    "source": "github-mirror",
    "source_date": "2019-02-25T17:41:11Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2017/821/versions/20190225T174111Z.pdf",
      "captured_at": "2019-02-25T17:41:11Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2017/821.pdf",
      "size": 941307,
      "sha256": "d9c00099a28d1a3a0262d24fe6841d64eef2888163feade0c7d5bac6666fea03",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260223052521id_/https://eprint.iacr.org/2017/821.pdf",
      "captured_at": "2026-02-23T05:25:21Z",
      "size": 933608
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2017/821.pdf",
      "captured_at": "2019-02-25T17:41:11Z",
      "size": 941307
    }
  ],
  "bibtex": "@misc{cryptoeprint:2017/821,\n      author = {José Bacelar Almeida and Manuel Barbosa and Gilles Barthe and François Dupressoir and Benjamin Grégoire and Vincent Laporte and Vitor Pereira},\n      title = {A Fast and Verified Software Stack for Secure Function Evaluation},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2017/821},\n      year = {2017},\n      url = {https://eprint.iacr.org/2017/821}\n}"
}
