|
@ -51,7 +51,7 @@ impl, V: ToConstraintField |
|
|
),
|
|
|
),
|
|
|
Error,
|
|
|
Error,
|
|
|
> {
|
|
|
> {
|
|
|
let nizk_time = start_timer!(|| "{Groth-Maller 2017}::Setup");
|
|
|
|
|
|
|
|
|
let nizk_time = start_timer!(|| "{Groth 2016}::Setup");
|
|
|
let pp = generate_random_parameters::<E, Self::Circuit, R>(circuit, rng)?;
|
|
|
let pp = generate_random_parameters::<E, Self::Circuit, R>(circuit, rng)?;
|
|
|
let vk = prepare_verifying_key(&pp.vk);
|
|
|
let vk = prepare_verifying_key(&pp.vk);
|
|
|
end_timer!(nizk_time);
|
|
|
end_timer!(nizk_time);
|
|
|