Function bellperson::groth16::generate_parameters

source ยท
pub fn generate_parameters<E, C>(
    circuit: C,
    g1: E::G1,
    g2: E::G2,
    alpha: E::Fr,
    beta: E::Fr,
    gamma: E::Fr,
    delta: E::Fr,
    tau: E::Fr,
) -> Result<Parameters<E>, SynthesisError>
where E: MultiMillerLoop, <E as Engine>::G1: WnafGroup, <E as Engine>::G2: WnafGroup, C: Circuit<E::Fr>, E::Fr: GpuName,
Expand description

Create parameters for a circuit, given some toxic waste.