25 Comb4P(std::unique_ptr<HashFunction> h1, std::unique_ptr<HashFunction> h2);
29 size_t output_length()
const override {
return m_hash1->output_length() + m_hash2->output_length(); }
31 std::unique_ptr<HashFunction>
new_object()
const override;
33 std::unique_ptr<HashFunction>
copy_state()
const override;
35 std::string
name()
const override;
37 void clear()
override;
42 void add_data(std::span<const uint8_t> input)
override;
43 void final_result(std::span<uint8_t> out)
override;
45 std::unique_ptr<HashFunction> m_hash1, m_hash2;