Skip to content

Commit fcd08a3

Browse files
committed
chore(deps): WIP: use digest newtype
1 parent b831df8 commit fcd08a3

File tree

2 files changed

+21
-19
lines changed

2 files changed

+21
-19
lines changed

Cargo.lock

Lines changed: 9 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ os_rng = ["rand_core/os_rng", "crypto-bigint/rand_core"]
5757
serde = ["dep:serde", "dep:serdect", "crypto-bigint/serde"]
5858
pem = ["pkcs1/pem", "pkcs8/pem"]
5959
pkcs5 = ["pkcs8/encryption"]
60-
std = ["digest/std", "pkcs1/std", "pkcs8/std", "rand_core/std", "crypto-bigint/rand"]
60+
std = ["pkcs1/std", "pkcs8/std", "rand_core/std", "crypto-bigint/rand"]
6161

6262

6363
[package.metadata.docs.rs]
@@ -74,14 +74,22 @@ debug = true
7474
# https://github.com/entropyxyz/crypto-primes/pull/74
7575
crypto-primes = { git = "https://github.com/entropyxyz/crypto-primes.git" }
7676

77-
signature = { git = "https://github.com/RustCrypto/traits.git" }
77+
crypto-common = { git = "https://github.com/RustCrypto/traits.git", branch = "digest/newtype" }
78+
digest = { git = "https://github.com/RustCrypto/traits.git", branch = "digest/newtype" }
79+
signature = { git = "https://github.com/RustCrypto/traits.git", branch = "digest/newtype" }
7880

7981
der = { git = "https://github.com/RustCrypto/formats.git" }
8082
pkcs1 = { git = "https://github.com/RustCrypto/formats.git" }
8183
pkcs5 = { git = "https://github.com/RustCrypto/formats.git" }
8284
pkcs8 = { git = "https://github.com/RustCrypto/formats.git" }
8385

86+
sha1 = { git = "https://github.com/RustCrypto/hashes.git", branch = "newtype" }
87+
sha2 = { git = "https://github.com/RustCrypto/hashes.git", branch = "newtype" }
88+
sha3 = { git = "https://github.com/RustCrypto/hashes.git", branch = "newtype" }
89+
8490
# https://github.com/RustCrypto/password-hashes/pull/577
8591
# https://github.com/RustCrypto/password-hashes/pull/578
86-
pbkdf2 = { git = "https://github.com/baloo/password-hashes.git", branch = "baloo/hmac-0.13.0-pre.5" }
87-
scrypt = { git = "https://github.com/baloo/password-hashes.git", branch = "baloo/hmac-0.13.0-pre.5" }
92+
pbkdf2 = { git = "https://github.com/baloo/password-hashes.git", branch = "baloo/digest/newtype" }
93+
scrypt = { git = "https://github.com/baloo/password-hashes.git", branch = "baloo/digest/newtype" }
94+
95+
hmac = { git = "https://github.com/baloo/MACs.git", branch = "baloo/digest-pin" }

0 commit comments

Comments
 (0)