diff options
author | lloyd <[email protected]> | 2008-10-08 14:09:44 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-10-08 14:09:44 +0000 |
commit | 9259a1c13140636981720c19a8d1cabfe4eb8f8e (patch) | |
tree | 0a476ebc80a1768ddfad8be6c928aa34f49a6042 /src/core/libstate | |
parent | 66aa83a7e110975ce091559317f06d88d20dd9b1 (diff) |
Add SHA-224 from InSiTo, written and (C) by FlexSecure GmbH
Rename sha256.h and sha_64.h to sha2_32.h and sha2_64.h - this affects
users who instantiate these classes directly.
Diffstat (limited to 'src/core/libstate')
-rw-r--r-- | src/core/libstate/def_alg.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/libstate/def_alg.cpp b/src/core/libstate/def_alg.cpp index 0445550f7..7199b06bd 100644 --- a/src/core/libstate/def_alg.cpp +++ b/src/core/libstate/def_alg.cpp @@ -190,8 +190,8 @@ #endif #if defined(BOTAN_HAS_SHA2) - #include <botan/sha256.h> - #include <botan/sha_64.h> + #include <botan/sha2_32.h> + #include <botan/sha2_64.h> #endif #if defined(BOTAN_HAS_TIGER) @@ -504,6 +504,7 @@ Default_Engine::find_hash(const std::string& algo_spec) const #endif #if defined(BOTAN_HAS_SHA2) + HANDLE_TYPE_NO_ARGS("SHA-224", SHA_224); HANDLE_TYPE_NO_ARGS("SHA-256", SHA_256); HANDLE_TYPE_NO_ARGS("SHA-384", SHA_384); HANDLE_TYPE_NO_ARGS("SHA-512", SHA_512); |