{
  "id": "2022/809",
  "url": "https://opencryptology.org/2022/809",
  "original_url": "https://eprint.iacr.org/2022/809",
  "title": "A 2.1 KHz Zero-Knowledge Processor with BubbleRAM",
  "authors": [
    "David Heath",
    "Vladimir Kolesnikov"
  ],
  "affiliations": null,
  "abstract": "Zero-Knowledge (ZK) proofs (ZKP) are foundational in cryptography. Most recent ZK research focuses on non-interactive proofs (NIZK) of small statements, useful in blockchain scenarios. Another line, and our focus, instead targets proofs of large statements that are useful, e.g., in proving properties of programs in ZK.\n\nWe specify a zero-knowledge processor that executes arbitrary programs written in a simple instruction set and proves in ZK the correctness of the execution. Such an approach is well-suited for constructing ZK proofs of large statements as it efficiently supports complex programming constructs, such as loops and RAM access.\n\nWe propose several novel ZK improvements that make our approach concretely efficient: (1) an efficient arithmetic representation with conversions to/from Boolean, (2) an efficient read-only memory that uses $2 \\log n$ OTs per access, and (3) an efficient read-write memory, BubbleRAM, which uses $1/2 \\log^2 n$ OTs per access. BubbleRAM beats linear scan for RAM of size > 3 elements! Prior ZK systems used generic ORAM costing orders of magnitude more.\n\nWe cast our system as a garbling scheme that can be plugged into the ZK protocol of [Jawurek et al, CCS’13].\n\nPut together, our system is concretely efficient: for a processor instantiated with 512KB of main memory, each processor cycle costs 24KB of communication. We implemented our approach in C++. On a 1Gbps LAN, our implementation realizes a 2.1KHz processor.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“A 2.1 KHz Zero-Knowledge Processor with BubbleRAM” by David Heath, Vladimir Kolesnikov, Cryptology ePrint Archive, Paper 2022/809, https://eprint.iacr.org/2022/809. 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-06-21T15:21:29Z",
    "updated": "2022-06-21T15:21:29Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/809.pdf",
    "sha256": "d7f7de35a1a436645ca55334532c1617f3b17732b48226afa43657aefb501892",
    "size": 559111,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:34Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/809/versions/20240114T061334Z.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/809.pdf",
      "size": 559111,
      "sha256": "d7f7de35a1a436645ca55334532c1617f3b17732b48226afa43657aefb501892",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251030075423id_/https://eprint.iacr.org/2022/809.pdf",
      "captured_at": "2025-10-30T07:54:23Z",
      "size": 560006
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/809.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 559111
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/809,\n      author = {David Heath and Vladimir Kolesnikov},\n      title = {A 2.1 KHz Zero-Knowledge Processor with BubbleRAM},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/809},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/809}\n}"
}
