8#ifndef BOTAN_SIPHASH_H_
9#define BOTAN_SIPHASH_H_
17 SipHash(
size_t c = 2,
size_t d = 4) : m_C(c), m_D(d) {}
19 void clear()
override;
20 std::string
name()
const override;
22 std::unique_ptr<MessageAuthenticationCode>
new_object()
const override;
31 void add_data(std::span<const uint8_t>)
override;
32 void final_result(std::span<uint8_t>)
override;
33 void key_schedule(std::span<const uint8_t>)
override;
35 const size_t m_C, m_D;
39 size_t m_mbuf_pos = 0;
std::string name() const override
Key_Length_Specification key_spec() const override
SipHash(size_t c=2, size_t d=4)
bool has_keying_material() const override
size_t output_length() const override
std::unique_ptr< MessageAuthenticationCode > new_object() const override
int(* final)(unsigned char *, CTX *)
std::vector< T, secure_allocator< T > > secure_vector