summaryrefslogtreecommitdiff
path: root/pkcspad.h
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 /pkcspad.h
parentbfd8ad2f1fc1652d3ccabcbeb4cb94147cad63ff (diff)
downloadcryptopp-git-c39b3de3c4fe55214f4d689797e39f037901f964.tar.gz
changes related to the next FIPS validation
Diffstat (limited to 'pkcspad.h')
-rw-r--r--pkcspad.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/pkcspad.h b/pkcspad.h
index 93bc3f17..f3d31db4 100644
--- a/pkcspad.h
+++ b/pkcspad.h
@@ -40,6 +40,13 @@ class SHA384;
class SHA512;
// end of list
+#ifdef CRYPTOPP_IS_DLL
+CRYPTOPP_DLL_TEMPLATE_CLASS PKCS_DigestDecoration<SHA>;
+CRYPTOPP_DLL_TEMPLATE_CLASS PKCS_DigestDecoration<SHA256>;
+CRYPTOPP_DLL_TEMPLATE_CLASS PKCS_DigestDecoration<SHA384>;
+CRYPTOPP_DLL_TEMPLATE_CLASS PKCS_DigestDecoration<SHA512>;
+#endif
+
//! <a href="http://www.weidai.com/scan-mirror/sig.html#sem_PKCS1-1.5">EMSA-PKCS1-v1_5</a>
class CRYPTOPP_DLL PKCS1v15_SignatureMessageEncodingMethod : public PK_DeterministicSignatureMessageEncodingMethod
{
@@ -75,10 +82,6 @@ struct PKCS1v15 : public SignatureStandard, public EncryptionStandard
typedef PKCS1v15_SignatureMessageEncodingMethod SignatureMessageEncodingMethod;
};
-#ifdef CRYPTOPP_IS_DLL
-CRYPTOPP_DLL_TEMPLATE_CLASS PKCS_DigestDecoration<SHA>;
-#endif
-
NAMESPACE_END
#endif