diff options
author | Daniel Seither <[email protected]> | 2015-07-30 16:06:35 +0200 |
---|---|---|
committer | Daniel Seither <[email protected]> | 2015-07-30 16:06:35 +0200 |
commit | f56f8610392b338bbb4e8c10f2d7cb56b2614acc (patch) | |
tree | af312fe0b796c73a3c8e075ec87f348d6785c3bc /src/lib/block/cascade | |
parent | b591ff640afc80725474ef65014fadf47769c0c2 (diff) |
block: Add missing overrides
Diffstat (limited to 'src/lib/block/cascade')
-rw-r--r-- | src/lib/block/cascade/cascade.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/block/cascade/cascade.h b/src/lib/block/cascade/cascade.h index e96c34549..386f1bd21 100644 --- a/src/lib/block/cascade/cascade.h +++ b/src/lib/block/cascade/cascade.h @@ -18,20 +18,20 @@ namespace Botan { class BOTAN_DLL Cascade_Cipher : public BlockCipher { public: - void encrypt_n(const byte in[], byte out[], size_t blocks) const; - void decrypt_n(const byte in[], byte out[], size_t blocks) const; + void encrypt_n(const byte in[], byte out[], size_t blocks) const override; + void decrypt_n(const byte in[], byte out[], size_t blocks) const override; - size_t block_size() const { return m_block; } + size_t block_size() const override { return m_block; } - Key_Length_Specification key_spec() const + Key_Length_Specification key_spec() const override { return Key_Length_Specification(m_cipher1->maximum_keylength() + m_cipher2->maximum_keylength()); } - void clear(); - std::string name() const; - BlockCipher* clone() const; + void clear() override; + std::string name() const override; + BlockCipher* clone() const override; static Cascade_Cipher* make(const Spec& spec); @@ -45,7 +45,7 @@ class BOTAN_DLL Cascade_Cipher : public BlockCipher Cascade_Cipher(const Cascade_Cipher&) = delete; Cascade_Cipher& operator=(const Cascade_Cipher&) = delete; private: - void key_schedule(const byte[], size_t); + void key_schedule(const byte[], size_t) override; size_t m_block; std::unique_ptr<BlockCipher> m_cipher1, m_cipher2; |