Block-Accumulate Codes: Accelerated Linear Codes for PCGs and ZK
Vladimir Kolesnikov, Stanislav Peceny, Rahul Rachuri, Srinivasan Raghuraman, Peter Rindal, Harshal Shah
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 , often with dimensions in the millions, making computational efficiency the dominant bottleneck.
We 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.
We construct several novel codes, the most promising of which we call Block-Accumulate codes. Among codes with provable distance, our code is faster than the state of the art on a CPU and faster on a GPU; even against aggressive parameters with conjectured distance, it is and faster, respectively. Under these parameters, this yields overall PCG speedups of on the CPU and 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 encoding speedup and half the peak memory consumption in the Blaze zero-knowledge (PCS) scheme of Brehm et al. (EUROCRYPT '25).
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Related papers
- Expand-Convolute Codes for Pseudorandom Correlation Generators from LPNSrinivasan Raghuraman, Peter Rindal, Titouan TanguyCRYPTO 2023 · 50 citations
- Correlated Pseudorandomness from Expand-Accumulate CodesElette Boyle, Geoffroy Couteau, Niv Gilboa, Yuval Ishai et al.CRYPTO 2022 · 66 citations
- Dory: Streaming PCG with Small MemoryXiaojie Guo, Hanlin Liu, Zhicong Huang, Hongrui Cui et al.S&P 2026 · 1 citation
- Faster Pseudorandom Correlation Generators via Walsh-Hadamard TransformZhe Li, Hongqing Liu, Chaoping Xing, Yizhou Yao et al.CRYPTO 2026
- Khatam: Proximity Gaps for Multilinear Evaluation for all Linear CodesHadas ZeilbergerCRYPTO 2026
