aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/passhash/passhash9/passhash9.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/passhash/passhash9/passhash9.h')
-rw-r--r--src/lib/passhash/passhash9/passhash9.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/passhash/passhash9/passhash9.h b/src/lib/passhash/passhash9/passhash9.h
index 80cbb939a..e6d5335de 100644
--- a/src/lib/passhash/passhash9/passhash9.h
+++ b/src/lib/passhash/passhash9/passhash9.h
@@ -25,7 +25,7 @@ namespace Botan {
* 4 is HMAC(SHA-512)
* all other values are currently undefined
*/
-std::string BOTAN_DLL generate_passhash9(const std::string& password,
+std::string BOTAN_PUBLIC_API(2,0) generate_passhash9(const std::string& password,
RandomNumberGenerator& rng,
uint16_t work_factor = 10,
uint8_t alg_id = 1);
@@ -35,14 +35,14 @@ std::string BOTAN_DLL generate_passhash9(const std::string& password,
* @param password the password to check against
* @param hash the stored hash to check against
*/
-bool BOTAN_DLL check_passhash9(const std::string& password,
+bool BOTAN_PUBLIC_API(2,0) check_passhash9(const std::string& password,
const std::string& hash);
/**
* Check if the PRF used with PBKDF2 is supported
* @param alg_id alg_id used in generate_passhash9()
*/
-bool BOTAN_DLL is_passhash9_alg_supported(uint8_t alg_id);
+bool BOTAN_PUBLIC_API(2,3) is_passhash9_alg_supported(uint8_t alg_id);
}