Skip to content

Commit 06b9cc9

Browse files
authored
remove git dependency on hashes and hmac (#923)
1 parent af08607 commit 06b9cc9

File tree

7 files changed

+18
-22
lines changed

7 files changed

+18
-22
lines changed

Cargo.lock

+9-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

-7
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ lms-signature = { path = "./lms" }
2828
ml-dsa = { path = "./ml-dsa" }
2929
rfc6979 = { path = "./rfc6979" }
3030
slh-dsa = { path = "./slh-dsa" }
31-
32-
# https://github.com/RustCrypto/hashes/pull/652
33-
sha2 = { git = "https://github.com/RustCrypto/hashes.git" }
34-
sha3 = { git = "https://github.com/RustCrypto/hashes.git" }
3531

3632
# https://github.com/RustCrypto/traits/pull/1751
3733
# https://github.com/RustCrypto/traits/pull/1767
@@ -46,6 +42,3 @@ crypto-bigint = { git = "https://github.com/RustCrypto/crypto-bigint.git" }
4642
ff = { git = "https://github.com/pinkforest/ff.git", branch = "bump-rand-core" }
4743
# https://github.com/zkcrypto/group/pull/56
4844
group = { git = "https://github.com/pinkforest/group.git", branch = "bump-rand-0.9" }
49-
50-
# https://github.com/RustCrypto/MACs/pull/178
51-
hmac = { git = "https://github.com/RustCrypto/MACs.git" }

ecdsa/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ der = { version = "0.8.0-rc.1", optional = true }
2525
digest = { version = "=0.11.0-pre.10", optional = true, default-features = false, features = ["oid"] }
2626
rfc6979 = { version = "=0.5.0-pre.4", optional = true }
2727
serdect = { version = "0.3", optional = true, default-features = false, features = ["alloc"] }
28-
sha2 = { version = "=0.11.0-pre.4", optional = true, default-features = false, features = ["oid"] }
28+
sha2 = { version = "=0.11.0-pre.5", optional = true, default-features = false, features = ["oid"] }
2929
spki = { version = "0.8.0-rc.0", optional = true, default-features = false }
3030

3131
[dev-dependencies]
3232
elliptic-curve = { version = "0.14.0-rc.1", default-features = false, features = ["dev"] }
3333
hex-literal = "1"
34-
sha2 = { version = "=0.11.0-pre.4", default-features = false }
34+
sha2 = { version = "=0.11.0-pre.5", default-features = false }
3535

3636
[features]
3737
default = ["digest"]

lms/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ keywords = ["crypto", "signature"]
1515
digest = "=0.11.0-pre.10"
1616
hybrid-array = { version = "0.3", features = ["extra-sizes", "zeroize"] }
1717
rand = "0.9.0"
18-
sha2 = "=0.11.0-pre.4"
18+
sha2 = "=0.11.0-pre.5"
1919
static_assertions = "1.1.0"
2020
rand_core = "0.9.0"
2121
signature = { version = "=2.3.0-pre.6", features = ["digest", "std", "rand_core"] }

ml-dsa/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ pkcs8 = ["dep:const-oid", "dep:pkcs8"]
3535
hybrid-array = { version = "0.3", features = ["extra-sizes"] }
3636
num-traits = "0.2.19"
3737
rand_core = { version = "0.9", optional = true }
38-
sha3 = "=0.11.0-pre.4"
38+
sha3 = "=0.11.0-pre.5"
3939
signature = "=2.3.0-pre.6"
4040
zeroize = { version = "1.8.1", optional = true, default-features = false }
4141

rfc6979/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ edition = "2024"
1616
rust-version = "1.85"
1717

1818
[dependencies]
19-
hmac = { version = "=0.13.0-pre.4", default-features = false, features = ["reset"] }
19+
hmac = { version = "=0.13.0-pre.5", default-features = false, features = ["reset"] }
2020
subtle = { version = "2", default-features = false }
2121

2222
[dev-dependencies]
2323
hex-literal = "1"
24-
sha2 = "=0.11.0-pre.4"
24+
sha2 = "=0.11.0-pre.5"

slh-dsa/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ keywords = ["crypto", "signature"]
1717
[dependencies]
1818
hybrid-array = { version = "0.3", features = ["extra-sizes"] }
1919
typenum = { version = "1.17.0", features = ["const-generics"] }
20-
sha3 = { version = "=0.11.0-pre.4", default-features = false }
20+
sha3 = { version = "=0.11.0-pre.5", default-features = false }
2121
zerocopy = { version = "0.7.34", features = ["derive"] }
2222
rand_core = { version = "0.9.2" }
2323
signature = { version = "=2.3.0-pre.6", features = ["rand_core"] }
24-
hmac = "=0.13.0-pre.4"
25-
sha2 = { version = "=0.11.0-pre.4", default-features = false }
24+
hmac = "=0.13.0-pre.5"
25+
sha2 = { version = "=0.11.0-pre.5", default-features = false }
2626
digest = "=0.11.0-pre.10"
2727
pkcs8 = { version = "0.11.0-rc.1", default-features = false }
2828
const-oid = { version = "0.10.0-rc.1", features = ["db"] }

0 commit comments

Comments
 (0)