提交 077ff61e 编写于 作者: B Bodo Möller

Undo previous commit, which was an accident.

上级 dcbd0d74
...@@ -163,7 +163,6 @@ int main(int argc, char *argv[]) ...@@ -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[]) ...@@ -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) ...@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册