-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1a3578b
commit f7dcad9
Showing
13 changed files
with
185 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,5 +12,31 @@ members = [ | |
"gencode" | ||
] | ||
|
||
|
||
[workspace.package] | ||
edition = "2021" | ||
version = "2.1.0" | ||
authors = [ | ||
"Deirdre Connolly <[email protected]>", | ||
"Chelsea Komlo <[email protected]>", | ||
"Conrado Gouvea <[email protected]>", | ||
"Natalie Eskinazi <[email protected]>" | ||
] | ||
license = "MIT OR Apache-2.0" | ||
repository = "https://github.com/ZcashFoundation/frost" | ||
categories = ["cryptography"] | ||
|
||
[workspace.dependencies] | ||
criterion = "0.5" | ||
document-features = "0.2.7" | ||
hex = { version = "0.4.3", default-features = false, features = ["alloc"] } | ||
insta = { version = "1.31.0", features = ["yaml"] } | ||
lazy_static = "1.4" | ||
proptest = "1.0" | ||
rand = "0.8" | ||
rand_chacha = "0.3" | ||
rand_core = "0.6" | ||
serde_json = "1.0" | ||
|
||
[profile.test.package."*"] | ||
opt-level = 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,12 @@ | ||
[package] | ||
name = "frost-core" | ||
edition = "2021" | ||
# When releasing to crates.io: | ||
# - Update CHANGELOG.md | ||
# - Create git tag. | ||
version = "2.0.0" | ||
authors = [ | ||
"Deirdre Connolly <[email protected]>", | ||
"Chelsea Komlo <[email protected]>", | ||
"Conrado Gouvea <[email protected]>", | ||
] | ||
edition.workspace = true | ||
version.workspace = true | ||
authors.workspace = true | ||
readme = "README.md" | ||
license = "MIT OR Apache-2.0" | ||
repository = "https://github.com/ZcashFoundation/frost" | ||
categories = ["cryptography"] | ||
license.workspace = true | ||
repository.workspace = true | ||
categories.workspace = true | ||
keywords = ["cryptography", "crypto", "threshold", "signature", "schnorr"] | ||
description = "Types and traits to support implementing Flexible Round-Optimized Schnorr Threshold signature schemes (FROST)." | ||
|
||
|
@@ -24,10 +17,10 @@ rustdoc-args = ["--cfg", "docsrs"] | |
[dependencies] | ||
byteorder = { version = "1.4", default-features = false } | ||
const-crc32 = { version = "1.2.0", package = "const-crc32-nostd" } | ||
document-features = "0.2.7" | ||
document-features.workspace = true | ||
debugless-unwrap = "0.0.4" | ||
derive-getters = "0.5.0" | ||
hex = { version = "0.4.3", default-features = false, features = ["alloc"] } | ||
hex.workspace = true | ||
postcard = { version = "1.0.0", features = ["alloc"], optional = true } | ||
rand_core = { version = "0.6", default-features = false } | ||
serde = { version = "1.0.160", default-features = false, features = ["derive"], optional = true } | ||
|
@@ -45,11 +38,11 @@ criterion = { version = "0.5", optional = true } | |
|
||
[dev-dependencies] | ||
criterion = { version = "0.5" } | ||
lazy_static = "1.4" | ||
proptest = "1.0" | ||
rand = "0.8" | ||
rand_chacha = "0.3" | ||
serde_json = "1.0" | ||
lazy_static.workspace = true | ||
proptest.workspace = true | ||
rand.workspace = true | ||
rand_chacha.workspace = true | ||
serde_json.workspace = true | ||
|
||
[features] | ||
default = ["serialization", "cheater-detection", "std"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,13 @@ | ||
[package] | ||
name = "frost-ed25519" | ||
edition = "2021" | ||
# When releasing to crates.io: | ||
# - Update html_root_url | ||
# - Update CHANGELOG.md | ||
# - Create git tag. | ||
version = "2.0.0" | ||
authors = [ | ||
"Deirdre Connolly <[email protected]>", | ||
"Chelsea Komlo <[email protected]>", | ||
"Conrado Gouvea <[email protected]>" | ||
] | ||
edition.workspace = true | ||
|
||
version.workspace = true | ||
authors.workspace = true | ||
readme = "README.md" | ||
license = "MIT OR Apache-2.0" | ||
repository = "https://github.com/ZcashFoundation/frost" | ||
categories = ["cryptography"] | ||
license.workspace = true | ||
repository.workspace = true | ||
categories.workspace = true | ||
keywords = ["cryptography", "crypto", "ed25519", "threshold", "signature"] | ||
description = "A Schnorr signature scheme over Ed25519 that supports FROST." | ||
|
||
|
@@ -24,24 +17,24 @@ rustdoc-args = ["--cfg", "docsrs"] | |
|
||
[dependencies] | ||
curve25519-dalek = { version = "=4.1.3", features = ["rand_core"] } | ||
document-features = "0.2.7" | ||
frost-core = { path = "../frost-core", version = "2.0.0", default-features = false } | ||
frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0", default-features = false } | ||
rand_core = "0.6" | ||
document-features.workspace = true | ||
frost-core = { path = "../frost-core", version = "2.1.0", default-features = false } | ||
frost-rerandomized = { path = "../frost-rerandomized", version = "2.1.0", default-features = false } | ||
rand_core.workspace = true | ||
sha2 = { version = "0.10.2", default-features = false } | ||
|
||
[dev-dependencies] | ||
criterion = "0.5" | ||
frost-core = { path = "../frost-core", version = "2.0.0", features = ["test-impl"] } | ||
frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0", features = ["test-impl"] } | ||
ed25519-dalek = "2.0.0" | ||
insta = { version = "1.31.0", features = ["yaml"] } | ||
hex = { version = "0.4.3", default-features = false, features = ["alloc"] } | ||
lazy_static = "1.4" | ||
proptest = "1.0" | ||
rand = "0.8" | ||
rand_chacha = "0.3" | ||
serde_json = "1.0" | ||
criterion.workspace = true | ||
frost-core = { path = "../frost-core", version = "2.1.0", features = ["test-impl"] } | ||
frost-rerandomized = { path = "../frost-rerandomized", version = "2.1.0", features = ["test-impl"] } | ||
ed25519-dalek = "2.1.0" | ||
insta.workspace = true | ||
hex.workspace = true | ||
lazy_static.workspace = true | ||
proptest.workspace = true | ||
rand.workspace = true | ||
rand_chacha.workspace = true | ||
serde_json.workspace = true | ||
|
||
[features] | ||
nightly = [] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,12 @@ | ||
[package] | ||
name = "frost-ed448" | ||
edition = "2021" | ||
# When releasing to crates.io: | ||
# - Update CHANGELOG.md | ||
# - Create git tag. | ||
version = "2.0.0" | ||
authors = [ | ||
"Deirdre Connolly <[email protected]>", | ||
"Chelsea Komlo <[email protected]>", | ||
"Conrado Gouvea <[email protected]>" | ||
] | ||
edition.workspace = true | ||
version.workspace = true | ||
authors.workspace = true | ||
readme = "README.md" | ||
license = "MIT OR Apache-2.0" | ||
repository = "https://github.com/ZcashFoundation/frost" | ||
categories = ["cryptography"] | ||
license.workspace = true | ||
repository.workspace = true | ||
categories.workspace = true | ||
keywords = ["cryptography", "crypto", "ed448", "threshold", "signature"] | ||
description = "A Schnorr signature scheme over Ed448 that supports FROST." | ||
|
||
|
@@ -22,24 +15,24 @@ features = ["serde"] | |
rustdoc-args = ["--cfg", "docsrs"] | ||
|
||
[dependencies] | ||
document-features = "0.2.7" | ||
document-features.workspace = true | ||
ed448-goldilocks = { version = "0.9.0" } | ||
frost-core = { path = "../frost-core", version = "2.0.0", default-features = false } | ||
frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0", default-features = false } | ||
rand_core = "0.6" | ||
frost-core = { path = "../frost-core", version = "2.1.0", default-features = false } | ||
frost-rerandomized = { path = "../frost-rerandomized", version = "2.1.0", default-features = false } | ||
rand_core.workspace = true | ||
sha3 = { version = "0.10.6", default-features = false } | ||
|
||
[dev-dependencies] | ||
criterion = "0.5" | ||
frost-core = { path = "../frost-core", version = "2.0.0", features = ["test-impl"] } | ||
frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0", features = ["test-impl"] } | ||
lazy_static = "1.4" | ||
insta = { version = "1.31.0", features = ["yaml"] } | ||
hex = { version = "0.4.3", default-features = false, features = ["alloc"] } | ||
proptest = "1.0" | ||
rand = "0.8" | ||
rand_chacha = "0.3" | ||
serde_json = "1.0" | ||
criterion.workspace = true | ||
frost-core = { path = "../frost-core", version = "2.1.0", features = ["test-impl"] } | ||
frost-rerandomized = { path = "../frost-rerandomized", version = "2.1.0", features = ["test-impl"] } | ||
lazy_static.workspace = true | ||
insta.workspace = true | ||
hex.workspace = true | ||
proptest.workspace = true | ||
rand.workspace = true | ||
rand_chacha.workspace = true | ||
serde_json.workspace = true | ||
|
||
[features] | ||
nightly = [] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,12 @@ | ||
[package] | ||
name = "frost-p256" | ||
edition = "2021" | ||
# When releasing to crates.io: | ||
# - Update html_root_url | ||
# - Update CHANGELOG.md | ||
# - Create git tag. | ||
version = "2.0.0" | ||
authors = [ | ||
"Deirdre Connolly <[email protected]>", | ||
"Chelsea Komlo <[email protected]>", | ||
"Conrado Gouvea <[email protected]>" | ||
] | ||
edition.workspace = true | ||
version.workspace = true | ||
authors.workspace = true | ||
readme = "README.md" | ||
license = "MIT OR Apache-2.0" | ||
repository = "https://github.com/ZcashFoundation/frost" | ||
categories = ["cryptography"] | ||
license.workspace = true | ||
repository.workspace = true | ||
categories.workspace = true | ||
keywords = ["cryptography", "crypto", "threshold", "signature"] | ||
description = "A Schnorr signature scheme over the NIST P-256 curve that supports FROST." | ||
|
||
|
@@ -23,24 +15,24 @@ features = ["serde"] | |
rustdoc-args = ["--cfg", "docsrs"] | ||
|
||
[dependencies] | ||
document-features = "0.2.7" | ||
document-features.workspace = true | ||
p256 = { version = "0.13.0", features = ["hash2curve"], default-features = false } | ||
frost-core = { path = "../frost-core", version = "2.0.0", default-features = false } | ||
frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0", default-features = false } | ||
rand_core = "0.6" | ||
frost-core = { path = "../frost-core", version = "2.1.0", default-features = false } | ||
frost-rerandomized = { path = "../frost-rerandomized", version = "2.1.0", default-features = false } | ||
rand_core.workspace = true | ||
sha2 = { version = "0.10.2", default-features = false } | ||
|
||
[dev-dependencies] | ||
criterion = "0.5" | ||
frost-core = { path = "../frost-core", version = "2.0.0", features = ["test-impl"] } | ||
frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0", features = ["test-impl"] } | ||
insta = { version = "1.31.0", features = ["yaml"] } | ||
hex = { version = "0.4.3", default-features = false, features = ["alloc"] } | ||
lazy_static = "1.4" | ||
proptest = "1.0" | ||
rand = "0.8" | ||
rand_chacha = "0.3" | ||
serde_json = "1.0" | ||
criterion.workspace = true | ||
frost-core = { path = "../frost-core", version = "2.1.0", features = ["test-impl"] } | ||
frost-rerandomized = { path = "../frost-rerandomized", version = "2.1.0", features = ["test-impl"] } | ||
insta.workspace = true | ||
hex.workspace = true | ||
lazy_static.workspace = true | ||
proptest.workspace = true | ||
rand.workspace = true | ||
rand_chacha.workspace = true | ||
serde_json.workspace = true | ||
|
||
[features] | ||
nightly = [] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,12 @@ | ||
[package] | ||
name = "frost-rerandomized" | ||
edition = "2021" | ||
# When releasing to crates.io: | ||
# - Update html_root_url | ||
# - Update CHANGELOG.md | ||
# - Create git tag. | ||
version = "2.0.0" | ||
authors = [ | ||
"Deirdre Connolly <[email protected]>", | ||
"Chelsea Komlo <[email protected]>", | ||
"Conrado Gouvea <[email protected]>", | ||
] | ||
edition.workspace = true | ||
version.workspace = true | ||
authors.workspace = true | ||
readme = "README.md" | ||
license = "MIT OR Apache-2.0" | ||
repository = "https://github.com/ZcashFoundation/frost" | ||
categories = ["cryptography"] | ||
license.workspace = true | ||
repository.workspace = true | ||
categories.workspace = true | ||
keywords = ["cryptography", "threshold", "signature", "schnorr", "randomized"] | ||
description = "Types and traits to support implementing a re-randomized variant of Flexible Round-Optimized Schnorr Threshold signature schemes (FROST)." | ||
|
||
|
@@ -24,12 +16,12 @@ rustdoc-args = ["--cfg", "docsrs"] | |
|
||
[dependencies] | ||
derive-getters = "0.5.0" | ||
document-features = "0.2.7" | ||
frost-core = { path = "../frost-core", version = "2.0.0", features = [ | ||
document-features.workspace = true | ||
frost-core = { path = "../frost-core", version = "2.1.0", features = [ | ||
"internals" | ||
], default-features = false } | ||
hex = { version = "0.4.3", default-features = false, features = ["alloc"] } | ||
rand_core = "0.6" | ||
hex.workspace = true | ||
rand_core.workspace = true | ||
|
||
[dev-dependencies] | ||
|
||
|
Oops, something went wrong.