| /openbsd-src/regress/lib/libcrypto/objects/ |
| H A D | objectstest.c | 161 int failed = 1; in obj_name_test() local 167 goto failed; in obj_name_test() 172 goto failed; in obj_name_test() 177 goto failed; in obj_name_test() 184 goto failed; in obj_name_test() 189 goto failed; in obj_name_test() 194 goto failed; in obj_name_test() 198 failed = 0; in obj_name_test() 200 failed: in obj_name_test() 201 return failed; in obj_name_test() [all …]
|
| /openbsd-src/regress/lib/libcrypto/asn1/ |
| H A D | asn1basic.c | 76 int failed = 1; in asn1_bit_string_test() local 80 goto failed; in asn1_bit_string_test() 84 goto failed; in asn1_bit_string_test() 89 goto failed; in asn1_bit_string_test() 97 goto failed; in asn1_bit_string_test() 101 goto failed; in asn1_bit_string_test() 105 goto failed; in asn1_bit_string_test() 112 goto failed; in asn1_bit_string_test() 116 goto failed; in asn1_bit_string_test() 120 goto failed; in asn1_bit_string_test() [all …]
|
| H A D | asn1object.c | 235 int failed = 1; in do_asn1_object_test() local 243 goto failed; in do_asn1_object_test() 249 goto failed; in do_asn1_object_test() 257 goto failed; in do_asn1_object_test() 264 goto failed; in do_asn1_object_test() 269 goto failed; in do_asn1_object_test() 276 goto failed; in do_asn1_object_test() 282 goto failed; in do_asn1_object_test() 293 goto failed; in do_asn1_object_test() 298 goto failed; in do_asn1_object_test() [all …]
|
| H A D | asn1api.c | 62 int failed = 1; in asn1_tag2bit() local 72 goto failed; in asn1_tag2bit() 78 goto failed; in asn1_tag2bit() 83 failed = 0; in asn1_tag2bit() 85 failed: in asn1_tag2bit() 86 return failed; in asn1_tag2bit() 92 int failed = 1; in asn1_tag2str() local 100 goto failed; in asn1_tag2str() 107 goto failed; in asn1_tag2str() 113 goto failed; in asn1_tag2str() [all …]
|
| H A D | asn1complex.c | 165 int failed = 1; in do_asn1_constructed_test() local 174 goto failed; in do_asn1_constructed_test() 182 goto failed; in do_asn1_constructed_test() 191 goto failed; in do_asn1_constructed_test() 195 goto failed; in do_asn1_constructed_test() 198 failed = 0; in do_asn1_constructed_test() 200 failed: in do_asn1_constructed_test() 203 return failed; in do_asn1_constructed_test() 210 int failed = 0; in do_asn1_constructed_tests() local 215 failed |= do_asn1_constructed_test(act); in do_asn1_constructed_tests() [all …]
|
| H A D | asn1oct.c | 85 int failed = 0; in test_i2s_ASN1_OCTET_STRING() local 101 failed |= 1; in test_i2s_ASN1_OCTET_STRING() 107 return failed; in test_i2s_ASN1_OCTET_STRING() 115 int failed = 0; in test_new_ASN1_OCTET_STRING() local 125 failed |= 1; in test_new_ASN1_OCTET_STRING() 131 return failed; in test_new_ASN1_OCTET_STRING() 138 int failed = 0; in run_i2s_ASN1_OCTET_STRING_tests() local 140 failed |= test_new_ASN1_OCTET_STRING(); in run_i2s_ASN1_OCTET_STRING_tests() 143 failed |= test_i2s_ASN1_OCTET_STRING(&i2s_test[i]); in run_i2s_ASN1_OCTET_STRING_tests() 145 return failed; in run_i2s_ASN1_OCTET_STRING_tests() [all …]
|
| /openbsd-src/regress/lib/libcrypto/bn/ |
| H A D | bn_unit.c | 50 int failed = 0; in test_bn_print_null_derefs() local 64 failed |= test_bn_print_wrapper(a, size, "BN_dec2bn", BN_dec2bn); in test_bn_print_null_derefs() 65 failed |= test_bn_print_wrapper(a, size, "BN_hex2bn", BN_hex2bn); in test_bn_print_null_derefs() 69 return failed; in test_bn_print_null_derefs() 77 int failed = 0; in test_bn_num_bits() local 84 failed |= 1; in test_bn_num_bits() 94 failed |= 1; in test_bn_num_bits() 106 failed |= 1; in test_bn_num_bits() 111 return failed; in test_bn_num_bits() 119 int failed = 0; in test_bn_num_bits_word() local [all …]
|
| H A D | bn_primes.c | 33 int failed = 1; in test_bn_is_prime_fasttest() local 49 failed = 0; in test_bn_is_prime_fasttest() 53 failed = 1; in test_bn_is_prime_fasttest() 67 failed = 1; in test_bn_is_prime_fasttest() 74 failed = 1; in test_bn_is_prime_fasttest() 80 return failed; in test_bn_is_prime_fasttest() 106 int failed = 1; in test_prime_dynamic_api() local 119 failed = 0; in test_prime_dynamic_api() 123 return failed; in test_prime_dynamic_api() 130 int failed = 0; in test_prime_constants() local [all …]
|
| H A D | bn_print.c | 159 int failed = 1; in bn_print_testcase() local 183 failed = 0; in bn_print_testcase() 187 return failed; in bn_print_testcase() 196 int failed = 0; in main() local 204 failed |= bn_print_testcase(bn, test); in main() 212 failed |= bn_print_testcase(bn, test); in main() 219 failed |= bn_print_testcase(bn, test); in main() 227 failed |= bn_print_testcase(bn, test); in main() 234 failed |= bn_print_testcase(bn, test); in main() 242 failed |= bn_print_testcase(bn, test); in main() [all …]
|
| H A D | bn_mod_exp.c | 105 int failed = 1; in bn_mod_exp_zero_test() local 147 failed = 0; in bn_mod_exp_zero_test() 152 return failed; in bn_mod_exp_zero_test() 160 int failed = 1; in bn_mod_exp_zero_word_test() local 188 failed = 0; in bn_mod_exp_zero_word_test() 193 return failed; in bn_mod_exp_zero_word_test() 201 int failed = 0; in test_bn_mod_exp_zero() local 211 failed |= bn_mod_exp_zero_test(&mod_exp_fn[i], ctx, in test_bn_mod_exp_zero() 216 failed |= bn_mod_exp_zero_word_test(ctx, 0); in test_bn_mod_exp_zero() 217 failed |= bn_mod_exp_zero_word_test(ctx, 1); in test_bn_mod_exp_zero() [all …]
|
| H A D | bn_word.c | 38 int failed = 1; in check_bn_word_test() local 54 errx(1, "BN_bn2hex() failed"); in check_bn_word_test() 67 failed = 0; in check_bn_word_test() 72 return failed; in check_bn_word_test() 82 int failed = 0; in test_bn_word() local 85 errx(1, "BN_new() failed"); in test_bn_word() 91 fprintf(stderr, "FAIL: BN_hex2bn(\"%s\") failed\n", in test_bn_word() 93 failed = 1; in test_bn_word() 98 fprintf(stderr, "FAIL: %s(%lx) failed\n", op_name, in test_bn_word() 100 failed in test_bn_word() 428 int failed = 0; test_bn_div_word() local 574 int failed = 0; test_bn_mod_word() local 608 int failed = 0; main() local [all...] |
| /openbsd-src/regress/lib/libcrypto/rc4/ |
| H A D | rc4_test.c | 329 int failed = 1; in rc4_test() local 333 goto failed; in rc4_test() 346 goto failed; in rc4_test() 356 goto failed; in rc4_test() 376 goto failed; in rc4_test() 388 goto failed; in rc4_test() 397 goto failed; in rc4_test() 403 goto failed; in rc4_test() 409 goto failed; in rc4_test() 414 goto failed; in rc4_test() [all …]
|
| /openbsd-src/regress/lib/libcrypto/rmd/ |
| H A D | rmd_test.c | 124 int failed = 1; in rmd_test() local 128 goto failed; in rmd_test() 139 goto failed; in rmd_test() 146 goto failed; in rmd_test() 151 goto failed; in rmd_test() 158 goto failed; in rmd_test() 165 goto failed; in rmd_test() 172 goto failed; in rmd_test() 177 goto failed; in rmd_test() 182 goto failed; in rmd_test() [all …]
|
| /openbsd-src/regress/lib/libcrypto/rsa/ |
| H A D | rsa_padding_test.c | 136 int failed = 1; in test_pkcs1_type1() local 145 goto failed; in test_pkcs1_type1() 154 goto failed; in test_pkcs1_type1() 171 goto failed; in test_pkcs1_type1() 180 goto failed; in test_pkcs1_type1() 184 failed = 0; in test_pkcs1_type1() 186 failed: in test_pkcs1_type1() 187 return failed; in test_pkcs1_type1() 272 int failed = 1; in test_pkcs1_type2() local 281 goto failed; in test_pkcs1_type2() [all …]
|
| /openbsd-src/regress/lib/libssl/unit/ |
| H A D | ssl_set_alpn_protos.c | 119 int failed = 0; in test_ssl_set_alpn_protos() local 128 failed = 1; in test_ssl_set_alpn_protos() 138 failed = 1; in test_ssl_set_alpn_protos() 144 return failed; in test_ssl_set_alpn_protos() 156 int failed = 0; in test_ssl_set_alpn_protos_edge_cases() local 163 failed = 1; in test_ssl_set_alpn_protos_edge_cases() 167 failed = 1; in test_ssl_set_alpn_protos_edge_cases() 171 failed = 1; in test_ssl_set_alpn_protos_edge_cases() 175 failed = 1; in test_ssl_set_alpn_protos_edge_cases() 183 failed = 1; in test_ssl_set_alpn_protos_edge_cases() [all …]
|
| /openbsd-src/regress/lib/libcrypto/whirlpool/ |
| H A D | whirlpool_test.c | |
| /openbsd-src/regress/lib/libssl/buffer/ |
| H A D | buffertest.c | 113 int failed = 1; in tls_buffer_extend_test() local 129 goto failed; in tls_buffer_extend_test() 135 goto failed; in tls_buffer_extend_test() 141 goto failed; in tls_buffer_extend_test() 147 goto failed; in tls_buffer_extend_test() 156 goto failed; in tls_buffer_extend_test() 160 goto failed; in tls_buffer_extend_test() 163 failed = 0; in tls_buffer_extend_test() 165 failed: in tls_buffer_extend_test() 169 return failed; in tls_buffer_extend_test() [all …]
|
| /openbsd-src/regress/lib/libcrypto/md/ |
| H A D | md_test.c | 225 int failed = 1; in md_test() 228 fprintf(stderr, "FAIL: EVP_MD_CTX_new() failed\n"); in md_test() 229 goto failed; in md_test() 236 goto failed; in md_test() 243 goto failed; in md_test() 249 fprintf(stderr, "FAIL (%s): EVP_Digest failed\n", in md_test() 251 goto failed; in md_test() 257 goto failed; in md_test() 263 fprintf(stderr, "FAIL (%s): EVP_DigestInit_ex failed\n", in md_test() 265 goto failed; in md_test() 214 int failed = 1; md_test() local 296 int failed = 0; main() local [all...] |
| /openbsd-src/regress/usr.bin/sort/ |
| H A D | stests | 88 echo $TEST$X comparison failed 91 echo $TEST$X checksum failed 94 echo $TEST$X failed 118 $SORTPROG -c in 2>/dev/null && echo ${TEST}A failed 122 $o $SORTPROG +0 in -o in || echo ${TEST}c failed 131 $SORTPROG -cr in >out 2>xx && echo ${TEST}A failed 132 test -s out && echo ${TEST}B failed 133 test -s xx || echo ${TEST}C failed 134 $SORTPROG -Cr in >out 2>xx && echo ${TEST}D failed 135 test -s out && echo ${TEST}E failed [all …]
|
| /openbsd-src/regress/lib/libcrypto/sha/ |
| H A D | sha_test.c | 772 int failed = 1; in sha_test() local 776 goto failed; in sha_test() 783 goto failed; in sha_test() 792 goto failed; in sha_test() 801 goto failed; in sha_test() 808 goto failed; in sha_test() 817 goto failed; in sha_test() 825 goto failed; in sha_test() 833 goto failed; in sha_test() 840 goto failed; in sha_test() [all …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/lib/ |
| H A D | gcov.exp | 41 set failed 0 48 incr failed 51 incr failed 55 return $failed 78 set failed 0 90 incr failed 108 incr failed 115 incr failed 130 incr failed 139 incr failed [all …]
|
| /openbsd-src/regress/lib/libssl/record_layer/ |
| H A D | record_layer_test.c | 202 int failed = 1; in do_seq_num_test_tls12() local 228 failed = 0; in do_seq_num_test_tls12() 233 return failed; in do_seq_num_test_tls12() 239 int failed = 0; in test_seq_num_tls12() local 244 failed |= do_seq_num_test_tls12(i, 0, &seq_num_tls_tests[i]); in test_seq_num_tls12() 248 failed |= do_seq_num_test_tls12(i, 1, &seq_num_dtls_tests[i]); in test_seq_num_tls12() 250 return failed; in test_seq_num_tls12() 257 int failed = 1; in do_seq_num_test_tls13() local 277 failed = 0; in do_seq_num_test_tls13() 280 return failed; in do_seq_num_test_tls13() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Digest-MD5/t/ |
| H A D | files.t | 72 my $failed; 77 $failed++; 82 $failed++; 87 $failed++; 92 print "$file: md5() failed\n"; 93 $failed++; 96 print "$file: md5_hex() failed\n"; 97 $failed++; 100 print "$file: md5_base64() failed\n"; 101 $failed++; [all …]
|
| /openbsd-src/regress/lib/libcrypto/bio/ |
| H A D | bio_host.c | 87 int failed = 0; in do_bio_get_host_ip_tests() local 100 failed = 1; in do_bio_get_host_ip_tests() 107 failed = 1; in do_bio_get_host_ip_tests() 111 return failed; in do_bio_get_host_ip_tests() 119 int failed = 0; in do_bio_get_port_tests() local 132 failed = 1; in do_bio_get_port_tests() 138 failed = 1; in do_bio_get_port_tests() 142 return failed; in do_bio_get_port_tests() 148 int failed = 0; in main() local 150 failed |= do_bio_get_host_ip_tests(); in main() [all …]
|
| H A D | bio_asn1.c | 55 int failed = 1; in test_bio_new_ndef_waf() local 78 failed = 0; in test_bio_new_ndef_waf() 83 return failed; in test_bio_new_ndef_waf() 111 int failed = 1; in test_prefix_leak() local 136 failed = 0; in test_prefix_leak() 143 return failed; in test_prefix_leak() 187 int failed = 1; in test_infinite_loop() local 215 failed = 0; in test_infinite_loop() 219 return failed; in test_infinite_loop() 225 int failed = 0; in main() local [all …]
|