Browse Source

Ed on bls12 377 bench (#152)

Co-authored-by: mmagician <marcin.gorny.94@protonmail.com>
use-algebra-ci-no-std
swasilyev 1 year ago
committed by GitHub
parent
commit
5a41d7f27a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 0 deletions
  1. +6
    -0
      ed_on_bls12_377/Cargo.toml
  2. +9
    -0
      ed_on_bls12_377/benches/ed_on_bls12_377.rs
  3. +5
    -0
      ed_on_bls12_381/Cargo.toml

+ 6
- 0
ed_on_bls12_377/Cargo.toml

@ -23,9 +23,15 @@ ark-bls12-377 = { version = "0.4.0", path = "../bls12_377", default-features = f
ark-relations = { version = "0.4.0", default-features = false }
ark-serialize = { version = "0.4.0", default-features = false }
ark-algebra-test-templates = { version = "0.4.0", default-features = false }
ark-algebra-bench-templates = { version = "0.4.0", default-features = false }
ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-features = false }
[features]
default = []
std = [ "ark-std/std", "ark-ff/std", "ark-ec/std", "ark-bls12-377/std" ]
r1cs = [ "ark-r1cs-std" ]
[[bench]]
name = "ed_on_bls12_377"
path = "benches/ed_on_bls12_377.rs"
harness = false

+ 9
- 0
ed_on_bls12_377/benches/ed_on_bls12_377.rs

@ -0,0 +1,9 @@
use ark_algebra_bench_templates::*;
use ark_ed_on_bls12_377::{fq::Fq, fr::Fr, EdwardsProjective as G};
bench!(
Name = "EdOnBls12_377",
Group = G,
ScalarField = Fr,
PrimeBaseField = Fq,
);

+ 5
- 0
ed_on_bls12_381/Cargo.toml

@ -30,3 +30,8 @@ ark-curve-constraint-tests = { path = "../curve-constraint-tests", default-featu
default = []
std = [ "ark-std/std", "ark-ff/std", "ark-ec/std", "ark-bls12-381/std" ]
r1cs = ["ark-r1cs-std"]
[[bench]]
name = "ed_on_bls12_381"
path = "benches/ed_on_bls12_381.rs"
harness = false

Loading…
Cancel
Save