21 std::string
name()
const override;
25 std::unique_ptr<MessageAuthenticationCode>
new_object()
const override;
27 void clear()
override;
35 explicit CMAC(std::unique_ptr<BlockCipher> cipher);
38 void add_data(std::span<const uint8_t> input)
override;
39 void final_result(std::span<uint8_t> output)
override;
40 void start_msg(std::span<const uint8_t> nonce)
override;
41 void key_schedule(std::span<const uint8_t> key)
override;
43 std::unique_ptr<BlockCipher> m_cipher;
45 const size_t m_block_size;