11 #include <botan/block_cipher.h>
12 #include <botan/key_filt.h>
13 #include <botan/mode_pad.h>
14 #include <botan/buf_filt.h>
25 std::string name()
const;
32 {
return cipher->valid_keylength(key_len); }
35 {
return (iv_len == cipher->block_size()); }
47 void buffered_block(
const byte input[],
size_t input_length);
48 void buffered_final(
const byte input[],
size_t input_length);
50 void write(
const byte input[],
size_t input_length);
65 std::string name()
const;
72 {
return cipher->valid_keylength(key_len); }
75 {
return (iv_len == cipher->block_size()); }
87 void buffered_block(
const byte input[],
size_t input_length);
88 void buffered_final(
const byte input[],
size_t input_length);
90 void write(
const byte[],
size_t);
bool valid_keylength(size_t key_len) const
bool valid_iv_length(size_t iv_len) const
void set_key(const SymmetricKey &key)
void set_key(const SymmetricKey &key)
bool valid_iv_length(size_t iv_len) const
bool valid_keylength(size_t key_len) const