Home
last modified time | relevance | path

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

1234

/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()
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()
103 TEST_error("EVP_PKEY_derive"); in test_kdf_hkdf()
130 TEST_error("EVP_PKEY_SCRYPT"); in test_kdf_scrypt()
134 TEST_error("EVP_PKEY_derive_init"); in test_kdf_scrypt()
[all …]
H A 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()
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()
132 TEST_error("encoded length %ld of %s > input length %ld", in test_certs()
138 TEST_error("encoded cert content does not match input"); in test_certs()
[all …]
H A Dcmp_ctx_test.c373 TEST_error("did not get default value"); \
377 TEST_error("setting first value failed"); \
393 TEST_error("first set did not dup the value"); \
398 TEST_error("first set had no effect"); \
404 TEST_error("setting second value failed"); \
412 TEST_error("second set reset the value"); \
442 TEST_error("third set reset the value"); \
447 TEST_error("third get gave different value"); \
652 TEST_error("pushing first value failed"); \
676 TEST_error("pushting second value failed"); \
[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()
158 TEST_error("Error parsing test options\n"); in setup_tests()
H A 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()
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 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 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.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()
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 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()
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 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()
H A 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()
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 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 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()
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()
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()
H A 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()
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()
H A 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()
H A 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()
H A 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()
H A Dx509_dup_cert_test.c43 TEST_error("Error parsing test options\n"); in setup_tests()

1234