aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-10-09 14:40:38 +0000
committerlloyd <[email protected]>2008-10-09 14:40:38 +0000
commit643df89a37dd0f8d9c090825166231db4fdaa55c (patch)
tree886bce3a306c24797986f9e578bc4528acbef59e /src/pubkey
parentbd2cfef3f4c0b73a2bbe840cc7a3d882a2c4b5bc (diff)
Add BOTAN_DLL macro to public class definitions that were missing it.
Diffstat (limited to 'src/pubkey')
-rw-r--r--src/pubkey/ec_dompar/ec_dompar.h2
-rw-r--r--src/pubkey/ecc_key/ecc_key.h4
-rw-r--r--src/pubkey/ecdsa/ecdsa.h10
-rw-r--r--src/pubkey/ecdsa/ecdsa_op.h2
-rw-r--r--src/pubkey/ecdsa/ecdsa_sig.h10
-rw-r--r--src/pubkey/eckaeg/eckaeg.h8
-rw-r--r--src/pubkey/eckaeg/eckaeg_core.h2
-rw-r--r--src/pubkey/eckaeg/eckaeg_op.h2
8 files changed, 20 insertions, 20 deletions
diff --git a/src/pubkey/ec_dompar/ec_dompar.h b/src/pubkey/ec_dompar/ec_dompar.h
index 8f9cc77d9..1fd5ceae0 100644
--- a/src/pubkey/ec_dompar/ec_dompar.h
+++ b/src/pubkey/ec_dompar/ec_dompar.h
@@ -20,7 +20,7 @@ namespace Botan {
/**
* This class represents elliptic curce domain parameters
*/
-class EC_Domain_Params
+class BOTAN_DLL EC_Domain_Params
{
public:
diff --git a/src/pubkey/ecc_key/ecc_key.h b/src/pubkey/ecc_key/ecc_key.h
index d884b3d95..aada1da1b 100644
--- a/src/pubkey/ecc_key/ecc_key.h
+++ b/src/pubkey/ecc_key/ecc_key.h
@@ -27,7 +27,7 @@ namespace Botan {
* cannot be used for verification until its domain parameters are set
* by calling the corresponding member function.
*/
-class EC_PublicKey : public virtual Public_Key
+class BOTAN_DLL EC_PublicKey : public virtual Public_Key
{
public:
@@ -116,7 +116,7 @@ class EC_PublicKey : public virtual Public_Key
/**
* This abstract class represents general EC Private Keys
*/
-class EC_PrivateKey : public virtual EC_PublicKey, public virtual Private_Key
+class BOTAN_DLL EC_PrivateKey : public virtual EC_PublicKey, public virtual Private_Key
{
public:
diff --git a/src/pubkey/ecdsa/ecdsa.h b/src/pubkey/ecdsa/ecdsa.h
index 9c7492a13..e0f0c766e 100644
--- a/src/pubkey/ecdsa/ecdsa.h
+++ b/src/pubkey/ecdsa/ecdsa.h
@@ -16,8 +16,8 @@ namespace Botan {
/**
* This class represents ECDSA Public Keys.
*/
-class ECDSA_PublicKey : public virtual EC_PublicKey,
- public PK_Verifying_wo_MR_Key
+class BOTAN_DLL ECDSA_PublicKey : public virtual EC_PublicKey,
+ public PK_Verifying_wo_MR_Key
{
public:
@@ -94,9 +94,9 @@ class ECDSA_PublicKey : public virtual EC_PublicKey,
/**
* This class represents ECDSA Private Keys
*/
-class ECDSA_PrivateKey : public ECDSA_PublicKey,
- public EC_PrivateKey,
- public PK_Signing_Key
+class BOTAN_DLL ECDSA_PrivateKey : public ECDSA_PublicKey,
+ public EC_PrivateKey,
+ public PK_Signing_Key
{
public:
//ctors
diff --git a/src/pubkey/ecdsa/ecdsa_op.h b/src/pubkey/ecdsa/ecdsa_op.h
index 235824b89..8f5f01902 100644
--- a/src/pubkey/ecdsa/ecdsa_op.h
+++ b/src/pubkey/ecdsa/ecdsa_op.h
@@ -34,7 +34,7 @@ class BOTAN_DLL ECDSA_Operation
/*************************************************
* Default ECDSA operation *
*************************************************/
-class Default_ECDSA_Op : public ECDSA_Operation
+class BOTAN_DLL Default_ECDSA_Op : public ECDSA_Operation
{
public:
bool verify(const byte signature[], u32bit sig_len,
diff --git a/src/pubkey/ecdsa/ecdsa_sig.h b/src/pubkey/ecdsa/ecdsa_sig.h
index c92a24a7f..73e2f8599 100644
--- a/src/pubkey/ecdsa/ecdsa_sig.h
+++ b/src/pubkey/ecdsa/ecdsa_sig.h
@@ -13,10 +13,10 @@
namespace Botan {
-class ECDSA_Signature_Decoder;
-class ECDSA_Signature_Encoder;
+class BOTAN_DLL ECDSA_Signature_Decoder;
+class BOTAN_DLL ECDSA_Signature_Encoder;
-class ECDSA_Signature
+class BOTAN_DLL ECDSA_Signature
{
friend class ECDSA_Signature_Decoder;
friend class ECDSA_Signature_Encoder;
@@ -55,7 +55,7 @@ inline bool operator!= ( ECDSA_Signature const& lhs, ECDSA_Signature const& rhs
return !operator== ( lhs, rhs );
}
-class ECDSA_Signature_Decoder
+class BOTAN_DLL ECDSA_Signature_Decoder
{
public:
void signature_bits(const MemoryRegion<byte>& bits)
@@ -73,7 +73,7 @@ class ECDSA_Signature_Decoder
ECDSA_Signature* m_signature;
};
-class ECDSA_Signature_Encoder
+class BOTAN_DLL ECDSA_Signature_Encoder
{
public:
MemoryVector<byte> signature_bits() const
diff --git a/src/pubkey/eckaeg/eckaeg.h b/src/pubkey/eckaeg/eckaeg.h
index b7cc10df9..476ee6e70 100644
--- a/src/pubkey/eckaeg/eckaeg.h
+++ b/src/pubkey/eckaeg/eckaeg.h
@@ -16,7 +16,7 @@ namespace Botan {
/**
* This class represents ECKAEG Public Keys.
*/
-class ECKAEG_PublicKey : public virtual EC_PublicKey
+class BOTAN_DLL ECKAEG_PublicKey : public virtual EC_PublicKey
{
public:
@@ -74,9 +74,9 @@ class ECKAEG_PublicKey : public virtual EC_PublicKey
/**
* This class represents ECKAEG Private Keys.
*/
-class ECKAEG_PrivateKey : public ECKAEG_PublicKey,
- public EC_PrivateKey,
- public PK_Key_Agreement_Key
+class BOTAN_DLL ECKAEG_PrivateKey : public ECKAEG_PublicKey,
+ public EC_PrivateKey,
+ public PK_Key_Agreement_Key
{
public:
diff --git a/src/pubkey/eckaeg/eckaeg_core.h b/src/pubkey/eckaeg/eckaeg_core.h
index e4494bc98..d1989bb70 100644
--- a/src/pubkey/eckaeg/eckaeg_core.h
+++ b/src/pubkey/eckaeg/eckaeg_core.h
@@ -16,7 +16,7 @@ namespace Botan {
/*************************************************
* ECKAEG Core *
*************************************************/
-class ECKAEG_Core
+class BOTAN_DLL ECKAEG_Core
{
public:
SecureVector<byte> agree(const PointGFp&) const;
diff --git a/src/pubkey/eckaeg/eckaeg_op.h b/src/pubkey/eckaeg/eckaeg_op.h
index be2ff50f8..94355d46b 100644
--- a/src/pubkey/eckaeg/eckaeg_op.h
+++ b/src/pubkey/eckaeg/eckaeg_op.h
@@ -25,7 +25,7 @@ class BOTAN_DLL ECKAEG_Operation
/*************************************************
* Default ECKAEG operation *
*************************************************/
-class Default_ECKAEG_Op : public ECKAEG_Operation
+class BOTAN_DLL Default_ECKAEG_Op : public ECKAEG_Operation
{
public:
SecureVector<byte> agree(const PointGFp& i) const;