Skip to content

Commit

Permalink
fix some more tests
Browse files Browse the repository at this point in the history
Note that the new guts module doesn't yet have no_std support at all.
  • Loading branch information
oconnor663 committed Jul 13, 2023
1 parent 2ec01f4 commit af633c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/blake3_guts/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ pub fn test_hash_chunks_vs_portable(test_impl: &Implementation) {
portable::implementation().hash_chunks(
input2,
&TEST_KEY,
initial_counter + degree as u64,
initial_counter + test_impl.degree() as u64,
KEYED_HASH,
portable_right,
);
Expand All @@ -137,7 +137,7 @@ pub fn test_hash_chunks_vs_portable(test_impl: &Implementation) {
test_impl.hash_chunks(
input2,
&TEST_KEY,
initial_counter + degree as u64,
initial_counter + test_impl.degree() as u64,
KEYED_HASH,
test_right,
);
Expand Down
1 change: 1 addition & 0 deletions src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ fn test_xof_seek() {
#[test]
fn test_xof_xor() {
for step in [32, 63, 64, 128, 303] {
#[cfg(feature = "std")]
dbg!(step);
let mut ref_hasher = reference_impl::Hasher::new();
ref_hasher.update(b"foo");
Expand Down

0 comments on commit af633c1

Please sign in to comment.