diff --git a/Cargo.lock b/Cargo.lock index c6fe718a..5615734a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1063,7 +1063,7 @@ dependencies = [ "hex", "k256", "minimal-ed448", - "p256 0.13.1", + "p256 0.13.2", "rand_core 0.6.4", "sha2 0.10.6", "sha3", @@ -2730,7 +2730,7 @@ dependencies = [ "bls12_381", "group 0.13.0", "k256", - "p256 0.13.1", + "p256 0.13.2", "pasta_curves", "rand_core 0.6.4", "subtle", @@ -5631,18 +5631,18 @@ dependencies = [ [[package]] name = "num_enum" -version = "0.6.0" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0fa9d8a04aa0af7b5845b514a828f829ae3f0ec3f60d9842e1dfaeb49a0e68b" +checksum = "7a015b430d3c108a207fd776d2e2196aaf8b1cf8cf93253e3a097ff3085076a1" dependencies = [ "num_enum_derive", ] [[package]] name = "num_enum_derive" -version = "0.6.0" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e51dcc6bafb7f3ac88b65d2ad21f4b53d878e496712060e23011862ebd2d2d1" +checksum = "96667db765a921f7b295ffee8b60472b686a51d4f21c2ee4ffdb94c7013b65a6" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5795,14 +5795,13 @@ dependencies = [ [[package]] name = "p256" -version = "0.13.1" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc7304b8213f8597952b2f4c3d7f09947d46bb677801df8f287ffd2c4e26f9da" +checksum = "c9863ad85fa8f4460f9c48cb909d38a0d689dba1f6f6988a5e3e0d31071bcd4b" dependencies = [ "ecdsa 0.16.6", "elliptic-curve 0.13.4", "primeorder", - "sha2 0.10.6", ] [[package]] diff --git a/coins/bitcoin/Cargo.toml b/coins/bitcoin/Cargo.toml index 84614879..37db0b0a 100644 --- a/coins/bitcoin/Cargo.toml +++ b/coins/bitcoin/Cargo.toml @@ -19,7 +19,7 @@ sha2 = "0.10" secp256k1 = { version = "0.27", features = ["global-context"] } bitcoin = { version = "0.30", features = ["serde"] } -k256 = { version = "0.13", features = ["arithmetic"] } +k256 = { version = "^0.13.1", default-features = false, features = ["std", "arithmetic", "bits"] } transcript = { package = "flexible-transcript", path = "../../crypto/transcript", version = "0.3", features = ["recommended"] } frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.7", features = ["secp256k1"] } diff --git a/coins/ethereum/Cargo.toml b/coins/ethereum/Cargo.toml index eacc602b..074f4b26 100644 --- a/coins/ethereum/Cargo.toml +++ b/coins/ethereum/Cargo.toml @@ -23,7 +23,7 @@ sha2 = "0.10" sha3 = "0.10" group = "0.13" -k256 = { version = "0.13", features = ["arithmetic", "ecdsa"] } +k256 = { version = "^0.13.1", default-features = false, features = ["std", "arithmetic", "bits", "ecdsa"] } frost = { package = "modular-frost", path = "../../crypto/frost", features = ["secp256k1", "tests"] } eyre = "0.6" diff --git a/crypto/ciphersuite/Cargo.toml b/crypto/ciphersuite/Cargo.toml index 4c8d6008..293b9830 100644 --- a/crypto/ciphersuite/Cargo.toml +++ b/crypto/ciphersuite/Cargo.toml @@ -29,8 +29,8 @@ group = "0.13" dalek-ff-group = { path = "../dalek-ff-group", version = "0.3", optional = true } elliptic-curve = { version = "0.13", features = ["hash2curve"], optional = true } -p256 = { version = "0.13", features = ["arithmetic", "bits", "hash2curve"], optional = true } -k256 = { version = "0.13", features = ["arithmetic", "bits", "hash2curve"], optional = true } +p256 = { version = "^0.13.1", default-features = false, features = ["std", "arithmetic", "bits", "hash2curve"], optional = true } +k256 = { version = "^0.13.1", default-features = false, features = ["std", "arithmetic", "bits", "hash2curve"], optional = true } minimal-ed448 = { path = "../ed448", version = "0.3", optional = true } diff --git a/crypto/dleq/Cargo.toml b/crypto/dleq/Cargo.toml index 295f52fd..b5b0fc33 100644 --- a/crypto/dleq/Cargo.toml +++ b/crypto/dleq/Cargo.toml @@ -33,7 +33,7 @@ hex-literal = "0.4" blake2 = "0.10" -k256 = { version = "0.13", features = ["arithmetic", "bits"] } +k256 = { version = "^0.13.1", default-features = false, features = ["std", "arithmetic", "bits"] } dalek-ff-group = { path = "../dalek-ff-group" } transcript = { package = "flexible-transcript", path = "../transcript", features = ["recommended"] } diff --git a/crypto/ff-group-tests/Cargo.toml b/crypto/ff-group-tests/Cargo.toml index 87719ac3..3e50531e 100644 --- a/crypto/ff-group-tests/Cargo.toml +++ b/crypto/ff-group-tests/Cargo.toml @@ -20,8 +20,8 @@ subtle = "^2.4" group = "0.13" [dev-dependencies] -k256 = { version = "^0.13.1", features = ["bits"] } -p256 = { version = "^0.13.1", features = ["bits"] } +k256 = { version = "^0.13.1", default-features = false, features = ["std", "arithmetic", "bits"] } +p256 = { version = "^0.13.1", default-features = false, features = ["std", "arithmetic", "bits"] } bls12_381 = "0.8" diff --git a/crypto/multiexp/Cargo.toml b/crypto/multiexp/Cargo.toml index d62a8062..6f19542d 100644 --- a/crypto/multiexp/Cargo.toml +++ b/crypto/multiexp/Cargo.toml @@ -25,7 +25,7 @@ rand_core = { version = "0.6", optional = true } [dev-dependencies] rand_core = "0.6" -k256 = { version = "0.13", features = ["bits"] } +k256 = { version = "^0.13.1", default-features = false, features = ["std", "arithmetic", "bits"] } dalek-ff-group = { path = "../dalek-ff-group" } [features] diff --git a/processor/Cargo.toml b/processor/Cargo.toml index f9a7c8ae..aaf00973 100644 --- a/processor/Cargo.toml +++ b/processor/Cargo.toml @@ -43,7 +43,7 @@ sp-application-crypto = { git = "https://github.com/serai-dex/substrate", defaul # Bitcoin secp256k1 = { version = "0.27", features = ["global-context", "rand-std"], optional = true } -k256 = { version = "0.13", features = ["arithmetic"], optional = true } +k256 = { version = "^0.13.1", optional = true } bitcoin-serai = { path = "../coins/bitcoin", optional = true } # Monero