11 #include <botan/key_filt.h>
12 #include <botan/block_cipher.h>
13 #include <botan/stream_cipher.h>
14 #include <botan/mac.h>
33 void set_header(
const byte header[],
size_t header_len);
38 std::string name()
const;
40 bool valid_keylength(
size_t key_len)
const;
118 size_t tag_size) :
EAX_Base(ciph, tag_size)
124 void write(
const byte[],
size_t);
148 size_t tag_size = 0);
150 void write(
const byte[],
size_t);
151 void do_write(
const byte[],
size_t);
155 size_t queue_start, queue_end;
SecureVector< byte > ctr_buf
SecureVector< byte > header_mac
bool valid_iv_length(size_t) const
MessageAuthenticationCode * cmac
EAX_Encryption(BlockCipher *ciph, const SymmetricKey &key, const InitializationVector &iv, size_t tag_size)
EAX_Encryption(BlockCipher *ciph, size_t tag_size=0)
SecureVector< byte > nonce_mac