summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_mont.c
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>2000-06-21 21:20:46 +0000
committerUlf Möller <ulf@openssl.org>2000-06-21 21:20:46 +0000
commit8415060e1ee25e6d9aef2a5cbd65e3d22ef64ea9 (patch)
tree7669276f03a627ffec558f347babb31bbba4d55f /crypto/bn/bn_mont.c
parent1a797ac67ca917b617496fe40b9b17aa50f75ee8 (diff)
use faster version
Diffstat (limited to 'crypto/bn/bn_mont.c')
-rw-r--r--crypto/bn/bn_mont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/bn_mont.c b/crypto/bn/bn_mont.c
index b8eb2b7998..e5fbcd619f 100644
--- a/crypto/bn/bn_mont.c
+++ b/crypto/bn/bn_mont.c
@@ -85,7 +85,7 @@ int BN_mod_mul_montgomery(BIGNUM *r, BIGNUM *a, BIGNUM *b,
if (a == b)
{
-#if 0
+#if 1
bn_wexpand(tmp,a->top*2);
bn_wexpand(tmp2,a->top*4);
bn_sqr_recursive(tmp->d,a->d,a->top,tmp2->d);