Paper 2025/1828

Block-Accumulate Codes: Accelerated Linear Codes for PCGs and ZK

Vladimir Kolesnikov, Georgia Institute of Technology
Stanislav Peceny, Stealth Software Technologies, Inc.
Rahul Rachuri, Visa (United States)
Srinivasan Raghuraman, Visa (United States), Massachusetts Institute of Technology
Peter Rindal, Category Labs
Harshal Shah, Visa (United States)
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. We propose a generalized paradigm for building crypto-friendly codes with provable minimum distance. Roughly speaking, these codes are based on the idea of randomized turbo codes such as repeat accumulate codes. We prove that their asymptotic minimum distance is linear and compute the exact expected weight spectrum of the codes for concrete sizes. We observe that our codes achieve full Gilbert-Varshamov minimum distance and outperform all prior constructions. We construct several novel codes, the most promising of which we call Block-Accumulate codes. Our codes are the fastest on both GPUs and CPUs. If we restrict our attention to codes with provable distance, our code is $8\times$ faster than state of the art on a CPU and $50\times$ faster on a GPU. Even if we use aggressive parameters with conjectured distance, our code 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 about 200 million OTs or binary Beaver triples per second on the GPU (excluding the one-time 10 ms GGM seed expansion). We also observe a $3\times$ speedup and half the peak memory consumption of the Blaze zero-knowledge (PCS) scheme of Brehm et al. (Eurocrypt 25).

Metadata
Available format(s)
PDF
Category
Cryptographic protocols
Publication info
Preprint.
Keywords
Linear CodeSyndrome DecodingPseudorandom Correlation GeneratorZero Knowledge
Contact author(s)
kolesnikov @ gatech edu
StanislavPeceny @ gmail com
srachuri @ visa com
srini131293 @ gmail com
peterrindal @ gmail com
harshal shah031 @ gmail com
History
2026-02-28: revised
2025-10-03: received
See all versions
Short URL
https://ia.cr/2025/1828
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/1828,
      author = {Vladimir Kolesnikov and Stanislav Peceny and Rahul Rachuri and Srinivasan Raghuraman and Peter Rindal and Harshal Shah},
      title = {Block-Accumulate Codes: Accelerated Linear Codes for {PCGs} and {ZK}},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1828},
      year = {2025},
      url = {https://eprint.iacr.org/2025/1828}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.