comparison demos/test.c @ 192:9cc34777b479 libtomcrypt

propagate from branch 'au.asn.ucc.matt.ltc-orig' (head 9ba8f01f44320e9cb9f19881105ae84f84a43ea9) to branch 'au.asn.ucc.matt.dropbear.ltc' (head dbf51c569bc34956ad948e4cc87a0eeb2170b768)
author Matt Johnston <matt@ucc.asn.au>
date Sun, 08 May 2005 06:36:47 +0000
parents 1c15b283127b
children 39d5d58461d6
comparison
equal deleted inserted replaced
164:cd1143579f00 192:9cc34777b479
1 #include <tomcrypt_test.h>
2
3 int main(void)
4 {
5 reg_algs();
6 printf("build == \n%s\n", crypt_build_settings);
7 printf("\ncipher_test..."); fflush(stdout); printf(cipher_hash_test() ? "failed" : "passed");
8 printf("\nmodes_test..."); fflush(stdout); printf(modes_test() ? "failed" : "passed");
9 printf("\nmac_test..."); fflush(stdout); printf(mac_test() ? "failed" : "passed");
10 printf("\npkcs_1_test..."); fflush(stdout); printf(pkcs_1_test() ? "failed" : "passed");
11 printf("\nstore_test..."); fflush(stdout); printf(store_test() ? "failed" : "passed");
12 printf("\nrsa_test..."); fflush(stdout); printf(rsa_test() ? "failed" : "passed");
13 printf("\necc_test..."); fflush(stdout); printf(ecc_tests() ? "failed" : "passed");
14 printf("\ndsa_test..."); fflush(stdout); printf(dsa_test() ? "failed" : "passed");
15 printf("\ndh_test..."); fflush(stdout); printf(dh_tests() ? "failed" : "passed");
16 printf("\nder_test..."); fflush(stdout); printf(der_tests() ? "failed" : "passed");
17
18 return EXIT_SUCCESS;
19 }