aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/block/cascade
diff options
context:
space:
mode:
authorDaniel Seither <[email protected]>2015-07-30 16:06:35 +0200
committerDaniel Seither <[email protected]>2015-07-30 16:06:35 +0200
commitf56f8610392b338bbb4e8c10f2d7cb56b2614acc (patch)
treeaf312fe0b796c73a3c8e075ec87f348d6785c3bc /src/lib/block/cascade
parentb591ff640afc80725474ef65014fadf47769c0c2 (diff)
block: Add missing overrides
Diffstat (limited to 'src/lib/block/cascade')
-rw-r--r--src/lib/block/cascade/cascade.h16
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;