parent
1c6f0b1694
commit
1d06341f5c
|
@ -22,7 +22,6 @@ debugless-unwrap = "0.0.4"
|
|||
digest = "0.10"
|
||||
hex = { version = "0.4.3", features = ["serde"] }
|
||||
rand_core = "0.6"
|
||||
serde = { version = "1", optional = true, features = ["derive"] }
|
||||
thiserror = "1.0"
|
||||
zeroize = { version = "1.5.4", default-features = false, features = ["derive"] }
|
||||
|
||||
|
@ -42,6 +41,6 @@ sha2 = "0.10.2"
|
|||
|
||||
[features]
|
||||
nightly = []
|
||||
default = ["serde"]
|
||||
default = []
|
||||
# Exposes ciphersuite-generic tests for other crates to use
|
||||
test-impl = ["proptest", "proptest-derive", "serde_json"]
|
||||
|
|
|
@ -22,17 +22,11 @@ description = "A Schnorr signature scheme over the prime-order Ristretto group t
|
|||
features = ["nightly"]
|
||||
|
||||
[dependencies]
|
||||
byteorder = "1.4"
|
||||
curve25519-dalek = { version = "4.0.0-pre.1", features = ["serde"] }
|
||||
digest = "0.10"
|
||||
frost-core = { path = "../frost-core", features = ["test-impl"] }
|
||||
frost-ristretto255 = { path = "../frost-ristretto255" }
|
||||
hex = { version = "0.4.3", features = ["serde"] }
|
||||
rand_core = "0.6"
|
||||
serde = { version = "1", optional = true, features = ["derive"] }
|
||||
sha2 = "0.10.2"
|
||||
thiserror = "1.0"
|
||||
zeroize = { version = "1", default-features = false, features = ["zeroize_derive"] }
|
||||
|
||||
[dev-dependencies]
|
||||
bincode = "1"
|
||||
|
@ -48,4 +42,4 @@ serde_json = "1.0"
|
|||
|
||||
[features]
|
||||
nightly = []
|
||||
default = ["serde"]
|
||||
default = []
|
||||
|
|
|
@ -21,18 +21,12 @@ description = "A Schnorr signature scheme over the prime-order Ristretto group t
|
|||
features = ["nightly"]
|
||||
|
||||
[dependencies]
|
||||
byteorder = "1.4"
|
||||
# Pointing to a commit after 0.8.3 with the required functions for FROST.
|
||||
# TODO: update after a release is made
|
||||
ed448-goldilocks = { git = "https://github.com/crate-crypto/Ed448-Goldilocks.git", rev = "54ffc6b8f14030688996da50a1bfb7bb713eb172" }
|
||||
digest = "0.10"
|
||||
frost-core = { path = "../frost-core", features = ["test-impl"] }
|
||||
hex = { version = "0.4.3", features = ["serde"] }
|
||||
rand_core = "0.6"
|
||||
serde = { version = "1", optional = true, features = ["derive"] }
|
||||
sha3 = "0.10.6"
|
||||
thiserror = "1.0"
|
||||
zeroize = { version = "1", default-features = false, features = ["zeroize_derive"] }
|
||||
|
||||
[dev-dependencies]
|
||||
bincode = "1"
|
||||
|
@ -46,4 +40,4 @@ serde_json = "1.0"
|
|||
|
||||
[features]
|
||||
nightly = []
|
||||
default = ["serde"]
|
||||
default = []
|
||||
|
|
|
@ -22,16 +22,10 @@ description = "A Schnorr signature scheme over the NIST P-256 curve that support
|
|||
features = ["nightly"]
|
||||
|
||||
[dependencies]
|
||||
byteorder = "1.4"
|
||||
p256 = { version = "0.11.1", features = ["hash2curve"] }
|
||||
digest = "0.10"
|
||||
frost-core = { path = "../frost-core", features = ["test-impl"] }
|
||||
hex = { version = "0.4.3", features = ["serde"] }
|
||||
rand_core = "0.6"
|
||||
serde = { version = "1", optional = true, features = ["derive"] }
|
||||
sha2 = "0.10.2"
|
||||
thiserror = "1.0"
|
||||
zeroize = { version = "1", default-features = false, features = ["zeroize_derive"] }
|
||||
|
||||
[dev-dependencies]
|
||||
bincode = "1"
|
||||
|
@ -47,7 +41,7 @@ serde_json = "1.0"
|
|||
|
||||
[features]
|
||||
nightly = []
|
||||
default = ["serde"]
|
||||
default = []
|
||||
|
||||
# [[bench]]
|
||||
# name = "bench"
|
||||
|
|
|
@ -18,16 +18,10 @@ description = "A Schnorr signature scheme over the prime-order Ristretto group t
|
|||
features = ["nightly"]
|
||||
|
||||
[dependencies]
|
||||
byteorder = "1.4"
|
||||
curve25519-dalek = { version = "4.0.0-pre.1", features = ["serde"] }
|
||||
digest = "0.10"
|
||||
frost-core = { path = "../frost-core", features = ["test-impl"] }
|
||||
hex = { version = "0.4.3", features = ["serde"] }
|
||||
rand_core = "0.6"
|
||||
serde = { version = "1", optional = true, features = ["derive"] }
|
||||
sha2 = "0.10.2"
|
||||
thiserror = "1.0"
|
||||
zeroize = { version = "1", default-features = false, features = ["zeroize_derive"] }
|
||||
|
||||
[dev-dependencies]
|
||||
bincode = "1"
|
||||
|
@ -43,7 +37,7 @@ serde_json = "1.0"
|
|||
|
||||
[features]
|
||||
nightly = []
|
||||
default = ["serde"]
|
||||
default = []
|
||||
|
||||
[[bench]]
|
||||
name = "bench"
|
||||
|
|
|
@ -21,17 +21,11 @@ description = "A Schnorr signature scheme over the prime-order Ristretto group t
|
|||
features = ["nightly"]
|
||||
|
||||
[dependencies]
|
||||
byteorder = "1.4"
|
||||
digest = "0.10"
|
||||
frost-core = { path = "../frost-core", features = ["test-impl"] }
|
||||
hex = { version = "0.4.3", features = ["serde"] }
|
||||
# k256 = { version = "0.11.6", features = ["arithmetic", "hash2curve"] }
|
||||
k256 = { git = "https://github.com/RustCrypto/elliptic-curves", rev = "42a18e9e13f3bacba89af00d15ef732dbfd03d01", features = ["arithmetic", "hash2curve"] }
|
||||
rand_core = "0.6"
|
||||
serde = { version = "1", optional = true, features = ["derive"] }
|
||||
sha2 = "0.10.2"
|
||||
thiserror = "1.0"
|
||||
zeroize = { version = "1", default-features = false, features = ["zeroize_derive"] }
|
||||
|
||||
[dev-dependencies]
|
||||
bincode = "1"
|
||||
|
@ -47,4 +41,4 @@ serde_json = "1.0"
|
|||
|
||||
[features]
|
||||
nightly = []
|
||||
default = ["serde"]
|
||||
default = []
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
#![deny(missing_docs)]
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
use digest::generic_array::GenericArray;
|
||||
use k256::{
|
||||
elliptic_curve::{
|
||||
bigint::{Encoding, U384},
|
||||
generic_array::GenericArray,
|
||||
group::prime::PrimeCurveAffine,
|
||||
hash2curve::{ExpandMsg, ExpandMsgXmd, Expander},
|
||||
sec1::{FromEncodedPoint, ToEncodedPoint},
|
||||
|
|
Loading…
Reference in New Issue