Skip to content

Commit abab6dc

Browse files
authored
elliptic-curve: apply digest API breaking changes (#1860)
Alternative to #1859
1 parent 915474f commit abab6dc

File tree

3 files changed

+21
-41
lines changed

3 files changed

+21
-41
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,9 @@ members = [
1515
]
1616

1717
[patch.crates-io]
18+
digest = { path = "digest" }
19+
hkdf = { git = "https://github.com/RustCrypto/KDFs.git" }
20+
hmac = { git = "https://github.com/RustCrypto/MACs.git" }
21+
sha2 = { git = "https://github.com/RustCrypto/hashes.git" }
22+
sha3 = { git = "https://github.com/RustCrypto/hashes.git" }
1823
signature = { path = "signature" }

elliptic-curve/src/hash2curve/hash2field/expand_msg/xmd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use digest::{
1010
Array,
1111
typenum::{IsGreaterOrEqual, IsLess, IsLessOrEqual, True, U2, U256, Unsigned},
1212
},
13-
core_api::BlockSizeUser,
13+
block_api::BlockSizeUser,
1414
};
1515

1616
/// Implements `expand_message_xof` via the [`ExpandMsg`] trait:

0 commit comments

Comments
 (0)