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/serpent/serpent.h | |
parent | b591ff640afc80725474ef65014fadf47769c0c2 (diff) |
block: Add missing overrides
Diffstat (limited to 'src/lib/block/serpent/serpent.h')
-rw-r--r-- | src/lib/block/serpent/serpent.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/block/serpent/serpent.h b/src/lib/block/serpent/serpent.h index a3f5d0817..7fdf4600d 100644 --- a/src/lib/block/serpent/serpent.h +++ b/src/lib/block/serpent/serpent.h @@ -18,12 +18,12 @@ namespace Botan { class BOTAN_DLL Serpent : public Block_Cipher_Fixed_Params<16, 16, 32, 8> { 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 "Serpent"; } - BlockCipher* clone() const { return new Serpent; } + void clear() override; + std::string name() const override { return "Serpent"; } + BlockCipher* clone() const override { return new Serpent; } protected: /** * For use by subclasses using SIMD, asm, etc @@ -42,7 +42,7 @@ class BOTAN_DLL Serpent : public Block_Cipher_Fixed_Params<16, 16, 32, 8> } private: - void key_schedule(const byte key[], size_t length); + void key_schedule(const byte key[], size_t length) override; secure_vector<u32bit> round_key; }; |