{
  "id": "2022/1278",
  "url": "https://opencryptology.org/2022/1278",
  "original_url": "https://eprint.iacr.org/2022/1278",
  "title": "Fast Evaluation of S-boxes with Garbled Circuits",
  "authors": [
    "Erik Pohle",
    "Aysajan Abidin",
    "Bart Preneel"
  ],
  "affiliations": null,
  "abstract": "Garbling schemes are vital primitives for privacy-preserving protocols and secure two-party computation. In projective garbling schemes, $n$ values are assigned to each wire in the circuit. Current state-of-the-art schemes project two values.\nThis paper presents a projective garbling scheme that assigns $2^n$ values to wires in a circuit comprising XOR and unary projection gates. A generalization of FreeXOR allows the XOR of wires with $2^n$ values to be very efficient. We then analyze the performance of our scheme by evaluating substitution-permutation ciphers. Using our proposal, we measure high-speed evaluation of the ciphers with a moderately increased cost in garbling and bandwidth. Theoretical analysis suggests that for evaluating the nine examined ciphers, one can expect a 4- to 70-fold improvement in evaluation performance with, at most, a 4-fold increase in garbling cost and, at most, an 8-fold increase in communication cost compared to state-of-the-art garbling schemes. In an offline/online setting, such as secure function evaluation as a service, the circuit garbling and communication to the evaluator can proceed before the input phase. Thus, our scheme offers a fast online phase. Furthermore, we present efficient Boolean circuits for the S-boxes of TWINE and Midori64 ciphers. To our knowledge, our formulas give the smallest number of AND gates for the S-boxes of these two ciphers.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Fast Evaluation of S-boxes with Garbled Circuits” by Erik Pohle, Aysajan Abidin, Bart Preneel, Cryptology ePrint Archive, Paper 2022/1278, https://eprint.iacr.org/2022/1278. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2022-09-26T15:10:08Z",
    "updated": "2024-06-05T11:43:19Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/1278.pdf",
    "sha256": "6929bcaa965397a987d893539e22692ad8af6101ea9adfb5cf2006f8ca6c9cd7",
    "size": 440515,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/1278/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1278.pdf",
      "size": 440515,
      "sha256": "6929bcaa965397a987d893539e22692ad8af6101ea9adfb5cf2006f8ca6c9cd7",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2022/1278/versions/20240315T215107Z.pdf",
      "captured_at": "2024-03-15T21:51:07Z",
      "label": "copy captured 2024-03-15",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240315215107id_/https://eprint.iacr.org/2022/1278.pdf",
      "size": 700015,
      "sha256": "da8afcb0d53b7e0f39a45e7c0e7c9cc90c337f5684596c58358e0d80c565875b",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2022/1278/versions/20221019T064631Z.pdf",
      "captured_at": "2022-10-19T06:46:31Z",
      "label": "copy captured 2022-10-19",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20221019064631id_/https://eprint.iacr.org/2022/1278.pdf",
      "size": 737076,
      "sha256": "d997195548815e4c0a444d1335bdd2f9f2a8d866e5bbb6408e6f3b09608dc8cf",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1278.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 440515
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260102040700id_/https://eprint.iacr.org/2022/1278.pdf",
      "captured_at": "2026-01-02T04:07:00Z",
      "size": 441435
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/1278,\n      author = {Erik Pohle and Aysajan Abidin and Bart Preneel},\n      title = {Fast Evaluation of S-boxes with Garbled Circuits},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/1278},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/1278}\n}"
}
