summaryrefslogtreecommitdiffstats
path: root/crypto/bn/expspeed.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2000-11-28 11:49:12 +0000
committerBodo Möller <bodo@openssl.org>2000-11-28 11:49:12 +0000
commitadcc64cd9e9eb81b5d9ef70b532806147d718f97 (patch)
tree29d0dc791aaf701ca642815a038b76454f1d95f1 /crypto/bn/expspeed.c
parentc94b6de0171d2f71a643e6eac778b417d938080e (diff)
Use BN_pseudo_rand instead of BN_rand
Diffstat (limited to 'crypto/bn/expspeed.c')
-rw-r--r--crypto/bn/expspeed.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/bn/expspeed.c b/crypto/bn/expspeed.c
index e9c1fee7ab..99cf2c52a8 100644
--- a/crypto/bn/expspeed.c
+++ b/crypto/bn/expspeed.c
@@ -191,9 +191,9 @@ void do_mul_exp(BIGNUM *r, BIGNUM *a, BIGNUM *b, BIGNUM *c, BN_CTX *ctx)
num=BASENUM;
for (i=0; i<NUM_SIZES; i++)
{
- BN_rand(a,sizes[i],1,0);
- BN_rand(b,sizes[i],1,0);
- BN_rand(c,sizes[i],1,1);
+ BN_pseudo_rand(a,sizes[i],1,0);
+ BN_pseudo_rand(b,sizes[i],1,0);
+ BN_pseudo_rand(c,sizes[i],1,1);
BN_mod(a,a,c,ctx);
BN_mod(b,b,c,ctx);