mirror of
https://github.com/arnaucube/ark-r1cs-std.git
synced 2026-01-10 16:01:28 +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
fb87c421e7
commit
7c5271a212
@@ -63,7 +63,7 @@ impl<E: PairingEngine, C: ConstraintSynthesizer<E::Fr>, V: ToConstraintField<E::
|
||||
input_and_witness: Self::AssignedCircuit,
|
||||
rng: &mut R,
|
||||
) -> Result<Self::Proof, Error> {
|
||||
let proof_time = start_timer!(|| "{Groth-Maller 2017}::Prove");
|
||||
let proof_time = start_timer!(|| "{Groth 2016}::Prove");
|
||||
let result = create_random_proof::<E, _, _>(input_and_witness, pp, rng)?;
|
||||
end_timer!(proof_time);
|
||||
Ok(result)
|
||||
|
||||
Reference in New Issue
Block a user