Undo previous commit, which was an accident.
This commit is contained in:
parent
dcbd0d74d5
commit
077ff61eef
@ -163,7 +163,6 @@ int main(int argc, char *argv[])
|
|||||||
if (!results)
|
if (!results)
|
||||||
BIO_puts(out,"obase=16\nibase=16\n");
|
BIO_puts(out,"obase=16\nibase=16\n");
|
||||||
|
|
||||||
#if 0
|
|
||||||
message(out,"BN_add");
|
message(out,"BN_add");
|
||||||
if (!test_add(out)) goto err;
|
if (!test_add(out)) goto err;
|
||||||
BIO_flush(out);
|
BIO_flush(out);
|
||||||
@ -220,7 +219,6 @@ int main(int argc, char *argv[])
|
|||||||
message(out,"BN_mont");
|
message(out,"BN_mont");
|
||||||
if (!test_mont(out,ctx)) goto err;
|
if (!test_mont(out,ctx)) goto err;
|
||||||
BIO_flush(out);
|
BIO_flush(out);
|
||||||
#endif
|
|
||||||
|
|
||||||
message(out,"BN_mod_exp");
|
message(out,"BN_mod_exp");
|
||||||
if (!test_mod_exp(out,ctx)) goto err;
|
if (!test_mod_exp(out,ctx)) goto err;
|
||||||
@ -813,8 +811,6 @@ int test_mod_exp(BIO *bp, BN_CTX *ctx)
|
|||||||
BN_rand(a,20+i*5,0,0); /**/
|
BN_rand(a,20+i*5,0,0); /**/
|
||||||
BN_rand(b,2+i,0,0); /**/
|
BN_rand(b,2+i,0,0); /**/
|
||||||
|
|
||||||
BN_kronecker(a,b,ctx);
|
|
||||||
|
|
||||||
if (!BN_mod_exp(d,a,b,c,ctx))
|
if (!BN_mod_exp(d,a,b,c,ctx))
|
||||||
return(00);
|
return(00);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user