diff options
author | Bodo Möller <bodo@openssl.org> | 2000-11-28 11:49:12 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2000-11-28 11:49:12 +0000 |
commit | adcc64cd9e9eb81b5d9ef70b532806147d718f97 (patch) | |
tree | 29d0dc791aaf701ca642815a038b76454f1d95f1 | |
parent | c94b6de0171d2f71a643e6eac778b417d938080e (diff) |
Use BN_pseudo_rand instead of BN_rand
-rw-r--r-- | crypto/bn/expspeed.c | 6 |
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); |