summaryrefslogtreecommitdiff
path: root/pssr.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2004-09-03 10:57:31 +0000
committerweidai <weidai11@users.noreply.github.com>2004-09-03 10:57:31 +0000
commitc39b3de3c4fe55214f4d689797e39f037901f964 (patch)
tree19dad58c2b6f0728c0598cc5b120e9846d289b19 /pssr.cpp
parentbfd8ad2f1fc1652d3ccabcbeb4cb94147cad63ff (diff)
downloadcryptopp-git-c39b3de3c4fe55214f4d689797e39f037901f964.tar.gz
changes related to the next FIPS validation
Diffstat (limited to 'pssr.cpp')
-rw-r--r--pssr.cpp9
1 files changed, 5 insertions, 4 deletions
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<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