{
  "id": "2008/427",
  "url": "https://opencryptology.org/2008/427",
  "original_url": "https://eprint.iacr.org/2008/427",
  "title": "LEGO for Two Party Secure Computation",
  "authors": [
    "Jesper Buus Nielsen",
    "Claudio Orlandi"
  ],
  "affiliations": null,
  "abstract": "The first and still most popular solution for secure two-party\ncomputation relies on Yao's garbled circuits.  Unfortunately, Yao's\nconstruction provide security only against passive adversaries.\nSeveral constructions (zero-knowledge compiler, cut-and-choose) are\nknown in order to provide security against active adversaries, but\nmost of them are not efficient enough to be considered practical.  In\nthis paper we propose a new approach called LEGO (Large Efficient\nGarbled-circuit Optimization) for two-party computation, which allows\nto construct more efficient protocols secure against active\nadversaries. The basic idea is the following: Alice constructs and\nprovides Bob a set of garbled NAND gates. A fraction of them is\nchecked by Alice giving Bob the randomness used to construct\nthem. When the check goes through, with overwhelming probability there\nare very few bad gates among the non-checked gates. These gates Bob\npermutes and connects to a Yao circuit, according to a fault-tolerant\ncircuit design which computes the desired function even in the\npresence of a few random faulty gates. Finally he evaluates this Yao\ncircuit in the usual way.\n\nFor large circuits, our protocol offers better performance than any\nother existing protocol.\n\nThe protocol is universally composable (UC) in the OT-hybrid model.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“LEGO for Two Party Secure Computation” by Jesper Buus Nielsen, Claudio Orlandi, Cryptology ePrint Archive, Paper 2008/427, https://eprint.iacr.org/2008/427. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2008-10-08T15:38:25Z",
    "updated": "2011-04-04T11:10:35Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2008/427.pdf",
    "sha256": "41fe52e8da8827fbe0e85983c2a1ade5b9dbc5d75a052770de5447b2e60b7965",
    "size": 300783,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:13:43Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2008/427/versions/20190225T161343Z.pdf",
      "captured_at": "2019-02-25T16:13:43Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2008/427.pdf",
      "size": 300783,
      "sha256": "41fe52e8da8827fbe0e85983c2a1ade5b9dbc5d75a052770de5447b2e60b7965",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260408214943id_/https://eprint.iacr.org/2008/427.pdf",
      "captured_at": "2026-04-08T21:49:43Z",
      "size": 270019
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2008/427.pdf",
      "captured_at": "2019-02-25T16:13:43Z",
      "size": 300783
    }
  ],
  "bibtex": "@misc{cryptoeprint:2008/427,\n      author = {Jesper Buus Nielsen and Claudio Orlandi},\n      title = {LEGO for Two Party Secure Computation},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2008/427},\n      year = {2008},\n      url = {https://eprint.iacr.org/2008/427}\n}"
}
