Home
last modified time | relevance | path

Searched refs:TEST_int_le (Results 1 – 25 of 30) sorted by last modified time

12

/freebsd/crypto/openssl/test/
H A Dtls13ccstest.c357 if (!TEST_int_le(SSL_connect(cssl), 0)) in test_tls13ccs()
H A Dtestutil.h432 # define TEST_int_le(a, b) test_int_le(__FILE__, __LINE__, #a, #b, a, b) macro
H A Dssl_test.c96 if (!TEST_int_le(result->client_num_fatal_alerts_sent, 1)) in check_alerts()
98 if (!TEST_int_le(result->server_num_fatal_alerts_sent, 1)) in check_alerts()
H A Dsslapitest.c2431 || !TEST_int_le(SSL_read(cssl, NULL, 0), 0) in post_handshake_verify()
2432 || !TEST_int_le(SSL_read(sssl, NULL, 0), 0) in post_handshake_verify()
4486 if (!TEST_int_le(SSL_accept(serverssl), 0) in test_early_data_not_expected()
6264 if (!TEST_int_le(SSL_export_keying_material(clientssl, ckeymat1, in test_export_key_mat()
6279 if (!TEST_int_le(SSL_export_keying_material(clientssl, ckeymat1, in test_export_key_mat()
6991 if (!TEST_int_le(SSL_connect(con), 0)) { in test_max_fragment_len_ext()
9672 if (!TEST_int_le(SSL_connect(clientssl), 0) in test_dh_auto()
9673 || !TEST_int_le(SSL_accept(serverssl), 0)) in test_dh_auto()
H A Dtest_test.c41 || !TEST(1, TEST_int_le(4, 9)) in test_int()
42 || !TEST(1, TEST_int_le(5, 5)) in test_int()
43 || !TEST(0, TEST_int_le(9, 4)) in test_int()
462 && TEST_int_le(5, i++) in test_single_eval()
H A Drecordlentest.c139 if (!TEST_int_le(SSL_accept(serverssl), 0)) in test_record_overflow()
H A Drsa_test.c310 if (!TEST_int_le(num, 0)) in test_rsa_oaep()
319 if (!TEST_int_le(num, 0)) in test_rsa_oaep()
369 if (!TEST_ptr(key) || !TEST_int_le(bytes, (int)sizeof(num))) in test_rsa_security_bit()
H A Dservername_test.c132 if (!TEST_int_le(SSL_connect(con), 0)) in client_setup_sni_before_state()
185 if (!TEST_int_le(SSL_connect(con), 0)) in client_setup_sni_after_state()
H A Dsiphash_internal_test.c188 if (!TEST_int_le(inlen, sizeof(in))) in test_siphash()
H A Drand_test.c32 || !TEST_int_le(RAND_priv_bytes(outbuf, sizeof(outbuf) + 1), 0) in test_rand()
H A Drdrand_sanitytest.c69 if (!TEST_int_le(zero_words, max_zero_words)) in sanity_check_bytes()
H A Digetest.c157 if (!TEST_int_le(v->length, MAX_VECTOR_SIZE)) in test_ige_vectors()
198 if (!TEST_int_le(v->length, MAX_VECTOR_SIZE)) in test_bi_ige_vectors()
H A Dfatalerrtest.c67 if (!TEST_int_le(len = SSL_read(sssl, buf, sizeof(buf) - 1), 0)) { in test_fatalerr()
72 if (!TEST_int_le(SSL_write(sssl, msg, strlen(msg)), 0)) in test_fatalerr()
H A Dffc_internal_test.c650 if (!TEST_int_le(BN_num_bits(priv), 225)) in ffc_private_gen_test()
H A Devp_pkey_provided_test.c1122 || !TEST_int_le(EVP_PKEY_private_check(ctx2), 0) in test_fromdata_ecx()
1123 || !TEST_int_le(EVP_PKEY_check(ctx2), 0)) in test_fromdata_ecx()
1135 || !TEST_int_le(EVP_PKEY_public_check(ctx2), 0)) in test_fromdata_ecx()
1697 || !TEST_int_le(EVP_PKEY_check(ctx), 0) in test_check_dsa()
1698 || !TEST_int_le(EVP_PKEY_public_check(ctx), 0) in test_check_dsa()
1699 || !TEST_int_le(EVP_PKEY_private_check(ctx), 0) in test_check_dsa()
1700 || !TEST_int_le(EVP_PKEY_pairwise_check(ctx), 0)) in test_check_dsa()
H A Ddhtest.c293 if (!TEST_int_le(ossl_dh_compute_key(buf, pub, dh), 0)) in dh_computekey_range_test()
297 || !TEST_int_le(ossl_dh_compute_key(buf, pub, dh), 0)) in dh_computekey_range_test()
301 || !TEST_int_le(ossl_dh_compute_key(buf, pub, dh), 0)) in dh_computekey_range_test()
H A Ddsatest.c374 if (!TEST_int_le(DSA_size(dsa), sizeof(signature))) in test_dsa_sig_infinite_loop()
H A Ddtlstest.c445 if (!TEST_int_le(ret = SSL_accept(serverssl), 0)) in test_just_finished()
503 if (!TEST_int_le(SSL_connect(cssl), 0)) in test_swap_records()
507 if (!TEST_int_le(SSL_accept(sssl), 0)) in test_swap_records()
511 if (!TEST_int_le(SSL_connect(cssl), 0)) in test_swap_records()
H A Decdsatest.c48 || !TEST_int_le(BN_num_bytes(tmp), num) in fbytes()
252 || !TEST_int_le(sig_len, ECDSA_size(eckey)) in test_builtin()
H A Dectest.c1570 if (!TEST_int_le(EC_GROUP_check_named_curve(group, 0, NULL), 0)) in check_named_curve_test()
1639 if (!TEST_int_le(EC_GROUP_check_named_curve(gtest, 0, NULL), 0)) in check_named_curve_test()
1647 if (!TEST_int_le(EC_GROUP_check_named_curve(gtest, 0, NULL), 0)) in check_named_curve_test()
1655 if (!TEST_int_le(EC_GROUP_check_named_curve(gtest, 0, NULL), 0)) in check_named_curve_test()
2278 if (!TEST_int_le(EC_KEY_set_public_key_affine_coordinates(key, x, y), 0)) in check_ec_key_field_public_range_test()
2886 || !TEST_int_le(sslen, t) in custom_params_test()
2936 || !TEST_int_le(sslen, t) in custom_params_test()
H A Denginetest.c292 || !TEST_int_le(EVP_PKEY_set1_engine(pkey, e), 0)) in test_redirect()
304 if (!TEST_int_le(EVP_PKEY_encrypt_init(ctx), 0)) in test_redirect()
H A Devp_extra_test.c1182 || !TEST_int_le(EVP_PKEY_sign(ctx, sig, &shortsig_len, tbs, in test_EVP_PKEY_sign()
1257 || !TEST_int_le(EVP_PKEY_sign(ctx, sig, &shortsig_len, tbs, in test_EVP_PKEY_sign_with_app_method()
H A Devp_extra_test2.c354 && TEST_int_le(BN_num_bits(privkey), 225); in test_dh_tofrom_data_select()
H A Devp_pkey_dparams_test.c293 && TEST_int_le(EVP_PKEY_set1_encoded_public_key(in_key, in set_enc_pubkey_test()
/freebsd/crypto/openssl/test/helpers/
H A Dhandshake.c810 if (!TEST_int_le(ret, peer->bytes_to_read)) { in do_app_data_step()

12