aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/misc/srp6/srp6.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-19 22:37:57 -0400
committerJack Lloyd <[email protected]>2017-09-19 22:37:57 -0400
commit520903f86ea9cf5088526ecd5bb9879f117671f2 (patch)
tree90ca44fa2b8ed8e828d316886452e8c80d6f08ad /src/lib/misc/srp6/srp6.h
parent0c6c4e058109791a9f17971ca782dc10af3eb9bc (diff)
parentda5466639c474bea919aee1aefda76ed4625fe85 (diff)
Merge GH #1216 Add API annotations indicating version added and API stability
Diffstat (limited to 'src/lib/misc/srp6/srp6.h')
-rw-r--r--src/lib/misc/srp6/srp6.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/misc/srp6/srp6.h b/src/lib/misc/srp6/srp6.h
index af9f427d0..24c2693aa 100644
--- a/src/lib/misc/srp6/srp6.h
+++ b/src/lib/misc/srp6/srp6.h
@@ -29,7 +29,7 @@ namespace Botan {
* @return (A,K) the client public key and the shared secret key
*/
std::pair<BigInt,SymmetricKey>
-BOTAN_DLL srp6_client_agree(const std::string& username,
+BOTAN_PUBLIC_API(2,0) srp6_client_agree(const std::string& username,
const std::string& password,
const std::string& group_id,
const std::string& hash_id,
@@ -45,7 +45,7 @@ BOTAN_DLL srp6_client_agree(const std::string& username,
* @param group_id specifies the shared SRP group
* @param hash_id specifies a secure hash function
*/
-BigInt BOTAN_DLL generate_srp6_verifier(const std::string& identifier,
+BigInt BOTAN_PUBLIC_API(2,0) generate_srp6_verifier(const std::string& identifier,
const std::string& password,
const std::vector<uint8_t>& salt,
const std::string& group_id,
@@ -58,12 +58,12 @@ BigInt BOTAN_DLL generate_srp6_verifier(const std::string& identifier,
* @param g the group generator
* @return group identifier
*/
-std::string BOTAN_DLL srp6_group_identifier(const BigInt& N, const BigInt& g);
+std::string BOTAN_PUBLIC_API(2,0) srp6_group_identifier(const BigInt& N, const BigInt& g);
/**
* Represents a SRP-6a server session
*/
-class BOTAN_DLL SRP6_Server_Session
+class BOTAN_PUBLIC_API(2,0) SRP6_Server_Session
{
public:
/**