diff options
author | lloyd <[email protected]> | 2008-10-09 14:40:38 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-10-09 14:40:38 +0000 |
commit | 643df89a37dd0f8d9c090825166231db4fdaa55c (patch) | |
tree | 886bce3a306c24797986f9e578bc4528acbef59e | |
parent | bd2cfef3f4c0b73a2bbe840cc7a3d882a2c4b5bc (diff) |
Add BOTAN_DLL macro to public class definitions that were missing it.
39 files changed, 61 insertions, 61 deletions
diff --git a/src/alloc/alloc_mmap/mmap_mem.h b/src/alloc/alloc_mmap/mmap_mem.h index 740aa9ec6..3d3c1c48e 100644 --- a/src/alloc/alloc_mmap/mmap_mem.h +++ b/src/alloc/alloc_mmap/mmap_mem.h @@ -13,7 +13,7 @@ namespace Botan { /************************************************* * Memory Mapping Allocator * *************************************************/ -class MemoryMapping_Allocator : public Pooling_Allocator +class BOTAN_DLL MemoryMapping_Allocator : public Pooling_Allocator { public: MemoryMapping_Allocator(Mutex* m) : Pooling_Allocator(m) {} diff --git a/src/cert/cvc/cvc_ado.h b/src/cert/cvc/cvc_ado.h index de0fc7c13..f6e9de9ea 100644 --- a/src/cert/cvc/cvc_ado.h +++ b/src/cert/cvc/cvc_ado.h @@ -22,7 +22,7 @@ namespace Botan { */ // CRTP continuation from EAC1_1_obj -class EAC1_1_ADO : public EAC1_1_obj<EAC1_1_ADO> +class BOTAN_DLL EAC1_1_ADO : public EAC1_1_obj<EAC1_1_ADO> { friend class EAC1_1_obj<EAC1_1_ADO>; public: diff --git a/src/cert/cvc/cvc_ca.h b/src/cert/cvc/cvc_ca.h index ec70aab42..f775e7983 100644 --- a/src/cert/cvc/cvc_ca.h +++ b/src/cert/cvc/cvc_ca.h @@ -17,7 +17,7 @@ namespace Botan { /** * This class represents a CVC CA. */ -class EAC1_1_CVC_CA +class BOTAN_DLL EAC1_1_CVC_CA { public: diff --git a/src/cert/cvc/cvc_gen_cert.h b/src/cert/cvc/cvc_gen_cert.h index 7da99f197..6d333e56c 100644 --- a/src/cert/cvc/cvc_gen_cert.h +++ b/src/cert/cvc/cvc_gen_cert.h @@ -21,7 +21,7 @@ namespace Botan { * This class represents TR03110 (EAC) v1.1 generalized CV Certificates */ template<typename Derived> -class EAC1_1_gen_CVC : public EAC1_1_obj<Derived> // CRTP continuation from EAC1_1_obj +class BOTAN_DLL EAC1_1_gen_CVC : public EAC1_1_obj<Derived> // CRTP continuation from EAC1_1_obj { friend class EAC1_1_obj<EAC1_1_gen_CVC>; protected: diff --git a/src/cert/cvc/cvc_self.h b/src/cert/cvc/cvc_self.h index 16bcf38da..dac554ee8 100644 --- a/src/cert/cvc/cvc_self.h +++ b/src/cert/cvc/cvc_self.h @@ -20,7 +20,7 @@ namespace Botan { /** * This class represents a set of options used for the creation of CVC certificates */ -class EAC1_1_CVC_Options +class BOTAN_DLL EAC1_1_CVC_Options { public: diff --git a/src/cert/cvc/eac_asn_obj.h b/src/cert/cvc/eac_asn_obj.h index 8b3f62f86..06fd6a2c1 100644 --- a/src/cert/cvc/eac_asn_obj.h +++ b/src/cert/cvc/eac_asn_obj.h @@ -16,7 +16,7 @@ namespace Botan { /************************************************* * CVC EAC Time * *************************************************/ -class EAC_Time : public ASN1_Object +class BOTAN_DLL EAC_Time : public ASN1_Object { public: void encode_into(class DER_Encoder&) const; @@ -50,7 +50,7 @@ class EAC_Time : public ASN1_Object }; // function definitions in asn_eac_tm.cpp -class ASN1_Ced : public EAC_Time +class BOTAN_DLL ASN1_Ced : public EAC_Time { public: ASN1_Ced(std::string const& str=""); @@ -60,7 +60,7 @@ class ASN1_Ced : public EAC_Time }; // function definitions in asn_eac_tm.cpp -class ASN1_Cex : public EAC_Time +class BOTAN_DLL ASN1_Cex : public EAC_Time { public: ASN1_Cex(std::string const& str=""); @@ -72,7 +72,7 @@ class ASN1_Cex : public EAC_Time /************************************************* * String for car/chr of cv certificates * *************************************************/ -class ASN1_EAC_String: public ASN1_Object +class BOTAN_DLL ASN1_EAC_String: public ASN1_Object { public: void encode_into(class DER_Encoder&) const; @@ -94,7 +94,7 @@ class ASN1_EAC_String: public ASN1_Object // String tagged with 2 // function definitions in asn1_eac_str.cpp -class ASN1_Car : public ASN1_EAC_String +class BOTAN_DLL ASN1_Car : public ASN1_EAC_String { public: ASN1_Car(std::string const& str = ""); @@ -102,7 +102,7 @@ class ASN1_Car : public ASN1_EAC_String // String tagged with 32 // function definitions in asn1_eac_str.cpp -class ASN1_Chr : public ASN1_EAC_String +class BOTAN_DLL ASN1_Chr : public ASN1_EAC_String { public: ASN1_Chr(std::string const& str = ""); diff --git a/src/cert/cvc/eac_obj.h b/src/cert/cvc/eac_obj.h index baf811d9d..6d170ea60 100644 --- a/src/cert/cvc/eac_obj.h +++ b/src/cert/cvc/eac_obj.h @@ -27,7 +27,7 @@ const std::string eac_cvc_emsa("EMSA1_BSI"); * TR03110 v1.1 EAC CV Certificate * *************************************************/ template<typename Derived> -class EAC1_1_obj : public EAC_Signed_Object // CRTP is used enable the call sequence: +class BOTAN_DLL EAC1_1_obj : public EAC_Signed_Object // CRTP is used enable the call sequence: { // data members first: protected: diff --git a/src/cert/cvc/signed_obj.h b/src/cert/cvc/signed_obj.h index 9116b783e..2dfc91747 100644 --- a/src/cert/cvc/signed_obj.h +++ b/src/cert/cvc/signed_obj.h @@ -18,7 +18,7 @@ namespace Botan { /************************************************* * EAC SIGNED Object * *************************************************/ -class EAC_Signed_Object +class BOTAN_DLL EAC_Signed_Object { public: virtual SecureVector<byte> tbs_data() const = 0; diff --git a/src/cms/cms_dec.h b/src/cms/cms_dec.h index ef21036bb..a338e4c0f 100644 --- a/src/cms/cms_dec.h +++ b/src/cms/cms_dec.h @@ -17,7 +17,7 @@ namespace Botan { /************************************************* * CMS Decoding Operation * *************************************************/ -class CMS_Decoder +class BOTAN_DLL CMS_Decoder { public: enum Status { GOOD, BAD, NO_KEY, FAILURE }; diff --git a/src/cms/cms_enc.h b/src/cms/cms_enc.h index f3907cd7b..adfa57400 100644 --- a/src/cms/cms_enc.h +++ b/src/cms/cms_enc.h @@ -15,7 +15,7 @@ namespace Botan { /************************************************* * CMS Encoding Operation * *************************************************/ -class CMS_Encoder +class BOTAN_DLL CMS_Encoder { public: diff --git a/src/codec/bzip2/bzip2.h b/src/codec/bzip2/bzip2.h index 1244924ca..0fa3ef6b4 100644 --- a/src/codec/bzip2/bzip2.h +++ b/src/codec/bzip2/bzip2.h @@ -14,7 +14,7 @@ namespace Botan { /************************************************* * Bzip Compression Filter * *************************************************/ -class Bzip_Compression : public Filter +class BOTAN_DLL Bzip_Compression : public Filter { public: void write(const byte input[], u32bit length); @@ -36,7 +36,7 @@ class Bzip_Compression : public Filter /************************************************* * Bzip Decompression Filter * *************************************************/ -class Bzip_Decompression : public Filter +class BOTAN_DLL Bzip_Decompression : public Filter { public: void write(const byte input[], u32bit length); diff --git a/src/codec/zlib/zlib.h b/src/codec/zlib/zlib.h index c3baea4ee..5ab115336 100644 --- a/src/codec/zlib/zlib.h +++ b/src/codec/zlib/zlib.h @@ -14,7 +14,7 @@ namespace Botan { /************************************************* * Zlib Compression Filter * *************************************************/ -class Zlib_Compression : public Filter +class BOTAN_DLL Zlib_Compression : public Filter { public: void write(const byte input[], u32bit length); @@ -35,7 +35,7 @@ class Zlib_Compression : public Filter /************************************************* * Zlib Decompression Filter * *************************************************/ -class Zlib_Decompression : public Filter +class BOTAN_DLL Zlib_Decompression : public Filter { public: void write(const byte input[], u32bit length); diff --git a/src/engine/gnump/eng_gmp.h b/src/engine/gnump/eng_gmp.h index 08d9caa12..a0ff2661c 100644 --- a/src/engine/gnump/eng_gmp.h +++ b/src/engine/gnump/eng_gmp.h @@ -13,7 +13,7 @@ namespace Botan { /************************************************* * GMP Engine * *************************************************/ -class GMP_Engine : public Engine +class BOTAN_DLL GMP_Engine : public Engine { public: #if defined(BOTAN_HAS_IF_PUBLIC_KEY_FAMILY) diff --git a/src/engine/gnump/gmp_wrap.h b/src/engine/gnump/gmp_wrap.h index 09a8590c4..e2a420e6b 100644 --- a/src/engine/gnump/gmp_wrap.h +++ b/src/engine/gnump/gmp_wrap.h @@ -14,7 +14,7 @@ namespace Botan { /************************************************* * Lightweight GMP mpz_t Wrapper * *************************************************/ -class GMP_MPZ +class BOTAN_DLL GMP_MPZ { public: mpz_t value; diff --git a/src/engine/openssl/bn_wrap.h b/src/engine/openssl/bn_wrap.h index a42967544..e8464e74e 100644 --- a/src/engine/openssl/bn_wrap.h +++ b/src/engine/openssl/bn_wrap.h @@ -14,7 +14,7 @@ namespace Botan { /************************************************* * Lightweight OpenSSL BN Wrapper * *************************************************/ -class OSSL_BN +class BOTAN_DLL OSSL_BN { public: BIGNUM* value; @@ -34,7 +34,7 @@ class OSSL_BN /************************************************* * Lightweight OpenSSL BN_CTX Wrapper * *************************************************/ -class OSSL_BN_CTX +class BOTAN_DLL OSSL_BN_CTX { public: BN_CTX* value; diff --git a/src/engine/openssl/eng_ossl.h b/src/engine/openssl/eng_ossl.h index 5f72357c2..979261214 100644 --- a/src/engine/openssl/eng_ossl.h +++ b/src/engine/openssl/eng_ossl.h @@ -14,7 +14,7 @@ namespace Botan { /************************************************* * OpenSSL Engine * *************************************************/ -class OpenSSL_Engine : public Engine +class BOTAN_DLL OpenSSL_Engine : public Engine { public: #if defined(BOTAN_HAS_IF_PUBLIC_KEY_FAMILY) diff --git a/src/entropy/beos_stats/es_beos.h b/src/entropy/beos_stats/es_beos.h index 047939c8c..57e15c9d9 100644 --- a/src/entropy/beos_stats/es_beos.h +++ b/src/entropy/beos_stats/es_beos.h @@ -13,7 +13,7 @@ namespace Botan { /************************************************* * BeOS Entropy Source * *************************************************/ -class BeOS_EntropySource : public Buffered_EntropySource +class BOTAN_DLL BeOS_EntropySource : public Buffered_EntropySource { private: void do_fast_poll(); diff --git a/src/entropy/cryptoapi_rng/es_capi.h b/src/entropy/cryptoapi_rng/es_capi.h index 68e42cf9c..db4e19271 100644 --- a/src/entropy/cryptoapi_rng/es_capi.h +++ b/src/entropy/cryptoapi_rng/es_capi.h @@ -14,7 +14,7 @@ namespace Botan { /************************************************* * Win32 CAPI Entropy Source * *************************************************/ -class Win32_CAPI_EntropySource : public EntropySource +class BOTAN_DLL Win32_CAPI_EntropySource : public EntropySource { public: u32bit slow_poll(byte[], u32bit); diff --git a/src/entropy/dev_random/es_dev.h b/src/entropy/dev_random/es_dev.h index 21d28b9bb..91f08ad4c 100644 --- a/src/entropy/dev_random/es_dev.h +++ b/src/entropy/dev_random/es_dev.h @@ -14,7 +14,7 @@ namespace Botan { /************************************************* * Device Based Entropy Source * *************************************************/ -class Device_EntropySource : public EntropySource +class BOTAN_DLL Device_EntropySource : public EntropySource { public: Device_EntropySource(const std::vector<std::string>& fs) : fsnames(fs) {} diff --git a/src/entropy/egd/es_egd.h b/src/entropy/egd/es_egd.h index ce6ba9521..6f5cae1b3 100644 --- a/src/entropy/egd/es_egd.h +++ b/src/entropy/egd/es_egd.h @@ -15,7 +15,7 @@ namespace Botan { /************************************************* * EGD Entropy Source * *************************************************/ -class EGD_EntropySource : public EntropySource +class BOTAN_DLL EGD_EntropySource : public EntropySource { public: u32bit slow_poll(byte[], u32bit); diff --git a/src/entropy/proc_walk/es_ftw.h b/src/entropy/proc_walk/es_ftw.h index a2229ff1f..e0d266141 100644 --- a/src/entropy/proc_walk/es_ftw.h +++ b/src/entropy/proc_walk/es_ftw.h @@ -13,7 +13,7 @@ namespace Botan { /************************************************* * File Tree Walking Entropy Source * *************************************************/ -class FTW_EntropySource : public Buffered_EntropySource +class BOTAN_DLL FTW_EntropySource : public Buffered_EntropySource { public: FTW_EntropySource(const std::string& root_dir); diff --git a/src/entropy/unix_procs/es_unix.h b/src/entropy/unix_procs/es_unix.h index d1b1d623e..4925fd4e1 100644 --- a/src/entropy/unix_procs/es_unix.h +++ b/src/entropy/unix_procs/es_unix.h @@ -15,7 +15,7 @@ namespace Botan { /************************************************* * Unix Entropy Source * *************************************************/ -class Unix_EntropySource : public Buffered_EntropySource +class BOTAN_DLL Unix_EntropySource : public Buffered_EntropySource { public: void add_sources(const Unix_Program[], u32bit); diff --git a/src/entropy/unix_procs/unix_cmd.h b/src/entropy/unix_procs/unix_cmd.h index 090dd8fdd..8544e7879 100644 --- a/src/entropy/unix_procs/unix_cmd.h +++ b/src/entropy/unix_procs/unix_cmd.h @@ -29,7 +29,7 @@ struct Unix_Program /************************************************* * Command Output DataSource * *************************************************/ -class DataSource_Command : public DataSource +class BOTAN_DLL DataSource_Command : public DataSource { public: u32bit read(byte[], u32bit); diff --git a/src/entropy/win32_stats/es_win32.h b/src/entropy/win32_stats/es_win32.h index 02558b335..f2314ab0c 100644 --- a/src/entropy/win32_stats/es_win32.h +++ b/src/entropy/win32_stats/es_win32.h @@ -13,7 +13,7 @@ namespace Botan { /************************************************* * Win32 Entropy Source * *************************************************/ -class Win32_EntropySource : public Buffered_EntropySource +class BOTAN_DLL Win32_EntropySource : public Buffered_EntropySource { private: void do_fast_poll(); diff --git a/src/hash/sha1_sse2/sha1_sse2.h b/src/hash/sha1_sse2/sha1_sse2.h index 536da1308..4bd8c1baa 100644 --- a/src/hash/sha1_sse2/sha1_sse2.h +++ b/src/hash/sha1_sse2/sha1_sse2.h @@ -13,7 +13,7 @@ namespace Botan { /************************************************* * SHA-160 * *************************************************/ -class SHA_160_SSE2 : public SHA_160 +class BOTAN_DLL SHA_160_SSE2 : public SHA_160 { public: HashFunction* clone() const { return new SHA_160_SSE2; } diff --git a/src/mac/ssl3mac/ssl3_mac.h b/src/mac/ssl3mac/ssl3_mac.h index 9b4be4e2f..cd06bf44e 100644 --- a/src/mac/ssl3mac/ssl3_mac.h +++ b/src/mac/ssl3mac/ssl3_mac.h @@ -13,7 +13,7 @@ namespace Botan { /************************************************* * SSL3-MAC * *************************************************/ -class SSL3_MAC : public MessageAuthenticationCode +class BOTAN_DLL SSL3_MAC : public MessageAuthenticationCode { public: void clear() throw(); diff --git a/src/math/gfpmath/curve_gfp.h b/src/math/gfpmath/curve_gfp.h index 3981faf16..a0530aa01 100644 --- a/src/math/gfpmath/curve_gfp.h +++ b/src/math/gfpmath/curve_gfp.h @@ -21,7 +21,7 @@ namespace Botan { /** * This class represents an elliptic curve over GF(p) */ -class CurveGFp +class BOTAN_DLL CurveGFp { public: diff --git a/src/math/gfpmath/freestore.h b/src/math/gfpmath/freestore.h index 99025f4e3..cafe69aae 100644 --- a/src/math/gfpmath/freestore.h +++ b/src/math/gfpmath/freestore.h @@ -31,7 +31,7 @@ namespace Botan { template<typename T> -class SharedPtrConverter +class BOTAN_DLL SharedPtrConverter { public: typedef std::tr1::shared_ptr<T> SharedPtr; @@ -142,7 +142,7 @@ std::tr1::shared_ptr<T> create_shared_ptr(P1 p1, P2 p2, P3 p3, ...); * new (or new[]) operator, but only via one of the overloads * of function template Botan::create_ptr. */ -class Freestore +class BOTAN_DLL Freestore { private: static diff --git a/src/math/gfpmath/gfp_element.h b/src/math/gfpmath/gfp_element.h index 3ee891231..39e728cfa 100644 --- a/src/math/gfpmath/gfp_element.h +++ b/src/math/gfpmath/gfp_element.h @@ -30,7 +30,7 @@ struct Illegal_Transformation : public Exception * This class represents one element in GF(p). Enables the convenient, * transparent use of the montgomery multiplication. */ -class GFpElement +class BOTAN_DLL GFpElement { private: std::tr1::shared_ptr<GFpModulus> mp_mod; diff --git a/src/math/gfpmath/gfp_modulus.h b/src/math/gfpmath/gfp_modulus.h index 2bf48b8b6..359f6cae1 100644 --- a/src/math/gfpmath/gfp_modulus.h +++ b/src/math/gfpmath/gfp_modulus.h @@ -18,12 +18,12 @@ namespace Botan { -class GFpElement; +class BOTAN_DLL GFpElement; /** * This class represents a GFpElement modulus including the modulus related * values necessary for the montgomery multiplication. */ -class GFpModulus +class BOTAN_DLL GFpModulus { friend class GFpElement; private: diff --git a/src/math/gfpmath/point_gfp.h b/src/math/gfpmath/point_gfp.h index 6118f00d5..4ecc3e936 100644 --- a/src/math/gfpmath/point_gfp.h +++ b/src/math/gfpmath/point_gfp.h @@ -26,7 +26,7 @@ struct Illegal_Point : public Exception /** * This class represents one point on a curve of GF(p). */ -class PointGFp +class BOTAN_DLL PointGFp { public: /** 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; |