diff --git a/Cargo.lock b/Cargo.lock index dc3a351e..8c350f65 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -500,8 +500,9 @@ checksum = "bcaaec4551594c969335c98c903c1397853d4198408ea609190f420500f6be71" [[package]] name = "hmac" -version = "0.13.0-pre.4" -source = "git+https://github.com/RustCrypto/MACs.git#c7cbed0bd3f7026cc01251cd4602d0db4d0495b9" +version = "0.13.0-pre.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62c11fc82c6b89c906b4d26b7b5a305d0b3aebd4b458dd1bd0a7ed98c548a28e" dependencies = [ "digest", ] @@ -1064,8 +1065,9 @@ dependencies = [ [[package]] name = "sha2" -version = "0.11.0-pre.4" -source = "git+https://github.com/RustCrypto/hashes.git#0d0369ff7dab69e98acfb8a08f4724dbda285e04" +version = "0.11.0-pre.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19b4241d1a56954dce82cecda5c8e9c794eef6f53abe5e5216bac0a0ea71ffa7" dependencies = [ "cfg-if", "cpufeatures", @@ -1074,8 +1076,9 @@ dependencies = [ [[package]] name = "sha3" -version = "0.11.0-pre.4" -source = "git+https://github.com/RustCrypto/hashes.git#0d0369ff7dab69e98acfb8a08f4724dbda285e04" +version = "0.11.0-pre.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1bc997d7a5fa67cc1e352b2001124d28edb948b4e7a16567f9b3c1e51952524" dependencies = [ "digest", "keccak", diff --git a/Cargo.toml b/Cargo.toml index c565a0b0..7985d3eb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,10 +28,6 @@ lms-signature = { path = "./lms" } ml-dsa = { path = "./ml-dsa" } rfc6979 = { path = "./rfc6979" } slh-dsa = { path = "./slh-dsa" } - -# https://github.com/RustCrypto/hashes/pull/652 -sha2 = { git = "https://github.com/RustCrypto/hashes.git" } -sha3 = { git = "https://github.com/RustCrypto/hashes.git" } # https://github.com/RustCrypto/traits/pull/1751 # https://github.com/RustCrypto/traits/pull/1767 @@ -46,6 +42,3 @@ crypto-bigint = { git = "https://github.com/RustCrypto/crypto-bigint.git" } ff = { git = "https://github.com/pinkforest/ff.git", branch = "bump-rand-core" } # https://github.com/zkcrypto/group/pull/56 group = { git = "https://github.com/pinkforest/group.git", branch = "bump-rand-0.9" } - -# https://github.com/RustCrypto/MACs/pull/178 -hmac = { git = "https://github.com/RustCrypto/MACs.git" } diff --git a/ecdsa/Cargo.toml b/ecdsa/Cargo.toml index 9a720a8c..dce2a156 100644 --- a/ecdsa/Cargo.toml +++ b/ecdsa/Cargo.toml @@ -25,13 +25,13 @@ der = { version = "0.8.0-rc.1", optional = true } digest = { version = "=0.11.0-pre.10", optional = true, default-features = false, features = ["oid"] } rfc6979 = { version = "=0.5.0-pre.4", optional = true } serdect = { version = "0.3", optional = true, default-features = false, features = ["alloc"] } -sha2 = { version = "=0.11.0-pre.4", optional = true, default-features = false, features = ["oid"] } +sha2 = { version = "=0.11.0-pre.5", optional = true, default-features = false, features = ["oid"] } spki = { version = "0.8.0-rc.0", optional = true, default-features = false } [dev-dependencies] elliptic-curve = { version = "0.14.0-rc.1", default-features = false, features = ["dev"] } hex-literal = "1" -sha2 = { version = "=0.11.0-pre.4", default-features = false } +sha2 = { version = "=0.11.0-pre.5", default-features = false } [features] default = ["digest"] diff --git a/lms/Cargo.toml b/lms/Cargo.toml index 356f0532..0424d1f7 100644 --- a/lms/Cargo.toml +++ b/lms/Cargo.toml @@ -15,7 +15,7 @@ keywords = ["crypto", "signature"] digest = "=0.11.0-pre.10" hybrid-array = { version = "0.3", features = ["extra-sizes", "zeroize"] } rand = "0.9.0" -sha2 = "=0.11.0-pre.4" +sha2 = "=0.11.0-pre.5" static_assertions = "1.1.0" rand_core = "0.9.0" signature = { version = "=2.3.0-pre.6", features = ["digest", "std", "rand_core"] } diff --git a/ml-dsa/Cargo.toml b/ml-dsa/Cargo.toml index 5eb83d4e..40495a0d 100644 --- a/ml-dsa/Cargo.toml +++ b/ml-dsa/Cargo.toml @@ -35,7 +35,7 @@ pkcs8 = ["dep:const-oid", "dep:pkcs8"] hybrid-array = { version = "0.3", features = ["extra-sizes"] } num-traits = "0.2.19" rand_core = { version = "0.9", optional = true } -sha3 = "=0.11.0-pre.4" +sha3 = "=0.11.0-pre.5" signature = "=2.3.0-pre.6" zeroize = { version = "1.8.1", optional = true, default-features = false } diff --git a/rfc6979/Cargo.toml b/rfc6979/Cargo.toml index 26b3e2b3..e11014e8 100644 --- a/rfc6979/Cargo.toml +++ b/rfc6979/Cargo.toml @@ -16,9 +16,9 @@ edition = "2024" rust-version = "1.85" [dependencies] -hmac = { version = "=0.13.0-pre.4", default-features = false, features = ["reset"] } +hmac = { version = "=0.13.0-pre.5", default-features = false, features = ["reset"] } subtle = { version = "2", default-features = false } [dev-dependencies] hex-literal = "1" -sha2 = "=0.11.0-pre.4" +sha2 = "=0.11.0-pre.5" diff --git a/slh-dsa/Cargo.toml b/slh-dsa/Cargo.toml index e6c91163..6fbbcce0 100644 --- a/slh-dsa/Cargo.toml +++ b/slh-dsa/Cargo.toml @@ -17,12 +17,12 @@ keywords = ["crypto", "signature"] [dependencies] hybrid-array = { version = "0.3", features = ["extra-sizes"] } typenum = { version = "1.17.0", features = ["const-generics"] } -sha3 = { version = "=0.11.0-pre.4", default-features = false } +sha3 = { version = "=0.11.0-pre.5", default-features = false } zerocopy = { version = "0.7.34", features = ["derive"] } rand_core = { version = "0.9.2" } signature = { version = "=2.3.0-pre.6", features = ["rand_core"] } -hmac = "=0.13.0-pre.4" -sha2 = { version = "=0.11.0-pre.4", default-features = false } +hmac = "=0.13.0-pre.5" +sha2 = { version = "=0.11.0-pre.5", default-features = false } digest = "=0.11.0-pre.10" pkcs8 = { version = "0.11.0-rc.1", default-features = false } const-oid = { version = "0.10.0-rc.1", features = ["db"] }