Function bellperson::groth16::generate_random_parameters
source · [−]pub fn generate_random_parameters<E, C, R>(
circuit: C,
rng: &mut R
) -> Result<Parameters<E>, SynthesisError> where
E: GpuEngine + MultiMillerLoop,
<E as Engine>::G1: WnafGroup,
<E as Engine>::G2: WnafGroup,
C: Circuit<E::Fr>,
R: RngCore,
Expand description
Generates a random common reference string for a circuit.