Skip to content

Commit

Permalink
Merge pull request #322 from cryspen/main
Browse files Browse the repository at this point in the history
Merge main to dev
  • Loading branch information
franziskuskiefer authored Jun 18, 2024
2 parents 52af832 + 7a4c585 commit a696d08
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/digest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -419,9 +419,9 @@ pub mod incremental_x4 {
// Pad the input to the length of 4
let data = [
input[0],
if N > 1 { input[1] } else { &[] },
if N > 2 { input[2] } else { &[] },
if N > 3 { input[3] } else { &[] },
if N > 1 { input[1] } else { &input[0] },
if N > 2 { input[2] } else { &input[0] },
if N > 3 { input[3] } else { &input[0] },
];
self.state.absorb_final(data);
}
Expand Down

0 comments on commit a696d08

Please sign in to comment.