mirror of
https://github.com/arnaucube/ark-r1cs-std.git
synced 2026-01-09 23:41:33 +01:00
Make benchmarks compile, and check them in CI
This commit is contained in:
@@ -3,7 +3,7 @@ use rand;
|
||||
#[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};
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ use rand;
|
||||
#[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};
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
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 affine {
|
||||
}
|
||||
|
||||
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};
|
||||
|
||||
Reference in New Issue
Block a user