Skip to content

Commit 71429e2

Browse files
committed
chore(deps): WIP: use digest newtype
1 parent 1adbad3 commit 71429e2

File tree

2 files changed

+22
-19
lines changed

2 files changed

+22
-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: 13 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,23 @@ 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+
#cipher = { git = "https://github.com/RustCrypto/traits.git", branch = "digest/newtype" }
79+
digest = { git = "https://github.com/RustCrypto/traits.git", branch = "digest/newtype" }
80+
signature = { git = "https://github.com/RustCrypto/traits.git", branch = "digest/newtype" }
7881

7982
der = { git = "https://github.com/RustCrypto/formats.git" }
8083
pkcs1 = { git = "https://github.com/RustCrypto/formats.git" }
8184
pkcs5 = { git = "https://github.com/RustCrypto/formats.git" }
8285
pkcs8 = { git = "https://github.com/RustCrypto/formats.git" }
8386

87+
sha1 = { git = "https://github.com/RustCrypto/hashes.git", branch = "newtype" }
88+
sha2 = { git = "https://github.com/RustCrypto/hashes.git", branch = "newtype" }
89+
sha3 = { git = "https://github.com/RustCrypto/hashes.git", branch = "newtype" }
90+
8491
# https://github.com/RustCrypto/password-hashes/pull/577
8592
# 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" }
93+
pbkdf2 = { git = "https://github.com/baloo/password-hashes.git", branch = "baloo/digest/newtype" }
94+
scrypt = { git = "https://github.com/baloo/password-hashes.git", branch = "baloo/digest/newtype" }
95+
96+
hmac = { git = "https://github.com/baloo/MACs.git", branch = "baloo/digest-pin" }

0 commit comments

Comments
 (0)