aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/block/blowfish/blowfish.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/block/blowfish/blowfish.h')
-rw-r--r--src/lib/block/blowfish/blowfish.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/block/blowfish/blowfish.h b/src/lib/block/blowfish/blowfish.h
index 8653bb7d6..e1042465f 100644
--- a/src/lib/block/blowfish/blowfish.h
+++ b/src/lib/block/blowfish/blowfish.h
@@ -18,8 +18,8 @@ namespace Botan {
class BOTAN_DLL Blowfish : public Block_Cipher_Fixed_Params<8, 1, 56>
{
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;
/**
* Modified EKSBlowfish key schedule, used for bcrypt password hashing
@@ -27,11 +27,11 @@ class BOTAN_DLL Blowfish : public Block_Cipher_Fixed_Params<8, 1, 56>
void eks_key_schedule(const byte key[], size_t key_length,
const byte salt[16], size_t workfactor);
- void clear();
- std::string name() const { return "Blowfish"; }
- BlockCipher* clone() const { return new Blowfish; }
+ void clear() override;
+ std::string name() const override { return "Blowfish"; }
+ BlockCipher* clone() const override { return new Blowfish; }
private:
- void key_schedule(const byte key[], size_t length);
+ void key_schedule(const byte key[], size_t length) override;
void key_expansion(const byte key[],
size_t key_length,