arXiv Science⌕ Search

arXiv subjects

Gaurav Kuwar

Publications and source records attributed to Gaurav Kuwar.

2 recordsLinked to original sources

Tailor: Accelerating Heterogeneous Multi-Scalar Multiplications in Zero-Knowledge Proof Systems

Zero-knowledge proof generation is computationally expensive, with multi-scalar multiplication (MSM) often dominating prover runtime. Existing MSM accelerators primarily target long vectors of full-width scalars using Pippenger's algorithm. However, our characterization of six ZKP protocols reveals significantly heterogeneous MSMs: matrix MSMs that reuse points across rows, small-valued scalars, and sequences of short MSMs. Pippenger's bucket and window reductions are well amortized for long vector MSMs, but become disproportionately expensive for short MSMs and when repeated across matrix rows. Alternative MSM algorithms can reduce or eliminate these reductions, with precomputation-based methods further benefiting from point reuse. These observations expose a mismatch between the diversity of MSMs and architectures built around a fixed algorithm and configuration. We present Tailor, a programmable MSM architecture that adapts its algorithm, window size, and effective scalar width to each MSM at runtime. Tailor unifies multiple MSM algorithms on a shared accumulation datapath through configurable scalar decoding and accumulator partitioning. Its matrix dataflow reuses points across rows and interleaves independent reductions to improve utilization. Under a common area budget, Tailor achieves geometric-mean speedups of $3.1\times$ on dense matrix MSMs, $17.3\times$ on 16-bit matrix MSMs, and $1.25\times$ on dense vector MSMs over a matrix-adapted state-of-the-art accelerator. Integrated into a full-prover accelerator, Tailor achieves up to $13.16\times$ end-to-end speedup over a baseline system, with only the MSM unit replaced.

cs.AR↗

Locus: A Framework for Exploring and Optimizing Point Addition Hardware for Zero-Knowledge Proofs

Zero-Knowledge Proofs (ZKPs) are critical for privacy-preserving and verifiable computation, but their cryptographic primitives impose high computational overheads. One such primitive is point addition (PADD) on elliptic curves. Several prior works have implemented PADDs in hardware, but only for a few specific elliptic curves and design points, leaving a large design space unexplored, and lacking systematic guidance on hardware design trade-offs. To address this gap, we present Locus, a framework dedicated to optimizing and exploring point addition hardware. Given the parameters of any elliptic curve in a supported equation form, Locus automatically generates ASIC and FPGA implementations of PADD, enabling systematic exploration of the PADD design space. Using Locus, we conduct the first comprehensive hardware-focused study of PADD designs, exploring trade-offs over 1,000 design points. On a 12nm technology node, our framework produces PADD designs that yield a $2.71\times$ geomean speedup and $3.11\times$ geomean area reduction compared to prior ASICs, $34.67\times$ geomean speedup over CPU, and $3.15\times$ geomean speedup on end-to-end proof generation when integrated into a prior ZKP accelerator at iso-area. Locus is available at https://github.com/cryptolets/cryptolets/tree/locus.

cs.AR↗