aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/pk_algs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pubkey/pk_algs.h')
-rw-r--r--src/lib/pubkey/pk_algs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/pubkey/pk_algs.h b/src/lib/pubkey/pk_algs.h
index 5deded423..b215914c1 100644
--- a/src/lib/pubkey/pk_algs.h
+++ b/src/lib/pubkey/pk_algs.h
@@ -14,11 +14,11 @@
namespace Botan {
-BOTAN_DLL std::unique_ptr<Public_Key>
+BOTAN_PUBLIC_API(2,0) std::unique_ptr<Public_Key>
load_public_key(const AlgorithmIdentifier& alg_id,
const std::vector<uint8_t>& key_bits);
-BOTAN_DLL std::unique_ptr<Private_Key>
+BOTAN_PUBLIC_API(2,0) std::unique_ptr<Private_Key>
load_private_key(const AlgorithmIdentifier& alg_id,
const secure_vector<uint8_t>& key_bits);
@@ -30,7 +30,7 @@ load_private_key(const AlgorithmIdentifier& alg_id,
* For McEliece, algo_params is n,t
* If algo_params is left empty, suitable default parameters are chosen.
*/
-BOTAN_DLL std::unique_ptr<Private_Key>
+BOTAN_PUBLIC_API(2,0) std::unique_ptr<Private_Key>
create_private_key(const std::string& algo_name,
RandomNumberGenerator& rng,
const std::string& algo_params = "",