mirror of
https://github.com/arnaucube/ark-r1cs-std.git
synced 2026-01-09 23:41:33 +01:00
Update crypto-primitives/src/nizk/groth16/mod.rs
Co-Authored-By: Pratyush Mishra <pratyushmishra@berkeley.edu>
This commit is contained in:
committed by
Pratyush Mishra
parent
7c5271a212
commit
e3d2ff1c04
@@ -51,7 +51,7 @@ impl<E: PairingEngine, C: ConstraintSynthesizer<E::Fr>, V: ToConstraintField<E::
|
||||
),
|
||||
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 vk = prepare_verifying_key(&pp.vk);
|
||||
end_timer!(nizk_time);
|
||||
|
||||
Reference in New Issue
Block a user