Skip to content

Commit

Permalink
Merge pull request #266 from dusk-network/mocello/256_audit
Browse files Browse the repository at this point in the history
Fix audit finding HASH2
  • Loading branch information
moCello authored May 8, 2024
2 parents dd6f4c8 + 08fc46e commit 1956f7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hades.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,11 @@ mod tests {
// absorb given input
sponge
.absorb(input.len(), input)
.expect("Absorbtion of the input should work fine");
.expect("Absorption of the input should work fine");
// absorb padding of one BlsScalar::one()
sponge
.absorb(1, &[BlsScalar::one()])
.expect("Absorbtion of padding should work fine");
.expect("Absorption of padding should work fine");
sponge.squeeze(1).expect("Squeezing should work fine");
let output = sponge.finish().expect("Finish should work fine");
output[0]
Expand Down

0 comments on commit 1956f7b

Please sign in to comment.