summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_prime.h
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2000-01-12 11:57:30 +0000
committerBodo Möller <bodo@openssl.org>2000-01-12 11:57:30 +0000
commit76aa0ddc86772080db4f61821b9ff357e330c843 (patch)
tree156e6551fb083163ca4717274f3970601bf7946e /crypto/bn/bn_prime.h
parente4b76456310f6a337c471ec5c7525bc65e4e40d5 (diff)
Turn BN_prime_checks into a macro.
Primes p where (p-1)/2 is prime too are called "safe", not "strong".
Diffstat (limited to 'crypto/bn/bn_prime.h')
-rw-r--r--crypto/bn/bn_prime.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/bn/bn_prime.h b/crypto/bn/bn_prime.h
index c10217dfea..8bb168517d 100644
--- a/crypto/bn/bn_prime.h
+++ b/crypto/bn/bn_prime.h
@@ -55,6 +55,7 @@
* copied and put under another distribution licence
* [including the GNU Public Licence.]
*/
+
#ifndef EIGHT_BIT
#define NUMPRIMES 2048
#else