Skip to content

Commit

Permalink
Add Bn254 field building blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielbosio committed Dec 5, 2023
1 parent 7cf4a3b commit 72b51eb
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions curves/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ license = "Apache-2.0"
[dependencies]
ark-ec = { version = "0.3.0", features = ["parallel"] }
ark-ff = { version = "0.3.0", features = ["parallel", "asm"] }
ark-bn254 = "0.3.0"

[dev-dependencies]
rand = { version = "0.8.0", default-features = false }
Expand Down
2 changes: 2 additions & 0 deletions curves/src/bn254/fp.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pub type Fp = ark_bn254::Fr;
pub type FpParameters = ark_bn254::FrParameters;
1 change: 1 addition & 0 deletions curves/src/bn254/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pub mod fp;
1 change: 1 addition & 0 deletions curves/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
pub mod bn254;
pub mod pasta;

0 comments on commit 72b51eb

Please sign in to comment.