diff --git a/cryptlib.h b/cryptlib.h index 4f723fc8..0f5c112e 100644 --- a/cryptlib.h +++ b/cryptlib.h @@ -500,9 +500,9 @@ const std::string AAD_CHANNEL; const NameValuePairs& g_nullNameValuePairs; #else -extern const std::string DEFAULT_CHANNEL; -extern const std::string AAD_CHANNEL; -extern const NameValuePairs& g_nullNameValuePairs; +extern CRYPTOPP_DLL const std::string DEFAULT_CHANNEL; +extern CRYPTOPP_DLL const std::string AAD_CHANNEL; +extern CRYPTOPP_DLL const NameValuePairs& g_nullNameValuePairs; #endif // Document additional name spaces which show up elsewhere in the sources. diff --git a/gf2n.cpp b/gf2n.cpp index c52d0e0e..7058487c 100644 --- a/gf2n.cpp +++ b/gf2n.cpp @@ -43,8 +43,8 @@ ANONYMOUS_NAMESPACE_END NAMESPACE_BEGIN(CryptoPP) #if (CRYPTOPP_CLMUL_AVAILABLE) -extern void GF2NT_233_Multiply_Reduce_CLMUL(const word* pA, const word* pB, word* pC); -extern void GF2NT_233_Square_Reduce_CLMUL(const word* pA, word* pC); +extern CRYPTOPP_DLL void GF2NT_233_Multiply_Reduce_CLMUL(const word* pA, const word* pB, word* pC); +extern CRYPTOPP_DLL void GF2NT_233_Square_Reduce_CLMUL(const word* pA, word* pC); #endif #if (CRYPTOPP_ARM_PMULL_AVAILABLE)