Function snarkvm_algorithms::snark::gm17::generate_random_parameters[][src]

pub fn generate_random_parameters<E, C, R>(
    circuit: &C,
    rng: &mut R
) -> Result<ProvingKey<E>, SynthesisError> where
    E: PairingEngine,
    C: ConstraintSynthesizer<E::Fr>,
    R: Rng
Expand description

Generates a random common reference string for a circuit.