diff options
author | lloyd <[email protected]> | 2006-09-06 00:20:54 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-09-06 00:20:54 +0000 |
commit | 1877da91b1633e87c3326b7672e01ab387499588 (patch) | |
tree | abfe8c5765ed89d5e0b65efffd50e7a4eb6fb3f8 /include/mode_pad.h | |
parent | d65f9a38be079c52257dff6663b816de206ce99d (diff) |
Remove the Algorithm class; the only members it exposed where name() and
clear(), which have been declared in the appropriate places in (former)
subclasses of Algorithm
Diffstat (limited to 'include/mode_pad.h')
-rw-r--r-- | include/mode_pad.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/mode_pad.h b/include/mode_pad.h index 38cb55487..a2c56f2eb 100644 --- a/include/mode_pad.h +++ b/include/mode_pad.h @@ -14,13 +14,16 @@ namespace Botan { /************************************************* * Block Cipher Mode Padding Method * *************************************************/ -class BlockCipherModePaddingMethod : public Algorithm +class BlockCipherModePaddingMethod { public: + virtual std::string name() const = 0; + virtual void pad(byte[], u32bit, u32bit) const = 0; virtual u32bit unpad(const byte[], u32bit) const = 0; virtual u32bit pad_bytes(u32bit, u32bit) const; virtual bool valid_blocksize(u32bit) const = 0; + virtual ~BlockCipherModePaddingMethod() {} }; /************************************************* |