11 #include <botan/mac.h> 12 #include <botan/block_cipher.h> 24 std::string
name()
const override;
28 void clear()
override;
32 return m_cipher->key_spec();
44 BOTAN_DEPRECATED(
"This was only for internal use and is no longer used")
53 CMAC& operator=(const
CMAC&) = delete;
55 void add_data(const uint8_t[],
size_t) override;
56 void final_result(uint8_t[]) override;
57 void key_schedule(const uint8_t[],
size_t) override;
61 const
size_t m_block_size;
int(* final)(unsigned char *, CTX *)
#define BOTAN_PUBLIC_API(maj, min)
size_t output_length() const override
virtual std::string name() const =0
Key_Length_Specification key_spec() const override
virtual MessageAuthenticationCode * clone() const =0
std::vector< T, secure_allocator< T > > secure_vector
#define BOTAN_FUTURE_INTERNAL_HEADER(hdr)