{
  "id": "2023/1527",
  "url": "https://opencryptology.org/2023/1527",
  "original_url": "https://eprint.iacr.org/2023/1527",
  "title": "Adaptive Garbled Circuits and Garbled RAM from Non-Programmable Random Oracles",
  "authors": [
    "Cruz Barnum",
    "David Heath",
    "Vladimir Kolesnikov",
    "Rafail Ostrovsky"
  ],
  "affiliations": null,
  "abstract": "Garbled circuit techniques that are secure in the  adaptive setting -- where inputs are chosen after the garbled program is sent -- are motivated by practice, but they are notoriously difficult to achieve. Prior adaptive garbling is either impractically expensive or encrypts the entire garbled program with the output of a programmable random oracle (PRO), a strong assumption.\n\nWe present a simple framework for proving adaptive security of garbling schemes in the non-programmable random oracle (NPRO) model. NPRO is a milder assumption than PRO, and it is close to the assumption required by the widely used Free XOR extension. Our framework is applicable to a number of existing GC techniques, which are proved adaptively secure without modification.\n\nAs our main application of the framework, we construct and prove adaptively secure a garbling scheme for tri-state circuits, a recently proposed circuit model that captures both Boolean circuits and RAM programs (Heath et al., Crypto 2023). For a given TSC $C$, our garbling of $C$ is at most $|C|\\cdot \\lambda$ bits long, where $\\lambda$ is the security parameter. This implies both an adaptively secure garbled Boolean circuit scheme, as well an adaptively secure garbled RAM scheme where the garbling of $T$ steps of a RAM program has size $O(T \\cdot \\log^3 T \\cdot \\log \\log T \\cdot \\lambda)$ bits.  \n    \nOur scheme is concretely efficient: its Boolean circuit handling matches the performance of half-gates, and it is adaptively secure from NPRO.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Adaptive Garbled Circuits and Garbled RAM from Non-Programmable Random Oracles” by Cruz Barnum, David Heath, Vladimir Kolesnikov, Rafail Ostrovsky, Cryptology ePrint Archive, Paper 2023/1527, https://eprint.iacr.org/2023/1527. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2023-10-06T17:00:27Z",
    "updated": "2025-05-24T05:30:42Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/1527.pdf",
    "sha256": "b6e02f5744295d802307c10d0eb761274ee43e64a31c315412b57107fc29dfa5",
    "size": 622120,
    "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/2023/1527/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/2023/1527.pdf",
      "size": 622120,
      "sha256": "b6e02f5744295d802307c10d0eb761274ee43e64a31c315412b57107fc29dfa5",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2023/1527/versions/20241001T164249Z.pdf",
      "captured_at": "2024-10-01T16:42:49Z",
      "label": "copy captured 2024-10-01",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20241001164249id_/https://eprint.iacr.org/2023/1527.pdf",
      "size": 627355,
      "sha256": "1802267b4e9a901336e2869a16f618ce7988daae54a0e71b8cc5594b117e2b04",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2023/1527/versions/20240415T002231Z.pdf",
      "captured_at": "2024-04-15T00:22:31Z",
      "label": "copy captured 2024-04-15",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240415002231id_/https://eprint.iacr.org/2023/1527.pdf",
      "size": 603106,
      "sha256": "b4855e20a0383e6e7e453b844c1576ee7f4b91e83b51ef68b9c364acd0942d5b",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1527.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 622120
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260107024935id_/https://eprint.iacr.org/2023/1527.pdf",
      "captured_at": "2026-01-07T02:49:35Z",
      "size": 623055
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/1527,\n      author = {Cruz Barnum and David Heath and Vladimir Kolesnikov and Rafail Ostrovsky},\n      title = {Adaptive Garbled Circuits and Garbled RAM from Non-Programmable Random Oracles},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/1527},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/1527}\n}"
}
