Home
last modified time | relevance | path

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

12345

/netbsd-src/crypto/external/bsd/openssl/dist/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_init"); in test_kdf_hkdf()
[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()
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 …]
H A 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"); \
398 TEST_error("first set had no effect"); \
404 TEST_error("setting second value failed"); \
412 TEST_error("second set reset the value"); \
417 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()
158 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 Dsslbuffertest.c66 TEST_error("Test %d failed: Create SSL objects failed\n", test); in test_func()
71 TEST_error("Test %d failed: Create SSL connection failed\n", test); in test_func()
109 TEST_error("Test %d failed: Failed to write app data\n", test); in test_func()
142 TEST_error("Test %d failed: Failed to read app data\n", test); in test_func()
254 TEST_error("Invalid test index"); in test_free_buffers()
329 TEST_error("Error parsing test options\n"); in setup_tests()
340 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 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 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 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 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 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 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 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()
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/
H A Dpkey_meth_kdf_test.c27 TEST_error("EVP_PKEY_derive_init"); in test_kdf_tls1_prf()
31 TEST_error("EVP_PKEY_CTX_set_tls1_prf_md"); in test_kdf_tls1_prf()
35 TEST_error("EVP_PKEY_CTX_set1_tls1_prf_secret"); in test_kdf_tls1_prf()
39 TEST_error("EVP_PKEY_CTX_add1_tls1_prf_seed"); in test_kdf_tls1_prf()
43 TEST_error("EVP_PKEY_derive"); in test_kdf_tls1_prf()
68 TEST_error("EVP_PKEY_derive_init"); in test_kdf_hkdf()
72 TEST_error("EVP_PKEY_CTX_set_hkdf_md"); in test_kdf_hkdf()
76 TEST_error("EVP_PKEY_CTX_set1_hkdf_salt"); in test_kdf_hkdf()
80 TEST_error("EVP_PKEY_CTX_set1_hkdf_key"); in test_kdf_hkdf()
84 TEST_error("EVP_PKEY_CTX_set1_hkdf_info"); in test_kdf_hkdf()
[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()
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 …]
H A Ddsa_no_digest_size_test.c158 TEST_error("Failed to get signature length, len=%d", len); in sign_and_verify()
166 TEST_error("Failed to sign, len=%d", len); in sign_and_verify()
176 TEST_error("EVP verify with unpadded length %d failed\n", len); in sign_and_verify()
182 TEST_error("EVP verify with length %d failed\n", len); in sign_and_verify()
188 TEST_error("Verification with unpadded data failed, len=%d", len); in sign_and_verify()
193 TEST_error("verify with length %d failed\n", len); in sign_and_verify()
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()
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()
171 TEST_error("Failed to create SSL_CTX pair\n"); in setup_tests()
H A Dtls13secretstest.c234 TEST_error("Failed to get hash"); in test_secret()
240 TEST_error("Secret generation failed"); in test_secret()
248 TEST_error("Key generation failed"); in test_secret()
256 TEST_error("IV generation failed"); in test_secret()
H A Dasn1_encode_test.c749 TEST_error("Failed custom encode round trip %u of %s", in test_intern()
755 TEST_error("Custom encode round trip %u of %s mismatch", in test_intern()
772 TEST_error("Failed custom decode round trip %u of %s", in test_intern()
778 TEST_error("Custom decode round trip %u of %s mismatch", in test_intern()
800 TEST_error("Failed encode/decode round trip %u of %s", in test_intern()
806 TEST_error("Encode/decode round trip %u of %s mismatch", in test_intern()
819 TEST_error("Printing of %s failed", package->name); in test_intern()
H A Dpkey_meth_test.c36 TEST_error("EVP_PKEY_ASN1_METHOD table out of order"); in test_asn1_meths()
68 TEST_error("EVP_PKEY_METHOD table out of order"); in test_pkey_meths()
H A Ddanetest.c164 TEST_error("input too long"); in read_to_eol()
166 TEST_error("EOF before newline"); in read_to_eol()
321 TEST_error("Malformed line for test %d", testno); in test_tlsafile()
417 TEST_error("Usage error: danetest basedomain CAfile tlsafile"); in setup_tests()

12345