Home
last modified time | relevance | path

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

123

/third_party/openssl/test/
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()
45 TEST_error("EVP_PKEY_CTX_add1_tls1_prf_seed"); in test_kdf_tls1_prf()
49 TEST_error("EVP_PKEY_derive"); in test_kdf_tls1_prf()
76 TEST_error("EVP_PKEY_HKDF"); in test_kdf_hkdf()
80 TEST_error("EVP_PKEY_derive_init"); in test_kdf_hkdf()
84 TEST_error("EVP_PKEY_CTX_set_hkdf_md"); in test_kdf_hkdf()
89 TEST_error("EVP_PKEY_CTX_set1_hkdf_salt"); in test_kdf_hkdf()
[all …]
Dx509aux.c51 TEST_error("unexpected PEM object: %s", name); in test_certs()
58 TEST_error("error parsing input %s", name); in test_certs()
66 TEST_error("encoded length %ld of %s != input length %ld", in test_certs()
78 TEST_error("encoded length %ld of %s != input length %ld", in test_certs()
85 TEST_error("unexpected buffer position after encoding %s", name); in test_certs()
90 TEST_error("encoded content of %s does not match input", name); in test_certs()
97 TEST_error("second d2i call failed for %s", name); in test_certs()
103 TEST_error("X509_cmp for %s resulted in %d", name, err); in test_certs()
113 TEST_error("encoded length %ld of %s != input length %ld", in test_certs()
119 TEST_error("encoded content of %s does not match input", name); in test_certs()
[all …]
Dcmp_ctx_test.c359 TEST_error("setter did not return error on ctx == NULL"); \
366 TEST_error("getter did not return error on ctx == NULL"); \
373 TEST_error("did not get default value"); \
377 TEST_error("setting first value failed"); \
388 TEST_error("set/get first value did not match"); \
393 TEST_error("first set did not dup the value"); \
397 TEST_error("first set had no effect"); \
403 TEST_error("setting second value failed"); \
411 TEST_error("second set reset the value"); \
416 TEST_error("set/get second value did not match"); \
[all …]
Dsslbuffertest.c57 TEST_error("Test %d failed: Create SSL objects failed\n", test); in test_func()
62 TEST_error("Test %d failed: Create SSL connection failed\n", test); in test_func()
100 TEST_error("Test %d failed: Failed to write app data\n", test); in test_func()
133 TEST_error("Test %d failed: Failed to read app data\n", test); in test_func()
160 TEST_error("Error parsing test options\n"); in setup_tests()
171 TEST_error("Failed to create SSL_CTX pair\n"); in setup_tests()
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()
158 TEST_error("Error parsing test options\n"); in setup_tests()
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()
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()
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()
Dtls13secretstest.c242 TEST_error("Failed to get hash"); in test_secret()
248 TEST_error("Secret generation failed"); in test_secret()
256 TEST_error("Key generation failed"); in test_secret()
264 TEST_error("IV generation failed"); in test_secret()
Dasn1_encode_test.c751 TEST_error("Failed custom encode round trip %u of %s", in test_intern()
758 TEST_error("Custom encode round trip %u of %s mismatch", in test_intern()
774 TEST_error("Failed custom decode round trip %u of %s", in test_intern()
781 TEST_error("Custom decode round trip %u of %s mismatch", in test_intern()
804 TEST_error("Failed encode/decode round trip %u of %s", in test_intern()
811 TEST_error("Encode/decode round trip %u of %s mismatch", in test_intern()
824 TEST_error("Printing of %s failed", package->name); in test_intern()
Ddefltfips_test.c77 TEST_error("Error parsing test options\n"); in setup_tests()
101 TEST_error("Invalid argument\n"); in setup_tests()
Dossl_store_test.c129 TEST_error("Invalid test index"); in test_store_get_params()
223 TEST_error("No data directory specified"); in setup_tests()
227 TEST_error("No input directory specified"); in setup_tests()
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()
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()
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()
Dext_internal_test.c87 TEST_error("TLSEXT_IDX_%s=%zd, found at=%zd\n", in test_extension_list()
93 TEST_error("TLSEXT_IDX_%s=%zd expected=0x%05X got=0x%05X", in test_extension_list()
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()
544 TEST_error("Error parsing test options\n"); in OPT_TEST_DECLARE_USAGE()
553 TEST_error("usage: ssl_test %s", USAGE); in OPT_TEST_DECLARE_USAGE()
Dparams_test.c623 TEST_error("unexpected OSSL_PARAM_allocate_from_text() return for %s \"%s\"", in check_int_from_text()
631 TEST_error("unexpected zero size for %s \"%s\"", in check_int_from_text()
639 TEST_error("unexpected OSSL_PARAM_get_long() return for %s \"%s\": " in check_int_from_text()
644 TEST_error("unexpected result for %s \"%s\": %li != %li", in check_int_from_text()
649 TEST_error("unexpected size for %s \"%s\": %d != %d", in check_int_from_text()
Dsanitytest.c114 TEST_error("int must not be wider than size_t"); in test_sanity_range()
120 TEST_error("SIZE_MAX must exceed 2*INT_MAX"); in test_sanity_range()
Dcmp_server_test.c139 TEST_error("Error parsing test options\n"); in OPT_TEST_DECLARE_USAGE()
144 TEST_error("usage: cmp_server_test %s", USAGE); in OPT_TEST_DECLARE_USAGE()
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()
Ddtls_mtu_test.c117 TEST_error("%s: s=%lu, mtus[i]=%lu, reclen=%lu, i=%d", in mtu_test()
128 TEST_error("%s: s=%lu, mtus[i]=%lu, reclen=%lu, i=%d", in mtu_test()
Dtls13ccstest.c297 TEST_error("Invalid test value"); in test_tls13ccs()
476 TEST_error("Invalid test value"); in test_tls13ccs()
496 TEST_error("Error parsing test options\n"); in setup_tests()
Dsparse_array_test.c124 TEST_error("Index %ju with value %s not found", n, value); in leaf_check_all()
140 TEST_error("Index %ju with value %s not found", n, value); in leaf_delete()
Dconstant_time_test.c102 TEST_error("TRUE %s op failed", op_name); in test_binary_op_64()
106 TEST_error("FALSE %s op failed", op_name); in test_binary_op_64()
198 TEST_error("test_select_64 TRUE failed"); in test_select_64()

123