Skip to content
ZKProof

Rinocchio: SNARKs for Ring Arithmetic

Chaya Ganesh, Anca Nituescu and Eduardo Soria-Vazquez

Community proposal presented at ZKProof 4 (online), Tuesday, April 20, 2021, 4:00 PM (UTC).

The recording of this talk will be added soon. Meanwhile, browse the other talks.

About this talk

Succinct non-interactive arguments of knowledge (SNARKs) enable non-interactive efficient verification of NP computations and admit short proofs. However, all current SNARK constructions assume that the statements to be proven can be efficiently represented as either Boolean or arithmetic circuits over finite fields. For most constructions, the choice of the prime field F_p is limited by the existence of groups of matching order for which secure bilinear maps exist. In this work we overcome such restrictions and enable verifying computations over rings. We construct the first designated-verifier SNARK for statements which are represented as circuits over a broader kind of commutative rings, namely those containing big enough exceptional sets. Exceptional sets consist of elements such that their pairwise differences are invertible. Our contribution is threefold: We fist introduce Quadratic Ring Programs (QRPs) as a characterization of NP where the arithmetic is overa ring. Second, inspired by the framework in Gennaro, Gentry, Parno and Raykova (EUROCRYPT2013), we design SNARKs over rings in a modular way. We generalize pre-existent assumptions employed in field-restricted SNARKs to encoding schemes over rings. As our encoding notion is generic in the choice of the ring, it amenable to different settings. Finally, we propose two applications for our SNARKs. In the first one, we instantiate our construction for the Galois RingGR(2^k,d), i.e. the degree-d Galois extension of Z_{2^k}. This allows us to naturally prove statements about circuits over e.g. Z_{2^64}, which closely matches real-life computer architectures such as standard CPUs. Our second application is verifiable computation over encrypted data, specifically for evaluations of Ring-LWE-based homomorphic encryption schemes.

More ZKProof 4 talks on this topic

Week 1: April 19–22, 2021