Make benchmarks compile, and check them in CI
Pratyush Mishra pratyushmishra@berkeley.edu
Thu, 27 Feb 2020 00:13:08 -0800
3 files changed,
4 insertions(+),
4 deletions(-)
M
cp-benches/benches/crypto_primitives/comm.rs
→
cp-benches/benches/crypto_primitives/comm.rs
@@ -3,7 +3,7 @@
#[macro_use] extern crate criterion; -use algebra::{curves::edwards_bls12::EdwardsProjective as Edwards, UniformRand}; +use algebra::{edwards_bls12::EdwardsProjective as Edwards, UniformRand}; use criterion::Criterion; use crypto_primitives::commitment::{pedersen::*, CommitmentScheme};
M
cp-benches/benches/crypto_primitives/crh.rs
→
cp-benches/benches/crypto_primitives/crh.rs
@@ -3,7 +3,7 @@
#[macro_use] extern crate criterion; -use algebra::curves::edwards_bls12::EdwardsProjective as Edwards; +use algebra::edwards_bls12::EdwardsProjective as Edwards; use criterion::Criterion; use crypto_primitives::crh::{pedersen::*, FixedLengthCRH};
M
cp-benches/benches/crypto_primitives/signature.rs
→
cp-benches/benches/crypto_primitives/signature.rs
@@ -2,7 +2,7 @@ #[macro_use]
extern crate criterion; mod affine { - use algebra::curves::edwards_bls12::EdwardsAffine as Edwards; + use algebra::edwards_bls12::EdwardsAffine as Edwards; use blake2::Blake2s; use criterion::Criterion; use crypto_primitives::signature::{schnorr::*, SignatureScheme};@@ -90,7 +90,7 @@ }
} mod projective { - use algebra::curves::edwards_bls12::EdwardsProjective as Edwards; + use algebra::edwards_bls12::EdwardsProjective as Edwards; use blake2::Blake2s; use criterion::Criterion; use crypto_primitives::signature::{schnorr::*, SignatureScheme};