1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-29 05:21:37 +03:00

Fixed issue which stopped Montgomery & Classical reduction from being used

git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@41 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
This commit is contained in:
cameronrich
2006-11-27 05:52:33 +00:00
parent c98ded2eca
commit 3c59f849dd
4 changed files with 33 additions and 12 deletions

View File

@ -1650,37 +1650,61 @@ int main(int argc, char *argv[])
bi_ctx = bi_initialize();
if (AES_test(bi_ctx))
{
printf("AES tests failed\n");
goto cleanup;
}
TTY_FLUSH();
if (RC4_test(bi_ctx))
{
printf("RC4 tests failed\n");
goto cleanup;
}
TTY_FLUSH();
if (MD5_test(bi_ctx))
{
printf("MD5 tests failed\n");
goto cleanup;
}
TTY_FLUSH();
if (SHA1_test(bi_ctx))
{
printf("SHA1 tests failed\n");
goto cleanup;
}
TTY_FLUSH();
if (HMAC_test(bi_ctx))
{
printf("HMAC tests failed\n");
goto cleanup;
}
TTY_FLUSH();
if (BIGINT_test(bi_ctx))
{
printf("BigInt tests failed!\n");
goto cleanup;
}
TTY_FLUSH();
bi_terminate(bi_ctx);
if (RSA_test())
{
printf("RSA tests failed\n");
goto cleanup;
}
TTY_FLUSH();
if (cert_tests())
{
printf("CERT tests failed\n");
goto cleanup;
}
TTY_FLUSH();
system("sh ../ssl/test/killopenssl.sh");