Browse Source

Update crypto-primitives/src/nizk/groth16/mod.rs

Co-Authored-By: Pratyush Mishra <pratyushmishra@berkeley.edu>
master
Kobi Gurkan 5 years ago
committed by Pratyush Mishra
parent
commit
7c5271a212
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      crypto-primitives/src/nizk/groth16/mod.rs

+ 1
- 1
crypto-primitives/src/nizk/groth16/mod.rs

@ -63,7 +63,7 @@ impl, V: ToConstraintField
input_and_witness: Self::AssignedCircuit, input_and_witness: Self::AssignedCircuit,
rng: &mut R, rng: &mut R,
) -> Result<Self::Proof, Error> { ) -> 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)?; let result = create_random_proof::<E, _, _>(input_and_witness, pp, rng)?;
end_timer!(proof_time); end_timer!(proof_time);
Ok(result) Ok(result)

Loading…
Cancel
Save