From 9259a1c13140636981720c19a8d1cabfe4eb8f8e Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 8 Oct 2008 14:09:44 +0000 Subject: 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. --- src/core/libstate/def_alg.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/core') 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 - #include + #include + #include #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); -- cgit v1.2.3