From af4010b4324bc247084c525c9d82e8b122b40ab5 Mon Sep 17 00:00:00 2001 From: Arthur Gautier Date: Mon, 21 Apr 2025 14:10:41 -0700 Subject: [PATCH] chore(deps): use `crypto-bigint` release --- Cargo.lock | 39 ++++++++++++++++++--------------------- Cargo.toml | 4 ---- 2 files changed, 18 insertions(+), 25 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f1f31390..2795fefa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -94,7 +94,7 @@ version = "0.11.0-rc.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a229bfd78e4827c91b9b95784f69492c1b77c1ab75a45a8a037b139215086f94" dependencies = [ - "hybrid-array 0.3.0", + "hybrid-array", ] [[package]] @@ -267,10 +267,11 @@ checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" [[package]] name = "crypto-bigint" -version = "0.7.0-pre" -source = "git+https://github.com/RustCrypto/crypto-bigint.git#534c2940b1f0aa9ec8ada964ce654cc0e6e1e7bb" +version = "0.7.0-pre.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6957fb7344601c8271b03e9d4c7efb46f1dee86553eee20f99e54db0cf53f36e" dependencies = [ - "hybrid-array 0.2.3", + "hybrid-array", "num-traits", "rand_core 0.9.2", "subtle", @@ -283,7 +284,7 @@ version = "0.2.0-rc.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "170d71b5b14dec99db7739f6fc7d6ec2db80b78c3acb77db48392ccc3d8a9ea0" dependencies = [ - "hybrid-array 0.3.0", + "hybrid-array", ] [[package]] @@ -369,7 +370,7 @@ checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" [[package]] name = "elliptic-curve" version = "0.14.0-rc.1" -source = "git+https://github.com/RustCrypto/traits.git#829328e9405143cc86b81c297b39f1a6161700c8" +source = "git+https://github.com/RustCrypto/traits.git#ba9dbacd95e51200b697ca6f7dfdfc200129b3d6" dependencies = [ "base16ct", "crypto-bigint", @@ -377,7 +378,7 @@ dependencies = [ "ff", "group", "hex-literal 1.0.0", - "hybrid-array 0.3.0", + "hybrid-array", "pem-rfc7468", "pkcs8", "rand_core 0.9.2", @@ -509,15 +510,6 @@ dependencies = [ "digest", ] -[[package]] -name = "hybrid-array" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2d35805454dc9f8662a98d6d61886ffe26bd465f5960e0e55345c70d5c0d2a9" -dependencies = [ - "typenum", -] - [[package]] name = "hybrid-array" version = "0.3.0" @@ -534,7 +526,7 @@ version = "0.2.0-rc.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ac5e145e8ade9f74c0a5efc60ccb4e714b0144f7e2220b7ca64254feee71c57f" dependencies = [ - "hybrid-array 0.3.0", + "hybrid-array", ] [[package]] @@ -612,7 +604,7 @@ dependencies = [ "digest", "hex", "hex-literal 0.4.1", - "hybrid-array 0.3.0", + "hybrid-array", "rand 0.9.0", "rand_core 0.9.2", "sha2", @@ -642,7 +634,7 @@ dependencies = [ "criterion", "hex", "hex-literal 1.0.0", - "hybrid-array 0.3.0", + "hybrid-array", "num-traits", "pkcs8", "proptest", @@ -1007,7 +999,7 @@ checksum = "a017a4aa8f0bd51e9d0184d98042dfe9285218fec098493f47d9a8aa0f1a3f27" dependencies = [ "base16ct", "der", - "hybrid-array 0.3.0", + "hybrid-array", "pkcs8", "serdect", "subtle", @@ -1109,7 +1101,7 @@ dependencies = [ "hex", "hex-literal 1.0.0", "hmac", - "hybrid-array 0.3.0", + "hybrid-array", "num-bigint", "paste", "pkcs8", @@ -1463,3 +1455,8 @@ name = "zeroize" version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" + +[[patch.unused]] +name = "crypto-bigint" +version = "0.7.0-pre" +source = "git+https://github.com/RustCrypto/crypto-bigint.git#534c2940b1f0aa9ec8ada964ce654cc0e6e1e7bb" diff --git a/Cargo.toml b/Cargo.toml index 03167313..566374cc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,7 +34,3 @@ slh-dsa = { path = "./slh-dsa" } # https://github.com/RustCrypto/traits/pull/1774 # https://github.com/RustCrypto/traits/pull/1822 elliptic-curve = { git = "https://github.com/RustCrypto/traits.git" } - -# https://github.com/RustCrypto/crypto-bigint/pull/762 -# https://github.com/RustCrypto/crypto-bigint/pull/765 -crypto-bigint = { git = "https://github.com/RustCrypto/crypto-bigint.git" }