Home
last modified time | relevance | path

Searched refs:TEST_int_gt (Results 1 – 24 of 24) sorted by relevance

/third_party/openssl/test/
Dbio_memleak_test.c59 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()
Denginetest.c267 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()
Ddanetest.c395 || !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()
Dconf_include_test.c76 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()
Ddtls_mtu_test.c174 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()
Dectest.c206 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 …]
Dx509_dup_cert_test.c40 if (!TEST_int_gt(n, 0)) { in setup_tests()
Duitest.c84 if (TEST_int_gt(password_callback(pass, sizeof(pass), 0, &cb_data), 0) in test_new_ui()
Devp_extra_test.c1238 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()
Dfatalerrtest.c63 if (!TEST_int_gt(BIO_write(wbio, dummyrec, sizeof(dummyrec)), 0)) in test_fatalerr()
Dcmsapitest.c26 if (!TEST_int_gt(sk_X509_push(certstack, cert), 0)) in test_encrypt_decrypt()
Dtest_test.c44 | !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()
Dec_internal_test.c242 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()
Dssl_test.c477 || !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()
Drsa_test.c259 if (!TEST_int_gt(num, 0) || !TEST_mem_eq(ptext, num, ptext_ex, plen)) in test_rsa_simple()
Dbio_enc_test.c47 if (!TEST_int_gt(RAND_bytes(inp, DATA_SIZE), 0)) in do_bio_cipher()
Dhandshake_helper.c361 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()
Dssl_test_ctx_test.c248 if (!TEST_int_gt(NCONF_load(conf, test_get_argument(0), NULL), 0)) { in setup_tests()
Dverify_extra_test.c35 if (TEST_int_gt(BIO_read_filename(bio, file), 0)) in load_cert_pem()
Dtls13ccstest.c347 if (!TEST_int_gt(SSL_connect(cssl), 0)) in test_tls13ccs()
Dsslapitest.c362 || !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 …]
Dbad_dtls_test.c534 if (!TEST_int_gt(ret, 0) in test_bad_dtls()
Dtestutil.h295 # define TEST_int_gt(a, b) test_int_gt(__FILE__, __LINE__, #a, #b, a, b) macro
/third_party/openssl/test/testutil/
Dstanza.c48 } 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()