Expand description

A crate for the Marlin preprocessing zkSNARK for R1CS.


Currently, Marlin only supports R1CS instances where the number of inputs is the same as the number of constraints (i.e., where the constraint matrices are square). Furthermore, Marlin only supports instances where the public inputs are of size one less than a power of 2 (i.e., 2^n - 1).


pub use ahp::*;
pub use fiat_shamir::*;


Implements an Algebraic Holographic Proof (AHP) for the R1CS indexed relation.

Implements the Marlin verification gadget.

RNGs for the Marlin SNARK.

Implements the base Marlin zkSNARK proof system.