Skip to content

Commit

Permalink
Update traits, add wrappers, and upgrade secp256k1 implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis committed Jul 2, 2021
1 parent e47d41d commit d841938
Show file tree
Hide file tree
Showing 5 changed files with 1,987 additions and 687 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ digest = "0.8.1"
ff-zeroize = "0.6.3"
funty = "=1.1.0"
generic-array = "0.14"
hex = "0.4"
hex = { version = "0.4", features = ["serde"] }
hmac = "0.7.1"
thiserror = "1"
merkle-sha3 = "^0.1"
lazy_static = "1.4.0"
lazy_static = "1.4"
num-traits = "0.2"
num-integer = "0.1"
pairing-plus = "0.19"
Expand All @@ -33,7 +34,6 @@ serde = { version = "1.0", features = ["derive"] }
serde_derive = "1.0"
sha2 = "0.8.0"
sha3 = "0.8.2"
thiserror = "1"
zeroize = "1"

rust-gmp-kzen = { version = "0.5", features = ["serde_support"], optional = true }
Expand Down
15 changes: 10 additions & 5 deletions src/elliptic/curves/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
pub mod bls12_381;
pub mod curve_ristretto;
pub mod ed25519;
pub mod p256;
// pub mod bls12_381;
// pub mod curve_ristretto;
// pub mod ed25519;
// pub mod p256;
pub mod secp256_k1;
pub mod traits;

mod traits;
mod wrappers;

pub use self::secp256_k1::Secp256k1;
pub use self::{traits::*, wrappers::*};
Loading

0 comments on commit d841938

Please sign in to comment.