aboutsummaryrefslogtreecommitdiffstats
path: root/src/constructs
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/constructs
parente65ec3c8aae63d8c1942ce786d3b8c1f68a81e91 (diff)
Add missing BOTAN_DLL exports.
Move most of the engine headers to internal
Diffstat (limited to 'src/constructs')
-rw-r--r--src/constructs/aont/package.h14
-rw-r--r--src/constructs/fpe/fpe.h12
-rw-r--r--src/constructs/tss/tss.h2
3 files changed, 14 insertions, 14 deletions
diff --git a/src/constructs/aont/package.h b/src/constructs/aont/package.h
index 5024c0421..9c23d1836 100644
--- a/src/constructs/aont/package.h
+++ b/src/constructs/aont/package.h
@@ -25,10 +25,10 @@ namespace AllOrNothingTransform {
* @arg output the output data buffer (must be at least
* input_len + cipher->BLOCK_SIZE bytes long)
*/
-void package(RandomNumberGenerator& rng,
- BlockCipher* cipher,
- const byte input[], u32bit input_len,
- byte output[]);
+void BOTAN_DLL package(RandomNumberGenerator& rng,
+ BlockCipher* cipher,
+ const byte input[], u32bit input_len,
+ byte output[]);
/**
* Rivest's Package Tranform (Inversion)
@@ -39,9 +39,9 @@ void package(RandomNumberGenerator& rng,
* @arg output the output data buffer (must be at least
* input_len - cipher->BLOCK_SIZE bytes long)
*/
-void unpackage(BlockCipher* cipher,
- const byte input[], u32bit input_len,
- byte output[]);
+void BOTAN_DLL unpackage(BlockCipher* cipher,
+ const byte input[], u32bit input_len,
+ byte output[]);
}
diff --git a/src/constructs/fpe/fpe.h b/src/constructs/fpe/fpe.h
index fba1652d3..75f90247f 100644
--- a/src/constructs/fpe/fpe.h
+++ b/src/constructs/fpe/fpe.h
@@ -16,16 +16,16 @@ namespace Botan {
/*
* Encrypt X from and onto the group Z_n using key and tweak
*/
-BigInt fpe_encrypt(const BigInt& n, const BigInt& X,
- const SymmetricKey& key,
- const MemoryRegion<byte>& tweak);
+BigInt BOTAN_DLL fpe_encrypt(const BigInt& n, const BigInt& X,
+ const SymmetricKey& key,
+ const MemoryRegion<byte>& tweak);
/*
* Decrypt X from and onto the group Z_n using key and tweak
*/
-BigInt fpe_decrypt(const BigInt& n, const BigInt& X,
- const SymmetricKey& key,
- const MemoryRegion<byte>& tweak);
+BigInt BOTAN_DLL fpe_decrypt(const BigInt& n, const BigInt& X,
+ const SymmetricKey& key,
+ const MemoryRegion<byte>& tweak);
}
diff --git a/src/constructs/tss/tss.h b/src/constructs/tss/tss.h
index 6e623c193..45d64d9cb 100644
--- a/src/constructs/tss/tss.h
+++ b/src/constructs/tss/tss.h
@@ -15,7 +15,7 @@
namespace Botan {
-class RTSS_Share
+class BOTAN_DLL RTSS_Share
{
public:
/**