32 std::string_view algorithm,
33 TPMI_RH_HIERARCHY hierarchy = ESYS_TR_RH_NULL,
36 std::string
name()
const override;
37 size_t output_length()
const override;
38 void clear()
override;
41 std::unique_ptr<Botan::HashFunction> copy_state()
const override;
42 std::unique_ptr<Botan::HashFunction> new_object()
const override;
45 TPMI_ALG_HASH
type()
const {
return m_hash_type; }
57 void add_data(std::span<const uint8_t> input)
override;
58 void final_result(std::span<uint8_t> output)
override;
61 TPMI_ALG_HASH m_hash_type;
62 TPMI_RH_HIERARCHY m_hierarchy;