18 if(m_output_length > 0 && m_bits.size() != m_output_length) {
20 throw Invalid_Argument(
"Raw padding was configured to use a " + std::to_string(m_output_length) +
21 " byte hash but instead was used for a " + std::to_string(m_bits.size()) +
" byte hash");
24 copy_mem(out.data(), m_bits.data(), m_bits.size());