From 242d67fb17619670d9b757c442dcf2e26d8478a1 Mon Sep 17 00:00:00 2001 From: weidai Date: Thu, 20 Jan 2005 04:19:35 +0000 Subject: changes done for FIPS-140 lab code drop git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@195 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- sha.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'sha.h') diff --git a/sha.h b/sha.h index 2ef53af..5c55c78 100644 --- a/sha.h +++ b/sha.h @@ -6,15 +6,15 @@ NAMESPACE_BEGIN(CryptoPP) /// SHA-1 -class CRYPTOPP_DLL SHA : public IteratedHashWithStaticTransform +class CRYPTOPP_DLL SHA1 : public IteratedHashWithStaticTransform { public: static void InitState(HashWordType *state); static void Transform(word32 *digest, const word32 *data); - static const char *StaticAlgorithmName() {return "SHA-1";} + static const char * CRYPTOPP_API StaticAlgorithmName() {return "SHA-1";} }; -typedef SHA SHA1; +typedef SHA1 SHA; // for backwards compatibility //! implements the SHA-256 standard class CRYPTOPP_DLL SHA256 : public IteratedHashWithStaticTransform @@ -22,7 +22,7 @@ class CRYPTOPP_DLL SHA256 : public IteratedHashWithStaticTransform