13#include <botan/internal/alignment_buffer.h>
28 void clear()
override;
29 std::string
name()
const override;
31 std::unique_ptr<MessageAuthenticationCode>
new_object()
const override;
42 explicit GMAC(std::unique_ptr<BlockCipher> cipher);
50 void add_data(std::span<const uint8_t>)
override;
51 void final_result(std::span<uint8_t>)
override;
52 void start_msg(std::span<const uint8_t> nonce)
override;
53 void key_schedule(std::span<const uint8_t> key)
override;
55 static const size_t GCM_BS = 16;
56 std::unique_ptr<BlockCipher> m_cipher;
57 std::unique_ptr<GHASH> m_ghash;
std::string name() const override
GMAC(std::unique_ptr< BlockCipher > cipher)
std::unique_ptr< MessageAuthenticationCode > new_object() const override
Key_Length_Specification key_spec() const override
bool has_keying_material() const override
GMAC & operator=(const GMAC &)=delete
size_t output_length() const override
GMAC(const GMAC &)=delete
int(* final)(unsigned char *, CTX *)
std::vector< T, secure_allocator< T > > secure_vector