Skip to content

Commit

Permalink
Bump digest to v0.11.0-pre.9 (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri authored Jul 26, 2024
1 parent 5240a85 commit 25417f1
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 19 deletions.
28 changes: 14 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions concat-kdf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ categories = ["cryptography", "no-std"]
rust-version = "1.72"

[dependencies]
digest = "=0.11.0-pre.8"
digest = "=0.11.0-pre.9"

[dev-dependencies]
hex-literal = "0.4"
sha2 = { version = "=0.11.0-pre.3", default-features = false }
sha2 = { version = "=0.11.0-pre.4", default-features = false }

[features]
std = []
Expand Down
6 changes: 3 additions & 3 deletions hkdf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ edition = "2021"
rust-version = "1.72"

[dependencies]
hmac = "=0.13.0-pre.3"
hmac = "=0.13.0-pre.4"

[dev-dependencies]
blobby = "0.3"
hex-literal = "0.4"
sha1 = { version = "=0.11.0-pre.3", default-features = false }
sha2 = { version = "=0.11.0-pre.3", default-features = false }
sha1 = { version = "=0.11.0-pre.4", default-features = false }
sha2 = { version = "=0.11.0-pre.4", default-features = false }

[features]
std = ["hmac/std"]
Expand Down
2 changes: 2 additions & 0 deletions hkdf/src/sealed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ where
}

#[inline(always)]
#[allow(deprecated)] // clone_from_slice
fn finalize(self) -> Output<H> {
// Output<H> and Output<H::Core> are always equal to each other,
// but we can not prove it at type level
Expand Down Expand Up @@ -76,6 +77,7 @@ impl<H: Digest + BlockSizeUser + Clone> Sealed<H> for SimpleHmac<H> {
}

#[inline(always)]
#[allow(deprecated)] // clone_from_slice
fn finalize(self) -> Output<H> {
// Output<H> and Output<H::Core> are always equal to each other,
// but we can not prove it at type level
Expand Down

0 comments on commit 25417f1

Please sign in to comment.