From c39b3de3c4fe55214f4d689797e39f037901f964 Mon Sep 17 00:00:00 2001 From: weidai Date: Fri, 3 Sep 2004 10:57:31 +0000 Subject: changes related to the next FIPS validation --- pssr.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'pssr.cpp') diff --git a/pssr.cpp b/pssr.cpp index 2589b14b..19360d3a 100644 --- a/pssr.cpp +++ b/pssr.cpp @@ -5,14 +5,13 @@ NAMESPACE_BEGIN(CryptoPP) -template<> const byte EMSA2HashId::id = 0x33; +// more in dll.cpp template<> const byte EMSA2HashId::id = 0x31; template<> const byte EMSA2HashId::id = 0x32; -template<> const byte EMSA2HashId::id = 0x34; -template<> const byte EMSA2HashId::id = 0x36; -template<> const byte EMSA2HashId::id = 0x35; template<> const byte EMSA2HashId::id = 0x37; +#ifndef CRYPTOPP_IMPORTS + unsigned int PSSR_MEM_Base::MaxRecoverableLength(unsigned int representativeBitLength, unsigned int hashIdentifierLength, unsigned int digestLength) const { if (AllowRecovery()) @@ -128,4 +127,6 @@ DecodingResult PSSR_MEM_Base::RecoverMessageFromRepresentative( return result; } +#endif + NAMESPACE_END -- cgit v1.2.1