Skip to content

Commit

Permalink
Convert to bytes in parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
mborland committed Jan 14, 2025
1 parent d1ddabf commit 403525d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_nist_cavs_detail.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,7 @@ auto parse_file_monte_xof(const std::string& test_monte_filename, test_vector_co
{
const std::string str_cnt = line.substr(12U, line.length() - 12U);

const auto len_from_file = std::strtoul(str_cnt.c_str(), nullptr, 10U);
const auto len_from_file = std::strtoul(str_cnt.c_str(), nullptr, 10U) / 8;

lengths.emplace_back(len_from_file);
}
Expand Down

0 comments on commit 403525d

Please sign in to comment.