27 void clear()
override;
28 std::string
name()
const override;
30 std::unique_ptr<MessageAuthenticationCode>
new_object()
const override;
41 explicit GMAC(std::unique_ptr<BlockCipher> cipher);
49 void add_data(std::span<const uint8_t>)
override;
50 void final_result(std::span<uint8_t>)
override;
51 void start_msg(std::span<const uint8_t> nonce)
override;
52 void key_schedule(std::span<const uint8_t> key)
override;
54 static const size_t GCM_BS = 16;
55 std::unique_ptr<BlockCipher> m_cipher;
56 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