aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-12-16 02:22:58 +0000
committerlloyd <[email protected]>2009-12-16 02:22:58 +0000
commit12afeca214c4414a0ced0bc4654d0fc5908dc77b (patch)
treed0706f470d406d68b4ec1f559d2e0f6426174c28 /src/mac
parent87cbaef441c6baba2699a8ea53ac2562c46c772d (diff)
Make many more headers internal-only.
Fixes for the amalgamation generator for internal headers. Remove BOTAN_DLL exporting macros from all internal-only headers; the classes/functions there don't need to be exported, and avoiding the PIC/GOT indirection can be a big win. Add missing BOTAN_DLLs where necessary, mostly gfpmath and cvc For GCC, use -fvisibility=hidden and set BOTAN_DLL to the visibility __attribute__ to export those classes/functions.
Diffstat (limited to 'src/mac')
-rw-r--r--src/mac/cbc_mac/cbc_mac.cpp2
-rw-r--r--src/mac/cmac/cmac.cpp2
-rw-r--r--src/mac/hmac/hmac.cpp2
-rw-r--r--src/mac/x919_mac/x919_mac.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/mac/cbc_mac/cbc_mac.cpp b/src/mac/cbc_mac/cbc_mac.cpp
index 0617e3e90..6a0692580 100644
--- a/src/mac/cbc_mac/cbc_mac.cpp
+++ b/src/mac/cbc_mac/cbc_mac.cpp
@@ -6,7 +6,7 @@
*/
#include <botan/cbc_mac.h>
-#include <botan/xor_buf.h>
+#include <botan/internal/xor_buf.h>
#include <algorithm>
namespace Botan {
diff --git a/src/mac/cmac/cmac.cpp b/src/mac/cmac/cmac.cpp
index b689a4d3a..05c5f4a88 100644
--- a/src/mac/cmac/cmac.cpp
+++ b/src/mac/cmac/cmac.cpp
@@ -6,7 +6,7 @@
*/
#include <botan/cmac.h>
-#include <botan/xor_buf.h>
+#include <botan/internal/xor_buf.h>
namespace Botan {
diff --git a/src/mac/hmac/hmac.cpp b/src/mac/hmac/hmac.cpp
index dcd6bce5d..f69504c82 100644
--- a/src/mac/hmac/hmac.cpp
+++ b/src/mac/hmac/hmac.cpp
@@ -7,7 +7,7 @@
*/
#include <botan/hmac.h>
-#include <botan/xor_buf.h>
+#include <botan/internal/xor_buf.h>
namespace Botan {
diff --git a/src/mac/x919_mac/x919_mac.cpp b/src/mac/x919_mac/x919_mac.cpp
index 52260494a..42e039d60 100644
--- a/src/mac/x919_mac/x919_mac.cpp
+++ b/src/mac/x919_mac/x919_mac.cpp
@@ -6,7 +6,7 @@
*/
#include <botan/x919_mac.h>
-#include <botan/xor_buf.h>
+#include <botan/internal/xor_buf.h>
#include <algorithm>
namespace Botan {