aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/block/des
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/block/des')
-rw-r--r--src/lib/block/des/des.h4
-rw-r--r--src/lib/block/des/desx.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/block/des/des.h b/src/lib/block/des/des.h
index f0c32be29..4d17f0bed 100644
--- a/src/lib/block/des/des.h
+++ b/src/lib/block/des/des.h
@@ -15,7 +15,7 @@ namespace Botan {
/**
* DES
*/
-class BOTAN_DLL DES final : public Block_Cipher_Fixed_Params<8, 8>
+class BOTAN_PUBLIC_API(2,0) DES final : public Block_Cipher_Fixed_Params<8, 8>
{
public:
void encrypt_n(const uint8_t in[], uint8_t out[], size_t blocks) const override;
@@ -33,7 +33,7 @@ class BOTAN_DLL DES final : public Block_Cipher_Fixed_Params<8, 8>
/**
* Triple DES
*/
-class BOTAN_DLL TripleDES final : public Block_Cipher_Fixed_Params<8, 16, 24, 8>
+class BOTAN_PUBLIC_API(2,0) TripleDES final : public Block_Cipher_Fixed_Params<8, 16, 24, 8>
{
public:
void encrypt_n(const uint8_t in[], uint8_t out[], size_t blocks) const override;
diff --git a/src/lib/block/des/desx.h b/src/lib/block/des/desx.h
index 7bc7d047f..6f525b6ef 100644
--- a/src/lib/block/des/desx.h
+++ b/src/lib/block/des/desx.h
@@ -15,7 +15,7 @@ namespace Botan {
/**
* DESX
*/
-class BOTAN_DLL DESX final : public Block_Cipher_Fixed_Params<8, 24>
+class BOTAN_PUBLIC_API(2,0) DESX final : public Block_Cipher_Fixed_Params<8, 24>
{
public:
void encrypt_n(const uint8_t in[], uint8_t out[], size_t blocks) const override;