{
  "id": "2016/685",
  "url": "https://opencryptology.org/2016/685",
  "original_url": "https://eprint.iacr.org/2016/685",
  "title": "Overlaying Circuit Clauses for Secure Computation",
  "authors": [
    "W. Sean Kennedy",
    "Vladimir Kolesnikov",
    "Gordon Wilfong"
  ],
  "affiliations": null,
  "abstract": "Given a set S = {C_1,...,C_k } of Boolean circuits, we show how to construct a universal for S circuit C_0, which is much smaller than Valiant’s universal circuit or a circuit incorporating all C_1,...,C_k.  Namely, given C_1,...,C_k and viewing them as directed acyclic graphs (DAGs) D_1,...,D_k, we embed them in a new graph D_0. The embedding is such that a GC garbling of any of C_1,...,C_k could be implemented by a corresponding garbling of a circuit corresponding to D_0.\n\nWe show how to improve Garbled Circuit (GC) and GMW-based secure function evaluation (SFE) of circuits with if/switch clauses using such S-universal circuit.\n\nThe most interesting case here is the application to the GMW  approach. We provide a novel observation that in GMW the cost of processing a gate is almost the same for 5 (or more) Boolean inputs,\nas it is for the usual case of 2 Boolean inputs. While we expect this observation to greatly improve general GMW-based computation, in our context this means that GMW gates can be programmed almost for free, based on the secret-shared programming of the clause.\n\nOur approach naturally and cheaply supports nested clauses. Our algorithm is a heuristic; we show that solving the circuit embedding problem is NP-hard. Our algorithms are in the semi-honest model and are compatible with Free-XOR.\n\nWe report on experimental evaluations and discuss achieved performance in detail. For 32 diverse circuits in our experiment, our construction results 6.1x smaller circuit than prior techniques.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Overlaying Circuit Clauses for Secure Computation” by W. Sean Kennedy, Vladimir Kolesnikov, Gordon Wilfong, Cryptology ePrint Archive, Paper 2016/685, https://eprint.iacr.org/2016/685. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2016-07-12T19:33:08Z",
    "updated": "2016-10-20T13:18:12Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2016/685.pdf",
    "sha256": "20428922a1d9ef203eb5415f0558fb368730dfb9b755aa775a8c011b44d26204",
    "size": 1206792,
    "source": "github-mirror",
    "source_date": "2019-02-25T17:24:56Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2016/685/versions/20190225T172456Z.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/685.pdf",
      "size": 1206792,
      "sha256": "20428922a1d9ef203eb5415f0558fb368730dfb9b755aa775a8c011b44d26204",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260102190259id_/https://eprint.iacr.org/2016/685.pdf",
      "captured_at": "2026-01-02T19:02:59Z",
      "size": 837835
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/685.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "size": 1206792
    }
  ],
  "bibtex": "@misc{cryptoeprint:2016/685,\n      author = {W. Sean Kennedy and Vladimir Kolesnikov and Gordon Wilfong},\n      title = {Overlaying Circuit Clauses for Secure Computation},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2016/685},\n      year = {2016},\n      url = {https://eprint.iacr.org/2016/685}\n}"
}
