We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
bash-prg-hash
1 parent bacda34 commit 57c51b2Copy full SHA for 57c51b2
1 file changed
bash-prg-hash/tests/mod.rs
@@ -17,11 +17,8 @@ macro_rules! test_bash_prg_rand {
17
use digest::typenum::Unsigned;
18
let mut h = <$hasher>::default();
19
digest::dev::feed_rand_16mib(&mut h);
20
- let mut output = [
21
- 0u8;
22
- <<$hasher as CollisionResistance>::CollisionResistance as Unsigned>::USIZE
23
- * 2
24
- ];
+ let mut output = [0u8;
+ <<$hasher as CollisionResistance>::CollisionResistance as Unsigned>::USIZE * 2];
25
h.finalize_xof_into(&mut output);
26
assert_eq!(&output[..], $expected);
27
}
0 commit comments