11 #include <botan/block_cipher.h>
12 #include <botan/key_filt.h>
22 std::string
name()
const {
return cipher->name() +
"/CFB"; }
29 {
return cipher->valid_keylength(key_len); }
32 {
return (iv_len == cipher->block_size()); }
43 void write(
const byte[],
size_t);
47 size_t position, feedback;
56 std::string
name()
const {
return cipher->name() +
"/CFB"; }
63 {
return cipher->valid_keylength(key_len); }
66 {
return (iv_len == cipher->block_size()); }
77 void write(
const byte[],
size_t);
81 size_t position, feedback;
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_keylength(size_t key_len) const
void set_key(const SymmetricKey &key)
bool valid_iv_length(size_t iv_len) const