8 #ifndef BOTAN_CASCADE_H__
9 #define BOTAN_CASCADE_H__
11 #include <botan/block_cipher.h>
21 void encrypt_n(
const uint8_t in[], uint8_t out[],
size_t blocks)
const override;
22 void decrypt_n(
const uint8_t in[], uint8_t out[],
size_t blocks)
const override;
29 m_cipher2->maximum_keylength());
32 void clear()
override;
33 std::string name()
const override;
46 void key_schedule(
const uint8_t[],
size_t)
override;
49 std::unique_ptr<BlockCipher> m_cipher1, m_cipher2;
Key_Length_Specification key_spec() const override
size_t block_size() const override