Skip to content

Commit

Permalink
Fix another fill function
Browse files Browse the repository at this point in the history
  • Loading branch information
mborland committed Oct 31, 2024
1 parent 3d9e499 commit 15d0d22
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/test_nist_cavs_detail.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,10 @@ auto test_vectors_monte_xof(const nist::cavs::test_vector_container_type& test_v
// Only process the leftmost 128 bit of output
this_hash.process_bytes(MDi.data(), 16);

MDi.clear();
for (auto& val : MDi)
{
val = static_cast<std::uint8_t>(0);
}

const auto output_length = this_hash.get_digest(MDi);
BOOST_TEST_EQ(output_length, lengths[j]);
Expand Down

0 comments on commit 15d0d22

Please sign in to comment.