aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/block/gost_28147/gost_28147.h
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/gost_28147/gost_28147.h
parentb591ff640afc80725474ef65014fadf47769c0c2 (diff)
block: Add missing overrides
Diffstat (limited to 'src/lib/block/gost_28147/gost_28147.h')
-rw-r--r--src/lib/block/gost_28147/gost_28147.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/block/gost_28147/gost_28147.h b/src/lib/block/gost_28147/gost_28147.h
index 6d6e546f2..3cf1c4578 100644
--- a/src/lib/block/gost_28147/gost_28147.h
+++ b/src/lib/block/gost_28147/gost_28147.h
@@ -52,13 +52,13 @@ class BOTAN_DLL GOST_28147_89_Params
class BOTAN_DLL GOST_28147_89 : public Block_Cipher_Fixed_Params<8, 32>
{
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();
+ void clear() override;
- std::string name() const;
- BlockCipher* clone() const { return new GOST_28147_89(SBOX); }
+ std::string name() const override;
+ BlockCipher* clone() const override { return new GOST_28147_89(SBOX); }
/**
* @param params the sbox parameters to use
@@ -68,7 +68,7 @@ class BOTAN_DLL GOST_28147_89 : public Block_Cipher_Fixed_Params<8, 32>
GOST_28147_89(const std::vector<u32bit>& other_SBOX) :
SBOX(other_SBOX), EK(8) {}
- void key_schedule(const byte[], size_t);
+ void key_schedule(const byte[], size_t) override;
/*
* The sbox is not secret, this is just a larger expansion of it