{
  "id": "2025/1828",
  "url": "https://opencryptology.org/2025/1828",
  "original_url": "https://eprint.iacr.org/2025/1828",
  "title": "Block-Accumulate Codes: Accelerated Linear Codes for PCGs and ZK",
  "authors": [
    "Vladimir Kolesnikov",
    "Stanislav Peceny",
    "Rahul Rachuri",
    "Srinivasan Raghuraman",
    "Peter Rindal",
    "Harshal Shah"
  ],
  "affiliations": null,
  "abstract": "Linear error-correcting codes with fast encoding and high minimum distance are a central primitive across modern cryptography. They appear prominently in at least two domains: (1) pseudorandom correlation generators (PCGs), which enable sublinear-communication generation of correlations such as oblivious transfer and vector oblivious linear evaluation, and (2) zero-knowledge proof systems, where linear-time encoders underpin proof soundness and scalability. In both settings, the prover or sender must multiply by a large generator matrix $\\mathbf{G}$, often with dimensions in the millions, making computational efficiency the dominant bottleneck.\n\nWe propose a generalized paradigm for building crypto-friendly binary codes with provable minimum distance. Roughly speaking, these codes are based on randomized turbo codes such as repeat-accumulate codes. We prove linear asymptotic minimum distance and compute the exact expected weight spectrum for concrete sizes. We observe that our codes approach the Gilbert-Varshamov distance bound and outperform prior constructions.\n\nWe construct several novel codes, the most promising of which we call Block-Accumulate codes. Among codes with provable distance, our code is $8\\times$ faster than the state of the art on a CPU and $50\\times$ faster on a GPU; even against aggressive parameters with conjectured distance, it is $3\\times$ and $20\\times$ faster, respectively. Under these parameters, this yields overall PCG speedups of $2.5\\times$ on the CPU and $15\\times$ on the GPU, achieving a projected 200$+$ million OTs per second, or about 100 million binary Beaver triples per second, on the GPU (excluding the one-time 10 ms GGM seed expansion). We also observe a $2\\times$ encoding speedup and half the peak memory consumption in the Blaze zero-knowledge (PCS) scheme of Brehm et al. (EUROCRYPT~'25).",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Block-Accumulate Codes: Accelerated Linear Codes for PCGs and ZK” by Vladimir Kolesnikov, Stanislav Peceny, Rahul Rachuri, Srinivasan Raghuraman, Peter Rindal, Harshal Shah, Cryptology ePrint Archive, Paper 2025/1828, https://eprint.iacr.org/2025/1828. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-10-03T22:01:54Z",
    "updated": "2026-08-19T20:52:26Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/1828.pdf",
    "sha256": "680e3b6f9cf6db168922aad0cdf7e4602b6b8024c1ab9063c1250e84eaf32e96",
    "size": 7720950,
    "source": "upload",
    "source_date": "2026-11-14T03:50:12.808Z",
    "maybe_stale": false,
    "newer_on_eprint": false,
    "eprint_size": 7720950,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/1828/versions/20261114T035012Z.pdf",
      "captured_at": "2026-11-14T03:50:12.808Z",
      "label": "copy captured 2026-11-14",
      "source": "upload",
      "source_url": null,
      "size": 7720950,
      "sha256": "680e3b6f9cf6db168922aad0cdf7e4602b6b8024c1ab9063c1250e84eaf32e96",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2025/1828/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/2025/1828.pdf",
      "size": 7712129,
      "sha256": "a931fffc5e6c9c047e36d5d31a580588397caa0d00d031fffab34f2e46d7b193",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2025/1828/versions/20251012T155011Z.pdf",
      "captured_at": "2025-10-12T15:50:11Z",
      "label": "copy captured 2025-10-12",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20251012155011id_/https://eprint.iacr.org/2025/1828.pdf",
      "size": 7623885,
      "sha256": "611522c8e1b64b3be09b37bb1b42a717224d9536c70e1f68b43a439d5448da69",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/1828.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 7712129
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260305145827id_/https://eprint.iacr.org/2025/1828.pdf",
      "captured_at": "2026-03-05T14:58:27Z",
      "size": 7699548
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/1828,\n      author = {Vladimir Kolesnikov and Stanislav Peceny and Rahul Rachuri and Srinivasan Raghuraman and Peter Rindal and Harshal Shah},\n      title = {Block-Accumulate Codes: Accelerated Linear Codes for PCGs and ZK},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1828},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/1828}\n}"
}
