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/xtea/xtea.h | |
parent | b591ff640afc80725474ef65014fadf47769c0c2 (diff) |
block: Add missing overrides
Diffstat (limited to 'src/lib/block/xtea/xtea.h')
-rw-r--r-- | src/lib/block/xtea/xtea.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/block/xtea/xtea.h b/src/lib/block/xtea/xtea.h index 4de0bea72..ea5c39418 100644 --- a/src/lib/block/xtea/xtea.h +++ b/src/lib/block/xtea/xtea.h @@ -18,12 +18,12 @@ namespace Botan { class BOTAN_DLL XTEA : public Block_Cipher_Fixed_Params<8, 16> { 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; - void clear(); - std::string name() const { return "XTEA"; } - BlockCipher* clone() const { return new XTEA; } + void clear() override; + std::string name() const override { return "XTEA"; } + BlockCipher* clone() const override { return new XTEA; } protected: /** * @return const reference to the key schedule @@ -31,7 +31,7 @@ class BOTAN_DLL XTEA : public Block_Cipher_Fixed_Params<8, 16> const secure_vector<u32bit>& get_EK() const { return EK; } private: - void key_schedule(const byte[], size_t); + void key_schedule(const byte[], size_t) override; secure_vector<u32bit> EK; }; |