diff options
author | lloyd <[email protected]> | 2010-06-30 18:58:20 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-06-30 18:58:20 +0000 |
commit | 8807137ef387e7b82061fdb787faf732e3f1de95 (patch) | |
tree | 1dd36967b1749dadeb12cf1b5b48eb5a9657fb5a /src | |
parent | ce733a44c26d485af4e2466e14700cf8b5e9dd01 (diff) |
These functions are internal use only, and don't need to be exported with
BOTAN_DLL
Diffstat (limited to 'src')
-rw-r--r-- | src/pubkey/pk_algs.cpp | 10 | ||||
-rw-r--r-- | src/pubkey/pk_algs.h | 10 | ||||
-rw-r--r-- | src/pubkey/workfactor.h | 8 |
3 files changed, 15 insertions, 13 deletions
diff --git a/src/pubkey/pk_algs.cpp b/src/pubkey/pk_algs.cpp index 18e08f82e..e500cfc2e 100644 --- a/src/pubkey/pk_algs.cpp +++ b/src/pubkey/pk_algs.cpp @@ -42,8 +42,8 @@ namespace Botan { -BOTAN_DLL Public_Key* make_public_key(const AlgorithmIdentifier& alg_id, - const MemoryRegion<byte>& key_bits) +Public_Key* make_public_key(const AlgorithmIdentifier& alg_id, + const MemoryRegion<byte>& key_bits) { const std::string alg_name = OIDS::lookup(alg_id.oid); if(alg_name == "") @@ -92,9 +92,9 @@ BOTAN_DLL Public_Key* make_public_key(const AlgorithmIdentifier& alg_id, return 0; } -BOTAN_DLL Private_Key* make_private_key(const AlgorithmIdentifier& alg_id, - const MemoryRegion<byte>& key_bits, - RandomNumberGenerator& rng) +Private_Key* make_private_key(const AlgorithmIdentifier& alg_id, + const MemoryRegion<byte>& key_bits, + RandomNumberGenerator& rng) { const std::string alg_name = OIDS::lookup(alg_id.oid); if(alg_name == "") diff --git a/src/pubkey/pk_algs.h b/src/pubkey/pk_algs.h index 3fbaed234..a1e65cb3d 100644 --- a/src/pubkey/pk_algs.h +++ b/src/pubkey/pk_algs.h @@ -12,12 +12,12 @@ namespace Botan { -BOTAN_DLL Public_Key* make_public_key(const AlgorithmIdentifier& alg_id, - const MemoryRegion<byte>& key_bits); +Public_Key* make_public_key(const AlgorithmIdentifier& alg_id, + const MemoryRegion<byte>& key_bits); -BOTAN_DLL Private_Key* make_private_key(const AlgorithmIdentifier& alg_id, - const MemoryRegion<byte>& key_bits, - RandomNumberGenerator& rng); +Private_Key* make_private_key(const AlgorithmIdentifier& alg_id, + const MemoryRegion<byte>& key_bits, + RandomNumberGenerator& rng); } diff --git a/src/pubkey/workfactor.h b/src/pubkey/workfactor.h index 653f697e3..c4fc3baa7 100644 --- a/src/pubkey/workfactor.h +++ b/src/pubkey/workfactor.h @@ -12,10 +12,12 @@ namespace Botan { -/* -* Work Factor Estimates +/** +* Estimate work factor +* @param prime_group_size size of the group in bits +* @return estimated security level for this group */ -BOTAN_DLL u32bit dl_work_factor(u32bit prime_group_size); +u32bit dl_work_factor(u32bit prime_group_size); } |