/third_party/openssl/test/ |
D | bio_memleak_test.c | 59 if (!TEST_int_gt(BIO_set_close(bio, BIO_NOCLOSE), 0)) in test_bio_get_mem() 87 if (!TEST_int_gt(BIO_get_mem_ptr(bio, &bufmem), 0)) in test_bio_new_mem_buf() 95 if (!TEST_int_gt(BIO_reset(bio), 0)) in test_bio_new_mem_buf() 122 if (!TEST_int_gt(BIO_get_mem_ptr(bio, &bufmem), 0)) in test_bio_rdonly_mem_buf() 136 if (!TEST_int_gt(BIO_reset(bio2), 0)) in test_bio_rdonly_mem_buf() 167 if (!TEST_int_gt(BIO_reset(bio), 0)) in test_bio_rdwr_rdonly() 204 if (!TEST_int_gt(BIO_reset(bio), 0)) in test_bio_nonclear_rst() 213 if (!TEST_int_gt(BIO_reset(bio), 0)) in test_bio_nonclear_rst()
|
D | enginetest.c | 267 if (!TEST_int_gt(EVP_PKEY_encrypt_init(ctx), 0) in test_redirect() 268 || !TEST_int_gt(EVP_PKEY_encrypt(ctx, tmp, &len, pt, sizeof(pt)), 0) in test_redirect() 310 if (!TEST_int_gt(EVP_PKEY_encrypt_init(ctx), 0) in test_redirect() 311 || !TEST_int_gt(EVP_PKEY_encrypt(ctx, tmp, &len, pt, sizeof(pt)), 0) in test_redirect() 321 || !TEST_int_gt(EVP_PKEY_encrypt_init(ctx), 0) in test_redirect() 322 || !TEST_int_gt(EVP_PKEY_encrypt(ctx, tmp, &len, pt, sizeof(pt)), 0) in test_redirect() 337 || !TEST_int_gt(EVP_PKEY_encrypt_init(ctx), 0) in test_redirect() 338 || !TEST_int_gt(EVP_PKEY_encrypt(ctx, tmp, &len, pt, sizeof(pt)), 0) in test_redirect()
|
D | danetest.c | 395 || !TEST_int_gt(SSL_CTX_dane_enable(ctx), 0) in run_tlsatest() 397 || !TEST_int_gt(SSL_CTX_dane_mtype_set(ctx, EVP_sha512(), 2, 1), in run_tlsatest() 399 || !TEST_int_gt(SSL_CTX_dane_mtype_set(ctx, EVP_sha256(), 1, 2), in run_tlsatest() 401 || !TEST_int_gt(test_tlsafile(ctx, basedomain, f, tlsafile), 0)) in run_tlsatest()
|
D | conf_include_test.c | 76 if (!TEST_int_gt(NCONF_load_bio(conf, in, &errline), 0) in test_load_config() 88 if (!TEST_int_gt(CONF_modules_load(conf, NULL, 0), 0)) { in test_load_config()
|
D | dtls_mtu_test.c | 174 if (!TEST_int_gt(ret = mtu_test(ctx, cipher_name, 0), 0)) in run_mtu_tests() 181 if (!TEST_int_gt(ret = mtu_test(ctx, cipher_name, 1), 0)) in run_mtu_tests()
|
D | ectest.c | 206 if (!TEST_int_gt(EC_POINT_is_on_curve(group, Q, ctx), 0)) { in prime_field_tests() 307 || !TEST_int_gt(EC_POINT_is_on_curve(group, P, ctx), 0) in prime_field_tests() 338 || !TEST_int_gt(EC_POINT_is_on_curve(group, P, ctx), 0) in prime_field_tests() 377 || !TEST_int_gt(EC_POINT_is_on_curve(group, P, ctx), 0) in prime_field_tests() 417 || !TEST_int_gt(EC_POINT_is_on_curve(group, P, ctx), 0) in prime_field_tests() 461 || !TEST_int_gt(EC_POINT_is_on_curve(group, P, ctx), 0) in prime_field_tests() 513 || !TEST_int_gt(EC_POINT_is_on_curve(group, P, ctx), 0) in prime_field_tests() 552 || !TEST_int_gt(EC_POINT_is_on_curve(group, P, ctx), 0) in prime_field_tests() 849 || !TEST_int_gt(EC_POINT_is_on_curve(group, P, ctx), 0) in char2_curve_test() 869 || !TEST_int_gt(EC_POINT_is_on_curve(group, P, ctx), 0) in char2_curve_test() [all …]
|
D | x509_dup_cert_test.c | 40 if (!TEST_int_gt(n, 0)) { in setup_tests()
|
D | uitest.c | 84 if (TEST_int_gt(password_callback(pass, sizeof(pass), 0, &cb_data), 0) in test_new_ui()
|
D | evp_extra_test.c | 1238 if (!TEST_int_gt(EVP_PKEY_CTX_set1_id(pctx, (const uint8_t *)id, in test_EVP_SM2_verify() 1322 if (!TEST_int_gt(EVP_PKEY_CTX_set1_id(sctx, sm2_id, sizeof(sm2_id)), 0)) in test_EVP_SM2() 1610 if (!TEST_int_gt(EVP_PKEY_derive_init(pctx), 0) in test_HKDF() 1611 || !TEST_int_gt(EVP_PKEY_CTX_set_hkdf_md(pctx, EVP_sha256()), 0) in test_HKDF() 1612 || !TEST_int_gt(EVP_PKEY_CTX_set1_hkdf_salt(pctx, salt, in test_HKDF() 1614 || !TEST_int_gt(EVP_PKEY_CTX_set1_hkdf_key(pctx, key, in test_HKDF() 1616 || !TEST_int_gt(EVP_PKEY_CTX_add1_hkdf_info(pctx, info, in test_HKDF() 1618 || !TEST_int_gt(EVP_PKEY_derive(pctx, out, &outlen), 0) in test_HKDF()
|
D | fatalerrtest.c | 63 if (!TEST_int_gt(BIO_write(wbio, dummyrec, sizeof(dummyrec)), 0)) in test_fatalerr()
|
D | cmsapitest.c | 26 if (!TEST_int_gt(sk_X509_push(certstack, cert), 0)) in test_encrypt_decrypt()
|
D | test_test.c | 44 | !TEST(1, TEST_int_gt(8, 5)) in test_int() 45 | !TEST(0, TEST_int_gt(5, 8)) in test_int() 461 && TEST_int_gt(++i, 5) in test_single_eval()
|
D | ec_internal_test.c | 242 if (!TEST_int_gt(encodedlen = i2d_ECPKParameters(grp, &encodedparams), 0) in decoded_flag_test() 263 if (!TEST_int_gt(encodedlen = i2d_ECPKParameters(grp, &encodedparams), 0) in decoded_flag_test()
|
D | ssl_test.c | 477 || !TEST_int_gt(CONF_modules_load(conf, test_app, 0), 0)) in test_handshake() 518 || !TEST_int_gt(NCONF_load(conf, test_get_argument(0), NULL), 0) in setup_tests()
|
D | rsa_test.c | 259 if (!TEST_int_gt(num, 0) || !TEST_mem_eq(ptext, num, ptext_ex, plen)) in test_rsa_simple()
|
D | bio_enc_test.c | 47 if (!TEST_int_gt(RAND_bytes(inp, DATA_SIZE), 0)) in do_bio_cipher()
|
D | handshake_helper.c | 361 if (!TEST_int_gt(i - 1, prefix)) in parse_protos() 368 if (!TEST_int_gt(len, prefix)) in parse_protos() 1531 if (!TEST_int_gt(BIO_up_ref(server_to_client), 0) in do_handshake_internal() 1532 || !TEST_int_gt(BIO_up_ref(client_to_server), 0)) in do_handshake_internal()
|
D | ssl_test_ctx_test.c | 248 if (!TEST_int_gt(NCONF_load(conf, test_get_argument(0), NULL), 0)) { in setup_tests()
|
D | verify_extra_test.c | 35 if (TEST_int_gt(BIO_read_filename(bio, file), 0)) in load_cert_pem()
|
D | tls13ccstest.c | 347 if (!TEST_int_gt(SSL_connect(cssl), 0)) in test_tls13ccs()
|
D | sslapitest.c | 362 || !TEST_int_gt(client_log_buffer_index, 0) in test_keylog() 363 || !TEST_int_gt(server_log_buffer_index, 0)) in test_keylog() 2435 if (!TEST_int_gt(SSL_connect(clientssl), 0) in test_early_data_read_write() 2436 || !TEST_int_gt(SSL_accept(serverssl), 0)) in test_early_data_read_write() 2581 || !TEST_int_gt(SSL_connect(clientssl), 0) in test_early_data_replay_int() 3198 || !TEST_int_gt(SSL_connect(clientssl), 0) in test_early_data_not_expected() 3201 || !TEST_int_gt(SSL_accept(serverssl), 0) in test_early_data_not_expected() 5187 if (!TEST_int_gt(SSL_CTX_set_srp_username_callback(sctx, ssl_srp_cb), 0) in test_srp() 5191 || !TEST_int_gt(SSL_CTX_set_srp_username(cctx, userid), 0)) in test_srp() 5195 if (!TEST_int_gt(SSL_CTX_set_srp_password(cctx, "badpass"), 0)) in test_srp() [all …]
|
D | bad_dtls_test.c | 534 if (!TEST_int_gt(ret, 0) in test_bad_dtls()
|
D | testutil.h | 295 # define TEST_int_gt(a, b) test_int_gt(__FILE__, __LINE__, #a, #b, a, b) macro
|
/third_party/openssl/test/testutil/ |
D | stanza.c | 48 } else if (!TEST_int_gt(BIO_reset(s->key), 0)) { in read_key() 55 if (!TEST_int_gt(BIO_puts(s->key, tmpbuf), 0)) in read_key()
|