Home
last modified time | relevance | path

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

12345

/src/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()
41 TEST_error("EVP_PKEY_CTX_set1_tls1_prf_secret"); in test_kdf_tls1_prf()
48 TEST_error("EVP_PKEY_CTX_add1_tls1_prf_seed"); in test_kdf_tls1_prf()
55 TEST_error("EVP_PKEY_CTX_add1_tls1_prf_seed"); in test_kdf_tls1_prf()
61 TEST_error("EVP_PKEY_CTX_add1_tls1_prf_seed"); in test_kdf_tls1_prf()
66 TEST_error("EVP_PKEY_derive"); in test_kdf_tls1_prf()
93 TEST_error("EVP_PKEY_HKDF"); in test_kdf_hkdf()
97 TEST_error("EVP_PKEY_derive_init"); 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.c379TEST_error("setter did not return error on ctx == NULL"); \
386TEST_error("getter did not return error on ctx == NULL"); \
393TEST_error("did not get default value"); \
397TEST_error("setting first value failed"); \
408TEST_error("set/get first value did not match"); \
413TEST_error("first set did not dup the value"); \
418TEST_error("first set had no effect"); \
424TEST_error("setting second value failed"); \
432TEST_error("second set reset the value"); \
437TEST_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.c162 TEST_error("Failed to get signature length, len=%d", len); in sign_and_verify()
170 TEST_error("Failed to sign, len=%d", len); in sign_and_verify()
180 TEST_error("EVP verify with unpadded length %d failed\n", len); in sign_and_verify()
186 TEST_error("EVP verify with length %d failed\n", len); in sign_and_verify()
192 TEST_error("Verification with unpadded data failed, len=%d", len); in sign_and_verify()
197 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()
131 TEST_error("Test %d failed: Failed to write app data\n", test); in test_func()
161 TEST_error("Test %d failed: Failed to read app data\n", test); in test_func()
273 TEST_error("Invalid test index"); in test_free_buffers()
348 TEST_error("Error parsing test options\n"); in setup_tests()
359 TEST_error("Failed to create SSL_CTX pair\n"); in setup_tests()
H A Dalgorithmid_test.c196 TEST_error("Couldn't open '%s' for reading\n", pubkey_filename); in test_spki_file()
202 TEST_error("'%s' doesn't appear to be a SubjectPublicKeyInfo in PEM format\n", in test_spki_file()
222 TEST_error("Couldn't open '%s' for reading\n", eecert_filename); in test_x509_files()
227 TEST_error("Couldn't open '%s' for reading\n", cacert_filename); in test_x509_files()
233 TEST_error("'%s' doesn't appear to be a X.509 certificate in PEM format\n", in test_x509_files()
239 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.c204 TEST_error("out of memory"); in test_bio_base64_run()
212 TEST_error("out of memory"); in test_bio_base64_run()
222 TEST_error("out of memory"); in test_bio_base64_run()
273 TEST_error("Unexpectedly long decode output"); in test_bio_base64_run()
291 TEST_error("Final read result was non-negative"); in test_bio_base64_run()
295 TEST_error("Failed to decode expected data"); in test_bio_base64_run()
395 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 Ddefltfips_test.c77 TEST_error("Error parsing test options\n"); in setup_tests()
101 TEST_error("Invalid argument\n"); 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 Dpkey_meth_test.c38 TEST_error("EVP_PKEY_ASN1_METHOD table out of order"); in test_asn1_meths()
70 TEST_error("EVP_PKEY_METHOD table out of order"); in test_pkey_meths()
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 Ddanetest.c161 TEST_error("input too long"); in read_to_eol()
163 TEST_error("EOF before newline"); in read_to_eol()
319 TEST_error("Malformed line for test %d", testno); in test_tlsafile()
413 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 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 Dparams_test.c624 TEST_error("unexpected OSSL_PARAM_allocate_from_text() return for %s \"%s\"", in check_int_from_text()
632 TEST_error("unexpected zero size for %s \"%s\"", in check_int_from_text()
640 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()
685 TEST_error("unexpected OSSL_PARAM_allocate_from_text() %s for 'octets' \"%s\"", in check_octetstr_from_hexstr()
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 Dx509_acert_test.c158 TEST_error("Error parsing test options\n"); in setup_tests()
164 TEST_error("Must specify at least 1 attribute certificate file\n"); in setup_tests()
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()
551 TEST_error("Error parsing test options\n"); in OPT_TEST_DECLARE_USAGE()
561 TEST_error("usage: ssl_test %s", USAGE); in OPT_TEST_DECLARE_USAGE()
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()
/src/crypto/openssl/test/testutil/
H A Dcompare.c44 TEST_error("Failed writing new file data"); in compare_with_reference_file()
55 TEST_error("Failed reading mem data"); in compare_with_reference_file()
67 TEST_error("Actual and ref line data length mismatch"); in compare_with_reference_file()
/src/crypto/openssl/test/radix/
H A Dterp.c322 TEST_error("script generation failed: %s (at %s:%d)", in GEN_SCRIPT_init()
454 TEST_error("unsupported opcode while printing: %llu", in SRDR_print_one()
511 TEST_error("%s: script '%s' (%s)", in SCRIPT_INFO_print()
695 TEST_error("timed out while executing op %zu", op_num); in TERP_execute()
703 TEST_error("pre-operation processing failed at op %zu", op_num); in TERP_execute()
770 TEST_error("op %zu (FUNC %s) failed with return value %d", in TERP_execute()
777 TEST_error("unknown opcode: %llu", (unsigned long long)opc); in TERP_execute()
790 TEST_error("FAILED while executing script: %s at op %zu, error stack:", in TERP_execute()
838 TEST_error("stack not empty: %zu bytes left", in TERP_run()

12345