summaryrefslogtreecommitdiff
path: root/gf2n_simd.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-03-21 08:13:14 -0400
committerJeffrey Walton <noloader@gmail.com>2019-03-21 08:13:14 -0400
commit9f8017a276be7649f6e5782c90034172a4e4b2e5 (patch)
treec9c2b895792cb843f72b82fe7ac838ad91b0e650 /gf2n_simd.cpp
parentfc3b16e3a39ddd782a9787d7cd904b93728966f4 (diff)
downloadcryptopp-git-9f8017a276be7649f6e5782c90034172a4e4b2e5.tar.gz
Fix missing GF2NT_233_Multiply_Reduce_CLMUL in the cursed DLL (GH #783)
This should have been checked-in during GH #783 and PR #784. I think there was one mailing list message about missing symbols GF2NT_233_Multiply_Reduce_CLMUL and GF2NT_233_Square_Reduce_CLMUL. I missed it when attempting to reproduce the issue. I can duplicate it now using VS2013. I think the addition of CRYPTOPP_DLL caused the issue to surface.
Diffstat (limited to 'gf2n_simd.cpp')
-rw-r--r--gf2n_simd.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gf2n_simd.cpp b/gf2n_simd.cpp
index 395a3c04..1d4d933f 100644
--- a/gf2n_simd.cpp
+++ b/gf2n_simd.cpp
@@ -21,6 +21,8 @@
#include "pch.h"
#include "config.h"
+#ifndef CRYPTOPP_IMPORTS
+
#include "gf2n.h"
#if (CRYPTOPP_CLMUL_AVAILABLE)
@@ -608,3 +610,5 @@ GF2NT_233_Square_Reduce_POWER8(const word* pA, word* pC)
#endif
NAMESPACE_END
+
+#endif // CRYPTOPP_IMPORTS \ No newline at end of file