Skip to content

Commit

Permalink
Clarified B-H CRHScheme::evaluate panic string
Browse files Browse the repository at this point in the history
  • Loading branch information
rozbb committed Oct 4, 2023
1 parent e04b022 commit 3db97f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/crh/bowe_hopwood/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ impl<P: TECurveConfig, W: pedersen::Window> CRHScheme for CRH<P, W> {

if (input.len() * 8) > W::WINDOW_SIZE * W::NUM_WINDOWS * CHUNK_SIZE {
panic!(
"incorrect input length {:?} for window params {:?}x{:?}x{}",
input.len(),
"incorrect input bitlength {:?} for window params {:?}x{:?}x{}",
input.len() * 8,
W::WINDOW_SIZE,
W::NUM_WINDOWS,
CHUNK_SIZE,
Expand Down

0 comments on commit 3db97f6

Please sign in to comment.