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: MultiMillerLoop, <E as Engine>::G1: WnafGroup, <E as Engine>::G2: WnafGroup, C: Circuit<E::Fr>, R: RngCore, E::Fr: GpuName,
Expand description

Generates a random common reference string for a circuit.