{
  "id": "2015/1038",
  "url": "https://opencryptology.org/2015/1038",
  "original_url": "https://eprint.iacr.org/2015/1038",
  "title": "Revisiting LEGOs: Optimizations, Analysis, and their Limit",
  "authors": [
    "Yan Huang",
    "Ruiyu Zhu"
  ],
  "affiliations": null,
  "abstract": "The Cut-and-choose paradigm gives by far the most popular and efficient secure two-party computation protocols in the standard malicious model, able to offer s bits of security with only s copies of garbled circuits in the one-time execution scenario. Nielsen and Orlandi et al. have even proposed the seminal idea of LEGO-style cut-and-choose to further reduce the number of circuit copies to less than s while still keep constant round complexity. However, a substantial gap still exists between the theoretical idea of LEGO cut-and-choose and a practical implementation, e.g., LEGO is not compatible with free-XOR and uses expensive asymmetric key operations for soldering, while MiniLEGO leaves the important building-block of soldering unspecified.\n\nIn this work, we introduce XOR-Homomorphic Interactive Hash and propose an efficient implementation of this primitive by combining Reed-Solomon encoding and k-out-of-n oblivious transfers. We show how to apply this primitive to solve the performance-critical wire-soldering problem and propose a new LEGO-style cut-and-choose protocol. Comparing to previous LEGO-style protocols, ours only requires a single (as opposed to “a majority of”) correctly garbled gate in each bucket to guarantee security against malicious adversaries. Plus, through integrating Half-Gates garbling, we double the chance a “bad” gate being detected in the check stage (compared to MiniLEGO). Our construction is more bandwidth-efficient than Lindell (CRYPTO, 2013) either when the circuit size N is sufficiently large, or when N is larger than a threshold solely determined by the ratio between the input and circuit sizes. E.g., we use less bandwidth for computing most linear and sub-linear functions.\n\nDeploying a LEGO-style cut-and-choose protocol involves convoluted protocol parameter selection. To this end, we give a thorough analysis of the relations among all protocol parameters and propose efficient algorithms that automate the search for the optimal parameter configuration based on a requirement specification (i.e., the security parameters s,k and application parameter N) with provable accuracy.\n\nLast, we formally prove a tight bound on the benefit of LEGO-style secure computation protocols, in the sense that the circuit duplication factor $\\kappa$ has to be larger than 2 and any $\\kappa > 2$ is indeed achievable. This corrects a common mistake of claiming LEGO cut-and-choose can reduce $\\kappa$ to $O(sk/ \\log N)$ since $2 \not\\in O(sk/\\log N)$.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Revisiting LEGOs: Optimizations, Analysis, and their Limit” by Yan Huang, Ruiyu Zhu, Cryptology ePrint Archive, Paper 2015/1038, https://eprint.iacr.org/2015/1038. 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-28T00:46:38Z",
    "updated": "2015-11-04T02:09:38Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2015/1038.pdf",
    "sha256": "4b6ce7bb018e4de87cdb20dcf4017ba87118664ac09694fece3839757146f9b1",
    "size": 779114,
    "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/1038/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/1038.pdf",
      "size": 779114,
      "sha256": "4b6ce7bb018e4de87cdb20dcf4017ba87118664ac09694fece3839757146f9b1",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260908173440id_/https://eprint.iacr.org/2015/1038.pdf",
      "captured_at": "2026-09-08T17:34:40Z",
      "size": 780471
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2015/1038.pdf",
      "captured_at": "2019-02-25T17:07:53Z",
      "size": 779114
    }
  ],
  "bibtex": "@misc{cryptoeprint:2015/1038,\n      author = {Yan Huang and Ruiyu Zhu},\n      title = {Revisiting LEGOs: Optimizations, Analysis, and their Limit},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2015/1038},\n      year = {2015},\n      url = {https://eprint.iacr.org/2015/1038}\n}"
}
