The unified diff between revisions [229d3942..] and [51f9ee51..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'include/base.h'
#
#
# patch "include/base.h"
# from [d7cc4e8bc600fd90d327334e56d6ea5fdaecb98c]
# to [54a99ec584afb04330ebe7b6c2baaca06a0c0246]
#
============================================================
--- include/base.h d7cc4e8bc600fd90d327334e56d6ea5fdaecb98c
+++ include/base.h 54a99ec584afb04330ebe7b6c2baaca06a0c0246
@@ -19,7 +19,7 @@ static const u32bit DEFAULT_BUFFERSIZE =
/*************************************************
* Symmetric Algorithm *
*************************************************/
-class SymmetricAlgorithm
+class BOTAN_DLL SymmetricAlgorithm
{
public:
const u32bit MAXIMUM_KEYLENGTH, MINIMUM_KEYLENGTH, KEYLENGTH_MULTIPLE;
@@ -38,7 +38,7 @@ class SymmetricAlgorithm
/*************************************************
* Block Cipher *
*************************************************/
-class BlockCipher : public SymmetricAlgorithm
+class BOTAN_DLL BlockCipher : public SymmetricAlgorithm
{
public:
const u32bit BLOCK_SIZE;
@@ -61,7 +61,7 @@ class BlockCipher : public SymmetricAlgo
/*************************************************
* Stream Cipher *
*************************************************/
-class StreamCipher : public SymmetricAlgorithm
+class BOTAN_DLL StreamCipher : public SymmetricAlgorithm
{
public:
const u32bit IV_LENGTH;
@@ -85,7 +85,7 @@ class StreamCipher : public SymmetricAlg
/*************************************************
* Buffered Computation *
*************************************************/
-class BufferedComputation
+class BOTAN_DLL BufferedComputation
{
public:
const u32bit OUTPUT_LENGTH;
@@ -108,7 +108,7 @@ class BufferedComputation
/*************************************************
* Hash Function *
*************************************************/
-class HashFunction : public BufferedComputation
+class BOTAN_DLL HashFunction : public BufferedComputation
{
public:
const u32bit HASH_BLOCK_SIZE;
@@ -124,7 +124,7 @@ class HashFunction : public BufferedComp
/*************************************************
* Message Authentication Code *
*************************************************/
-class MessageAuthenticationCode : public BufferedComputation,
+class BOTAN_DLL MessageAuthenticationCode : public BufferedComputation,
public SymmetricAlgorithm
{
public:
@@ -141,7 +141,7 @@ class MessageAuthenticationCode : public
/*************************************************
* Entropy Source *
*************************************************/
-class EntropySource
+class BOTAN_DLL EntropySource
{
public:
virtual u32bit slow_poll(byte[], u32bit) = 0;
@@ -152,7 +152,7 @@ class EntropySource
/*************************************************
* Random Number Generator *
*************************************************/
-class RandomNumberGenerator
+class BOTAN_DLL RandomNumberGenerator
{
public:
virtual void randomize(byte[], u32bit) throw(PRNG_Unseeded) = 0;