summaryrefslogtreecommitdiff
path: root/rsa.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-07-04 00:17:37 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-07-04 00:17:37 +0000
commit572fe07633123ce38abf28c6426356e37aef3a99 (patch)
tree0536d87e504a82920156c239bc5ae6aa43e70ebc /rsa.h
parent3e8c979ddc194e043567c036321e67c89f847362 (diff)
downloadcryptopp-572fe07633123ce38abf28c6426356e37aef3a99.tar.gz
create DLL version, fix GetNextIV() bug in CTR and OFB modes
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@87 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'rsa.h')
-rw-r--r--rsa.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/rsa.h b/rsa.h
index 7f82134..cae0a5a 100644
--- a/rsa.h
+++ b/rsa.h
@@ -14,7 +14,7 @@
NAMESPACE_BEGIN(CryptoPP)
//! .
-class RSAFunction : public TrapdoorFunction, public X509PublicKey
+class CRYPTOPP_DLL RSAFunction : public TrapdoorFunction, public X509PublicKey
{
typedef RSAFunction ThisClass;
@@ -49,7 +49,7 @@ protected:
};
//! .
-class InvertibleRSAFunction : public RSAFunction, public TrapdoorFunctionInverse, public PKCS8PrivateKey
+class CRYPTOPP_DLL InvertibleRSAFunction : public RSAFunction, public TrapdoorFunctionInverse, public PKCS8PrivateKey
{
typedef InvertibleRSAFunction ThisClass;
@@ -101,7 +101,7 @@ protected:
};
//! .
-struct RSA
+struct CRYPTOPP_DLL RSA
{
static std::string StaticAlgorithmName() {return "RSA";}
typedef RSAFunction PublicKey;