diff options
author | lloyd <[email protected]> | 2015-01-28 06:20:39 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2015-01-28 06:20:39 +0000 |
commit | 710229be83cdbc061949c61942896b5af9e134d8 (patch) | |
tree | 5a28c6d2cd456a5a686a332b7466ed9f326cc5f8 /src/lib/hash/hash.h | |
parent | 7b56f1bd570dc684ffd7c945dee0d9b5480354ff (diff) |
Use Algo_Registry also for hashes.
Diffstat (limited to 'src/lib/hash/hash.h')
-rw-r--r-- | src/lib/hash/hash.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/hash/hash.h b/src/lib/hash/hash.h index 174324c10..9b2ca0d3b 100644 --- a/src/lib/hash/hash.h +++ b/src/lib/hash/hash.h @@ -8,6 +8,7 @@ #ifndef BOTAN_HASH_FUNCTION_BASE_CLASS_H__ #define BOTAN_HASH_FUNCTION_BASE_CLASS_H__ +#include <botan/scan_name.h> #include <botan/buf_comp.h> #include <string> @@ -32,6 +33,8 @@ class BOTAN_DLL HashFunction : public Buffered_Computation * @return hash block size as defined for this algorithm */ virtual size_t hash_block_size() const { return 0; } + + typedef SCAN_Name Spec; }; } |