diff options
Diffstat (limited to 'pssr.cpp')
-rw-r--r-- | pssr.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -5,14 +5,13 @@ NAMESPACE_BEGIN(CryptoPP) -template<> const byte EMSA2HashId<SHA>::id = 0x33; +// more in dll.cpp template<> const byte EMSA2HashId<RIPEMD160>::id = 0x31; template<> const byte EMSA2HashId<RIPEMD128>::id = 0x32; -template<> const byte EMSA2HashId<SHA256>::id = 0x34; -template<> const byte EMSA2HashId<SHA384>::id = 0x36; -template<> const byte EMSA2HashId<SHA512>::id = 0x35; template<> const byte EMSA2HashId<Whirlpool>::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 |