diff options
author | lloyd <[email protected]> | 2014-01-18 18:17:08 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-01-18 18:17:08 +0000 |
commit | b96ad4c05c0a8f835b54ef4e2cff849c749409b0 (patch) | |
tree | d8a5805e6d85cd66d2336f624f0cbeaaf1d5bed3 /src/lib/hash/hash.h | |
parent | 6b457468faa88180142de9bd2ba0fee90be43463 (diff) |
Split off the keyed interfaces of transform to Keyed_Transform
Remove the unhelpful 'Algorithm' base class which had previously
acted more or less as a global base.
Diffstat (limited to 'src/lib/hash/hash.h')
-rw-r--r-- | src/lib/hash/hash.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/hash/hash.h b/src/lib/hash/hash.h index 1e4b045e2..58a810c4b 100644 --- a/src/lib/hash/hash.h +++ b/src/lib/hash/hash.h @@ -9,7 +9,6 @@ #define BOTAN_HASH_FUNCTION_BASE_CLASS_H__ #include <botan/buf_comp.h> -#include <botan/algo_base.h> #include <string> namespace Botan { @@ -17,8 +16,7 @@ namespace Botan { /** * This class represents hash function (message digest) objects */ -class BOTAN_DLL HashFunction : public Buffered_Computation, - public Algorithm +class BOTAN_DLL HashFunction : public Buffered_Computation { public: /** @@ -26,6 +24,10 @@ class BOTAN_DLL HashFunction : public Buffered_Computation, */ virtual HashFunction* clone() const = 0; + virtual void clear() = 0; + + virtual std::string name() const = 0; + /** * @return hash block size as defined for this algorithm */ |