aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/sha3
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-12-27 15:48:00 -0500
committerJack Lloyd <[email protected]>2017-09-19 22:30:41 -0400
commit12c4dfec24e999ab80ff3a45e0b837976d4c390c (patch)
tree7de91a2b86aec055800b8e046729fcc10a31d6d8 /src/lib/hash/sha3
parent0c6c4e058109791a9f17971ca782dc10af3eb9bc (diff)
Add API stability annotations.
Defined in build.h, all equal to BOTAN_DLL so ties into existing system for exporting symbols.
Diffstat (limited to 'src/lib/hash/sha3')
-rw-r--r--src/lib/hash/sha3/sha3.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/hash/sha3/sha3.h b/src/lib/hash/sha3/sha3.h
index fec25b806..5c2c280be 100644
--- a/src/lib/hash/sha3/sha3.h
+++ b/src/lib/hash/sha3/sha3.h
@@ -17,7 +17,7 @@ namespace Botan {
/**
* SHA-3
*/
-class BOTAN_DLL SHA_3 : public HashFunction
+class BOTAN_PUBLIC_API(2,0) SHA_3 : public HashFunction
{
public:
@@ -77,7 +77,7 @@ class BOTAN_DLL SHA_3 : public HashFunction
/**
* SHA-3-224
*/
-class BOTAN_DLL SHA_3_224 final : public SHA_3
+class BOTAN_PUBLIC_API(2,0) SHA_3_224 final : public SHA_3
{
public:
SHA_3_224() : SHA_3(224) {}
@@ -86,7 +86,7 @@ class BOTAN_DLL SHA_3_224 final : public SHA_3
/**
* SHA-3-256
*/
-class BOTAN_DLL SHA_3_256 final : public SHA_3
+class BOTAN_PUBLIC_API(2,0) SHA_3_256 final : public SHA_3
{
public:
SHA_3_256() : SHA_3(256) {}
@@ -95,7 +95,7 @@ class BOTAN_DLL SHA_3_256 final : public SHA_3
/**
* SHA-3-384
*/
-class BOTAN_DLL SHA_3_384 final : public SHA_3
+class BOTAN_PUBLIC_API(2,0) SHA_3_384 final : public SHA_3
{
public:
SHA_3_384() : SHA_3(384) {}
@@ -104,7 +104,7 @@ class BOTAN_DLL SHA_3_384 final : public SHA_3
/**
* SHA-3-512
*/
-class BOTAN_DLL SHA_3_512 final : public SHA_3
+class BOTAN_PUBLIC_API(2,0) SHA_3_512 final : public SHA_3
{
public:
SHA_3_512() : SHA_3(512) {}