aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/block/cast/cast128.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/block/cast/cast128.h')
-rw-r--r--src/lib/block/cast/cast128.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/block/cast/cast128.h b/src/lib/block/cast/cast128.h
index ed28d6a71..2a0f4462a 100644
--- a/src/lib/block/cast/cast128.h
+++ b/src/lib/block/cast/cast128.h
@@ -18,15 +18,15 @@ namespace Botan {
class BOTAN_DLL CAST_128 : public Block_Cipher_Fixed_Params<8, 11, 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 "CAST-128"; }
- BlockCipher* clone() const { return new CAST_128; }
+ void clear() override;
+ std::string name() const override { return "CAST-128"; }
+ BlockCipher* clone() const override { return new CAST_128; }
private:
- void key_schedule(const byte[], size_t);
+ void key_schedule(const byte[], size_t) override;
static void cast_ks(secure_vector<u32bit>& ks,
secure_vector<u32bit>& user_key);