Home
last modified time | relevance | path

Searched refs:TEST_error (Results 1 – 25 of 103) sorted by relevance

12345

/freebsd/crypto/openssl/test/
H A Dpkey_meth_kdf_test.c27 TEST_error("EVP_PKEY_TLS1_PRF"); in test_kdf_tls1_prf()
31 TEST_error("EVP_PKEY_derive_init"); in test_kdf_tls1_prf()
35 TEST_error("EVP_PKEY_CTX_set_tls1_prf_md"); in test_kdf_tls1_prf()
40 TEST_error("EVP_PKEY_CTX_set1_tls1_prf_secret"); in test_kdf_tls1_prf()
46 TEST_error("EVP_PKEY_CTX_add1_tls1_prf_seed"); in test_kdf_tls1_prf()
52 TEST_error("EVP_PKEY_CTX_add1_tls1_prf_seed"); in test_kdf_tls1_prf()
57 TEST_error("EVP_PKEY_CTX_add1_tls1_prf_seed"); in test_kdf_tls1_prf()
62 TEST_error("EVP_PKEY_derive"); in test_kdf_tls1_prf()
89 TEST_error("EVP_PKEY_HKDF"); in test_kdf_hkdf()
93 TEST_error("EVP_PKEY_derive_ini in test_kdf_hkdf()
[all...]
H A Dx509aux.c50 TEST_error("unexpected PEM object: %s", name); in test_certs()
57 TEST_error("error parsing input %s", name); in test_certs()
65 TEST_error("encoded length %ld of %s != input length %ld", in test_certs()
77 TEST_error("encoded length %ld of %s != input length %ld", in test_certs()
84 TEST_error("unexpected buffer position after encoding %s", name); in test_certs()
89 TEST_error("encoded content of %s does not match input", name); in test_certs()
96 TEST_error("second d2i call failed for %s", name); in test_certs()
102 TEST_error("X509_cmp for %s resulted in %d", name, err); in test_certs()
112 TEST_error("encoded length %ld of %s != input length %ld", in test_certs()
118 TEST_error("encoded content of %s does not match input", name); in test_certs()
[all …]
H A Dcmp_ctx_test.c373 TEST_error("setter did not return error on ctx == NULL"); \
380 TEST_error("getter did not return error on ctx == NULL"); \
387 TEST_error("did not get default value"); \
391 TEST_error("setting first value failed"); \
402 TEST_error("set/get first value did not match"); \
407 TEST_error("first set did not dup the value"); \
412 TEST_error("first set had no effect"); \
418 TEST_error("setting second value failed"); \
426 TEST_error("second set reset the value"); \
431 TEST_error("set/get second value did not match"); \
[all …]
H A Dx509_check_cert_pkey_test.c45 TEST_error("invalid 'type'"); in test_x509_check_cert_pkey()
54 TEST_error("invalid 'expected'"); in test_x509_check_cert_pkey()
75 TEST_error("read PEM x509 failed"); in test_x509_check_cert_pkey()
84 TEST_error("read PEM x509 req failed"); in test_x509_check_cert_pkey()
96 TEST_error("check private key: expected: %d, got: %d", expected, result); in test_x509_check_cert_pkey()
156 TEST_error("Error parsing test options\n"); in setup_tests()
H A Ddsa_no_digest_size_test.c164 TEST_error("Failed to get signature length, len=%d", len); in sign_and_verify()
172 TEST_error("Failed to sign, len=%d", len); in sign_and_verify()
182 TEST_error("EVP verify with unpadded length %d failed\n", len); in sign_and_verify()
188 TEST_error("EVP verify with length %d failed\n", len); in sign_and_verify()
194 TEST_error("Verification with unpadded data failed, len=%d", len); in sign_and_verify()
199 TEST_error("verify with length %d failed\n", len); in sign_and_verify()
H A Dca_internals_test.c32 TEST_error("Usage: %s: do_updatedb dbfile testdate need64bit\n", binname); in test_do_updatedb()
33 TEST_error(" testdate format: ASN1-String\n"); in test_do_updatedb()
83 TEST_error("%s: no command specified for testing\n", binname); in setup_tests()
90 TEST_error("%s: command '%s' is not supported for testing\n", binname, command); in setup_tests()
H A Dsslbuffertest.c89 TEST_error("Test %d failed: Create SSL objects failed\n", test); in test_func()
94 TEST_error("Test %d failed: Create SSL connection failed\n", test); in test_func()
136 TEST_error("Test %d failed: Failed to write app data\n", test); in test_func()
172 TEST_error("Test %d failed: Failed to read app data\n", test); in test_func()
284 TEST_error("Invalid test index"); in test_free_buffers()
359 TEST_error("Error parsing test options\n"); in setup_tests()
370 TEST_error("Failed to create SSL_CTX pair\n"); in setup_tests()
H A Dalgorithmid_test.c195 TEST_error("Couldn't open '%s' for reading\n", pubkey_filename); in test_spki_file()
201 TEST_error("'%s' doesn't appear to be a SubjectPublicKeyInfo in PEM format\n", in test_spki_file()
221 TEST_error("Couldn't open '%s' for reading\n", eecert_filename); in test_x509_files()
226 TEST_error("Couldn't open '%s' for reading\n", cacert_filename); in test_x509_files()
232 TEST_error("'%s' doesn't appear to be a X.509 certificate in PEM format\n", in test_x509_files()
238 TEST_error("'%s' doesn't appear to be a X.509 certificate in PEM format\n", in test_x509_files()
H A Dbio_base64_test.c207 TEST_error("out of memory"); in test_bio_base64_run()
215 TEST_error("out of memory"); in test_bio_base64_run()
225 TEST_error("out of memory"); in test_bio_base64_run()
276 TEST_error("Unexpectedly long decode output"); in test_bio_base64_run()
294 TEST_error("Final read result was non-negative"); in test_bio_base64_run()
298 TEST_error("Failed to decode expected data"); in test_bio_base64_run()
398 TEST_error("Unexpected suffix test after padding"); in test_bio_base64_generated()
H A Dd2i_test.c131 TEST_error("Error parsing test options\n"); in setup_tests()
143 TEST_error("Unknown type %s", test_type_name); in setup_tests()
163 TEST_error("Unknown expected error %s\n", expected_error_string); in setup_tests()
H A Dtls13secretstest.c255 TEST_error("Failed to get hash"); in test_secret()
261 TEST_error("Secret generation failed"); in test_secret()
269 TEST_error("Key generation failed"); in test_secret()
277 TEST_error("IV generation failed"); in test_secret()
H A Ddefltfips_test.c77 TEST_error("Error parsing test options\n"); in setup_tests()
101 TEST_error("Invalid argument\n"); in setup_tests()
H A Dpkey_meth_test.c39 TEST_error("EVP_PKEY_ASN1_METHOD table out of order"); in test_asn1_meths()
72 TEST_error("EVP_PKEY_METHOD table out of order"); in test_pkey_meths()
H A Dasn1_encode_test.c750 TEST_error("Failed custom encode round trip %u of %s", in test_intern()
757 TEST_error("Custom encode round trip %u of %s mismatch", in test_intern()
773 TEST_error("Failed custom decode round trip %u of %s", in test_intern()
780 TEST_error("Custom decode round trip %u of %s mismatch", in test_intern()
803 TEST_error("Failed encode/decode round trip %u of %s", in test_intern()
810 TEST_error("Encode/decode round trip %u of %s mismatch", in test_intern()
823 TEST_error("Printing of %s failed", package->name); in test_intern()
H A Dfatalerrtest.c69 TEST_error("Unexpected success reading data: %s\n", buf); in test_fatalerr()
90 TEST_error("Error parsing test options\n"); in setup_tests()
H A Ddanetest.c161 TEST_error("input too long"); in read_to_eol()
163 TEST_error("EOF before newline"); in read_to_eol()
318 TEST_error("Malformed line for test %d", testno); in test_tlsafile()
412 TEST_error("Error parsing test options\n"); in setup_tests()
H A Dossl_store_test.c198 TEST_error("Invalid test index"); in test_store_get_params()
292 TEST_error("No data directory specified"); in setup_tests()
296 TEST_error("No input directory specified"); in setup_tests()
H A Dparams_test.c625 TEST_error("unexpected OSSL_PARAM_allocate_from_text() return for %s \"%s\"", in check_int_from_text()
633 TEST_error("unexpected zero size for %s \"%s\"", in check_int_from_text()
641 TEST_error("unexpected OSSL_PARAM_get_long() return for %s \"%s\": " in check_int_from_text()
646 TEST_error("unexpected result for %s \"%s\": %li != %li", in check_int_from_text()
651 TEST_error("unexpected size for %s \"%s\": %d != %d", in check_int_from_text()
687 TEST_error("unexpected OSSL_PARAM_allocate_from_text() %s for 'octets' \"%s\"", in check_octetstr_from_hexstr()
H A Dext_internal_test.c90 TEST_error("TLSEXT_IDX_%s=%zd, found at=%zd\n", in test_extension_list()
96 TEST_error("TLSEXT_IDX_%s=%zd expected=0x%05X got=0x%05X", in test_extension_list()
H A Dssl_test.c82 TEST_error("ClientAlert mismatch: expected %s, got %s.", in check_alerts()
90 TEST_error("ServerAlert mismatch: expected %s, got %s.", in check_alerts()
228 TEST_error("%s type mismatch, %s vs %s\n", in check_nid()
555 TEST_error("Error parsing test options\n"); in OPT_TEST_DECLARE_USAGE()
564 TEST_error("usage: ssl_test %s", USAGE); in OPT_TEST_DECLARE_USAGE()
H A Dx509_acert_test.c159 TEST_error("Error parsing test options\n"); in setup_tests()
165 TEST_error("Must specify at least 1 attribute certificate file\n"); in setup_tests()
H A Dbio_addr_test.c60 TEST_error("Unsupported address family"); in make_dummy_addr()
170 TEST_error("Error parsing test options\n"); in setup_tests()
H A Dcmp_server_test.c140 TEST_error("Error parsing test options\n"); in OPT_TEST_DECLARE_USAGE()
145 TEST_error("usage: cmp_server_test %s", USAGE); in OPT_TEST_DECLARE_USAGE()
H A Dpem_read_depr_test.c194 TEST_error("Error parsing test options\n"); in setup_tests()
199 TEST_error("Error getting data dir\n"); in setup_tests()
/freebsd/crypto/openssl/test/radix/
H A Dterp.c322 TEST_error("script generation failed: %s (at %s:%d)", in GEN_SCRIPT_init()
467 TEST_error("unsupported opcode while printing: %llu", in SRDR_print_one()
524 TEST_error("%s: script '%s' (%s)", in SCRIPT_INFO_print()
708 TEST_error("timed out while executing op %zu", op_num); in TERP_execute()
716 TEST_error("pre-operation processing failed at op %zu", op_num); in TERP_execute()
792 TEST_error("op %zu (FUNC %s) failed with return value %d", in TERP_execute()
800 TEST_error("unknown opcode: %llu", (unsigned long long)opc); in TERP_execute()
813 TEST_error("FAILED while executing script: %s at op %zu, error stack:", in TERP_execute()
861 TEST_error("stack not empty: %zu bytes left", in TERP_run()

12345