11 #include <botan/block_cipher.h>
12 #include <botan/key_filt.h>
22 std::string
name()
const {
return cipher->name() +
"/CTS"; }
29 {
return cipher->valid_keylength(key_len); }
32 {
return (iv_len == cipher->block_size()); }
42 void write(
const byte[],
size_t);
57 std::string
name()
const {
return cipher->name() +
"/CTS"; }
64 {
return cipher->valid_keylength(key_len); }
67 {
return (iv_len == cipher->block_size()); }
77 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)
bool valid_iv_length(size_t iv_len) const
bool valid_keylength(size_t key_len) const
void set_key(const SymmetricKey &key)