| /openbsd-src/regress/lib/libcrypto/asn1/ |
| H A D | asn1time.c | 198 asn1_compare_bytes(int test_no, const unsigned char *d1, in asn1_compare_bytes() argument 203 "(%d != %d)\n", test_no, len1, len2); in asn1_compare_bytes() 207 fprintf(stderr, "FAIL: test %d - bytes differ\n", test_no); in asn1_compare_bytes() 218 asn1_compare_str(int test_no, const struct asn1_string_st *asn1str, in asn1_compare_str() argument 225 "(%d != %d)\n", test_no, asn1str->length, length); in asn1_compare_str() 230 "('%s' != '%s')\n", test_no, asn1str->data, str); in asn1_compare_str() 238 asn1_invtime_test(int test_no, const struct asn1_time_test *att, int gen) in asn1_invtime_test() argument 254 "GENERALIZEDTIME string '%s'\n", test_no, att->str); in asn1_invtime_test() 265 "string '%s'\n", test_no, att->str); in asn1_invtime_test() 270 "string '%s'\n", test_no, at in asn1_invtime_test() 290 asn1_gentime_test(int test_no,const struct asn1_time_test * att) asn1_gentime_test() argument 377 asn1_utctime_test(int test_no,const struct asn1_time_test * att) asn1_utctime_test() argument 440 asn1_time_test(int test_no,const struct asn1_time_test * att,int type) asn1_time_test() argument [all...] |
| H A D | rfc5280time.c | 189 asn1_compare_str(int test_no, struct asn1_string_st *asn1str, const char *str) in asn1_compare_str() argument 195 "(%d != %d)\n", test_no, asn1str->length, length); in asn1_compare_str() 200 "('%s' != '%s')\n", test_no, asn1str->data, str); in asn1_compare_str() 208 rfc5280_invtime_test(int test_no, struct rfc5280_time_test *att) in rfc5280_invtime_test() argument 226 "string '%s'\n", test_no, att->str); in rfc5280_invtime_test() 233 "string '%s'\n", test_no, att->str); in rfc5280_invtime_test() 249 rfc5280_gentime_test(int test_no, struct rfc5280_time_test *att) in rfc5280_gentime_test() argument 261 test_no, att->str); in rfc5280_gentime_test() 264 if (asn1_compare_str(test_no, gt, att->str) != 0) in rfc5280_gentime_test() 269 test_no, i, (long long)att->time); in rfc5280_gentime_test() [all …]
|
| /openbsd-src/regress/lib/libssl/record/ |
| H A D | recordtest.c | 370 test_record_recv(size_t test_no, struct record_recv_test *rrt) in test_record_recv() argument 392 "returned %zd, want %zd\n", test_no, i, ret, in test_record_recv() 400 "want %u\n", test_no, tls13_record_content_type(rec), in test_record_recv() 409 "want NULL\n", test_no); in test_record_recv() 415 fprintf(stderr, "FAIL: Test %zu - data mismatch\n", test_no); in test_record_recv() 425 "header", test_no); in test_record_recv() 429 fprintf(stderr, "FAIL: Test %zu - header mismatch\n", test_no); in test_record_recv() 439 "content", test_no); in test_record_recv() 444 fprintf(stderr, "FAIL: Test %zu - content mismatch\n", test_no); in test_record_recv() 462 test_record_send(size_t test_no, struct record_send_test *rst) in test_record_send() argument [all …]
|
| /openbsd-src/regress/lib/libcrypto/base64/ |
| H A D | base64test.c | 281 base64_encoding_test(int test_no, struct base64_test *bt, int test_nl) in base64_encoding_test() argument 308 "characters\n", test_no, len, bt->in_len); in base64_encoding_test() 313 fprintf(stderr, "FAIL: test %d - flush failed\n", test_no); in base64_encoding_test() 337 "characters instead of %zd\n", test_no, len, b64len); in base64_encoding_test() 343 fprintf(stderr, "FAIL: test %d - encoding differs:\n", test_no); in base64_encoding_test() 363 base64_decoding_test(int test_no, struct base64_test *bt, int test_nl) in base64_decoding_test() argument 404 "characters instead of %zd\n", test_no, len, bt->valid_len); in base64_decoding_test() 422 fprintf(stderr, "FAIL: test %d - decoding differs:\n", test_no); in base64_decoding_test()
|
| /openbsd-src/regress/lib/libssl/record_layer/ |
| H A D | record_layer_test.c | 198 do_seq_num_test_tls12(size_t test_no, int dtls, struct seq_num_test *snt) in do_seq_num_test_tls12() argument 215 test_no, ret, snt->want); in do_seq_num_test_tls12() 221 test_no); in do_seq_num_test_tls12() 254 do_seq_num_test_tls13(size_t test_no, struct seq_num_test *snt) in do_seq_num_test_tls13() argument 264 test_no, ret, snt->want); in do_seq_num_test_tls13() 270 test_no); in do_seq_num_test_tls13()
|
| /openbsd-src/regress/lib/libssl/asn1/ |
| H A D | asn1test.c | 372 do_ssl_asn1_test(int test_no, struct ssl_asn1_test *sat) in do_ssl_asn1_test() argument 385 "want %d\n", test_no, len, sat->asn1_len); in do_ssl_asn1_test() 402 "want %d\n", test_no, len, sat->asn1_len); in do_ssl_asn1_test() 408 "match length (%d != %d)\n", test_no, (int)(ap - asn1), len); in do_ssl_asn1_test() 413 fprintf(stderr, "FAIL: test %d - encoding differs:\n", test_no); in do_ssl_asn1_test() 434 fprintf(stderr, "FAIL: test %d - decoding failed\n", test_no); in do_ssl_asn1_test() 439 fprintf(stderr, "FAIL: test %d - decoding differs\n", test_no); in do_ssl_asn1_test()
|
| /openbsd-src/regress/usr.bin/openssl/options/ |
| H A D | optionstest.c | 315 do_options_test(int test_no, struct options_test *ot) in do_options_test() argument 332 "want %i\n", test_no, ret, ot->want); in do_options_test() 342 test_no, test_config.arg, ot->wantarg); in do_options_test() 347 test_no, test_config.flag, ot->wantflag); in do_options_test() 355 test_no, unnamed, ot->unnamed); in do_options_test() 360 test_no, used, ot->used); in do_options_test()
|
| /openbsd-src/regress/lib/libcrypto/gcm128/ |
| H A D | gcm128test.c | 857 do_gcm128_test(int test_no, struct gcm128_test *tv) in do_gcm128_test() argument 884 test_no); in do_gcm128_test() 888 fprintf(stderr, "TEST %d: encrypt failed\n", test_no); in do_gcm128_test() 901 test_no); in do_gcm128_test() 905 fprintf(stderr, "TEST %d: decrypt failed\n", test_no); in do_gcm128_test()
|
| /openbsd-src/regress/lib/libtls/config/ |
| H A D | configtest.c | 140 do_parse_protocols_test(int test_no, struct parse_protocols_test *ppt) in do_parse_protocols_test() 149 "returned %i, want %i\n", test_no, rv, ppt->want_return); in do_parse_protocols_test() 154 "want 0x%x\n", test_no, protocols, ppt->want_protocols); in do_parse_protocols_test() 137 do_parse_protocols_test(int test_no,struct parse_protocols_test * ppt) do_parse_protocols_test() argument
|
| /openbsd-src/regress/lib/libssl/exporter/ |
| H A D | exportertest.c | 528 exporter_test(size_t test_no, const struct exporter_test *et) in exporter_test() argument 618 "error\n", test_no); in exporter_test() 625 "want %d\n", test_no, ERR_GET_REASON(err), in exporter_test() 632 "SSL_export_keying_material() failed\n", test_no); in exporter_test() 638 fprintf(stderr, "FAIL: test %zu\n", test_no); in exporter_test()
|
| /openbsd-src/regress/lib/libssl/unit/ |
| H A D | tls_prf.c | 107 do_tls_prf_test(int test_no, const struct tls_prf_test *tpt) 116 fprintf(stderr, "Test %d - %s\n", test_no, tpt->desc); 130 do_tls_prf_test(int test_no,const struct tls_prf_test * tpt) do_tls_prf_test() argument
|
| /openbsd-src/regress/lib/libcrypto/objects/ |
| H A D | objectstest.c | 525 obj_oid_large_test(size_t test_no, struct oid_large_test *olt) in obj_oid_large_test() argument 536 "oid %zu\n", test_no); in obj_oid_large_test() 542 "oid %zu\n", test_no); in obj_oid_large_test() 547 "oid %zu\n", test_no); in obj_oid_large_test()
|
| /openbsd-src/regress/lib/libtls/verify/ |
| H A D | verifytest.c | 462 do_verify_test(int test_no, struct verify_test *vt) in do_verify_test() argument 496 "%s\n", test_no, vt->name, tls_error(tls)); in do_verify_test() 501 test_no, vt->name); in do_verify_test()
|
| /openbsd-src/regress/lib/libcrypto/bn/ |
| H A D | bn_convert.c | 44 check_bin_output(size_t test_no, const char *label, const uint8_t *bin, 55 "want %zu\n", test_no, label, out_len, bin_len); in check_bin_output() 62 "want %d\n", test_no, label, ret, out_len); in check_bin_output() 67 "BN_bn2bin() differs\n", test_no, label); in check_bin_output() 46 check_bin_output(size_t test_no,const char * label,const uint8_t * bin,size_t bin_len,const BIGNUM * bn) check_bin_output() argument
|
| /openbsd-src/regress/lib/libcrypto/evp/ |
| H A D | evp_test.c | 947 do_tls_prf_evp_test(int test_no, const struct tls_prf_test *test) in do_tls_prf_evp_test() argument
|