Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
alxiong committed Jan 5, 2025
1 parent 28a2bc4 commit 92efba0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nimue/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ license = "BSD-3-Clause"
zeroize = { version = "1.6.0", features = ["zeroize_derive"] }
rand = { version = "0.8", features = ["getrandom"] }
digest = "^0.10.7"
serde = "^1.0"
serde = { version = "^1.0", features = ["derive"] }
# used as default hasher for the prover
keccak = { version = "0.1.4"}
log = "0.4.20"
Expand Down
4 changes: 2 additions & 2 deletions nimue/src/hash/legacy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
//! `squeeze_unchecked` will use the squeeze oracle to output `output.len()` bytes,
//! and finally `squeeze_end` will set the state `cv` to the current squeeze digest and length.
//!
use digest::{core_api::BlockSizeUser, typenum::Unsigned, Digest, FixedOutputReset, Reset};
use digest::crypto_common::generic_array::GenericArray;
use digest::{core_api::BlockSizeUser, typenum::Unsigned, Digest, FixedOutputReset, Reset};
use zeroize::Zeroize;

use super::DuplexHash;

/// A Bridge to our sponge interface for legacy `Digest` implementations.
#[derive(Clone)]
pub struct DigestBridge<D: Digest + Clone + Reset + BlockSizeUser> {
pub struct DigestBridge<D: Digest + Clone + Reset + BlockSizeUser> {
/// The underlying hasher.
hasher: D,
/// Cached digest
Expand Down

0 comments on commit 92efba0

Please sign in to comment.