diff options
-rw-r--r-- | doc/credits.txt | 3 | ||||
-rw-r--r-- | include/numthry.h | 2 | ||||
-rw-r--r-- | src/engine.cpp | 10 |
3 files changed, 9 insertions, 6 deletions
diff --git a/doc/credits.txt b/doc/credits.txt index 3db695235..67a64539c 100644 --- a/doc/credits.txt +++ b/doc/credits.txt @@ -41,6 +41,9 @@ P: 3F69 2E64 6D92 3BBE E7AE 9258 5C0F 96E8 4EC1 6D6B D: Original author S: New York NY, USA +N: Joel Low +D: DLL symbol visibility + N: Luca Piccarreta D: x86/amd64 assembler, BigInt optimizations, Win32 mutex module diff --git a/include/numthry.h b/include/numthry.h index 44d5d86d5..44d56601a 100644 --- a/include/numthry.h +++ b/include/numthry.h @@ -66,7 +66,7 @@ BigInt BOTAN_DLL random_safe_prime(u32bit); const u32bit PRIME_TABLE_SIZE = 6541; const u32bit PRIME_PRODUCTS_TABLE_SIZE = 256; -extern const u16bit PRIMES[]; +extern const u16bit BOTAN_DLL PRIMES[]; extern const u64bit PRIME_PRODUCTS[]; /************************************************* diff --git a/src/engine.cpp b/src/engine.cpp index ceda7e5aa..071ab2833 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -223,7 +223,7 @@ const BlockCipherModePaddingMethod* retrieve_bc_pad(const std::string& name) /************************************************* * Add a new block cipher * *************************************************/ -void add_algorithm(BlockCipher* algo) +BOTAN_DLL void add_algorithm(BlockCipher* algo) { Library_State::Engine_Iterator i(global_state()); @@ -243,7 +243,7 @@ void add_algorithm(BlockCipher* algo) /************************************************* * Add a new stream cipher * *************************************************/ -void add_algorithm(StreamCipher* algo) +BOTAN_DLL void add_algorithm(StreamCipher* algo) { Library_State::Engine_Iterator i(global_state()); @@ -263,7 +263,7 @@ void add_algorithm(StreamCipher* algo) /************************************************* * Add a new hash function * *************************************************/ -void add_algorithm(HashFunction* algo) +BOTAN_DLL void add_algorithm(HashFunction* algo) { Library_State::Engine_Iterator i(global_state()); @@ -283,7 +283,7 @@ void add_algorithm(HashFunction* algo) /************************************************* * Add a new authentication code * *************************************************/ -void add_algorithm(MessageAuthenticationCode* algo) +BOTAN_DLL void add_algorithm(MessageAuthenticationCode* algo) { Library_State::Engine_Iterator i(global_state()); @@ -303,7 +303,7 @@ void add_algorithm(MessageAuthenticationCode* algo) /************************************************* * Add a padding method to the lookup table * *************************************************/ -void add_algorithm(BlockCipherModePaddingMethod* algo) +BOTAN_DLL void add_algorithm(BlockCipherModePaddingMethod* algo) { Library_State::Engine_Iterator i(global_state()); |