projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c94b6de
)
Use BN_pseudo_rand instead of BN_rand
author
Bodo Möller
<bodo@openssl.org>
Tue, 28 Nov 2000 11:49:12 +0000
(11:49 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Tue, 28 Nov 2000 11:49:12 +0000
(11:49 +0000)
crypto/bn/expspeed.c
patch
|
blob
|
history
diff --git
a/crypto/bn/expspeed.c
b/crypto/bn/expspeed.c
index e9c1fee7ab44dcfd3574f9a123b8230efeafea30..99cf2c52a856a99d77ec33e0feb347aabae161df 100644
(file)
--- 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);