{
  "id": "2015/987",
  "url": "https://opencryptology.org/2015/987",
  "original_url": "https://eprint.iacr.org/2015/987",
  "title": "Blazing Fast 2PC in the Offline/Online Setting with Security for Malicious Adversaries",
  "authors": [
    "Yehuda Lindell",
    "Ben Riva"
  ],
  "affiliations": null,
  "abstract": "Recently, several new techniques were presented to dramatically improve key parts of secure two-party computation (2PC) protocols that use the cut-and-choose paradigm on garbled circuits for 2PC with security against malicious adversaries. These include techniques for reducing the number of garbled circuits (Lindell 13, Huang et al.~13, Lindell and Riva 14, Huang et al.~14) and techniques for reducing the overheads besides garbled circuits (Mohassel and Riva 13, Shen and Shelat~13).\n\nWe design a highly optimized protocol in the offline/online setting that makes use of all state-of-the-art techniques, along with several new techniques that we introduce. A crucial part of our protocol is a new technique for enforcing consistency of the inputs used by the party who garbles the circuits. This technique has both theoretical and practical advantages over \\mbox{previous methods.}\n\nWe present a prototype implementation of our new protocol, which is also the first implementation of the amortized cut-and-choose technique of Lindell and Riva (Crypto 2014).\nOur prototype achieves a speed of just \\emph{$7$ ms in the online stage} and just $74$ ms in the offline stage per 2PC invoked, for securely computing AES in the presence of malicious adversaries (using 9 threads on two 2.9GHz machines located in the same Amazon region). We note that no prior work has gone below one second overall on average for the secure computation of AES for malicious adversaries (nor below 20ms in the online stage). Our implementation securely evaluates SHA-256 (which is a \\emph{much bigger circuit}) with $33$ ms online time and $206$ ms offline time, per 2PC invoked.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Blazing Fast 2PC in the Offline/Online Setting with Security for Malicious Adversaries” by Yehuda Lindell, Ben Riva, Cryptology ePrint Archive, Paper 2015/987, https://eprint.iacr.org/2015/987. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2015-10-13T05:52:55Z",
    "updated": "2016-06-21T07:00:19Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2015/987.pdf",
    "sha256": "5cc24862e3d5d3972fcdee445c7bd2eaf38654b47013414845373b847624fa93",
    "size": 519157,
    "source": "github-mirror",
    "source_date": "2019-02-25T17:07:53Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2015/987/versions/20190225T170753Z.pdf",
      "captured_at": "2019-02-25T17:07:53Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2015/987.pdf",
      "size": 519157,
      "sha256": "5cc24862e3d5d3972fcdee445c7bd2eaf38654b47013414845373b847624fa93",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2015/987/versions/20160310T104039Z.pdf",
      "captured_at": "2016-03-10T10:40:39Z",
      "label": "copy captured 2016-03-10",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20160310104039id_/http://eprint.iacr.org/2015/987.pdf",
      "size": 500112,
      "sha256": "4dd1897e89fa8a0f42144f83fee63fefe57e40da36d33e18163f973cd4b174ba",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260222095257id_/https://eprint.iacr.org/2015/987.pdf",
      "captured_at": "2026-02-22T09:52:57Z",
      "size": 520080
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2015/987.pdf",
      "captured_at": "2019-02-25T17:07:53Z",
      "size": 519157
    }
  ],
  "bibtex": "@misc{cryptoeprint:2015/987,\n      author = {Yehuda Lindell and Ben Riva},\n      title = {Blazing Fast 2PC in the Offline/Online Setting with Security for Malicious Adversaries},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2015/987},\n      year = {2015},\n      url = {https://eprint.iacr.org/2015/987}\n}"
}
