int main(int argc, char* argv[]) { init_context_tests(); misc_tests(); gbb_tests(); fail_tests(); recovery_tests(); dev_switch_tests(); tpm_clear_tests(); select_slot_tests(); return gTestSuccess ? 0 : 255; }
int main(int argc, char *argv[]) { /* Initialize long_msg with 'a' x 1,000,000 */ long_msg = (char *) malloc(1000001); memset(long_msg, 'a', 1000000); long_msg[1000000]=0; sha1_tests(); sha256_tests(); sha512_tests(); misc_tests(); free(long_msg); return gTestSuccess ? 0 : 255; }