20 std::string
name()
const override {
return "CRC32"; }
24 std::unique_ptr<HashFunction>
new_object()
const override {
return std::make_unique<CRC32>(); }
26 std::unique_ptr<HashFunction>
copy_state()
const override;
28 void clear()
override { m_crc = 0xFFFFFFFF; }
35 void add_data(std::span<const uint8_t>)
override;
36 void final_result(std::span<uint8_t>)
override;