diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-07-19 03:47:20 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-07-19 03:47:20 +0000 |
commit | 153b79ef5d9b042b23eba9aa332ec025bbc3300e (patch) | |
tree | 09d13a6fae123a46962ad82f4b88b7c91bd08335 /nbtheory.h | |
parent | 609446928f2c6f2e51cc906a037cd79ef4dfd312 (diff) | |
download | cryptopp-153b79ef5d9b042b23eba9aa332ec025bbc3300e.tar.gz |
remove Diamond2, code size reductions
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@107 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'nbtheory.h')
-rw-r--r-- | nbtheory.h | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -8,14 +8,8 @@ NAMESPACE_BEGIN(CryptoPP) -// export a table of small primes -extern const unsigned int maxPrimeTableSize; -extern const word lastSmallPrime; -extern unsigned int primeTableSize; -extern word primeTable[]; - -// build up the table to maxPrimeTableSize -CRYPTOPP_DLL void BuildPrimeTable(); +// obtain pointer to small prime table and get its size +CRYPTOPP_DLL const word * GetPrimeTable(unsigned int &size); // ************ primality testing **************** |