summaryrefslogtreecommitdiff
path: root/lib/Crypto/PublicKey/_slowmath.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Crypto/PublicKey/_slowmath.py')
-rw-r--r--lib/Crypto/PublicKey/_slowmath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Crypto/PublicKey/_slowmath.py b/lib/Crypto/PublicKey/_slowmath.py
index e9f48f9..1350773 100644
--- a/lib/Crypto/PublicKey/_slowmath.py
+++ b/lib/Crypto/PublicKey/_slowmath.py
@@ -113,7 +113,7 @@ def rsa_construct(n, e, d=None, p=None, q=None, u=None):
# as Factorization", M. Rabin, 1979
spotted = 0
a = 2
- while not spotted and a<100:
+ while not spotted and a<1000:
k = t
# Cycle through all values a^{t*2^i}=a^k
while k<ktot: