aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/gnump
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-12-16 22:53:25 +0000
committerlloyd <[email protected]>2009-12-16 22:53:25 +0000
commitf3f36611db8c3f6c67c818d454973a0165b0fcf2 (patch)
tree1fc131e32869e00eb7c87e70bee53fe26bc276b3 /src/engine/gnump
parente65ec3c8aae63d8c1942ce786d3b8c1f68a81e91 (diff)
Add missing BOTAN_DLL exports.
Move most of the engine headers to internal
Diffstat (limited to 'src/engine/gnump')
-rw-r--r--src/engine/gnump/gmp_dh.cpp4
-rw-r--r--src/engine/gnump/gmp_dsa.cpp4
-rw-r--r--src/engine/gnump/gmp_elg.cpp4
-rw-r--r--src/engine/gnump/gmp_if.cpp4
-rw-r--r--src/engine/gnump/gmp_mem.cpp2
-rw-r--r--src/engine/gnump/gmp_nr.cpp4
-rw-r--r--src/engine/gnump/gmp_powm.cpp4
-rw-r--r--src/engine/gnump/gmp_wrap.cpp2
-rw-r--r--src/engine/gnump/gmp_wrap.h2
-rw-r--r--src/engine/gnump/gnump_engine.h (renamed from src/engine/gnump/eng_gmp.h)2
-rw-r--r--src/engine/gnump/info.txt5
11 files changed, 17 insertions, 20 deletions
diff --git a/src/engine/gnump/gmp_dh.cpp b/src/engine/gnump/gmp_dh.cpp
index b33240268..430530dd3 100644
--- a/src/engine/gnump/gmp_dh.cpp
+++ b/src/engine/gnump/gmp_dh.cpp
@@ -5,8 +5,8 @@
* Distributed under the terms of the Botan license
*/
-#include <botan/eng_gmp.h>
-#include <botan/gmp_wrap.h>
+#include <botan/internal/gnump_engine.h>
+#include <botan/internal/gmp_wrap.h>
#include <gmp.h>
namespace Botan {
diff --git a/src/engine/gnump/gmp_dsa.cpp b/src/engine/gnump/gmp_dsa.cpp
index 69a9c3e9c..b350a2075 100644
--- a/src/engine/gnump/gmp_dsa.cpp
+++ b/src/engine/gnump/gmp_dsa.cpp
@@ -5,8 +5,8 @@
* Distributed under the terms of the Botan license
*/
-#include <botan/eng_gmp.h>
-#include <botan/gmp_wrap.h>
+#include <botan/internal/gnump_engine.h>
+#include <botan/internal/gmp_wrap.h>
#include <gmp.h>
namespace Botan {
diff --git a/src/engine/gnump/gmp_elg.cpp b/src/engine/gnump/gmp_elg.cpp
index ee109f1d6..539804a23 100644
--- a/src/engine/gnump/gmp_elg.cpp
+++ b/src/engine/gnump/gmp_elg.cpp
@@ -5,8 +5,8 @@
* Distributed under the terms of the Botan license
*/
-#include <botan/eng_gmp.h>
-#include <botan/gmp_wrap.h>
+#include <botan/internal/gnump_engine.h>
+#include <botan/internal/gmp_wrap.h>
#include <gmp.h>
namespace Botan {
diff --git a/src/engine/gnump/gmp_if.cpp b/src/engine/gnump/gmp_if.cpp
index b96f2ddac..64fbe386a 100644
--- a/src/engine/gnump/gmp_if.cpp
+++ b/src/engine/gnump/gmp_if.cpp
@@ -5,8 +5,8 @@
* Distributed under the terms of the Botan license
*/
-#include <botan/eng_gmp.h>
-#include <botan/gmp_wrap.h>
+#include <botan/internal/gnump_engine.h>
+#include <botan/internal/gmp_wrap.h>
#include <gmp.h>
namespace Botan {
diff --git a/src/engine/gnump/gmp_mem.cpp b/src/engine/gnump/gmp_mem.cpp
index 89a1ed2d4..59e0cc4c5 100644
--- a/src/engine/gnump/gmp_mem.cpp
+++ b/src/engine/gnump/gmp_mem.cpp
@@ -5,7 +5,7 @@
* Distributed under the terms of the Botan license
*/
-#include <botan/eng_gmp.h>
+#include <botan/internal/gnump_engine.h>
#include <cstring>
#include <gmp.h>
diff --git a/src/engine/gnump/gmp_nr.cpp b/src/engine/gnump/gmp_nr.cpp
index 4aeb09fe2..7d6fe536d 100644
--- a/src/engine/gnump/gmp_nr.cpp
+++ b/src/engine/gnump/gmp_nr.cpp
@@ -5,8 +5,8 @@
* Distributed under the terms of the Botan license
*/
-#include <botan/eng_gmp.h>
-#include <botan/gmp_wrap.h>
+#include <botan/internal/gnump_engine.h>
+#include <botan/internal/gmp_wrap.h>
#include <gmp.h>
namespace Botan {
diff --git a/src/engine/gnump/gmp_powm.cpp b/src/engine/gnump/gmp_powm.cpp
index 687aed88a..70c2b2f5e 100644
--- a/src/engine/gnump/gmp_powm.cpp
+++ b/src/engine/gnump/gmp_powm.cpp
@@ -5,8 +5,8 @@
* Distributed under the terms of the Botan license
*/
-#include <botan/eng_gmp.h>
-#include <botan/gmp_wrap.h>
+#include <botan/internal/gnump_engine.h>
+#include <botan/internal/gmp_wrap.h>
namespace Botan {
diff --git a/src/engine/gnump/gmp_wrap.cpp b/src/engine/gnump/gmp_wrap.cpp
index 735fc7070..39d107a78 100644
--- a/src/engine/gnump/gmp_wrap.cpp
+++ b/src/engine/gnump/gmp_wrap.cpp
@@ -5,7 +5,7 @@
* Distributed under the terms of the Botan license
*/
-#include <botan/gmp_wrap.h>
+#include <botan/internal/gmp_wrap.h>
#define GNU_MP_VERSION_CODE_FOR(a,b,c) ((a << 16) | (b << 8) | (c))
diff --git a/src/engine/gnump/gmp_wrap.h b/src/engine/gnump/gmp_wrap.h
index 11a51c87d..f8d9cf365 100644
--- a/src/engine/gnump/gmp_wrap.h
+++ b/src/engine/gnump/gmp_wrap.h
@@ -16,7 +16,7 @@ namespace Botan {
/*
* Lightweight GMP mpz_t Wrapper
*/
-class BOTAN_DLL GMP_MPZ
+class GMP_MPZ
{
public:
mpz_t value;
diff --git a/src/engine/gnump/eng_gmp.h b/src/engine/gnump/gnump_engine.h
index 6a52b7e51..ec4a7e721 100644
--- a/src/engine/gnump/eng_gmp.h
+++ b/src/engine/gnump/gnump_engine.h
@@ -15,7 +15,7 @@ namespace Botan {
/*
* GMP Engine
*/
-class BOTAN_DLL GMP_Engine : public Engine
+class GMP_Engine : public Engine
{
public:
std::string provider_name() const { return "gmp"; }
diff --git a/src/engine/gnump/info.txt b/src/engine/gnump/info.txt
index 9566bded2..bd5c15f7f 100644
--- a/src/engine/gnump/info.txt
+++ b/src/engine/gnump/info.txt
@@ -6,11 +6,8 @@ load_on request
all -> gmp
</libs>
-<header:public>
-eng_gmp.h
-</header:public>
-
<header:internal>
+gnump_engine.h
gmp_wrap.h
</header:internal>