From 153b79ef5d9b042b23eba9aa332ec025bbc3300e Mon Sep 17 00:00:00 2001 From: weidai Date: Sat, 19 Jul 2003 03:47:20 +0000 Subject: remove Diamond2, code size reductions git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@107 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- nbtheory.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'nbtheory.h') diff --git a/nbtheory.h b/nbtheory.h index 3ef517d..cb953f2 100644 --- a/nbtheory.h +++ b/nbtheory.h @@ -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 **************** -- cgit v1.2.1