32 std::string_view algorithm,
33 TPMI_RH_HIERARCHY hierarchy = ESYS_TR_RH_NULL,
36 std::string
name()
const override;
39 void clear()
override;
42 std::unique_ptr<Botan::HashFunction>
copy_state()
const override;
43 std::unique_ptr<Botan::HashFunction>
new_object()
const override;
46 TPMI_ALG_HASH
type()
const {
return m_hash_type; }
58 void add_data(std::span<const uint8_t> input)
override;
59 void final_result(std::span<uint8_t> output)
override;
62 TPMI_ALG_HASH m_hash_type;
63 TPMI_RH_HIERARCHY m_hierarchy;