Merge pull request #348 from serai-dex/current-crypto-crates

Current crypto crates
This commit is contained in:
Luke Parker
2023-08-21 01:24:16 -04:00
committed by GitHub
18 changed files with 74 additions and 74 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "ciphersuite"
version = "0.3.0"
version = "0.4.1"
description = "Ciphersuites built around ff/group"
license = "MIT"
repository = "https://github.com/serai-dex/serai/tree/develop/crypto/ciphersuite"
@@ -14,7 +14,7 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
std-shims = { path = "../../common/std-shims", version = "0.1", default-features = false, optional = true }
std-shims = { path = "../../common/std-shims", version = "^0.1.1", default-features = false, optional = true }
rand_core = { version = "0.6", default-features = false }
@@ -22,20 +22,20 @@ zeroize = { version = "^1.5", default-features = false }
subtle = { version = "^2.4", default-features = false }
digest = { version = "0.10", default-features = false }
transcript = { package = "flexible-transcript", path = "../transcript", version = "0.3", default-features = false }
transcript = { package = "flexible-transcript", path = "../transcript", version = "^0.3.2", default-features = false }
sha2 = { version = "0.10", default-features = false, optional = true }
sha3 = { version = "0.10", default-features = false, optional = true }
ff = { version = "0.13", default-features = false, features = ["bits"] }
group = { version = "0.13", default-features = false }
dalek-ff-group = { path = "../dalek-ff-group", version = "0.3", default-features = false, optional = true }
dalek-ff-group = { path = "../dalek-ff-group", version = "0.4", default-features = false, optional = true }
elliptic-curve = { version = "0.13", default-features = false, features = ["hash2curve"], optional = true }
p256 = { version = "^0.13.1", default-features = false, features = ["arithmetic", "bits", "hash2curve"], optional = true }
k256 = { version = "^0.13.1", default-features = false, features = ["arithmetic", "bits", "hash2curve"], optional = true }
minimal-ed448 = { path = "../ed448", version = "0.3", default-features = false, optional = true }
minimal-ed448 = { path = "../ed448", version = "0.4", default-features = false, optional = true }
[dev-dependencies]
hex = "0.4"

View File

@@ -1,6 +1,6 @@
[package]
name = "dalek-ff-group"
version = "0.3.0"
version = "0.4.0"
description = "ff/group bindings around curve25519-dalek"
license = "MIT"
repository = "https://github.com/serai-dex/serai/tree/develop/crypto/dalek-ff-group"

View File

@@ -1,6 +1,6 @@
[package]
name = "dkg"
version = "0.4.0"
version = "0.5.1"
description = "Distributed key generation over ff/group"
license = "MIT"
repository = "https://github.com/serai-dex/serai/tree/develop/crypto/dkg"
@@ -24,18 +24,18 @@ std-shims = { version = "0.1", path = "../../common/std-shims", default-features
serde = { version = "1", features = ["derive"], optional = true }
transcript = { package = "flexible-transcript", path = "../transcript", version = "0.3", default-features = false, features = ["recommended"] }
transcript = { package = "flexible-transcript", path = "../transcript", version = "^0.3.2", default-features = false, features = ["recommended"] }
chacha20 = { version = "0.9", default-features = false, features = ["zeroize"] }
ciphersuite = { path = "../ciphersuite", version = "0.3", default-features = false }
multiexp = { path = "../multiexp", version = "0.3", default-features = false }
ciphersuite = { path = "../ciphersuite", version = "^0.4.1", default-features = false }
multiexp = { path = "../multiexp", version = "0.4", default-features = false }
schnorr = { package = "schnorr-signatures", path = "../schnorr", version = "0.4", default-features = false }
dleq = { path = "../dleq", version = "0.3", default-features = false }
schnorr = { package = "schnorr-signatures", path = "../schnorr", version = "^0.5.1", default-features = false }
dleq = { path = "../dleq", version = "^0.4.1", default-features = false }
[dev-dependencies]
rand_core = { version = "0.6", default-features = false, features = ["getrandom"] }
ciphersuite = { path = "../ciphersuite", version = "0.3", default-features = false, features = ["ristretto"] }
ciphersuite = { path = "../ciphersuite", default-features = false, features = ["ristretto"] }
[features]
std = [

View File

@@ -1,6 +1,6 @@
[package]
name = "dleq"
version = "0.3.1"
version = "0.4.1"
description = "Implementation of single and cross-curve Discrete Log Equality proofs"
license = "MIT"
repository = "https://github.com/serai-dex/serai/tree/develop/crypto/dleq"
@@ -21,12 +21,12 @@ rand_core = { version = "0.6", default-features = false }
zeroize = { version = "^1.5", default-features = false, features = ["zeroize_derive"] }
digest = { version = "0.10", default-features = false }
transcript = { package = "flexible-transcript", path = "../transcript", version = "0.3", default-features = false }
transcript = { package = "flexible-transcript", path = "../transcript", version = "^0.3.2", default-features = false }
ff = { version = "0.13", default-features = false }
group = { version = "0.13", default-features = false }
multiexp = { path = "../multiexp", version = "0.3", default-features = false, features = ["batch"], optional = true }
multiexp = { path = "../multiexp", version = "0.4", default-features = false, features = ["batch"], optional = true }
[dev-dependencies]
hex-literal = "0.4"

View File

@@ -1,6 +1,6 @@
[package]
name = "minimal-ed448"
version = "0.3.1"
version = "0.4.0"
description = "Unaudited, inefficient implementation of Ed448 in Rust"
license = "MIT"
repository = "https://github.com/serai-dex/serai/tree/develop/crypto/ed448"

View File

@@ -1,6 +1,6 @@
[package]
name = "ff-group-tests"
version = "0.13.0"
version = "0.13.1"
description = "A collection of sanity tests for implementors of ff/group APIs"
license = "MIT"
repository = "https://github.com/serai-dex/serai/tree/develop/crypto/ff-group-tests"

View File

@@ -1,6 +1,6 @@
[package]
name = "modular-frost"
version = "0.7.0"
version = "0.8.1"
description = "Modular implementation of FROST over ff/group"
license = "MIT"
repository = "https://github.com/serai-dex/serai/tree/develop/crypto/frost"
@@ -25,25 +25,25 @@ subtle = "^2.4"
hex = { version = "0.4", optional = true }
digest = "0.10"
transcript = { package = "flexible-transcript", path = "../transcript", version = "0.3", features = ["recommended"] }
transcript = { package = "flexible-transcript", path = "../transcript", version = "^0.3.2", features = ["recommended"] }
dalek-ff-group = { path = "../dalek-ff-group", version = "0.3", optional = true }
minimal-ed448 = { path = "../ed448", version = "0.3", optional = true }
dalek-ff-group = { path = "../dalek-ff-group", version = "0.4", optional = true }
minimal-ed448 = { path = "../ed448", version = "0.4", optional = true }
ciphersuite = { path = "../ciphersuite", version = "0.3", features = ["std"] }
ciphersuite = { path = "../ciphersuite", version = "^0.4.1", features = ["std"] }
multiexp = { path = "../multiexp", version = "0.3", features = ["batch"] }
multiexp = { path = "../multiexp", version = "0.4", features = ["batch"] }
schnorr = { package = "schnorr-signatures", path = "../schnorr", version = "0.4" }
dleq = { path = "../dleq", version = "0.3", features = ["serialize"] }
schnorr = { package = "schnorr-signatures", path = "../schnorr", version = "^0.5.1" }
dleq = { path = "../dleq", version = "^0.4.1", features = ["serialize"] }
dkg = { path = "../dkg", version = "0.4" }
dkg = { path = "../dkg", version = "^0.5.1" }
[dev-dependencies]
hex = "0.4"
serde_json = "1"
dkg = { path = "../dkg", version = "0.4", features = ["tests"] }
dkg = { path = "../dkg", features = ["tests"] }
[features]
ed25519 = ["dalek-ff-group", "ciphersuite/ed25519"]

View File

@@ -1,6 +1,6 @@
[package]
name = "multiexp"
version = "0.3.1"
version = "0.4.0"
description = "Multiexponentation algorithms for ff/group"
license = "MIT"
repository = "https://github.com/serai-dex/serai/tree/develop/crypto/multiexp"
@@ -16,7 +16,7 @@ rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
rustversion = "1"
std-shims = { path = "../../common/std-shims", version = "0.1", default-features = false }
std-shims = { path = "../../common/std-shims", version = "^0.1.1", default-features = false }
zeroize = { version = "^1.5", default-features = false, features = ["zeroize_derive"] }

View File

@@ -1,6 +1,6 @@
[package]
name = "schnorr-signatures"
version = "0.4.0"
version = "0.5.1"
description = "Minimal Schnorr signatures crate hosting common code"
license = "MIT"
repository = "https://github.com/serai-dex/serai/tree/develop/crypto/schnorr"
@@ -14,16 +14,16 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
std-shims = { path = "../../common/std-shims", version = "0.1", default-features = false }
std-shims = { path = "../../common/std-shims", version = "^0.1.1", default-features = false }
rand_core = { version = "0.6", default-features = false }
zeroize = { version = "^1.5", default-features = false, features = ["zeroize_derive"] }
transcript = { package = "flexible-transcript", path = "../transcript", version = "0.3", default-features = false }
transcript = { package = "flexible-transcript", path = "../transcript", version = "^0.3.2", default-features = false }
ciphersuite = { path = "../ciphersuite", version = "0.3", default-features = false, features = ["alloc"] }
multiexp = { path = "../multiexp", version = "0.3", default-features = false, features = ["batch"] }
ciphersuite = { path = "../ciphersuite", version = "^0.4.1", default-features = false, features = ["alloc"] }
multiexp = { path = "../multiexp", version = "0.4", default-features = false, features = ["batch"] }
[dev-dependencies]
hex = "0.4"
@@ -32,8 +32,8 @@ rand_core = { version = "0.6", features = ["std"] }
sha2 = "0.10"
dalek-ff-group = { path = "../dalek-ff-group", version = "0.3" }
ciphersuite = { path = "../ciphersuite", version = "0.3", features = ["ed25519"] }
dalek-ff-group = { path = "../dalek-ff-group" }
ciphersuite = { path = "../ciphersuite", features = ["ed25519"] }
[features]
std = ["std-shims/std", "ciphersuite/std", "multiexp/std"]

View File

@@ -1,6 +1,6 @@
[package]
name = "frost-schnorrkel"
version = "0.1.0"
version = "0.1.2"
description = "modular-frost Algorithm compatible with Schnorrkel"
license = "MIT"
repository = "https://github.com/serai-dex/serai/tree/develop/crypto/schnorrkel"
@@ -17,13 +17,13 @@ rustdoc-args = ["--cfg", "docsrs"]
rand_core = "0.6"
zeroize = "^1.5"
transcript = { package = "flexible-transcript", path = "../transcript", version = "0.3", features = ["merlin"] }
transcript = { package = "flexible-transcript", path = "../transcript", version = "^0.3.2", features = ["merlin"] }
group = "0.13"
ciphersuite = { path = "../ciphersuite", version = "0.3", features = ["std", "ristretto"] }
schnorr = { package = "schnorr-signatures", path = "../schnorr", version = "0.4" }
frost = { path = "../frost", package = "modular-frost", version = "0.7", features = ["ristretto"] }
ciphersuite = { path = "../ciphersuite", version = "^0.4.1", features = ["std", "ristretto"] }
schnorr = { package = "schnorr-signatures", path = "../schnorr", version = "^0.5.1" }
frost = { path = "../frost", package = "modular-frost", version = "^0.8.1", features = ["ristretto"] }
schnorrkel = { version = "0.11", git = "https://github.com/serai-dex/schnorrkel" }

View File

@@ -1,6 +1,6 @@
[package]
name = "flexible-transcript"
version = "0.3.1"
version = "0.3.2"
description = "A simple transcript trait definition, along with viable options"
license = "MIT"
repository = "https://github.com/serai-dex/serai/tree/develop/crypto/transcript"