We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 179be6b commit 7e9ba1fCopy full SHA for 7e9ba1f
test/test_nist_cavs_detail.hpp
@@ -2040,9 +2040,8 @@ auto test_vectors_monte_xof(const nist::cavs::test_vector_container_type& test_v
2040
#endif
2041
2042
this_hash.process_bytes(current_data);
2043
- this_hash.finalize();
2044
- const auto output_status = this_hash.get_digest(MDi);
2045
- BOOST_TEST(output_status == boost::crypt::state::success);
+ BOOST_TEST(this_hash.finalize() == boost::crypt::state::success);
+ BOOST_TEST(this_hash.get_digest(MDi) == boost::crypt::state::success);
2046
2047
// An alias for finding the output length
2048
// We assume the hash will never be all 0s except for failure
0 commit comments