Symbol: TEST_true
crypto/openssl/test/acvp_test.c
1032
|| !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, enc))
crypto/openssl/test/acvp_test.c
1049
if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, enc))
crypto/openssl/test/acvp_test.c
1050
|| !TEST_true(EVP_CIPHER_CTX_set_padding(ctx, 0))
crypto/openssl/test/acvp_test.c
1051
|| !TEST_true(EVP_CipherUpdate(ctx, NULL, &len, aad, aad_len))
crypto/openssl/test/acvp_test.c
1052
|| !TEST_true(EVP_CipherUpdate(ctx, out, &len, pt, pt_len)))
crypto/openssl/test/acvp_test.c
1088
if (!TEST_true(EVP_CIPHER_CTX_get_params(ctx, params)))
crypto/openssl/test/acvp_test.c
1173
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PUB_KEY,
crypto/openssl/test/acvp_test.c
1180
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PRIV_KEY,
crypto/openssl/test/acvp_test.c
1217
|| !TEST_true(EVP_PKEY_CTX_set_params(ctx, params))
crypto/openssl/test/acvp_test.c
1219
|| !TEST_true(pkey_get_bn_bytes(pkey, OSSL_PKEY_PARAM_PRIV_KEY,
crypto/openssl/test/acvp_test.c
1221
|| !TEST_true(pkey_get_bn_bytes(pkey, OSSL_PKEY_PARAM_PUB_KEY,
crypto/openssl/test/acvp_test.c
1245
|| !TEST_true(dh_create_pkey(&pkey, tst->group_name,
crypto/openssl/test/acvp_test.c
1276
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_N, n_bn)))
crypto/openssl/test/acvp_test.c
1282
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_E,
crypto/openssl/test/acvp_test.c
1289
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_D,
crypto/openssl/test/acvp_test.c
1333
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_TEST_XP1,
crypto/openssl/test/acvp_test.c
1335
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_TEST_XP2,
crypto/openssl/test/acvp_test.c
1337
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_TEST_XP,
crypto/openssl/test/acvp_test.c
1339
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_TEST_XQ1,
crypto/openssl/test/acvp_test.c
1341
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_TEST_XQ2,
crypto/openssl/test/acvp_test.c
1343
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_TEST_XQ,
crypto/openssl/test/acvp_test.c
1355
|| !TEST_true(pkey_get_bn_bytes(pkey, OSSL_PKEY_PARAM_RSA_TEST_P1,
crypto/openssl/test/acvp_test.c
1357
|| !TEST_true(pkey_get_bn_bytes(pkey, OSSL_PKEY_PARAM_RSA_TEST_P2,
crypto/openssl/test/acvp_test.c
1359
|| !TEST_true(pkey_get_bn_bytes(pkey, OSSL_PKEY_PARAM_RSA_TEST_Q1,
crypto/openssl/test/acvp_test.c
1361
|| !TEST_true(pkey_get_bn_bytes(pkey, OSSL_PKEY_PARAM_RSA_TEST_Q2,
crypto/openssl/test/acvp_test.c
1363
|| !TEST_true(pkey_get_bn_bytes(pkey, OSSL_PKEY_PARAM_RSA_FACTOR1,
crypto/openssl/test/acvp_test.c
1365
|| !TEST_true(pkey_get_bn_bytes(pkey, OSSL_PKEY_PARAM_RSA_FACTOR2,
crypto/openssl/test/acvp_test.c
1367
|| !TEST_true(pkey_get_bn_bytes(pkey, OSSL_PKEY_PARAM_RSA_N,
crypto/openssl/test/acvp_test.c
1369
|| !TEST_true(pkey_get_bn_bytes(pkey, OSSL_PKEY_PARAM_RSA_D,
crypto/openssl/test/acvp_test.c
137
if (!TEST_true(EVP_PKEY_CTX_get_params(pkey_ctx, params))
crypto/openssl/test/acvp_test.c
1442
|| !TEST_true(pkey_get_bn_bytes(pkey, OSSL_PKEY_PARAM_RSA_N, &n, &n_len))
crypto/openssl/test/acvp_test.c
1443
|| !TEST_true(pkey_get_bn_bytes(pkey, OSSL_PKEY_PARAM_RSA_E, &e, &e_len))
crypto/openssl/test/acvp_test.c
1444
|| !TEST_true(sig_gen(pkey, params, tst->digest_alg,
crypto/openssl/test/acvp_test.c
1485
|| !TEST_true(rsa_create_pkey(&pkey, tst->n, tst->n_len,
crypto/openssl/test/acvp_test.c
1488
|| !TEST_true(EVP_DigestVerifyInit_ex(md_ctx, &pkey_ctx,
crypto/openssl/test/acvp_test.c
1492
|| !TEST_true(EVP_PKEY_CTX_set_params(pkey_ctx, params))
crypto/openssl/test/acvp_test.c
1497
|| !TEST_true(EVP_PKEY_verify_init(pkey_ctx))
crypto/openssl/test/acvp_test.c
1522
|| !TEST_true(pkey_get_bn_bytes(pkey, OSSL_PKEY_PARAM_RSA_N, &n, &n_len))
crypto/openssl/test/acvp_test.c
1523
|| !TEST_true(pkey_get_bn_bytes(pkey, OSSL_PKEY_PARAM_RSA_E, &e, &e_len))
crypto/openssl/test/acvp_test.c
157
|| !TEST_true(pkey_get_bn_bytes(pkey, OSSL_PKEY_PARAM_PRIV_KEY, &priv,
crypto/openssl/test/acvp_test.c
159
|| !TEST_true(pkey_get_bn_bytes(pkey, OSSL_PKEY_PARAM_EC_PUB_X, &pubx,
crypto/openssl/test/acvp_test.c
1597
if (!TEST_true(EVP_RAND_CTX_set_params(parent, params)))
crypto/openssl/test/acvp_test.c
161
|| !TEST_true(pkey_get_bn_bytes(pkey, OSSL_PKEY_PARAM_EC_PUB_Y, &puby,
crypto/openssl/test/acvp_test.c
1611
if (!TEST_true(EVP_RAND_CTX_set_params(ctx, params)))
crypto/openssl/test/acvp_test.c
1622
if (!TEST_true(EVP_RAND_CTX_set_params(parent, params)))
crypto/openssl/test/acvp_test.c
1630
if (!TEST_true(EVP_RAND_instantiate(ctx, 0, 0, (void *)"", 0, NULL))
crypto/openssl/test/acvp_test.c
1631
|| !TEST_true(EVP_RAND_generate(ctx, returned_bits, returned_bits_len,
crypto/openssl/test/acvp_test.c
1633
|| !TEST_true(EVP_RAND_generate(ctx, returned_bits, returned_bits_len,
crypto/openssl/test/acvp_test.c
1640
if (!TEST_true(EVP_RAND_uninstantiate(ctx))
crypto/openssl/test/acvp_test.c
1641
|| !TEST_true(EVP_RAND_uninstantiate(parent)))
crypto/openssl/test/acvp_test.c
190
&& !TEST_true(OSSL_PARAM_BLD_push_utf8_string(
crypto/openssl/test/acvp_test.c
193
|| !TEST_true(OSSL_PARAM_BLD_push_octet_string(bld,
crypto/openssl/test/acvp_test.c
221
if (!TEST_true(ecdsa_create_pkey(&pkey, tst->curve_name,
crypto/openssl/test/acvp_test.c
291
if (!TEST_true(sig_gen(pkey, NULL, tst->digest_alg, tst->msg, tst->msg_len,
crypto/openssl/test/acvp_test.c
293
|| !TEST_true(get_ecdsa_sig_rs_bytes(sig, sig_len, &r, &s, &rlen, &slen)))
crypto/openssl/test/acvp_test.c
318
if (!TEST_true(ecdsa_create_pkey(&pkey, tst->curve_name,
crypto/openssl/test/acvp_test.c
325
|| !TEST_true(ECDSA_SIG_set0(sign, rbn, sbn)))
crypto/openssl/test/acvp_test.c
331
|| !TEST_true(EVP_DigestVerifyInit_ex(md_ctx, NULL, tst->digest_alg,
crypto/openssl/test/acvp_test.c
339
|| !TEST_true(EVP_PKEY_verify_init(pkey_ctx))
crypto/openssl/test/acvp_test.c
453
|| !TEST_true(OSSL_PARAM_BLD_push_octet_string(bld,
crypto/openssl/test/acvp_test.c
480
if (!TEST_true(eddsa_create_pkey(&pkey, tst->curve_name,
crypto/openssl/test/acvp_test.c
506
|| !TEST_true(pkey_get_octet_bytes(pkey, OSSL_PKEY_PARAM_PRIV_KEY,
crypto/openssl/test/acvp_test.c
508
|| !TEST_true(pkey_get_octet_bytes(pkey, OSSL_PKEY_PARAM_PUB_KEY, &pub,
crypto/openssl/test/acvp_test.c
535
|| !TEST_true(EVP_PKEY_CTX_set_dsa_paramgen_bits(paramgen_ctx, L))
crypto/openssl/test/acvp_test.c
536
|| !TEST_true(EVP_PKEY_CTX_set_dsa_paramgen_q_bits(paramgen_ctx, N))
crypto/openssl/test/acvp_test.c
537
|| !TEST_true(EVP_PKEY_paramgen(paramgen_ctx, &param_key)))
crypto/openssl/test/acvp_test.c
578
|| !TEST_true(pkey_get_bn_bytes(key, OSSL_PKEY_PARAM_PRIV_KEY,
crypto/openssl/test/acvp_test.c
580
|| !TEST_true(pkey_get_bn_bytes(key, OSSL_PKEY_PARAM_PUB_KEY,
crypto/openssl/test/acvp_test.c
613
|| !TEST_true(EVP_PKEY_CTX_set_dsa_paramgen_bits(paramgen_ctx, tst->L))
crypto/openssl/test/acvp_test.c
614
|| !TEST_true(EVP_PKEY_CTX_set_dsa_paramgen_q_bits(paramgen_ctx,
crypto/openssl/test/acvp_test.c
622
if (!TEST_true(EVP_PKEY_paramgen(paramgen_ctx, &param_key))
crypto/openssl/test/acvp_test.c
623
|| !TEST_true(pkey_get_bn_bytes(param_key, OSSL_PKEY_PARAM_FFC_P,
crypto/openssl/test/acvp_test.c
625
|| !TEST_true(pkey_get_bn_bytes(param_key, OSSL_PKEY_PARAM_FFC_Q,
crypto/openssl/test/acvp_test.c
627
|| !TEST_true(pkey_get_octet_bytes(param_key,
crypto/openssl/test/acvp_test.c
630
|| !TEST_true(EVP_PKEY_get_int_param(param_key,
crypto/openssl/test/acvp_test.c
668
|| !TEST_true(OSSL_PARAM_BLD_push_int(bld,
crypto/openssl/test/acvp_test.c
671
|| !TEST_true(OSSL_PARAM_BLD_push_int(bld,
crypto/openssl/test/acvp_test.c
674
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_P, p_bn))
crypto/openssl/test/acvp_test.c
677
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_Q, q_bn)))
crypto/openssl/test/acvp_test.c
683
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld,
crypto/openssl/test/acvp_test.c
688
if (!TEST_true(OSSL_PARAM_BLD_push_octet_string(bld,
crypto/openssl/test/acvp_test.c
693
if (!TEST_true(OSSL_PARAM_BLD_push_int(bld,
crypto/openssl/test/acvp_test.c
701
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld,
crypto/openssl/test/acvp_test.c
731
|| !TEST_true(dsa_create_pkey(&param_key, tst->p, tst->p_len,
crypto/openssl/test/acvp_test.c
805
if (!TEST_true(sig_gen(pkey, NULL, tst->digest_alg, tst->msg, tst->msg_len,
crypto/openssl/test/acvp_test.c
807
|| !TEST_true(get_dsa_sig_rs_bytes(sig, sig_len, &r, &s, &rlen, &slen)))
crypto/openssl/test/acvp_test.c
837
|| !TEST_true(dsa_create_pkey(&pkey, tst->p, tst->p_len,
crypto/openssl/test/acvp_test.c
846
|| !TEST_true(DSA_SIG_set0(sign, rbn, sbn)))
crypto/openssl/test/acvp_test.c
851
|| !TEST_true(EVP_Digest(tst->msg, tst->msg_len,
crypto/openssl/test/acvp_test.c
891
|| !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, enc))
crypto/openssl/test/acvp_test.c
892
|| !TEST_true(EVP_CIPHER_CTX_set_padding(ctx, 0))
crypto/openssl/test/acvp_test.c
893
|| !TEST_true(EVP_CipherUpdate(ctx, out, &len, pt, pt_len))
crypto/openssl/test/acvp_test.c
894
|| !TEST_true(EVP_CipherFinal_ex(ctx, out + len, &out_len)))
crypto/openssl/test/acvp_test.c
911
return TEST_true(cipher_enc(tst->alg, tst->pt, tst->pt_len,
crypto/openssl/test/acvp_test.c
915
&& TEST_true(cipher_enc(tst->alg, tst->ct, tst->ct_len,
crypto/openssl/test/acvp_test.c
941
|| !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, enc))
crypto/openssl/test/acvp_test.c
948
|| !TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, enc))
crypto/openssl/test/acvp_test.c
949
|| !TEST_true(EVP_CIPHER_CTX_set_padding(ctx, 0))
crypto/openssl/test/acvp_test.c
950
|| !TEST_true(EVP_CipherUpdate(ctx, NULL, &len, NULL, pt_len))
crypto/openssl/test/acvp_test.c
951
|| !TEST_true(EVP_CipherUpdate(ctx, NULL, &len, aad, aad_len))
crypto/openssl/test/acvp_test.c
959
if (!TEST_true(EVP_CipherFinal_ex(ctx, out + len, &out_len)))
crypto/openssl/test/aesgcmtest.c
122
&& TEST_true(EVP_EncryptInit_ex(ctx, cipher, NULL, NULL, NULL))
crypto/openssl/test/aesgcmtest.c
48
&& TEST_true(EVP_EncryptInit_ex(ctx, EVP_aes_256_gcm(), NULL, NULL,
crypto/openssl/test/aesgcmtest.c
51
&& TEST_true(EVP_EncryptInit_ex(ctx, NULL, NULL, gcm_key,
crypto/openssl/test/aesgcmtest.c
54
&& TEST_true(EVP_EncryptUpdate(ctx, NULL, &outlen, gcm_aad,
crypto/openssl/test/aesgcmtest.c
57
&& TEST_true(EVP_EncryptUpdate(ctx, ct, ct_len, gcm_pt,
crypto/openssl/test/aesgcmtest.c
60
&& TEST_true(EVP_EncryptFinal_ex(ctx, outbuf, &outlen) > 0)
crypto/openssl/test/aesgcmtest.c
62
&& TEST_true(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, 16,
crypto/openssl/test/aesgcmtest.c
65
&& TEST_true(iv_gen == NULL
crypto/openssl/test/aesgcmtest.c
81
&& TEST_true(EVP_DecryptInit_ex(ctx, EVP_aes_256_gcm(), NULL,
crypto/openssl/test/aesgcmtest.c
84
&& TEST_true(EVP_DecryptInit_ex(ctx, NULL, NULL, gcm_key, iv) > 0)
crypto/openssl/test/aesgcmtest.c
86
&& TEST_true(EVP_DecryptUpdate(ctx, NULL, &outlen, gcm_aad,
crypto/openssl/test/aesgcmtest.c
89
&& TEST_true(EVP_DecryptUpdate(ctx, pt, &ptlen, ct,
crypto/openssl/test/aesgcmtest.c
92
&& TEST_true(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG,
crypto/openssl/test/aesgcmtest.c
95
&& TEST_true(EVP_DecryptFinal_ex(ctx, outbuf, &outlen) > 0)
crypto/openssl/test/afalgtest.c
112
if (!TEST_true(ENGINE_init(e)))
crypto/openssl/test/afalgtest.c
118
TEST_true(ret);
crypto/openssl/test/afalgtest.c
79
if (!TEST_true(EVP_CipherInit_ex(ctx, cipher, e, key, iv, 1))
crypto/openssl/test/afalgtest.c
80
|| !TEST_true(EVP_CipherUpdate(ctx, ebuf, &encl, in, BUFFER_SIZE))
crypto/openssl/test/afalgtest.c
81
|| !TEST_true(EVP_CipherFinal_ex(ctx, ebuf + encl, &encf)))
crypto/openssl/test/afalgtest.c
88
if (!TEST_true(EVP_CIPHER_CTX_reset(ctx))
crypto/openssl/test/afalgtest.c
89
|| !TEST_true(EVP_CipherInit_ex(ctx, cipher, e, key, iv, 0))
crypto/openssl/test/afalgtest.c
90
|| !TEST_true(EVP_CipherUpdate(ctx, dbuf, &decl, ebuf, encl))
crypto/openssl/test/afalgtest.c
91
|| !TEST_true(EVP_CipherFinal_ex(ctx, dbuf + decl, &decf)))
crypto/openssl/test/algorithmid_test.c
137
|| !TEST_true(OBJ_find_sigid_algs(sig_nid, &dig_nid, &pkey_nid))
crypto/openssl/test/algorithmid_test.c
141
if (!TEST_true(EVP_PKEY_is_a(pkey, OBJ_nid2sn(pkey_nid)))) {
crypto/openssl/test/algorithmid_test.c
154
|| !TEST_true(EVP_DigestVerifyInit_ex(mdctx, &pctx,
crypto/openssl/test/algorithmid_test.c
173
if (!TEST_true(EVP_PKEY_CTX_get_params(pctx, params)))
crypto/openssl/test/algorithmid_test.c
43
if (!TEST_true(X509_PUBKEY_get0_param(NULL, NULL, NULL, &alg, pubkey))
crypto/openssl/test/algorithmid_test.c
70
if (!TEST_true(EVP_KEYMGMT_is_a(keymgmt, name))) {
crypto/openssl/test/algorithmid_test.c
89
if (!TEST_true(evp_keymgmt_get_params(keymgmt, keydata, params)))
crypto/openssl/test/asn1_internal_test.c
135
|| !TEST_true(RSA_set0_key(rsa, n, e, NULL)))
crypto/openssl/test/asn1_internal_test.c
242
if (!TEST_true(test_obj_create_once(NULL, sn_prefix "1", NULL))
crypto/openssl/test/asn1_internal_test.c
244
|| !TEST_true(test_obj_create_once(NULL, NULL, ln_prefix "2"))
crypto/openssl/test/asn1_internal_test.c
246
|| !TEST_true(test_obj_create_once(NULL, sn_prefix "3", ln_prefix "3"))
crypto/openssl/test/asn1_internal_test.c
249
|| !TEST_true(test_obj_create_once(arc "4", NULL, NULL))
crypto/openssl/test/asn1_internal_test.c
250
|| !TEST_true(test_obj_create_once(arc "5", sn_prefix "5", NULL))
crypto/openssl/test/asn1_internal_test.c
252
|| !TEST_true(test_obj_create_once(arc "6", NULL, ln_prefix "6"))
crypto/openssl/test/asn1_internal_test.c
254
|| !TEST_true(test_obj_create_once(arc "7",
crypto/openssl/test/asn1_internal_test.c
95
if (!TEST_true(((*tmp)->pem_str == NULL && ((*tmp)->pkey_flags & ASN1_PKEY_ALIAS) != 0)
crypto/openssl/test/asn1_string_table_test.c
30
if (!TEST_true(ret)) {
crypto/openssl/test/asn1_string_table_test.c
36
if (!TEST_true(ret)) {
crypto/openssl/test/asn1_time_test.c
642
if (!TEST_true(ASN1_TIME_diff(&day, &sec, &atime, &atime))) {
crypto/openssl/test/asn1_time_test.c
651
if (!TEST_true(ASN1_TIME_diff(&day, &sec, &gtime, &atime))) {
crypto/openssl/test/asn1_time_test.c
654
} else if (!((td->cmp_result == 0 && TEST_true((day == 0 && sec == 0))) || (td->cmp_result == -1 && TEST_true((day < 0 || sec < 0))) || (td->cmp_result == 1 && TEST_true((day > 0 || sec > 0))))) {
crypto/openssl/test/asn1_time_test.c
703
if (!TEST_true(ASN1_TIME_diff(&day, &sec, ptime, &atime)) || !TEST_int_eq(day, 0) || !TEST_int_eq(sec, 0)) {
crypto/openssl/test/asn1_time_test.c
727
if (!TEST_true(ASN1_TIME_diff(&day, &sec, ptime, &atime)) || !TEST_int_eq(day, 0) || !TEST_int_eq(sec, 0)) {
crypto/openssl/test/asynciotest.c
299
if (!TEST_true(create_ssl_ctx_pair(NULL, TLS_server_method(),
crypto/openssl/test/asynciotest.c
324
if (!TEST_true(create_ssl_objects(serverctx, clientctx, &serverssl,
crypto/openssl/test/asynciotest.c
326
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/bad_dtls_test.c
384
|| !TEST_true(EVP_CipherInit_ex(enc_ctx, EVP_aes_128_cbc(), NULL,
crypto/openssl/test/bad_dtls_test.c
547
|| !TEST_true(EVP_DigestInit_ex(handshake_md, EVP_md5_sha1(),
crypto/openssl/test/bad_dtls_test.c
553
|| !TEST_true(SSL_CTX_set_min_proto_version(ctx, DTLS1_BAD_VER))
crypto/openssl/test/bad_dtls_test.c
554
|| !TEST_true(SSL_CTX_set_max_proto_version(ctx, DTLS1_BAD_VER))
crypto/openssl/test/bad_dtls_test.c
555
|| !TEST_true(SSL_CTX_set_options(ctx,
crypto/openssl/test/bad_dtls_test.c
557
|| !TEST_true(SSL_CTX_set_cipher_list(ctx, "AES128-SHA")))
crypto/openssl/test/bad_dtls_test.c
563
|| !TEST_true(SSL_set_session(con, sess)))
crypto/openssl/test/bad_dtls_test.c
575
if (!TEST_true(BIO_up_ref(rbio))) {
crypto/openssl/test/bad_dtls_test.c
584
if (!TEST_true(BIO_up_ref(wbio))) {
crypto/openssl/test/bad_dtls_test.c
596
|| !TEST_true(send_hello_verify(rbio)))
crypto/openssl/test/bad_dtls_test.c
603
|| !TEST_true(send_server_hello(rbio)))
crypto/openssl/test/bad_dtls_test.c
609
|| !TEST_true(send_finished(con, rbio)))
crypto/openssl/test/bad_dtls_test.c
614
|| !TEST_true(validate_ccs(wbio)))
crypto/openssl/test/bad_dtls_test.c
625
if (!TEST_true(send_record(rbio, SSL3_RT_APPLICATION_DATA, tests[i].seq,
crypto/openssl/test/bad_dtls_test.c
641
if (!TEST_true(recv_buf[0] == tests[i].seq))
crypto/openssl/test/bio_addr_test.c
149
if (!TEST_true(BIO_ADDR_copy(dst, src)))
crypto/openssl/test/bio_addr_test.c
157
if (!TEST_true(bio_addr_is_eq(src, dst)))
crypto/openssl/test/bio_addr_test.c
73
if (!TEST_true(BIO_ADDR_rawmake(addr, family, where, wherelen, 1000))) {
crypto/openssl/test/bio_comp_test.c
115
if (!TEST_true(do_bio_comp_test(meth, size)))
crypto/openssl/test/bio_comp_test.c
56
|| !TEST_true(BIO_flush(bcomp)))
crypto/openssl/test/bio_core_test.c
91
|| !TEST_true(BIO_eof(cbio))
crypto/openssl/test/bio_dgram_test.c
277
if (!TEST_true(do_sendmmsg(b1, tx_msg, 2, 0, &num_processed))
crypto/openssl/test/bio_dgram_test.c
328
if (!TEST_true(do_recvmmsg(b2, rx_msg, 2, 0, &num_processed))
crypto/openssl/test/bio_dgram_test.c
359
if (!TEST_true(do_sendmmsg(b1, tx_msg, 2, 0, &num_processed))
crypto/openssl/test/bio_dgram_test.c
367
if (!TEST_true(do_recvmmsg(b2, rx_msg, 2, 0, &num_processed))
crypto/openssl/test/bio_dgram_test.c
392
if (!TEST_true(do_sendmmsg(b1, tx_msg, OSSL_NELEM(tx_msg), 0, &num_processed))
crypto/openssl/test/bio_dgram_test.c
408
if (!TEST_true(do_recvmmsg(b2, rx_msg, OSSL_NELEM(rx_msg), 0, &num_processed))
crypto/openssl/test/bio_dgram_test.c
537
if (!TEST_true(BIO_set_write_buf_size(bio1, bufsz)))
crypto/openssl/test/bio_dgram_test.c
610
if (!TEST_true(BIO_sendmmsg(bio1, msgs, sizeof(BIO_MSG), OSSL_NELEM(msgs), 0,
crypto/openssl/test/bio_dgram_test.c
619
if (!TEST_true(BIO_recvmmsg(bio2, rmsgs, sizeof(BIO_MSG), OSSL_NELEM(rmsgs), 0,
crypto/openssl/test/bio_dgram_test.c
681
if (!TEST_true(BIO_sendmmsg(bio1, msgs, sizeof(BIO_MSG), 1, 0, &num_processed))
crypto/openssl/test/bio_dgram_test.c
693
if (!TEST_true(BIO_recvmmsg(bio2, rmsgs, sizeof(BIO_MSG), OSSL_NELEM(rmsgs), 0,
crypto/openssl/test/bio_dgram_test.c
717
if (!TEST_true(BIO_sendmmsg(bio1, msgs, sizeof(BIO_MSG), 1, 0, &num_processed))
crypto/openssl/test/bio_dgram_test.c
723
if (!TEST_true(BIO_recvmmsg(bio2, rmsgs, sizeof(BIO_MSG), OSSL_NELEM(rmsgs), 0, &num_processed))
crypto/openssl/test/bio_enc_test.c
109
if (!TEST_true(BIO_set_cipher(b, cipher, key, iv, ENCRYPT))) {
crypto/openssl/test/bio_enc_test.c
135
if (!TEST_true(BIO_set_cipher(b, cipher, key, iv, DECRYPT)))
crypto/openssl/test/bio_enc_test.c
165
if (!TEST_true(BIO_set_cipher(b, cipher, key, iv, DECRYPT))) {
crypto/openssl/test/bio_enc_test.c
197
if (!TEST_true(BIO_set_cipher(b, cipher, key, iv, DECRYPT))) {
crypto/openssl/test/bio_enc_test.c
291
|| !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, KEY, IV, ENCRYPT))
crypto/openssl/test/bio_enc_test.c
310
|| !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, KEY, IV, DECRYPT))
crypto/openssl/test/bio_enc_test.c
315
|| !TEST_true(BIO_get_cipher_status(cbio))
crypto/openssl/test/bio_enc_test.c
317
|| (!TEST_int_gt(BIO_flush(cbio), 0) + !TEST_true(BIO_get_cipher_status(cbio)))
crypto/openssl/test/bio_enc_test.c
56
if (!TEST_true(BIO_set_cipher(b, cipher, key, iv, ENCRYPT)))
crypto/openssl/test/bio_enc_test.c
70
if (!TEST_true(BIO_set_cipher(b, cipher, key, iv, ENCRYPT))) {
crypto/openssl/test/bio_memleak_test.c
259
if (!TEST_true(PKCS7_set_type(p7, NID_pkcs7_data)))
crypto/openssl/test/bio_readbuffer_test.c
60
if (!TEST_true(BIO_eof(in_bio)))
crypto/openssl/test/bio_readbuffer_test.c
66
if (!TEST_true(buf[len] == 0))
crypto/openssl/test/bio_readbuffer_test.c
71
&& !TEST_true(buf[len - 1] == '\n'))
crypto/openssl/test/bio_tfo_test.c
162
if (!TEST_true(BIO_write_ex(cbio, SOCKET_DATA, SOCKET_DATA_LEN, &bytes))) {
crypto/openssl/test/bio_tfo_test.c
182
|| !TEST_true(BIO_read_ex(sbio, read_buffer, sizeof(read_buffer), &bytes))
crypto/openssl/test/bio_tfo_test.c
275
|| !TEST_true(BIO_ADDR_rawmake(baddr, ai->ai_family, addr, addrlen, port)))
crypto/openssl/test/bio_tfo_test.c
281
|| !TEST_true(BIO_listen(afd, baddr, server_flags)))
crypto/openssl/test/bio_tfo_test.c
306
if (!TEST_true(BIO_ADDR_rawmake(baddr, sstorage.ss_family, addr, addrlen, port)))
crypto/openssl/test/bio_tfo_test.c
85
|| !TEST_true(BIO_set_accept_ip_family(abio, BIO_FAMILY_IPV4))
crypto/openssl/test/bio_tfo_test.c
87
|| !TEST_true(BIO_set_nbio_accept(abio, 1))
crypto/openssl/test/bio_tfo_test.c
88
|| !TEST_true(BIO_set_tfo_accept(abio, server_tfo))
crypto/openssl/test/bioprinttest.c
232
r = TEST_true(dofptest(i, t++, 0.0, pwp->w, pwp->p))
crypto/openssl/test/bioprinttest.c
233
&& TEST_true(dofptest(i, t++, 0.67, pwp->w, pwp->p))
crypto/openssl/test/bioprinttest.c
234
&& TEST_true(dofptest(i, t++, frac, pwp->w, pwp->p))
crypto/openssl/test/bioprinttest.c
235
&& TEST_true(dofptest(i, t++, frac / 1000, pwp->w, pwp->p))
crypto/openssl/test/bioprinttest.c
236
&& TEST_true(dofptest(i, t++, frac / 10000, pwp->w, pwp->p))
crypto/openssl/test/bioprinttest.c
237
&& TEST_true(dofptest(i, t++, 6.0 + frac, pwp->w, pwp->p))
crypto/openssl/test/bioprinttest.c
238
&& TEST_true(dofptest(i, t++, 66.0 + frac, pwp->w, pwp->p))
crypto/openssl/test/bioprinttest.c
239
&& TEST_true(dofptest(i, t++, 666.0 + frac, pwp->w, pwp->p))
crypto/openssl/test/bioprinttest.c
240
&& TEST_true(dofptest(i, t++, 6666.0 + frac, pwp->w, pwp->p))
crypto/openssl/test/bioprinttest.c
241
&& TEST_true(dofptest(i, t++, 66666.0 + frac, pwp->w, pwp->p))
crypto/openssl/test/bioprinttest.c
242
&& TEST_true(dofptest(i, t++, -66666.0 - frac, pwp->w, pwp->p));
crypto/openssl/test/bn_internal_test.c
35
&& TEST_true(BN_set_word(bn, 11))
crypto/openssl/test/bn_internal_test.c
37
&& TEST_true(ossl_bn_miller_rabin_is_prime(bn, 10, ctx, NULL, 1,
crypto/openssl/test/bn_internal_test.c
56
&& TEST_true(BN_set_word(bn, composites[id]))
crypto/openssl/test/bn_internal_test.c
57
&& TEST_true(ossl_bn_miller_rabin_is_prime(bn, 10, ctx, NULL, 1,
crypto/openssl/test/bn_internal_test.c
73
if (!(TEST_ptr(b = BN_new()) && TEST_true(BN_set_word(b, 3))))
crypto/openssl/test/bntest.c
1008
if (!(TEST_true(BN_GF2m_arr2poly(p0, b[0]))
crypto/openssl/test/bntest.c
1009
&& TEST_true(BN_GF2m_arr2poly(p1, b[1]))))
crypto/openssl/test/bntest.c
1013
if (!(TEST_true(BN_bntest_rand(a, 512, 0, 0))
crypto/openssl/test/bntest.c
1014
&& TEST_true(BN_bntest_rand(c, 512, 0, 0))
crypto/openssl/test/bntest.c
1015
&& TEST_true(BN_bntest_rand(d, 512, 0, 0))))
crypto/openssl/test/bntest.c
1018
if (!(TEST_true(BN_GF2m_mod_exp(e, a, c, b[j], ctx))
crypto/openssl/test/bntest.c
1019
&& TEST_true(BN_GF2m_mod_exp(f, a, d, b[j], ctx))
crypto/openssl/test/bntest.c
1020
&& TEST_true(BN_GF2m_mod_mul(e, e, f, b[j], ctx))
crypto/openssl/test/bntest.c
1021
&& TEST_true(BN_add(f, c, d))
crypto/openssl/test/bntest.c
1022
&& TEST_true(BN_GF2m_mod_exp(f, a, f, b[j], ctx))
crypto/openssl/test/bntest.c
1023
&& TEST_true(BN_GF2m_add(f, e, f))
crypto/openssl/test/bntest.c
1056
if (!(TEST_true(BN_GF2m_arr2poly(p0, b[0]))
crypto/openssl/test/bntest.c
1057
&& TEST_true(BN_GF2m_arr2poly(p1, b[1]))))
crypto/openssl/test/bntest.c
1061
if (!TEST_true(BN_bntest_rand(a, 512, 0, 0)))
crypto/openssl/test/bntest.c
1065
if (!(TEST_true(BN_GF2m_mod(c, a, b[j]))
crypto/openssl/test/bntest.c
1066
&& TEST_true(BN_GF2m_mod_sqrt(d, a, b[j], ctx))
crypto/openssl/test/bntest.c
1067
&& TEST_true(BN_GF2m_mod_sqr(e, d, b[j], ctx))
crypto/openssl/test/bntest.c
1068
&& TEST_true(BN_GF2m_add(f, c, e))
crypto/openssl/test/bntest.c
1100
if (!(TEST_true(BN_GF2m_arr2poly(p0, b[0]))
crypto/openssl/test/bntest.c
1101
&& TEST_true(BN_GF2m_arr2poly(p1, b[1]))))
crypto/openssl/test/bntest.c
1105
if (!TEST_true(BN_bntest_rand(a, 512, 0, 0)))
crypto/openssl/test/bntest.c
1111
if (!(TEST_true(BN_GF2m_mod_sqr(d, c, b[j], ctx))
crypto/openssl/test/bntest.c
1112
&& TEST_true(BN_GF2m_add(d, c, d))
crypto/openssl/test/bntest.c
1113
&& TEST_true(BN_GF2m_mod(e, a, b[j]))
crypto/openssl/test/bntest.c
1114
&& TEST_true(BN_GF2m_add(e, e, d))
crypto/openssl/test/bntest.c
1161
if (!TEST_true(BN_generate_prime_ex(b, 512, 0, NULL, NULL, NULL)))
crypto/openssl/test/bntest.c
1166
if (!TEST_true(BN_bntest_rand(a, 512, 0, 0)))
crypto/openssl/test/bntest.c
1171
if (!TEST_true(BN_copy(t, b)))
crypto/openssl/test/bntest.c
1174
if (!TEST_true(BN_sub_word(t, 1)))
crypto/openssl/test/bntest.c
1176
if (!TEST_true(BN_rshift1(t, t)))
crypto/openssl/test/bntest.c
1181
if (!TEST_true(BN_mod_exp_recp(r, a, t, b, ctx)))
crypto/openssl/test/bntest.c
1190
if (!TEST_true(BN_add_word(r, 1)))
crypto/openssl/test/bntest.c
1230
if (!TEST_true(BN_add(ret, a, b))
crypto/openssl/test/bntest.c
1232
|| !TEST_true(BN_sub(ret, sum, a))
crypto/openssl/test/bntest.c
1234
|| !TEST_true(BN_sub(ret, sum, b))
crypto/openssl/test/bntest.c
1243
if (!TEST_true(BN_copy(ret, a))
crypto/openssl/test/bntest.c
1244
|| !TEST_true(BN_add(ret, ret, b))
crypto/openssl/test/bntest.c
1246
|| !TEST_true(BN_copy(ret, b))
crypto/openssl/test/bntest.c
1247
|| !TEST_true(BN_add(ret, a, ret))
crypto/openssl/test/bntest.c
1249
|| !TEST_true(BN_copy(ret, sum))
crypto/openssl/test/bntest.c
1250
|| !TEST_true(BN_sub(ret, ret, a))
crypto/openssl/test/bntest.c
1252
|| !TEST_true(BN_copy(ret, a))
crypto/openssl/test/bntest.c
1253
|| !TEST_true(BN_sub(ret, sum, ret))
crypto/openssl/test/bntest.c
1255
|| !TEST_true(BN_copy(ret, sum))
crypto/openssl/test/bntest.c
1256
|| !TEST_true(BN_sub(ret, ret, b))
crypto/openssl/test/bntest.c
1258
|| !TEST_true(BN_copy(ret, b))
crypto/openssl/test/bntest.c
1259
|| !TEST_true(BN_sub(ret, sum, ret))
crypto/openssl/test/bntest.c
1270
if (!TEST_true(BN_uadd(ret, a, b))
crypto/openssl/test/bntest.c
1272
|| !TEST_true(BN_usub(ret, sum, a))
crypto/openssl/test/bntest.c
1274
|| !TEST_true(BN_usub(ret, sum, b))
crypto/openssl/test/bntest.c
1283
if (!TEST_true(BN_copy(ret, a))
crypto/openssl/test/bntest.c
1284
|| !TEST_true(BN_uadd(ret, ret, b))
crypto/openssl/test/bntest.c
1286
|| !TEST_true(BN_copy(ret, b))
crypto/openssl/test/bntest.c
1287
|| !TEST_true(BN_uadd(ret, a, ret))
crypto/openssl/test/bntest.c
1289
|| !TEST_true(BN_copy(ret, sum))
crypto/openssl/test/bntest.c
1290
|| !TEST_true(BN_usub(ret, ret, a))
crypto/openssl/test/bntest.c
1292
|| !TEST_true(BN_copy(ret, a))
crypto/openssl/test/bntest.c
1293
|| !TEST_true(BN_usub(ret, sum, ret))
crypto/openssl/test/bntest.c
1295
|| !TEST_true(BN_copy(ret, sum))
crypto/openssl/test/bntest.c
1296
|| !TEST_true(BN_usub(ret, ret, b))
crypto/openssl/test/bntest.c
1298
|| !TEST_true(BN_copy(ret, b))
crypto/openssl/test/bntest.c
1299
|| !TEST_true(BN_usub(ret, sum, ret))
crypto/openssl/test/bntest.c
1309
if (!TEST_true(BN_copy(ret, a))
crypto/openssl/test/bntest.c
1310
|| !TEST_true(BN_add_word(ret, b_word))
crypto/openssl/test/bntest.c
1312
|| !TEST_true(BN_copy(ret, sum))
crypto/openssl/test/bntest.c
1313
|| !TEST_true(BN_sub_word(ret, b_word))
crypto/openssl/test/bntest.c
1343
if (!TEST_true(BN_set_word(two, 2))
crypto/openssl/test/bntest.c
1344
|| !TEST_true(BN_add(ret, a, a))
crypto/openssl/test/bntest.c
1346
|| !TEST_true(BN_mul(ret, a, two, ctx))
crypto/openssl/test/bntest.c
1348
|| !TEST_true(BN_div(ret, remainder, lshift1, two, ctx))
crypto/openssl/test/bntest.c
1351
|| !TEST_true(BN_lshift1(ret, a))
crypto/openssl/test/bntest.c
1353
|| !TEST_true(BN_rshift1(ret, lshift1))
crypto/openssl/test/bntest.c
1355
|| !TEST_true(BN_rshift1(ret, lshift1))
crypto/openssl/test/bntest.c
1360
if (!TEST_true(BN_set_bit(lshift1, 0))
crypto/openssl/test/bntest.c
1361
|| !TEST_true(BN_div(ret, NULL /* rem */, lshift1, two, ctx))
crypto/openssl/test/bntest.c
1363
|| !TEST_true(BN_rshift1(ret, lshift1))
crypto/openssl/test/bntest.c
1390
if (!TEST_true(BN_lshift(ret, a, n))
crypto/openssl/test/bntest.c
1392
|| !TEST_true(BN_rshift(ret, lshift, n))
crypto/openssl/test/bntest.c
1415
if (!TEST_true(BN_rshift(ret, a, n))
crypto/openssl/test/bntest.c
1421
if (!TEST_true(BN_rshift1(ret, a))
crypto/openssl/test/bntest.c
1448
if (!TEST_true(BN_sqr(ret, a, ctx))
crypto/openssl/test/bntest.c
1450
|| !TEST_true(BN_mul(ret, a, a, ctx))
crypto/openssl/test/bntest.c
1452
|| !TEST_true(BN_div(ret, remainder, square, a, ctx))
crypto/openssl/test/bntest.c
1459
if (!TEST_true(BN_sqrt(ret, square, ctx))
crypto/openssl/test/bntest.c
1466
|| !TEST_true(BN_copy(tmp, square)))
crypto/openssl/test/bntest.c
1510
if (!TEST_true(BN_mul(ret, a, b, ctx))
crypto/openssl/test/bntest.c
1512
|| !TEST_true(BN_div(ret, remainder, product, a, ctx))
crypto/openssl/test/bntest.c
1515
|| !TEST_true(BN_div(ret, remainder, product, b, ctx))
crypto/openssl/test/bntest.c
1547
if (!TEST_true(BN_div(ret, ret2, a, b, ctx))
crypto/openssl/test/bntest.c
1550
|| !TEST_true(BN_mul(ret, quotient, b, ctx))
crypto/openssl/test/bntest.c
1551
|| !TEST_true(BN_add(ret, ret, remainder))
crypto/openssl/test/bntest.c
1595
if (!TEST_true(BN_copy(nnmod, remainder))
crypto/openssl/test/bntest.c
1597
&& !TEST_true(BN_add(nnmod, nnmod, b)))
crypto/openssl/test/bntest.c
1598
|| !TEST_true(BN_nnmod(ret, a, b, ctx))
crypto/openssl/test/bntest.c
162
if (!(TEST_true(BN_bntest_rand(a, 1024, 1, 0))
crypto/openssl/test/bntest.c
1627
if (!TEST_true(BN_mod_mul(ret, a, b, m, ctx))
crypto/openssl/test/bntest.c
163
&& TEST_true(BN_bntest_rand(b, 1024, 1, 0))
crypto/openssl/test/bntest.c
1638
|| !TEST_true(BN_MONT_CTX_set(mont, m, ctx))
crypto/openssl/test/bntest.c
1639
|| !TEST_true(BN_nnmod(a_tmp, a, m, ctx))
crypto/openssl/test/bntest.c
1640
|| !TEST_true(BN_nnmod(b_tmp, b, m, ctx))
crypto/openssl/test/bntest.c
1641
|| !TEST_true(BN_to_montgomery(a_tmp, a_tmp, mont, ctx))
crypto/openssl/test/bntest.c
1642
|| !TEST_true(BN_to_montgomery(b_tmp, b_tmp, mont, ctx))
crypto/openssl/test/bntest.c
1643
|| !TEST_true(BN_mod_mul_montgomery(ret, a_tmp, b_tmp,
crypto/openssl/test/bntest.c
1645
|| !TEST_true(BN_from_montgomery(ret, ret, mont, ctx))
crypto/openssl/test/bntest.c
1678
if (!TEST_true(BN_mod_sqr(ret, a, m, ctx))
crypto/openssl/test/bntest.c
1688
|| !TEST_true(BN_MONT_CTX_set(mont, m, ctx))
crypto/openssl/test/bntest.c
1689
|| !TEST_true(BN_nnmod(a_tmp, a, m, ctx))
crypto/openssl/test/bntest.c
1690
|| !TEST_true(BN_to_montgomery(a_tmp, a_tmp, mont, ctx))
crypto/openssl/test/bntest.c
1691
|| !TEST_true(BN_mod_mul_montgomery(ret, a_tmp, a_tmp,
crypto/openssl/test/bntest.c
1693
|| !TEST_true(BN_from_montgomery(ret, ret, mont, ctx))
crypto/openssl/test/bntest.c
1727
if (!TEST_true(BN_mod_exp(ret, a, e, m, ctx))
crypto/openssl/test/bntest.c
1732
if (!TEST_true(BN_mod_exp_mont(ret, a, e, m, ctx, NULL))
crypto/openssl/test/bntest.c
1734
|| !TEST_true(BN_mod_exp_mont_consttime(ret, a, e, m,
crypto/openssl/test/bntest.c
1750
if (!TEST_true(BN_mod_exp(d, a, b, c, ctx))
crypto/openssl/test/bntest.c
1751
|| !TEST_true(BN_mul(e, a, a, ctx))
crypto/openssl/test/bntest.c
1779
if (!TEST_true(BN_exp(ret, a, e, ctx))
crypto/openssl/test/bntest.c
1815
|| !TEST_true(BN_sub(ret2, p, ret)))
crypto/openssl/test/bntest.c
1844
if (!TEST_true(BN_gcd(ret, a, b, ctx))
crypto/openssl/test/bntest.c
1880
if (!TEST_true(BN_rand(n, bytes * 8, TOP_BIT_ON, BOTTOM_BIT_NOTOUCH)))
crypto/openssl/test/bntest.c
1985
|| !TEST_true(BN_asc2bn(&bn, test->base10)))
crypto/openssl/test/bntest.c
1996
|| !TEST_true(copy_reversed(reversed, scratch, sizeof(scratch)))
crypto/openssl/test/bntest.c
2023
|| !TEST_true(copy_reversed(reversed, scratch, sizeof(scratch)))
crypto/openssl/test/bntest.c
210
|| !TEST_true(BN_get_flags(b, BN_FLG_CONSTTIME))
crypto/openssl/test/bntest.c
218
|| !TEST_true(BN_get_flags(a, BN_FLG_CONSTTIME))
crypto/openssl/test/bntest.c
2189
if (!TEST_true(BN_asc2bn(&bn, "0"))
crypto/openssl/test/bntest.c
2194
if (!TEST_true(BN_asc2bn(&bn, "256"))
crypto/openssl/test/bntest.c
2199
if (!TEST_true(BN_asc2bn(&bn, "-42"))
crypto/openssl/test/bntest.c
2204
if (!TEST_true(BN_asc2bn(&bn, "0x1234"))
crypto/openssl/test/bntest.c
2209
if (!TEST_true(BN_asc2bn(&bn, "0X1234"))
crypto/openssl/test/bntest.c
2214
if (!TEST_true(BN_asc2bn(&bn, "-0xabcd"))
crypto/openssl/test/bntest.c
2219
if (!TEST_true(BN_asc2bn(&bn, "-0"))
crypto/openssl/test/bntest.c
2224
if (!TEST_true(BN_asc2bn(&bn, "123trailing garbage is ignored"))
crypto/openssl/test/bntest.c
2254
|| !TEST_true(BN_asc2bn(&bn, test->base10)))
crypto/openssl/test/bntest.c
226
|| !TEST_true(BN_get_flags(a, BN_FLG_CONSTTIME))
crypto/openssl/test/bntest.c
2290
|| !TEST_true(BN_is_zero(zbn)) \
crypto/openssl/test/bntest.c
2292
|| !TEST_true(BN_is_zero(zbn)) \
crypto/openssl/test/bntest.c
2294
|| !TEST_true(BN_is_zero(zbn))) \
crypto/openssl/test/bntest.c
2318
|| !TEST_true(BN_set_word(bn_expected_be, 0x102))
crypto/openssl/test/bntest.c
2321
|| !TEST_true(BN_set_word(bn_expected_le, 0x201)))
crypto/openssl/test/bntest.c
2327
|| !TEST_true(BN_is_zero(bn_##e)) \
crypto/openssl/test/bntest.c
2358
|| !TEST_true(BN_rand(bn, 1, 0 /* top */, 0 /* bottom */))
crypto/openssl/test/bntest.c
2361
|| !TEST_true(BN_rand(bn, 1, -1 /* top */, 1 /* bottom */))
crypto/openssl/test/bntest.c
2363
|| !TEST_true(BN_rand(bn, 2, 1 /* top */, 0 /* bottom */))
crypto/openssl/test/bntest.c
2410
|| !TEST_true(BN_set_word(rng, range)))
crypto/openssl/test/bntest.c
2413
if (!TEST_true(BN_rand_range(val, rng))
crypto/openssl/test/bntest.c
2466
if (!TEST_true(BN_set_word(a, 1)))
crypto/openssl/test/bntest.c
2470
if (!TEST_true(BN_mul(c, a, b, ctx)))
crypto/openssl/test/bntest.c
2485
if (!TEST_true(BN_set_word(numerator, 1))
crypto/openssl/test/bntest.c
2486
|| !TEST_true(BN_set_word(denominator, 2)))
crypto/openssl/test/bntest.c
2489
if (!TEST_true(BN_div(a, b, numerator, denominator, ctx))
crypto/openssl/test/bntest.c
2495
if (!TEST_true(BN_set_word(denominator, 1))
crypto/openssl/test/bntest.c
2496
|| !TEST_true(BN_div(a, b, numerator, denominator, ctx))
crypto/openssl/test/bntest.c
251
if (!(TEST_true(BN_bntest_rand(a, 512, 0, 0)))
crypto/openssl/test/bntest.c
254
&& TEST_true(BN_add_word(b, i)))
crypto/openssl/test/bntest.c
2562
if (!TEST_true(BN_set_word(b, 16)))
crypto/openssl/test/bntest.c
257
if (!TEST_true(BN_bntest_rand(b, 400 + i - NUM1, 0, 0)))
crypto/openssl/test/bntest.c
2599
if (!TEST_true(BN_mod_exp(r, a, zero, BN_value_one(), NULL))
crypto/openssl/test/bntest.c
2601
|| !TEST_true(BN_mod_exp_mont(r, a, zero, BN_value_one(),
crypto/openssl/test/bntest.c
2604
|| !TEST_true(BN_mod_exp_mont_consttime(r, a, zero,
crypto/openssl/test/bntest.c
2608
|| !TEST_true(BN_mod_exp_mont_word(r, 42, zero,
crypto/openssl/test/bntest.c
262
if (!(TEST_true(BN_sub(c, a, b))
crypto/openssl/test/bntest.c
263
&& TEST_true(BN_add(c, c, b))
crypto/openssl/test/bntest.c
2634
|| !TEST_true(BN_set_word(a, 1))
crypto/openssl/test/bntest.c
2635
|| !TEST_true(BN_set_word(p, 0))
crypto/openssl/test/bntest.c
2636
|| !TEST_true(BN_set_word(m, 1)))
crypto/openssl/test/bntest.c
264
&& TEST_true(BN_sub(c, c, a))
crypto/openssl/test/bntest.c
2641
if (!TEST_true(BN_mod_exp(r, a, p, m, NULL))
crypto/openssl/test/bntest.c
2643
|| !TEST_true(BN_mod_exp_mont(r, a, p, m, NULL, NULL))
crypto/openssl/test/bntest.c
2645
|| !TEST_true(BN_mod_exp_mont_consttime(r, a, p, m, NULL, NULL))
crypto/openssl/test/bntest.c
2647
|| !TEST_true(BN_mod_exp_mont_word(r, 1, p, m, NULL, NULL))
crypto/openssl/test/bntest.c
2649
|| !TEST_true(BN_mod_exp_simple(r, a, p, m, NULL))
crypto/openssl/test/bntest.c
2651
|| !TEST_true(BN_mod_exp_recp(r, a, p, m, NULL))
crypto/openssl/test/bntest.c
2681
if (!TEST_true(BN_generate_prime_ex(r, kBits, 0,
crypto/openssl/test/bntest.c
2706
if (!TEST_true(BN_generate_prime_ex(r, kBits, 1,
crypto/openssl/test/bntest.c
2730
if (!TEST_true(BN_set_word(r, primes[i]))
crypto/openssl/test/bntest.c
2754
if (!TEST_true(BN_set_word(r, not_primes[i]))
crypto/openssl/test/bntest.c
2839
if (!TEST_true(test_ctx_set_ct_flag(c))
crypto/openssl/test/bntest.c
2840
|| !TEST_true(test_ctx_check_ct_flag(c)))
crypto/openssl/test/bntest.c
2858
&& TEST_true(BN_set_word(a, 66))
crypto/openssl/test/bntest.c
2859
&& TEST_true(BN_set_word(b, 99))
crypto/openssl/test/bntest.c
2862
&& TEST_true(BN_set_word(a, 67))
crypto/openssl/test/bntest.c
2880
if (!TEST_true(BN_generate_prime_ex(a, 1024, 0, NULL, NULL, NULL)))
crypto/openssl/test/bntest.c
2883
if (!TEST_true(BN_generate_prime_ex(b, 1024, 0,
crypto/openssl/test/bntest.c
2885
|| !TEST_true(BN_gcd(gcd, a, b, ctx))
crypto/openssl/test/bntest.c
2886
|| !TEST_true(BN_is_one(gcd))
crypto/openssl/test/bntest.c
2887
|| !TEST_true(BN_are_coprime(a, b, ctx)))
crypto/openssl/test/bntest.c
292
if (!(TEST_true(BN_bntest_rand(a, 400, 0, 0))
crypto/openssl/test/bntest.c
294
&& TEST_true(BN_lshift(a, a, i))
crypto/openssl/test/bntest.c
295
&& TEST_true(BN_add_word(a, i))))
crypto/openssl/test/bntest.c
298
if (!(TEST_true(BN_bntest_rand(b, 50 + 3 * (i - NUM1), 0, 0))))
crypto/openssl/test/bntest.c
303
if (!(TEST_true(BN_RECP_CTX_set(recp, b, ctx))
crypto/openssl/test/bntest.c
304
&& TEST_true(BN_div_recp(d, c, a, recp, ctx))
crypto/openssl/test/bntest.c
305
&& TEST_true(BN_mul(e, d, b, ctx))
crypto/openssl/test/bntest.c
306
&& TEST_true(BN_add(d, e, c))
crypto/openssl/test/bntest.c
307
&& TEST_true(BN_sub(d, d, a))
crypto/openssl/test/bntest.c
3100
|| !TEST_true(BN_dec2bn(&base, test->base))
crypto/openssl/test/bntest.c
3101
|| !TEST_true(BN_dec2bn(&exponent, test->exp))
crypto/openssl/test/bntest.c
3102
|| !TEST_true(BN_dec2bn(&modulo, test->mod)))
crypto/openssl/test/bntest.c
3134
|| !TEST_true(BN_dec2bn(&base, test->base))
crypto/openssl/test/bntest.c
3135
|| !TEST_true(BN_dec2bn(&exponent, test->exp))
crypto/openssl/test/bntest.c
3136
|| !TEST_true(BN_dec2bn(&modulo, test->mod)))
crypto/openssl/test/bntest.c
3182
if (!TEST_true(BN_one(exp_a1))
crypto/openssl/test/bntest.c
3183
|| !TEST_true(BN_one(exp_p1))
crypto/openssl/test/bntest.c
3184
|| !TEST_true(BN_one(exp_a2))
crypto/openssl/test/bntest.c
3185
|| !TEST_true(BN_one(exp_p2)))
crypto/openssl/test/bntest.c
3216
if (!TEST_true(BN_dec2bn(&a, "5193817943")))
crypto/openssl/test/bntest.c
3218
if (!TEST_true(BN_dec2bn(&b, "3259122431")))
crypto/openssl/test/bntest.c
3252
if (!TEST_true(BN_dec2bn(&a, "15")))
crypto/openssl/test/bntest.c
3254
if (!TEST_true(BN_dec2bn(&b, "10")))
crypto/openssl/test/bntest.c
3256
if (!TEST_true(BN_dec2bn(&c, "39")))
crypto/openssl/test/bntest.c
356
if (TEST_true(BN_div(a, b, a, b, ctx))
crypto/openssl/test/bntest.c
379
if (TEST_true(BN_div(b, a, a, b, ctx))
crypto/openssl/test/bntest.c
403
if (!(TEST_true(BN_bntest_rand(a, 1024, 0, 0))))
crypto/openssl/test/bntest.c
406
if (!(TEST_true(BN_bntest_rand(b, 450 + i * 10, 0, 0))))
crypto/openssl/test/bntest.c
410
if (!(TEST_true(BN_mod(c, a, b, ctx))
crypto/openssl/test/bntest.c
411
&& TEST_true(BN_div(d, e, a, b, ctx))
crypto/openssl/test/bntest.c
413
&& TEST_true(BN_mul(c, d, b, ctx))
crypto/openssl/test/bntest.c
414
&& TEST_true(BN_add(d, c, e))
crypto/openssl/test/bntest.c
491
if (!(TEST_true(BN_bntest_rand(m, 1024, 0, 1))
crypto/openssl/test/bntest.c
493
&& TEST_true(BN_bntest_rand(a, 1024, 0, 0))))
crypto/openssl/test/bntest.c
497
if (!TEST_true(BN_mod_exp_mont_consttime(d, a, p, m, ctx, NULL)))
crypto/openssl/test/bntest.c
503
if (!(TEST_true(BN_hex2bn(&a,
crypto/openssl/test/bntest.c
508
&& TEST_true(BN_hex2bn(&b,
crypto/openssl/test/bntest.c
513
&& TEST_true(BN_hex2bn(&n,
crypto/openssl/test/bntest.c
520
if (!(TEST_true(BN_MONT_CTX_set(mont, n, ctx))
crypto/openssl/test/bntest.c
521
&& TEST_true(BN_mod_mul_montgomery(c, a, b, mont, ctx))
crypto/openssl/test/bntest.c
522
&& TEST_true(BN_mod_mul_montgomery(d, b, a, mont, ctx))
crypto/openssl/test/bntest.c
527
if (!(TEST_true(parse_bigBN(&n, bn1strings))
crypto/openssl/test/bntest.c
528
&& TEST_true(parse_bigBN(&a, bn2strings))))
crypto/openssl/test/bntest.c
532
&& TEST_true(BN_MONT_CTX_set(mont, n, ctx))
crypto/openssl/test/bntest.c
533
&& TEST_true(BN_mod_mul_montgomery(c, a, a, mont, ctx))
crypto/openssl/test/bntest.c
534
&& TEST_true(BN_mod_mul_montgomery(d, a, b, mont, ctx))
crypto/openssl/test/bntest.c
571
if (!(TEST_true(parse_bigBN(&a, ahex))
crypto/openssl/test/bntest.c
572
&& TEST_true(parse_bigBN(&n, nhex))))
crypto/openssl/test/bntest.c
577
&& TEST_true(BN_MONT_CTX_set(mont, n, ctx))))
crypto/openssl/test/bntest.c
580
if (!TEST_true(BN_mod_mul_montgomery(c, a, a, mont, ctx))
crypto/openssl/test/bntest.c
581
|| !TEST_true(BN_mod_mul_montgomery(d, a, b, mont, ctx))
crypto/openssl/test/bntest.c
586
if (!(TEST_true(BN_hex2bn(&a,
crypto/openssl/test/bntest.c
590
&& TEST_true(BN_hex2bn(&n,
crypto/openssl/test/bntest.c
593
&& TEST_true(BN_MONT_CTX_set(mont, n, ctx))
crypto/openssl/test/bntest.c
598
if (!(TEST_true(BN_hex2bn(&a,
crypto/openssl/test/bntest.c
603
&& TEST_true(BN_hex2bn(&b,
crypto/openssl/test/bntest.c
608
&& TEST_true(BN_hex2bn(&n,
crypto/openssl/test/bntest.c
613
&& TEST_true(BN_MONT_CTX_set(mont, n, ctx))
crypto/openssl/test/bntest.c
614
&& TEST_true(BN_mod_exp_mont_consttime(c, a, b, n, ctx, mont))
crypto/openssl/test/bntest.c
615
&& TEST_true(BN_mod_exp_mont(d, a, b, n, ctx, mont))
crypto/openssl/test/bntest.c
623
if (!(TEST_true(BN_hex2bn(&a,
crypto/openssl/test/bntest.c
628
&& TEST_true(BN_hex2bn(&b,
crypto/openssl/test/bntest.c
633
&& TEST_true(BN_hex2bn(&n,
crypto/openssl/test/bntest.c
638
&& TEST_true(BN_MONT_CTX_set(mont, n, ctx))
crypto/openssl/test/bntest.c
639
&& TEST_true(BN_mod_exp_mont_consttime(c, a, b, n, ctx, mont))))
crypto/openssl/test/bntest.c
684
if (!TEST_true(parse_bigBN(&e, ehex))
crypto/openssl/test/bntest.c
685
|| !TEST_true(parse_bigBN(&p, phex))
crypto/openssl/test/bntest.c
686
|| !TEST_true(parse_bigBN(&m, mhex))
crypto/openssl/test/bntest.c
687
|| !TEST_true(BN_mod_exp_mont_consttime(d, e, p, m, ctx, NULL))
crypto/openssl/test/bntest.c
688
|| !TEST_true(BN_mod_exp_simple(a, e, p, m, ctx))
crypto/openssl/test/bntest.c
694
if (!TEST_true(BN_bntest_rand(p, 1024, 0, 0)))
crypto/openssl/test/bntest.c
697
if (!TEST_true(BN_mod_exp_mont_consttime(d, a, p, m, ctx, NULL))
crypto/openssl/test/bntest.c
706
if (!(TEST_true(BN_one(a))
crypto/openssl/test/bntest.c
707
&& TEST_true(BN_MONT_CTX_set(mont, m, ctx))))
crypto/openssl/test/bntest.c
709
if (!TEST_true(BN_from_montgomery(e, a, mont, ctx))
crypto/openssl/test/bntest.c
710
|| !TEST_true(BN_mod_exp_mont_consttime(d, e, p, m, ctx, NULL))
crypto/openssl/test/bntest.c
711
|| !TEST_true(BN_mod_exp_simple(a, e, p, m, ctx))
crypto/openssl/test/bntest.c
716
if (!(TEST_true(BN_bntest_rand(e, 1024, 0, 0))
crypto/openssl/test/bntest.c
717
&& TEST_true(BN_mod_exp_mont_consttime(d, e, p, m, ctx, NULL))
crypto/openssl/test/bntest.c
718
&& TEST_true(BN_mod_exp_simple(a, e, p, m, ctx))
crypto/openssl/test/bntest.c
749
if (!(TEST_true(BN_rand(a, 512, 0, 0))
crypto/openssl/test/bntest.c
754
if (!(TEST_true(BN_GF2m_add(c, a, b))
crypto/openssl/test/bntest.c
759
if (!(TEST_true(BN_GF2m_add(c, c, c))
crypto/openssl/test/bntest.c
785
if (!(TEST_true(BN_GF2m_arr2poly(p0, b[0]))
crypto/openssl/test/bntest.c
786
&& TEST_true(BN_GF2m_arr2poly(p1, b[1]))))
crypto/openssl/test/bntest.c
790
if (!TEST_true(BN_bntest_rand(a, 1024, 0, 0)))
crypto/openssl/test/bntest.c
793
if (!(TEST_true(BN_GF2m_mod(c, a, b[j]))
crypto/openssl/test/bntest.c
794
&& TEST_true(BN_GF2m_add(d, a, c))
crypto/openssl/test/bntest.c
795
&& TEST_true(BN_GF2m_mod(e, d, b[j]))
crypto/openssl/test/bntest.c
829
if (!(TEST_true(BN_GF2m_arr2poly(p0, b[0]))
crypto/openssl/test/bntest.c
830
&& TEST_true(BN_GF2m_arr2poly(p1, b[1]))))
crypto/openssl/test/bntest.c
834
if (!(TEST_true(BN_bntest_rand(a, 1024, 0, 0))
crypto/openssl/test/bntest.c
835
&& TEST_true(BN_bntest_rand(c, 1024, 0, 0))
crypto/openssl/test/bntest.c
836
&& TEST_true(BN_bntest_rand(d, 1024, 0, 0))))
crypto/openssl/test/bntest.c
839
if (!(TEST_true(BN_GF2m_mod_mul(e, a, c, b[j], ctx))
crypto/openssl/test/bntest.c
840
&& TEST_true(BN_GF2m_add(f, a, d))
crypto/openssl/test/bntest.c
841
&& TEST_true(BN_GF2m_mod_mul(g, f, c, b[j], ctx))
crypto/openssl/test/bntest.c
842
&& TEST_true(BN_GF2m_mod_mul(h, d, c, b[j], ctx))
crypto/openssl/test/bntest.c
843
&& TEST_true(BN_GF2m_add(f, e, g))
crypto/openssl/test/bntest.c
844
&& TEST_true(BN_GF2m_add(f, f, h))
crypto/openssl/test/bntest.c
877
if (!(TEST_true(BN_GF2m_arr2poly(p0, b[0]))
crypto/openssl/test/bntest.c
878
&& TEST_true(BN_GF2m_arr2poly(p1, b[1]))))
crypto/openssl/test/bntest.c
882
if (!TEST_true(BN_bntest_rand(a, 1024, 0, 0)))
crypto/openssl/test/bntest.c
885
if (!(TEST_true(BN_GF2m_mod_sqr(c, a, b[j], ctx))
crypto/openssl/test/bntest.c
886
&& TEST_true(BN_copy(d, a))
crypto/openssl/test/bntest.c
887
&& TEST_true(BN_GF2m_mod_mul(d, a, d, b[j], ctx))
crypto/openssl/test/bntest.c
888
&& TEST_true(BN_GF2m_add(d, c, d))
crypto/openssl/test/bntest.c
917
if (!TEST_true(BN_one(b[0])))
crypto/openssl/test/bntest.c
919
if (!TEST_true(BN_bntest_rand(a, 512, 0, 0)))
crypto/openssl/test/bntest.c
924
if (!(TEST_true(BN_GF2m_arr2poly(p0, b[0]))
crypto/openssl/test/bntest.c
925
&& TEST_true(BN_GF2m_arr2poly(p1, b[1]))))
crypto/openssl/test/bntest.c
929
if (!TEST_true(BN_bntest_rand(a, 512, 0, 0)))
crypto/openssl/test/bntest.c
932
if (!(TEST_true(BN_GF2m_mod_inv(c, a, b[j], ctx))
crypto/openssl/test/bntest.c
933
&& TEST_true(BN_GF2m_mod_mul(d, a, c, b[j], ctx))
crypto/openssl/test/bntest.c
964
if (!(TEST_true(BN_GF2m_arr2poly(p0, b[0]))
crypto/openssl/test/bntest.c
965
&& TEST_true(BN_GF2m_arr2poly(p1, b[1]))))
crypto/openssl/test/bntest.c
969
if (!(TEST_true(BN_bntest_rand(a, 512, 0, 0))
crypto/openssl/test/bntest.c
970
&& TEST_true(BN_bntest_rand(c, 512, 0, 0))))
crypto/openssl/test/bntest.c
973
if (!(TEST_true(BN_GF2m_mod_div(d, a, c, b[j], ctx))
crypto/openssl/test/bntest.c
974
&& TEST_true(BN_GF2m_mod_mul(e, d, c, b[j], ctx))
crypto/openssl/test/bntest.c
975
&& TEST_true(BN_GF2m_mod_div(f, a, e, b[j], ctx))
crypto/openssl/test/byteorder_test.c
20
if (!TEST_true(u16 == 0x0100U
crypto/openssl/test/byteorder_test.c
31
if (!TEST_true(u16 == 0x0001U
crypto/openssl/test/byteorder_test.c
42
if (!TEST_true(u32 == 0x03020100UL
crypto/openssl/test/byteorder_test.c
53
if (!TEST_true(u32 == 0x00010203UL
crypto/openssl/test/byteorder_test.c
64
if (!TEST_true(u64 == 0x0706050403020100ULL
crypto/openssl/test/byteorder_test.c
75
if (!TEST_true(u64 == 0x0001020304050607ULL
crypto/openssl/test/ca_internals_test.c
67
if (!TEST_true(save_index(indexfile, "new", db)))
crypto/openssl/test/ca_internals_test.c
70
if (!TEST_true(rotate_index(indexfile, "new", "old")))
crypto/openssl/test/cert_comp_test.c
162
if (!TEST_true(create_ssl_ctx_pair(NULL, TLS_server_method(),
crypto/openssl/test/cert_comp_test.c
171
if (!TEST_true(SSL_CTX_set1_cert_comp_preference(sctx, server_pref, 2)))
crypto/openssl/test/cert_comp_test.c
174
if (!TEST_true(SSL_CTX_set1_cert_comp_preference(cctx, client_pref, 1)))
crypto/openssl/test/cert_comp_test.c
177
if (!TEST_true(SSL_CTX_set1_cert_comp_preference(sctx, server_pref, OSSL_NELEM(server_pref))))
crypto/openssl/test/cert_comp_test.c
179
if (!TEST_true(SSL_CTX_set1_cert_comp_preference(cctx, client_pref, OSSL_NELEM(client_pref))))
crypto/openssl/test/cert_comp_test.c
189
if (!TEST_true(SSL_CTX_compress_certs(sctx, expected_server)))
crypto/openssl/test/cert_comp_test.c
193
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/cert_comp_test.c
197
if (!TEST_true(SSL_set_app_data(clientssl, &client_seen)))
crypto/openssl/test/cert_comp_test.c
199
if (!TEST_true(SSL_set_app_data(serverssl, &server_seen)))
crypto/openssl/test/cert_comp_test.c
209
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/cert_comp_test.c
227
if (!TEST_true(*(int *)SSL_get_app_data(clientssl)))
crypto/openssl/test/cert_comp_test.c
233
if (!TEST_true(*(int *)SSL_get_app_data(serverssl)))
crypto/openssl/test/cert_comp_test.c
99
if (!TEST_true(SSL_set1_compressed_cert(ssl, alg, comp_data, comp_len, orig_len)))
crypto/openssl/test/cipher_overhead_test.c
47
if (!TEST_true(ssl_cipher_get_overhead(ciph, &mac, &in, &blk, &ex))) {
crypto/openssl/test/cipherbytes_test.c
52
if (!TEST_true(SSL_bytes_to_cipher_list(s, bytes, sizeof(bytes),
crypto/openssl/test/cipherbytes_test.c
78
if (!TEST_true(SSL_bytes_to_cipher_list(s, bytes, sizeof(bytes), 1,
crypto/openssl/test/cipherlist_test.c
206
if (!TEST_true(SSL_CTX_set_cipher_list(fixture->server, "DEFAULT"))
crypto/openssl/test/cipherlist_test.c
207
|| !TEST_true(SSL_CTX_set_cipher_list(fixture->client, "DEFAULT"))) {
crypto/openssl/test/cipherlist_test.c
250
if (!TEST_true(SSL_CTX_set_cipher_list(fixture->server, TLS1_RFC_RSA_WITH_AES_128_SHA))
crypto/openssl/test/cipherlist_test.c
251
|| !TEST_true(SSL_CTX_set_cipher_list(fixture->client, TLS1_RFC_RSA_WITH_AES_128_SHA))) {
crypto/openssl/test/cipherlist_test.c
287
if (!TEST_true(SSL_CTX_set_ciphersuites(ctx,
crypto/openssl/test/cipherlist_test.c
290
if (!TEST_true(cipher_in_ctx(ctx, TLS1_3_CK_AES_128_GCM_SHA256))
crypto/openssl/test/cipherlist_test.c
291
|| !TEST_true(cipher_in_ctx(ctx, TLS1_3_CK_AES_256_GCM_SHA384)))
crypto/openssl/test/cipherlist_test.c
295
if (!TEST_true(SSL_CTX_set_ciphersuites(ctx, ":TLS_AES_128_GCM_SHA256")))
crypto/openssl/test/cipherlist_test.c
297
if (!TEST_true(cipher_in_ctx(ctx, TLS1_3_CK_AES_128_GCM_SHA256)))
crypto/openssl/test/cipherlist_test.c
301
if (!TEST_true(SSL_CTX_set_ciphersuites(ctx, "TLS_AES_128_GCM_SHA256:")))
crypto/openssl/test/cipherlist_test.c
303
if (!TEST_true(cipher_in_ctx(ctx, TLS1_3_CK_AES_128_GCM_SHA256)))
crypto/openssl/test/clienthellotest.c
100
if (!TEST_true(SSL_CTX_set1_groups_list(ctx,
crypto/openssl/test/clienthellotest.c
117
} else if (!TEST_true(SSL_CTX_set_cipher_list(ctx,
crypto/openssl/test/clienthellotest.c
119
|| !TEST_true(SSL_CTX_set_ciphersuites(ctx,
crypto/openssl/test/clienthellotest.c
145
if (!TEST_true(SSL_set_session_ticket_ext(con, dummytick,
crypto/openssl/test/clienthellotest.c
156
|| !TEST_true(PACKET_buf_init(&pkt, data, len))
crypto/openssl/test/clienthellotest.c
164
if (!TEST_true(PACKET_forward(&pkt, SSL3_HM_HEADER_LENGTH))
crypto/openssl/test/clienthellotest.c
166
|| !TEST_true(PACKET_forward(&pkt, CLIENT_VERSION_LEN + SSL3_RANDOM_SIZE))
crypto/openssl/test/clienthellotest.c
168
|| !TEST_true(PACKET_get_length_prefixed_1(&pkt, &pkt2))
crypto/openssl/test/clienthellotest.c
170
|| !TEST_true(PACKET_get_length_prefixed_2(&pkt, &pkt2))
crypto/openssl/test/clienthellotest.c
172
|| !TEST_true(PACKET_get_length_prefixed_1(&pkt, &pkt2))
crypto/openssl/test/clienthellotest.c
174
|| !TEST_true(PACKET_as_length_prefixed_2(&pkt, &pkt2)))
crypto/openssl/test/clienthellotest.c
180
if (!TEST_true(PACKET_get_net_2(&pkt2, &type))
crypto/openssl/test/clienthellotest.c
181
|| !TEST_true(PACKET_get_length_prefixed_2(&pkt2, &pkt3)))
crypto/openssl/test/clienthellotest.c
186
if (TEST_true(PACKET_equal(&pkt3, dummytick,
crypto/openssl/test/clienthellotest.c
197
else if (TEST_true(currtest == TEST_ADD_PADDING))
crypto/openssl/test/clienthellotest.c
198
testresult = TEST_true(msglen == F5_WORKAROUND_MAX_MSG_LEN);
crypto/openssl/test/clienthellotest.c
78
if (!TEST_true(SSL_CTX_set_max_proto_version(ctx, 0)))
crypto/openssl/test/clienthellotest.c
89
if (!TEST_true(SSL_CTX_set_max_proto_version(ctx, TLS1_2_VERSION)))
crypto/openssl/test/cmactest.c
123
|| !TEST_true(CMAC_Init(ctx, NULL, 0, EVP_aes_128_cbc(), NULL))
crypto/openssl/test/cmactest.c
127
|| !TEST_true(CMAC_Init(ctx, test[0].key, test[0].key_len, NULL, NULL))
crypto/openssl/test/cmactest.c
129
|| !TEST_true(CMAC_Update(ctx, test[0].data, test[0].data_len))
crypto/openssl/test/cmactest.c
170
if (!TEST_true(CMAC_Init(ctx, test[0].key, test[0].key_len,
crypto/openssl/test/cmactest.c
172
|| !TEST_true(CMAC_Update(ctx, test[0].data, test[0].data_len))
crypto/openssl/test/cmactest.c
173
|| !TEST_true(CMAC_Final(ctx, buf, &len)))
crypto/openssl/test/cmactest.c
180
if (!TEST_true(CMAC_Init(ctx, test[1].key, test[1].key_len,
crypto/openssl/test/cmactest.c
182
|| !TEST_true(CMAC_Update(ctx, test[1].data, test[1].data_len))
crypto/openssl/test/cmactest.c
183
|| !TEST_true(CMAC_Final(ctx, buf, &len)))
crypto/openssl/test/cmactest.c
190
if (!TEST_true(CMAC_Init(ctx, test[2].key, test[2].key_len, NULL, NULL))
crypto/openssl/test/cmactest.c
191
|| !TEST_true(CMAC_Update(ctx, test[2].data, test[2].data_len))
crypto/openssl/test/cmactest.c
192
|| !TEST_true(CMAC_Final(ctx, buf, &len)))
crypto/openssl/test/cmactest.c
198
if (!TEST_true(CMAC_Init(ctx, NULL, 0, NULL, NULL))
crypto/openssl/test/cmactest.c
199
|| !TEST_true(CMAC_Update(ctx, test[2].data, test[2].data_len))
crypto/openssl/test/cmactest.c
200
|| !TEST_true(CMAC_Final(ctx, buf, &len)))
crypto/openssl/test/cmactest.c
207
if (!TEST_true(CMAC_Init(ctx, NULL, 0, EVP_aes_256_cbc(), NULL))
crypto/openssl/test/cmactest.c
208
|| !TEST_true(CMAC_Init(ctx, test[2].key, test[2].key_len, NULL, NULL))
crypto/openssl/test/cmactest.c
209
|| !TEST_true(CMAC_Update(ctx, test[2].data, test[2].data_len))
crypto/openssl/test/cmactest.c
210
|| !TEST_true(CMAC_Final(ctx, buf, &len)))
crypto/openssl/test/cmactest.c
217
if (!TEST_true(CMAC_Init(ctx, test[3].key, test[3].key_len,
crypto/openssl/test/cmactest.c
219
|| !TEST_true(CMAC_Update(ctx, test[3].data, test[3].data_len))
crypto/openssl/test/cmactest.c
220
|| !TEST_true(CMAC_Final(ctx, buf, &len)))
crypto/openssl/test/cmactest.c
226
if (!TEST_true(CMAC_Init(ctx, test[4].key, test[4].key_len,
crypto/openssl/test/cmactest.c
228
|| !TEST_true(CMAC_Update(ctx, test[4].data, test[4].data_len))
crypto/openssl/test/cmactest.c
229
|| !TEST_true(CMAC_Final(ctx, buf, &len)))
crypto/openssl/test/cmactest.c
235
if (!TEST_true(CMAC_Init(ctx, test[5].key, test[5].key_len,
crypto/openssl/test/cmactest.c
237
|| !TEST_true(CMAC_Update(ctx, test[5].data, test[5].data_len))
crypto/openssl/test/cmactest.c
238
|| !TEST_true(CMAC_Final(ctx, buf, &len)))
crypto/openssl/test/cmactest.c
245
if (!TEST_true(CMAC_Init(ctx, test[6].key, test[6].key_len,
crypto/openssl/test/cmactest.c
247
|| !TEST_true(CMAC_Update(ctx, test[6].data, test[6].data_len))
crypto/openssl/test/cmactest.c
248
|| !TEST_true(CMAC_Final(ctx, buf, &len)))
crypto/openssl/test/cmactest.c
256
if (!TEST_true(CMAC_Init(ctx, test[7].key, test[7].key_len,
crypto/openssl/test/cmactest.c
258
|| !TEST_true(CMAC_Update(ctx, test[7].data, test[7].data_len))
crypto/openssl/test/cmactest.c
259
|| !TEST_true(CMAC_Final(ctx, buf, &len)))
crypto/openssl/test/cmactest.c
285
if (!TEST_true(CMAC_Init(ctx, test[0].key, test[0].key_len,
crypto/openssl/test/cmactest.c
287
|| !TEST_true(CMAC_Update(ctx, test[0].data, test[0].data_len))
crypto/openssl/test/cmactest.c
288
|| !TEST_true(CMAC_CTX_copy(ctx2, ctx))
crypto/openssl/test/cmactest.c
289
|| !TEST_true(CMAC_Final(ctx2, buf, &len)))
crypto/openssl/test/cmp_asn_test.c
112
|| !TEST_true(ASN1_OCTET_STRING_set(fixture->src_string, rand_data,
crypto/openssl/test/cmp_asn_test.c
53
if (!TEST_true(ASN1_INTEGER_set(asn1integer, good_int))) {
crypto/openssl/test/cmp_asn_test.c
62
if (!TEST_true(ASN1_INTEGER_set_int64(asn1integer, max_int + 1)))
crypto/openssl/test/cmp_asn_test.c
97
|| !TEST_true(ASN1_OCTET_STRING_set(fixture->src_string, rand_data,
crypto/openssl/test/cmp_client_test.c
379
|| !TEST_true(OSSL_CMP_CTX_set1_p10CSR(ctx, csr))
crypto/openssl/test/cmp_client_test.c
380
|| !TEST_true(OSSL_CMP_CTX_set_certConf_cb(ctx, test_certConf_cb))
crypto/openssl/test/cmp_client_test.c
381
|| !TEST_true(OSSL_CMP_CTX_set_certConf_cb_arg(ctx, &reject))) {
crypto/openssl/test/cmp_ctx_test.c
157
if (!TEST_true(OSSL_CMP_CTX_set_log_cb(ctx, NULL)))
crypto/openssl/test/cmp_ctx_test.c
159
if (!TEST_true(ctx->log_cb == NULL))
crypto/openssl/test/cmp_ctx_test.c
168
if (!TEST_true(OSSL_CMP_CTX_set_log_cb(ctx, msg_total_size_log_cb)))
crypto/openssl/test/cmp_ctx_test.c
170
if (!TEST_true(ctx->log_cb == msg_total_size_log_cb)) {
crypto/openssl/test/cmp_ctx_test.c
231
|| !TEST_true(ASN1_OCTET_STRING_set(data, str, len)))
crypto/openssl/test/cmp_ctx_test.c
236
|| !TEST_true(sk_X509_EXTENSION_push(exts, ext))
crypto/openssl/test/cmp_ctx_test.c
237
|| !TEST_true(OSSL_CMP_CTX_set0_reqExtensions(ctx, exts))) {
crypto/openssl/test/cmp_ctx_test.c
290
if (!TEST_true(OSSL_CMP_CTX_set_log_cb(ctx, NULL))) {
crypto/openssl/test/cmp_ctx_test.c
296
TEST_true(OSSL_CMP_CTX_set_log_verbosity(ctx, OSSL_CMP_LOG_DEBUG));
crypto/openssl/test/cmp_ctx_test.c
298
TEST_true(OSSL_CMP_CTX_set_log_verbosity(ctx, OSSL_CMP_LOG_INFO));
crypto/openssl/test/cmp_ctx_test.c
300
if (!TEST_true(OSSL_CMP_CTX_set_log_cb(ctx, test_log_cb))) {
crypto/openssl/test/cmp_ctx_test.c
489
return TEST_true(res); \
crypto/openssl/test/cmp_ctx_test.c
730
return TEST_true(res); \
crypto/openssl/test/cmp_ctx_test.c
84
if (!TEST_true(OSSL_CMP_CTX_reinit(ctx)))
crypto/openssl/test/cmp_ctx_test.c
88
if (!TEST_true(ctx->status == -1
crypto/openssl/test/cmp_hdr_test.c
192
if (!TEST_true(ossl_cmp_hdr_update_messageTime(fixture->hdr)))
crypto/openssl/test/cmp_hdr_test.c
194
if (!TEST_true(ASN1_TIME_to_tm(fixture->hdr->messageTime, &hdrtm)))
crypto/openssl/test/cmp_hdr_test.c
261
if (!TEST_true(text == sk_ASN1_UTF8STRING_value(fixture->hdr->freeText, 0)))
crypto/openssl/test/cmp_hdr_test.c
325
if (!TEST_true(itav == sk_OSSL_CMP_ITAV_value(fixture->hdr->generalInfo, 0)))
crypto/openssl/test/cmp_hdr_test.c
355
|| !TEST_true(ASN1_INTEGER_set(asn1int, 88))) {
crypto/openssl/test/cmp_hdr_test.c
365
if (!TEST_true(OSSL_CMP_ITAV_push0_stack_item(&itavs, itav))) {
crypto/openssl/test/cmp_hdr_test.c
403
&& TEST_true(ossl_cmp_hdr_set_implicitConfirm(fixture->hdr))
crypto/openssl/test/cmp_hdr_test.c
404
&& TEST_true(ossl_cmp_hdr_has_implicitConfirm(fixture->hdr));
crypto/openssl/test/cmp_hdr_test.c
432
if (!TEST_true(ASN1_OCTET_STRING_cmp(header_transactionID,
crypto/openssl/test/cmp_hdr_test.c
455
|| !TEST_true(OSSL_CMP_CTX_set1_referenceValue(fixture->cmp_ctx,
crypto/openssl/test/cmp_hdr_test.c
471
|| !TEST_true(X509_NAME_ADD(subject, "CN", "Common Name"))
crypto/openssl/test/cmp_hdr_test.c
472
|| !TEST_true(OSSL_CMP_CTX_set1_subjectName(fixture->cmp_ctx,
crypto/openssl/test/cmp_msg_test.c
150
|| !TEST_true(SET_OPT_UNPROTECTED_SEND(ctx, 0))
crypto/openssl/test/cmp_msg_test.c
151
|| !TEST_true(set1_newPkey(ctx, newkey))
crypto/openssl/test/cmp_msg_test.c
152
|| !TEST_true(OSSL_CMP_CTX_set1_secretValue(ctx, secret,
crypto/openssl/test/cmp_msg_test.c
167
if (!TEST_true(OSSL_CMP_CTX_set1_pkey(fixture->cmp_ctx, newkey))
crypto/openssl/test/cmp_msg_test.c
168
|| !TEST_true(SET_OPT_UNPROTECTED_SEND(fixture->cmp_ctx, 0))
crypto/openssl/test/cmp_msg_test.c
170
|| !TEST_true(OSSL_CMP_CTX_set1_cert(fixture->cmp_ctx, cert))) {
crypto/openssl/test/cmp_msg_test.c
194
if (!TEST_true(set1_newPkey(fixture->cmp_ctx, newkey))) {
crypto/openssl/test/cmp_msg_test.c
208
if (!TEST_true(set1_newPkey(fixture->cmp_ctx, newkey))) {
crypto/openssl/test/cmp_msg_test.c
227
|| !TEST_true(set1_newPkey(ctx, newkey))
crypto/openssl/test/cmp_msg_test.c
228
|| !TEST_true(OSSL_CMP_CTX_set1_p10CSR(ctx, p10cr))) {
crypto/openssl/test/cmp_msg_test.c
243
if (!TEST_true(set1_newPkey(fixture->cmp_ctx, newkey))) {
crypto/openssl/test/cmp_msg_test.c
257
if (!TEST_true(set1_newPkey(fixture->cmp_ctx, newkey))
crypto/openssl/test/cmp_msg_test.c
258
|| !TEST_true(OSSL_CMP_CTX_set1_oldCert(fixture->cmp_ctx, cert))) {
crypto/openssl/test/cmp_msg_test.c
272
if (!TEST_true(set1_newPkey(fixture->cmp_ctx, newkey))) {
crypto/openssl/test/cmp_msg_test.c
285
if (!TEST_true(ossl_cmp_ctx_set0_newCert(fixture->cmp_ctx,
crypto/openssl/test/cmp_msg_test.c
299
if (!TEST_true(ossl_cmp_ctx_set0_newCert(fixture->cmp_ctx,
crypto/openssl/test/cmp_msg_test.c
313
if (!TEST_true(ossl_cmp_ctx_set0_newCert(fixture->cmp_ctx,
crypto/openssl/test/cmp_msg_test.c
330
if (!TEST_true(set1_newPkey(fixture->cmp_ctx, newkey))) {
crypto/openssl/test/cmp_msg_test.c
350
if (!TEST_true(OSSL_CMP_CTX_set1_oldCert(fixture->cmp_ctx, cert))) {
crypto/openssl/test/cmp_msg_test.c
366
|| !TEST_true(OSSL_CMP_CTX_push0_genm_ITAV(fixture->cmp_ctx, iv))) {
crypto/openssl/test/cmp_msg_test.c
497
if (!TEST_true(OSSL_CMP_CTX_set1_p10CSR(fixture->cmp_ctx, p10cr))) {
crypto/openssl/test/cmp_msg_test.c
57
|| !TEST_true(SET_OPT_UNPROTECTED_SEND(fixture->cmp_ctx, 1))
crypto/openssl/test/cmp_msg_test.c
58
|| !TEST_true(OSSL_CMP_CTX_set1_referenceValue(fixture->cmp_ctx,
crypto/openssl/test/cmp_msg_test.c
72
int good = fixture->expected != 0 ? TEST_ptr(msg = (expr)) && TEST_true(valid_asn1_encoding(msg)) : TEST_ptr_null(msg = (expr)); \
crypto/openssl/test/cmp_protect_test.c
125
&& TEST_true(verify_signature(fixture->msg, protection,
crypto/openssl/test/cmp_protect_test.c
150
if (!TEST_true(OSSL_CMP_CTX_set1_pkey(fixture->cmp_ctx, prot_RSA_key))
crypto/openssl/test/cmp_protect_test.c
164
if (!TEST_true(OSSL_CMP_CTX_set1_pkey(fixture->cmp_ctx, prot_Ed_key))
crypto/openssl/test/cmp_protect_test.c
179
if (!TEST_true(OSSL_CMP_CTX_set1_secretValue(fixture->cmp_ctx,
crypto/openssl/test/cmp_protect_test.c
202
|| !TEST_true(SET_OPT_UNPROTECTED_SEND(fixture->cmp_ctx, 1))) {
crypto/openssl/test/cmp_protect_test.c
218
|| !TEST_true(SET_OPT_UNPROTECTED_SEND(fixture->cmp_ctx, 0))
crypto/openssl/test/cmp_protect_test.c
223
|| !TEST_true(OSSL_CMP_CTX_set1_referenceValue(fixture->cmp_ctx,
crypto/openssl/test/cmp_protect_test.c
225
|| !TEST_true(OSSL_CMP_CTX_set1_secretValue(fixture->cmp_ctx,
crypto/openssl/test/cmp_protect_test.c
241
|| !TEST_true(SET_OPT_UNPROTECTED_SEND(fixture->cmp_ctx, 0))
crypto/openssl/test/cmp_protect_test.c
242
|| !TEST_true(OSSL_CMP_CTX_set1_pkey(fixture->cmp_ctx, server_key))
crypto/openssl/test/cmp_protect_test.c
243
|| !TEST_true(OSSL_CMP_CTX_set1_cert(fixture->cmp_ctx,
crypto/openssl/test/cmp_protect_test.c
260
|| !TEST_true(SET_OPT_UNPROTECTED_SEND(ctx, 0))
crypto/openssl/test/cmp_protect_test.c
261
|| !TEST_true(EVP_PKEY_up_ref(server_key))
crypto/openssl/test/cmp_protect_test.c
262
|| !TEST_true(OSSL_CMP_CTX_set0_newPkey(ctx, 1, server_key))) {
crypto/openssl/test/cmp_protect_test.c
275
|| !TEST_true(SET_OPT_UNPROTECTED_SEND(fixture->cmp_ctx, 0))) {
crypto/openssl/test/cmp_protect_test.c
317
return TEST_true(ossl_cmp_msg_add_extraCerts(fixture->cmp_ctx,
crypto/openssl/test/cmp_protect_test.c
351
&& TEST_true(X509_STORE_add_cert(store, root))) {
crypto/openssl/test/cmp_protect_test.c
375
|| !TEST_true(sk_X509_push(fixture->certs, endentity1))
crypto/openssl/test/cmp_protect_test.c
376
|| !TEST_true(sk_X509_push(fixture->certs, root))
crypto/openssl/test/cmp_protect_test.c
377
|| !TEST_true(sk_X509_push(fixture->certs, intermediate))
crypto/openssl/test/cmp_protect_test.c
378
|| !TEST_true(sk_X509_push(fixture->chain, endentity2))
crypto/openssl/test/cmp_protect_test.c
379
|| !TEST_true(sk_X509_push(fixture->chain, intermediate))) {
crypto/openssl/test/cmp_protect_test.c
386
if (result && TEST_true(sk_X509_push(fixture->chain, root)))
crypto/openssl/test/cmp_protect_test.c
401
|| !TEST_true(sk_X509_push(fixture->certs, endentity1))
crypto/openssl/test/cmp_protect_test.c
402
|| !TEST_true(sk_X509_push(fixture->certs, root))
crypto/openssl/test/cmp_protect_test.c
403
|| !TEST_true(sk_X509_push(fixture->chain, endentity2))) {
crypto/openssl/test/cmp_protect_test.c
419
|| !TEST_true(sk_X509_push(fixture->certs, endentity1))
crypto/openssl/test/cmp_protect_test.c
420
|| !TEST_true(sk_X509_push(fixture->certs, intermediate))
crypto/openssl/test/cmp_protect_test.c
421
|| !TEST_true(sk_X509_push(fixture->chain, endentity2))
crypto/openssl/test/cmp_protect_test.c
422
|| !TEST_true(sk_X509_push(fixture->chain, intermediate))) {
crypto/openssl/test/cmp_protect_test.c
438
|| !TEST_true(sk_X509_push(fixture->certs, root))
crypto/openssl/test/cmp_protect_test.c
439
|| !TEST_true(sk_X509_push(fixture->chain, root))) {
crypto/openssl/test/cmp_protect_test.c
455
|| !TEST_true(sk_X509_push(fixture->chain, endentity2))) {
crypto/openssl/test/cmp_protect_test.c
470
if (!TEST_true(ossl_cmp_X509_STORE_add1_certs(store,
crypto/openssl/test/cmp_protect_test.c
507
if (!TEST_true(sk_X509_push(fixture->certs, endentity1))
crypto/openssl/test/cmp_protect_test.c
508
|| !TEST_true(sk_X509_push(fixture->certs, endentity2))
crypto/openssl/test/cmp_protect_test.c
509
|| !TEST_true(sk_X509_push(fixture->certs, root))
crypto/openssl/test/cmp_protect_test.c
510
|| !TEST_true(sk_X509_push(fixture->certs, intermediate))
crypto/openssl/test/cmp_protect_test.c
511
|| !TEST_true(sk_X509_push(fixture->chain, root))) {
crypto/openssl/test/cmp_protect_test.c
93
&& TEST_true(ASN1_STRING_cmp(protection,
crypto/openssl/test/cmp_server_test.c
73
|| !TEST_true(OSSL_CMP_CTX_set_transfer_cb_arg(client_ctx, ctx)))
crypto/openssl/test/cmp_server_test.c
76
if (!TEST_true(OSSL_CMP_SRV_CTX_init(ctx, dummy_custom_ctx,
crypto/openssl/test/cmp_server_test.c
79
|| !TEST_true(OSSL_CMP_SRV_CTX_init_trans(ctx, NULL, NULL))
crypto/openssl/test/cmp_server_test.c
84
if (!TEST_true(OSSL_CMP_SRV_CTX_set_send_unprotected_errors(ctx, 0))
crypto/openssl/test/cmp_server_test.c
85
|| !TEST_true(OSSL_CMP_SRV_CTX_set_accept_unprotected(ctx, 0))
crypto/openssl/test/cmp_server_test.c
86
|| !TEST_true(OSSL_CMP_SRV_CTX_set_accept_raverified(ctx, 1))
crypto/openssl/test/cmp_server_test.c
87
|| !TEST_true(OSSL_CMP_SRV_CTX_set_grant_implicit_confirm(ctx, 1)))
crypto/openssl/test/cmp_vfy_test.c
162
if (!TEST_true(miss ? OSSL_CMP_CTX_set0_trusted(fixture->cmp_ctx, NULL)
crypto/openssl/test/cmp_vfy_test.c
200
if (!TEST_true(OSSL_CMP_CTX_set1_secretValue(fixture->cmp_ctx, sec_bad,
crypto/openssl/test/cmp_vfy_test.c
265
|| !TEST_true(miss ? OSSL_CMP_CTX_set1_secretValue(fixture->cmp_ctx,
crypto/openssl/test/cmp_vfy_test.c
366
|| !TEST_true(OSSL_CMP_CTX_set1_expected_sender(fixture->cmp_ctx, name))
crypto/openssl/test/cmp_vfy_test.c
367
|| !TEST_true(OSSL_CMP_CTX_set1_srvCert(fixture->cmp_ctx, srvcert))) {
crypto/openssl/test/cmsapitest.c
232
if (!TEST_true(CMS_decrypt(content, privkey, cert, NULL, outmsgbio,
crypto/openssl/test/cmsapitest.c
285
&& TEST_true(CMS_add1_cert(cms, cert)); /* add cert again */
crypto/openssl/test/cmsapitest.c
495
&& TEST_true(CMS_verify(cms, NULL, NULL, NULL, NULL, flags))
crypto/openssl/test/cmsapitest.c
583
if (!TEST_true(CMS_EncryptedData_set1_key(cms, EVP_aes_256_cbc(),
crypto/openssl/test/cmsapitest.c
587
if (!TEST_true(CMS_EncryptedData_set1_key(cms, EVP_aes_128_cbc(),
crypto/openssl/test/cmsapitest.c
612
if (!TEST_true(CMS_EncryptedData_decrypt(cms, key, keylen, NULL, decryptbio, SMIME_BINARY)))
crypto/openssl/test/cmsapitest.c
764
if (!TEST_true(PEM_read_bio_X509(certbio, &cert, NULL, NULL))) {
crypto/openssl/test/cmsapitest.c
776
if (!TEST_true(PEM_read_bio_PrivateKey(privkeybio, &privkey, NULL, NULL))) {
crypto/openssl/test/conf_include_test.c
161
|| !TEST_true(NCONF_get_number(NULL, "missing", "FNORD", &val))
crypto/openssl/test/conf_include_test.c
191
if (!TEST_true(NCONF_get_number(NULL, "missing", "FNORD", &val))
crypto/openssl/test/constant_time_test.c
138
if (a == 0 && !TEST_true(constant_time_is_zero_32(a) == CONSTTIME_TRUE_32))
crypto/openssl/test/constant_time_test.c
140
if (a != 0 && !TEST_true(constant_time_is_zero_32(a) == CONSTTIME_FALSE_32))
crypto/openssl/test/constant_time_test.c
176
if (!TEST_true(constant_time_select_32(CONSTTIME_TRUE_32, a, b) == a))
crypto/openssl/test/constant_time_test.c
178
if (!TEST_true(constant_time_select_32(CONSTTIME_FALSE_32, a, b) == b))
crypto/openssl/test/context_internal_test.c
64
if (!TEST_true(OSSL_LIB_CTX_get_conf_diagnostics(ctx)))
crypto/openssl/test/crltest.c
354
if (!TEST_true(X509_up_ref(root)))
crypto/openssl/test/crltest.c
356
if (!TEST_true(sk_X509_push(roots, root))) {
crypto/openssl/test/crltest.c
360
if (!TEST_true(X509_STORE_CTX_init(ctx, store, leaf, NULL)))
crypto/openssl/test/crltest.c
515
if (!TEST_true(X509_CRL_up_ref(reused_crl)))
crypto/openssl/test/crltest.c
584
if (!TEST_true(X509_up_ref(test_root)))
crypto/openssl/test/crltest.c
586
if (!TEST_true(sk_X509_push(roots, test_root))) {
crypto/openssl/test/crltest.c
590
if (!TEST_true(X509_STORE_CTX_init(ctx, store, test_leaf, NULL)))
crypto/openssl/test/ct_test.c
139
if (!TEST_true(BIO_write(text_buffer, "\0", 1)))
crypto/openssl/test/ct_test.c
160
|| !TEST_true(X509V3_EXT_print(text_buffer, extension,
crypto/openssl/test/ct_test.c
165
if (!TEST_true(BIO_write(text_buffer, "\n", 1)))
crypto/openssl/test/ct_test.c
169
if (!TEST_true(BIO_write(text_buffer, "\0", 1)))
crypto/openssl/test/ct_test.c
502
if (!TEST_true(!CTLOG_new_from_base64(&ctlogp, notb64, name))
crypto/openssl/test/ct_test.c
503
|| !TEST_true(!CTLOG_new_from_base64(&ctlogp, pad, name)))
crypto/openssl/test/curve448_internal_test.c
600
|| !TEST_true(ossl_ed448_sign(NULL, outsig, NULL, 0, pubkey1,
crypto/openssl/test/curve448_internal_test.c
603
|| !TEST_true(ossl_ed448_sign(NULL, outsig, msg2, sizeof(msg2),
crypto/openssl/test/curve448_internal_test.c
606
|| !TEST_true(ossl_ed448_sign(NULL, outsig, msg3, sizeof(msg3),
crypto/openssl/test/curve448_internal_test.c
610
|| !TEST_true(ossl_ed448_sign(NULL, outsig, msg4, sizeof(msg4),
crypto/openssl/test/curve448_internal_test.c
613
|| !TEST_true(ossl_ed448_sign(NULL, outsig, msg5, sizeof(msg5),
crypto/openssl/test/curve448_internal_test.c
616
|| !TEST_true(ossl_ed448_sign(NULL, outsig, msg6, sizeof(msg6),
crypto/openssl/test/curve448_internal_test.c
619
|| !TEST_true(ossl_ed448_sign(NULL, outsig, msg7, sizeof(msg7),
crypto/openssl/test/curve448_internal_test.c
622
|| !TEST_true(ossl_ed448_sign(NULL, outsig, msg8, sizeof(msg8),
crypto/openssl/test/curve448_internal_test.c
625
|| !TEST_true(ossl_ed448_sign(NULL, outsig, msg9, sizeof(msg9),
crypto/openssl/test/curve448_internal_test.c
628
|| !TEST_true(ossl_ed448_sign(NULL, outsig,
crypto/openssl/test/curve448_internal_test.c
634
|| !TEST_true(ossl_ed448_sign(NULL, outsig,
crypto/openssl/test/curve448_internal_test.c
657
if (!TEST_true(ossl_x448(out, in_scalar1, in_u1))
crypto/openssl/test/curve448_internal_test.c
659
|| !TEST_true(ossl_x448(out, in_scalar2, in_u2))
crypto/openssl/test/curve448_internal_test.c
671
if (!TEST_true(ossl_x448(out, k, u)))
crypto/openssl/test/danetest.c
123
if (!TEST_true(sk_X509_push(chain, cert)))
crypto/openssl/test/danetest.c
394
|| !TEST_true(SSL_CTX_load_verify_file(ctx, CAfile))
crypto/openssl/test/danetest.c
66
|| !TEST_true(X509_STORE_CTX_init(store_ctx, store, NULL, chain))
crypto/openssl/test/danetest.c
67
|| !TEST_true(X509_STORE_CTX_set_ex_data(store_ctx, store_ctx_idx,
crypto/openssl/test/destest.c
734
|| !TEST_true(in_bytes % bs == 0)
crypto/openssl/test/destest.c
749
if (!TEST_true(EVP_EncryptInit(ctx, cipher, key, NULL))
crypto/openssl/test/destest.c
750
|| !TEST_true(EVP_EncryptUpdate(ctx, c_txt, &clen_upd,
crypto/openssl/test/destest.c
759
if (!TEST_true(EVP_EncryptFinal(ctx, c_txt + clen_upd, &clen_fin))
crypto/openssl/test/destest.c
766
if (!TEST_true(EVP_DecryptInit(ctx, cipher, key, NULL))
crypto/openssl/test/destest.c
767
|| !TEST_true(EVP_DecryptUpdate(ctx, p_txt, &plen_upd,
crypto/openssl/test/destest.c
771
if (!TEST_true(EVP_DecryptFinal(ctx, p_txt + plen_upd, &plen_fin)))
crypto/openssl/test/dhtest.c
105
if (!TEST_true(BN_set_word(priv_key, 1234L))
crypto/openssl/test/dhtest.c
106
|| !TEST_true(DH_set0_key(dh, NULL, priv_key)))
crypto/openssl/test/dhtest.c
127
if (!TEST_ptr(BN_copy(q, p)) || !TEST_true(BN_add(q, q, BN_value_one())))
crypto/openssl/test/dhtest.c
130
if (!TEST_true(DH_check(dh, &i)))
crypto/openssl/test/dhtest.c
132
if (!TEST_true(i & DH_CHECK_INVALID_Q_VALUE)
crypto/openssl/test/dhtest.c
137
if (!TEST_true(BN_set_word(p, 1))
crypto/openssl/test/dhtest.c
138
|| !TEST_true(BN_lshift(p, p, OPENSSL_DH_CHECK_MAX_MODULUS_BITS)))
crypto/openssl/test/dhtest.c
159
|| !TEST_true(DH_generate_parameters_ex(a, 512,
crypto/openssl/test/dhtest.c
164
if (!TEST_true(DH_check(a, &i)))
crypto/openssl/test/dhtest.c
186
|| !TEST_true(DH_set0_pqg(b, bp, NULL, bg)))
crypto/openssl/test/dhtest.c
205
|| !TEST_true(DH_set0_key(c, NULL, cpriv_key)))
crypto/openssl/test/dhtest.c
224
if (!TEST_true(aout >= 20)
crypto/openssl/test/dhtest.c
273
|| !TEST_true(DH_set0_pqg(dh, p, q, g)))
crypto/openssl/test/dhtest.c
283
if (!TEST_true(BN_set_word(priv, 1))
crypto/openssl/test/dhtest.c
284
|| !TEST_true(DH_set0_key(dh, NULL, priv)))
crypto/openssl/test/dhtest.c
287
if (!TEST_true(BN_set_word(pub, 1)))
crypto/openssl/test/dhtest.c
300
if (!TEST_true(BN_sub_word(pub, 1))
crypto/openssl/test/dhtest.c
304
if (!TEST_true(BN_sub_word(pub, 1))
crypto/openssl/test/dhtest.c
598
|| !TEST_true(DH_set0_key(dhA, pub_key, priv_key)))
crypto/openssl/test/dhtest.c
603
|| !TEST_true(DH_set0_key(dhB, pub_key, priv_key)))
crypto/openssl/test/dhtest.c
69
if (!TEST_true(BN_set_word(p, 4079L))
crypto/openssl/test/dhtest.c
70
|| !TEST_true(BN_set_word(q, 2039L))
crypto/openssl/test/dhtest.c
705
if (!TEST_true(aout >= 20)
crypto/openssl/test/dhtest.c
71
|| !TEST_true(BN_set_word(g, 3L))
crypto/openssl/test/dhtest.c
72
|| !TEST_true(DH_set0_pqg(dh, p, q, g)))
crypto/openssl/test/dhtest.c
76
if (!TEST_true(DH_check(dh, &i)))
crypto/openssl/test/dhtest.c
825
if (!TEST_true(DH_set0_pqg(dh2, pcpy, NULL, gcpy)))
crypto/openssl/test/dhtest.c
839
if (!TEST_true(DH_set0_pqg(dh2, NULL, NULL, gcpy)))
crypto/openssl/test/dhtest.c
850
|| !TEST_true(DH_set0_pqg(dh2, pcpy, qcpy, gcpy)))
crypto/openssl/test/dhtest.c
928
&& TEST_true(EVP_PKEY_get_int_param(pkey, OSSL_PKEY_PARAM_DH_PRIV_LEN,
crypto/openssl/test/drbgtest.c
353
&& TEST_true(read(fd[0], &random[0], sizeof(random))
crypto/openssl/test/drbgtest.c
380
if (TEST_true(test_drbg_reseed(1, primary, public, private,
crypto/openssl/test/drbgtest.c
383
&& TEST_true(write(fd[1], random, sizeof(random))
crypto/openssl/test/drbgtest.c
422
if (!TEST_true(test_drbg_reseed_in_child(primary,
crypto/openssl/test/drbgtest.c
432
if (!TEST_true(test_drbg_reseed(1,
crypto/openssl/test/drbgtest.c
529
if (!TEST_true(test_rand_reseed_on_fork(primary, public, private)))
crypto/openssl/test/drbgtest.c
576
if (!TEST_true(disable_crngt(primary)))
crypto/openssl/test/drbgtest.c
587
if (!TEST_true(test_drbg_reseed(1,
crypto/openssl/test/drbgtest.c
596
if (!TEST_true(test_drbg_reseed(1,
crypto/openssl/test/drbgtest.c
607
if (!TEST_true(test_drbg_reseed(1,
crypto/openssl/test/drbgtest.c
619
if (!TEST_true(test_drbg_reseed(1,
crypto/openssl/test/drbgtest.c
631
if (!TEST_true(test_drbg_reseed(1,
crypto/openssl/test/drbgtest.c
650
if (!TEST_true(test_drbg_reseed(1,
crypto/openssl/test/drbgtest.c
685
|| !TEST_true(set_reseed_time_interval(private, 1))
crypto/openssl/test/drbgtest.c
686
|| !TEST_true(set_reseed_time_interval(public, 1))) {
crypto/openssl/test/drbgtest.c
769
if (!TEST_true(multi_thread_rand_bytes_succeeded))
crypto/openssl/test/drbgtest.c
771
if (!TEST_true(multi_thread_rand_priv_bytes_succeeded))
crypto/openssl/test/drbgtest.c
790
|| !TEST_true(EVP_RAND_CTX_set_params(drbg, params))) {
crypto/openssl/test/drbgtest.c
809
|| !TEST_true(disable_crngt(x))
crypto/openssl/test/drbgtest.c
810
|| !TEST_true(EVP_RAND_instantiate(x, 0, 0, NULL, 0, NULL))
crypto/openssl/test/drbgtest.c
812
|| !TEST_true(EVP_RAND_instantiate(y, 0, 0, NULL, 0, NULL))
crypto/openssl/test/drbgtest.c
814
|| !TEST_true(EVP_RAND_instantiate(z, 0, 0, NULL, 0, NULL)))
crypto/openssl/test/drbgtest.c
825
if (!TEST_true(EVP_RAND_reseed(z, 0, NULL, 0, NULL, 0))
crypto/openssl/test/drbgtest.c
836
if (!TEST_true(EVP_RAND_reseed(z, 1, NULL, 0, NULL, 0))
crypto/openssl/test/drbgtest.c
848
if (!TEST_true(EVP_RAND_generate(z, buf1, sizeof(buf1), 0, 0, NULL, 0))
crypto/openssl/test/drbgtest.c
859
if (!TEST_true(EVP_RAND_generate(z, buf2, sizeof(buf2), 0, 1, NULL, 0))
crypto/openssl/test/drbgtest.c
871
if (!TEST_true(EVP_RAND_reseed(z, 0, NULL, 0, NULL, 0))
crypto/openssl/test/dsatest.c
108
if (!TEST_true(DSA_generate_key(dsa)))
crypto/openssl/test/dsatest.c
110
if (!TEST_true(DSA_sign(0, str1, 20, sig, &siglen, dsa)))
crypto/openssl/test/dsatest.c
250
|| !TEST_true(EVP_PKEY_CTX_set_dsa_paramgen_type(pg_ctx, "fips186_4"))
crypto/openssl/test/dsatest.c
251
|| !TEST_true(EVP_PKEY_CTX_set_dsa_paramgen_bits(pg_ctx, 2048))
crypto/openssl/test/dsatest.c
252
|| !TEST_true(EVP_PKEY_CTX_set_dsa_paramgen_q_bits(pg_ctx, 224))
crypto/openssl/test/dsatest.c
253
|| !TEST_true(EVP_PKEY_CTX_set_dsa_paramgen_seed(pg_ctx, seed_data,
crypto/openssl/test/dsatest.c
255
|| !TEST_true(EVP_PKEY_CTX_set_dsa_paramgen_md_props(pg_ctx, "SHA256",
crypto/openssl/test/dsatest.c
263
if (!TEST_true(EVP_PKEY_get_bn_param(key, OSSL_PKEY_PARAM_FFC_P, &p_out))
crypto/openssl/test/dsatest.c
265
|| !TEST_true(EVP_PKEY_get_bn_param(key, OSSL_PKEY_PARAM_FFC_Q, &q_out))
crypto/openssl/test/dsatest.c
267
|| !TEST_true(EVP_PKEY_get_bn_param(key, OSSL_PKEY_PARAM_FFC_G, &g_out))
crypto/openssl/test/dsatest.c
269
|| !TEST_true(EVP_PKEY_get_octet_string_param(
crypto/openssl/test/dsatest.c
273
|| !TEST_true(EVP_PKEY_get_int_param(key, OSSL_PKEY_PARAM_FFC_GINDEX,
crypto/openssl/test/dsatest.c
276
|| !TEST_true(EVP_PKEY_get_int_param(key, OSSL_PKEY_PARAM_FFC_H,
crypto/openssl/test/dsatest.c
279
|| !TEST_true(EVP_PKEY_get_int_param(key,
crypto/openssl/test/dsatest.c
313
|| TEST_true(EVP_PKEY_CTX_set_dsa_paramgen_bits(gen_ctx, 512)))
crypto/openssl/test/dsatest.c
357
|| !TEST_true(BN_set_word(badq, 1))
crypto/openssl/test/dsatest.c
359
|| !TEST_true(BN_set_word(badpriv, 0))
crypto/openssl/test/dsatest.c
363
if (!TEST_true(DSA_set0_pqg(dsa, p, q, g)))
crypto/openssl/test/dsatest.c
367
if (!TEST_true(DSA_set0_key(dsa, pub, priv)))
crypto/openssl/test/dsatest.c
375
if (!TEST_true(DSA_sign(0, msg, sizeof(msg), NULL, &signature_len0, dsa))
crypto/openssl/test/dsatest.c
379
if (!TEST_true(DSA_sign(0, msg, sizeof(msg), signature, &signature_len, dsa))
crypto/openssl/test/dsatest.c
385
if (!TEST_true(DSA_set0_key(dsa, NULL, badpriv)))
crypto/openssl/test/dsatest.c
392
if (!TEST_true(DSA_set0_key(dsa, NULL, priv2)))
crypto/openssl/test/dsatest.c
395
if (!TEST_true(DSA_set0_pqg(dsa, NULL, badq, NULL)))
crypto/openssl/test/dsatest.c
447
if (!TEST_true(DSA_set0_pqg(dsa, p, q, g)))
crypto/openssl/test/dsatest.c
451
if (!TEST_true(DSA_set0_key(dsa, pub, priv)))
crypto/openssl/test/dsatest.c
83
|| !TEST_true(DSA_generate_parameters_ex(dsa, 512, seed, 20,
crypto/openssl/test/dtls_mtu_test.c
166
if (!TEST_true(SSL_CTX_set_cipher_list(ctx, "PSK")))
crypto/openssl/test/dtls_mtu_test.c
208
if (!TEST_true(SSL_CTX_set_dh_auto(ctx, 1)))
crypto/openssl/test/dtls_mtu_test.c
212
if (!TEST_true(create_ssl_objects(ctx, ctx, &srvr_ssl, &clnt_ssl,
crypto/openssl/test/dtls_mtu_test.c
217
if (!TEST_true(DTLS_set_link_mtu(srvr_ssl, 1500)))
crypto/openssl/test/dtls_mtu_test.c
223
if (!TEST_true(create_ssl_connection(srvr_ssl, clnt_ssl,
crypto/openssl/test/dtls_mtu_test.c
63
if (!TEST_true(create_ssl_objects(ctx, ctx, &srvr_ssl, &clnt_ssl,
crypto/openssl/test/dtls_mtu_test.c
70
if (!TEST_true(SSL_set_cipher_list(srvr_ssl, cs))
crypto/openssl/test/dtls_mtu_test.c
71
|| !TEST_true(SSL_set_cipher_list(clnt_ssl, cs))
crypto/openssl/test/dtls_mtu_test.c
73
|| !TEST_true(create_ssl_connection(clnt_ssl, srvr_ssl,
crypto/openssl/test/dtlstest.c
101
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl1, &clientssl1,
crypto/openssl/test/dtlstest.c
126
if (!TEST_true(create_bare_ssl_connection(serverssl1, clientssl1,
crypto/openssl/test/dtlstest.c
197
if (!TEST_true(create_ssl_ctx_pair(NULL, DTLS_server_method(),
crypto/openssl/test/dtlstest.c
205
if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "DEFAULT:@SECLEVEL=0"))
crypto/openssl/test/dtlstest.c
206
|| !TEST_true(SSL_CTX_set_cipher_list(cctx,
crypto/openssl/test/dtlstest.c
211
if (!TEST_true(SSL_CTX_set_dh_auto(sctx, 1)))
crypto/openssl/test/dtlstest.c
220
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/dtlstest.c
222
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/dtlstest.c
250
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/dtlstest.c
255
if (!TEST_true(SSL_set_session(clientssl, sess)))
crypto/openssl/test/dtlstest.c
281
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/dtlstest.c
284
if (sess != NULL && !TEST_true(SSL_session_reused(clientssl)))
crypto/openssl/test/dtlstest.c
311
if (!TEST_true(create_ssl_ctx_pair(NULL, DTLS_server_method(),
crypto/openssl/test/dtlstest.c
323
if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "DEFAULT:@SECLEVEL=0"))
crypto/openssl/test/dtlstest.c
324
|| !TEST_true(SSL_CTX_set_cipher_list(cctx,
crypto/openssl/test/dtlstest.c
329
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/dtlstest.c
331
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/dtlstest.c
351
if (!TEST_true(create_ssl_ctx_pair(NULL, DTLS_server_method(),
crypto/openssl/test/dtlstest.c
359
if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "DEFAULT:@SECLEVEL=0"))
crypto/openssl/test/dtlstest.c
360
|| !TEST_true(SSL_CTX_set_cipher_list(cctx,
crypto/openssl/test/dtlstest.c
365
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/dtlstest.c
375
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/dtlstest.c
418
if (!TEST_true(create_ssl_ctx_pair(NULL, DTLS_server_method(),
crypto/openssl/test/dtlstest.c
425
if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "DEFAULT:@SECLEVEL=0")))
crypto/openssl/test/dtlstest.c
482
if (!TEST_true(create_ssl_ctx_pair(NULL, DTLS_server_method(),
crypto/openssl/test/dtlstest.c
489
if (!TEST_true(SSL_CTX_set_cipher_list(cctx, "AES128-SHA")))
crypto/openssl/test/dtlstest.c
493
if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "AES128-SHA:@SECLEVEL=0"))
crypto/openssl/test/dtlstest.c
494
|| !TEST_true(SSL_CTX_set_cipher_list(cctx,
crypto/openssl/test/dtlstest.c
499
if (!TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl,
crypto/openssl/test/dtlstest.c
519
|| !TEST_true(mempacket_swap_epoch(bio)))
crypto/openssl/test/dtlstest.c
536
if (!TEST_true(mempacket_move_packet(bio, 0, 1)))
crypto/openssl/test/dtlstest.c
540
if (!TEST_true(mempacket_move_packet(bio, 0, 2)))
crypto/openssl/test/dtlstest.c
545
if (!TEST_true(mempacket_move_packet(bio, 1, 2)))
crypto/openssl/test/dtlstest.c
565
|| !TEST_true(SSL_has_pending(cssl)))
crypto/openssl/test/dtlstest.c
595
if (!TEST_true(create_ssl_ctx_pair(NULL, DTLS_server_method(),
crypto/openssl/test/dtlstest.c
602
if (!TEST_true(SSL_CTX_set_cipher_list(cctx, "AES128-SHA")))
crypto/openssl/test/dtlstest.c
606
if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "AES128-SHA:@SECLEVEL=0"))
crypto/openssl/test/dtlstest.c
607
|| !TEST_true(SSL_CTX_set_cipher_list(cctx,
crypto/openssl/test/dtlstest.c
612
if (!TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl,
crypto/openssl/test/dtlstest.c
643
if (!TEST_true(mempacket_dup_last_packet(bio)))
crypto/openssl/test/dtlstest.c
647
if (!TEST_true(mempacket_move_packet(bio, 0, 2)))
crypto/openssl/test/dtlstest.c
691
if (!TEST_true(create_ssl_ctx_pair(NULL, DTLS_server_method(),
crypto/openssl/test/dtlstest.c
699
if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "DEFAULT:@SECLEVEL=0"))
crypto/openssl/test/dtlstest.c
700
|| !TEST_true(SSL_CTX_set_cipher_list(cctx,
crypto/openssl/test/dtlstest.c
708
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/dtlstest.c
719
if (!TEST_true(create_bare_ssl_connection(serverssl, clientssl,
crypto/openssl/test/dtlstest.c
79
if (!TEST_true(create_ssl_ctx_pair(NULL, DTLS_server_method(),
crypto/openssl/test/dtlstest.c
86
if (!TEST_true(SSL_CTX_set_cipher_list(cctx, "AES128-SHA")))
crypto/openssl/test/dtlstest.c
90
if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "AES128-SHA:@SECLEVEL=0"))
crypto/openssl/test/dtlstest.c
91
|| !TEST_true(SSL_CTX_set_cipher_list(cctx,
crypto/openssl/test/dtlsv1listentest.c
330
if (!TEST_true((ret == 0 && tp->outtype == DROP)
crypto/openssl/test/ec_internal_test.c
168
|| !TEST_true(BN_one(a))
crypto/openssl/test/ec_internal_test.c
169
|| !TEST_true(BN_one(b)))
crypto/openssl/test/ec_internal_test.c
173
if (!TEST_true(BN_set_word(p, 0xf2)))
crypto/openssl/test/ec_internal_test.c
179
if (!TEST_true(BN_set_word(p, 0xf3)))
crypto/openssl/test/ec_internal_test.c
185
if (!TEST_true(BN_set_word(p, 0x71))
crypto/openssl/test/ec_internal_test.c
186
|| !TEST_true(BN_set_bit(p, OPENSSL_ECC_MAX_FIELD_BITS + 1)))
crypto/openssl/test/ec_internal_test.c
280
|| !TEST_true(ossl_ec_GFp_simple_set_Jprojective_coordinates_GFp(grp, P, x1,
crypto/openssl/test/ec_internal_test.c
282
|| !TEST_true(EC_POINT_mul(grp, Q, NULL, P, k, ctx))
crypto/openssl/test/ec_internal_test.c
283
|| !TEST_true(EC_POINT_get_affine_coordinates(grp, Q, x1, y1, ctx))
crypto/openssl/test/ec_internal_test.c
284
|| !TEST_true(EC_POINT_dbl(grp, R, P, ctx))
crypto/openssl/test/ec_internal_test.c
285
|| !TEST_true(EC_POINT_get_affine_coordinates(grp, R, x2, y2, ctx)))
crypto/openssl/test/ec_internal_test.c
39
|| !TEST_true(group->meth->field_inv(group, b, BN_value_one(), ctx))
crypto/openssl/test/ec_internal_test.c
40
|| !TEST_true(BN_is_one(b))
crypto/openssl/test/ec_internal_test.c
42
|| !TEST_true(BN_rand(a, BN_num_bits(group->field) - 1,
crypto/openssl/test/ec_internal_test.c
44
|| !TEST_true(group->meth->field_inv(group, b, a, ctx))
crypto/openssl/test/ec_internal_test.c
45
|| (group->meth->field_encode && !TEST_true(group->meth->field_encode(group, a, a, ctx)))
crypto/openssl/test/ec_internal_test.c
452
|| !TEST_true(i2d_ECPKParameters_fp(fp, g1)))
crypto/openssl/test/ec_internal_test.c
46
|| (group->meth->field_encode && !TEST_true(group->meth->field_encode(group, b, b, ctx)))
crypto/openssl/test/ec_internal_test.c
47
|| !TEST_true(group->meth->field_mul(group, c, a, b, ctx))
crypto/openssl/test/ec_internal_test.c
48
|| (group->meth->field_decode && !TEST_true(group->meth->field_decode(group, c, c, ctx)))
crypto/openssl/test/ec_internal_test.c
489
if (!TEST_true(BN_MONT_CTX_set(regenerated, mod, ctx)))
crypto/openssl/test/ec_internal_test.c
49
|| !TEST_true(BN_is_one(c)))
crypto/openssl/test/ec_internal_test.c
492
if (!TEST_true(ossl_bn_mont_ctx_eq(regenerated, mont)))
crypto/openssl/test/ec_internal_test.c
510
if (!TEST_true(check_bn_mont_ctx(group->mont_data, group->order, ctx))) {
crypto/openssl/test/ec_internal_test.c
515
if (!TEST_true(check_bn_mont_ctx(group->field_data1, group->field, ctx)))
crypto/openssl/test/ec_internal_test.c
530
|| !TEST_true(montgomery_correctness_test(group)))
crypto/openssl/test/ec_internal_test.c
544
|| !TEST_true(EC_get_builtin_curves(curves, crv_len)))
crypto/openssl/test/ec_internal_test.c
55
|| !TEST_true(ERR_GET_LIB(ERR_peek_last_error()) == ERR_LIB_EC)
crypto/openssl/test/ec_internal_test.c
56
|| !TEST_true(ERR_GET_REASON(ERR_peek_last_error()) == EC_R_CANNOT_INVERT)
crypto/openssl/test/ec_internal_test.c
59
|| !TEST_true(ERR_GET_LIB(ERR_peek_last_error()) == ERR_LIB_EC)
crypto/openssl/test/ec_internal_test.c
60
|| !TEST_true(ERR_GET_REASON(ERR_peek_last_error()) == EC_R_CANNOT_INVERT))
crypto/openssl/test/ec_internal_test.c
87
|| !TEST_true(BN_bin2bn(params, len, p))
crypto/openssl/test/ec_internal_test.c
88
|| !TEST_true(BN_bin2bn(params + len, len, a))
crypto/openssl/test/ec_internal_test.c
89
|| !TEST_true(BN_bin2bn(params + 2 * len, len, b))
crypto/openssl/test/ec_internal_test.c
90
|| !TEST_true(EC_GROUP_set_curve(group, p, a, b, ctx))
crypto/openssl/test/ecdsatest.c
107
|| !TEST_true(EVP_DigestInit_ex(mctx, EVP_get_digestbynid(md_nid), NULL))
crypto/openssl/test/ecdsatest.c
108
|| !TEST_true(EVP_DigestUpdate(mctx, message, msg_len))
crypto/openssl/test/ecdsatest.c
109
|| !TEST_true(EVP_DigestFinal_ex(mctx, digest, &dgst_len))
crypto/openssl/test/ecdsatest.c
115
|| !TEST_true(BN_hex2bn(&r, r_in))
crypto/openssl/test/ecdsatest.c
116
|| !TEST_true(BN_hex2bn(&s, s_in)))
crypto/openssl/test/ecdsatest.c
121
if (!TEST_true(EC_KEY_generate_key(key))
crypto/openssl/test/ecdsatest.c
122
|| !TEST_true(p_len = EC_KEY_key2buf(key, POINT_CONVERSION_UNCOMPRESSED,
crypto/openssl/test/ecdsatest.c
131
if (!TEST_true(ECDSA_sign_setup(key, NULL, &kinv, &rp))
crypto/openssl/test/ecdsatest.c
229
|| !TEST_true(EC_KEY_generate_key(eckey))
crypto/openssl/test/ecdsatest.c
231
|| !TEST_true(EVP_PKEY_assign_EC_KEY(pkey, eckey))
crypto/openssl/test/ecdsatest.c
234
|| !TEST_true(EC_KEY_generate_key(eckey_neg))
crypto/openssl/test/ecdsatest.c
237
|| !TEST_true(EVP_PKEY_assign_EC_KEY(pkey_neg, eckey_neg)))
crypto/openssl/test/ecdsatest.c
249
|| !TEST_true(EVP_DigestSignInit(mctx, NULL, NULL, NULL, pkey))
crypto/openssl/test/ecdsatest.c
251
|| !TEST_true(EVP_DigestSign(mctx, sig, &sig_len, tbs, sizeof(tbs)))
crypto/openssl/test/ecdsatest.c
253
|| !TEST_true(EVP_MD_CTX_reset(mctx))
crypto/openssl/test/ecdsatest.c
255
|| !TEST_true(EVP_DigestVerifyInit(mctx, NULL, NULL, NULL, pkey_neg))
crypto/openssl/test/ecdsatest.c
258
|| !TEST_true(EVP_MD_CTX_reset(mctx))
crypto/openssl/test/ecdsatest.c
260
|| !TEST_true(EVP_DigestVerifyInit(mctx, NULL, NULL, NULL, pkey))
crypto/openssl/test/ecdsatest.c
263
|| !TEST_true(EVP_MD_CTX_reset(mctx))
crypto/openssl/test/ecdsatest.c
265
|| !TEST_true(EVP_DigestVerifyInit(mctx, NULL, NULL, NULL, pkey))
crypto/openssl/test/ecdsatest.c
268
|| !TEST_true(EVP_MD_CTX_reset(mctx)))
crypto/openssl/test/ecdsatest.c
273
if (!TEST_true(EVP_DigestVerifyInit(mctx, NULL, NULL, NULL, pkey))
crypto/openssl/test/ecdsatest.c
276
|| !TEST_true(EVP_MD_CTX_reset(mctx)))
crypto/openssl/test/ecdsatest.c
280
if (!TEST_true(EVP_DigestVerifyInit(mctx, NULL, NULL, NULL, pkey))
crypto/openssl/test/ecdsatest.c
283
|| !TEST_true(EVP_MD_CTX_reset(mctx)))
crypto/openssl/test/ecdsatest.c
315
if (!TEST_true(EVP_DigestVerifyInit(mctx, NULL, NULL, NULL, pkey))
crypto/openssl/test/ecdsatest.c
318
|| !TEST_true(EVP_MD_CTX_reset(mctx)))
crypto/openssl/test/ecdsatest.c
322
if (!TEST_true(EVP_DigestVerifyInit(mctx, NULL, NULL, NULL, pkey))
crypto/openssl/test/ecdsatest.c
325
|| !TEST_true(EVP_MD_CTX_reset(mctx)))
crypto/openssl/test/ecdsatest.c
409
|| !TEST_true(EC_get_builtin_curves(curves, crv_len))) {
crypto/openssl/test/ecdsatest.c
46
|| !TEST_true(BN_hex2bn(&tmp, numbers[fbytes_counter]))
crypto/openssl/test/ecstresstest.c
48
|| !TEST_true(EC_POINT_get_affine_coordinates(group, point, scalar,
crypto/openssl/test/ecstresstest.c
53
if (!TEST_true(EC_POINT_mul(group, point, NULL, point, scalar, NULL))
crypto/openssl/test/ecstresstest.c
54
|| !TEST_true(EC_POINT_get_affine_coordinates(group, point,
crypto/openssl/test/ecstresstest.c
88
if (!TEST_true(BN_hex2bn(&expected_result, kP256DefaultResult))
crypto/openssl/test/ectest.c
1007
if (!TEST_true(EC_POINT_copy(R, P))
crypto/openssl/test/ectest.c
1008
|| !TEST_true(EC_POINT_add(group, P, P, Q, ctx)))
crypto/openssl/test/ectest.c
101
|| !TEST_true(BN_mul(n2, n1, n2, ctx))
crypto/openssl/test/ectest.c
1012
if (!TEST_true(EC_POINT_add(group, P, Q, R, ctx))
crypto/openssl/test/ectest.c
1013
|| !TEST_true(EC_POINT_is_at_infinity(group, P)))
crypto/openssl/test/ectest.c
102
|| !TEST_true(EC_POINT_mul(group, Q, NULL, P, n2, ctx))
crypto/openssl/test/ectest.c
1021
|| !TEST_true(EC_POINT_oct2point(group, P, buf, len, ctx))
crypto/openssl/test/ectest.c
1031
|| !TEST_true(EC_POINT_oct2point(group, P, buf, len, ctx))
crypto/openssl/test/ectest.c
1042
|| !TEST_true(EC_POINT_oct2point(group, P, buf, len, ctx))
crypto/openssl/test/ectest.c
1049
if (!TEST_true(EC_POINT_invert(group, P, ctx))
crypto/openssl/test/ectest.c
108
if (!TEST_true(EC_POINT_mul(group, Q, NULL, P, n2, ctx))
crypto/openssl/test/ectest.c
1082
if (!TEST_true(BN_dec2bn(&x, "0"))
crypto/openssl/test/ectest.c
1083
|| !TEST_true(BN_dec2bn(&y, "1"))
crypto/openssl/test/ectest.c
1086
|| !TEST_true(EC_POINT_set_affine_coordinates(group, point, x, y, NULL))
crypto/openssl/test/ectest.c
1095
if (!TEST_true(EC_POINT_oct2point(group, point, buf, len, NULL)))
crypto/openssl/test/ectest.c
110
|| !TEST_true(EC_POINT_add(group, Q, Q, P, ctx))
crypto/openssl/test/ectest.c
111
|| !TEST_true(EC_POINT_is_at_infinity(group, Q))
crypto/openssl/test/ectest.c
1123
if (!TEST_true(EC_GROUP_check(group, NULL))) {
crypto/openssl/test/ectest.c
120
if (!TEST_true(EC_POINTs_mul(group, R, NULL, 2, points, scalars, ctx))
crypto/openssl/test/ectest.c
121
|| !TEST_true(EC_POINT_dbl(group, S, points[0], ctx))
crypto/openssl/test/ectest.c
1311
|| !TEST_true(BN_hex2bn(&p, test->p))
crypto/openssl/test/ectest.c
1313
|| !TEST_true(BN_hex2bn(&a, test->a))
crypto/openssl/test/ectest.c
1314
|| !TEST_true(BN_hex2bn(&b, test->b))
crypto/openssl/test/ectest.c
1315
|| !TEST_true(EC_GROUP_set_curve(NISTP, p, a, b, ctx))
crypto/openssl/test/ectest.c
1320
|| !TEST_true(BN_hex2bn(&x, test->Qx))
crypto/openssl/test/ectest.c
1321
|| !TEST_true(BN_hex2bn(&y, test->Qy))
crypto/openssl/test/ectest.c
1322
|| !TEST_true(BN_add(yplusone, y, BN_value_one()))
crypto/openssl/test/ectest.c
1329
|| !TEST_true(EC_POINT_set_affine_coordinates(NISTP, Q_CHECK, x, y,
crypto/openssl/test/ectest.c
1331
|| !TEST_true(BN_hex2bn(&x, test->Gx))
crypto/openssl/test/ectest.c
1332
|| !TEST_true(BN_hex2bn(&y, test->Gy))
crypto/openssl/test/ectest.c
1333
|| !TEST_true(EC_POINT_set_affine_coordinates(NISTP, G, x, y, ctx))
crypto/openssl/test/ectest.c
1334
|| !TEST_true(BN_hex2bn(&order, test->order))
crypto/openssl/test/ectest.c
1335
|| !TEST_true(EC_GROUP_set_generator(NISTP, G, order, BN_value_one()))
crypto/openssl/test/ectest.c
1340
if (!TEST_true(BN_hex2bn(&n, test->d)))
crypto/openssl/test/ectest.c
1351
|| !TEST_true(EC_POINT_dbl(NISTP, P, G, ctx))
crypto/openssl/test/ectest.c
1352
|| !TEST_true(EC_GROUP_set_generator(NISTP, P, order, BN_value_one()))
crypto/openssl/test/ectest.c
1354
|| !TEST_true(BN_rshift(m, n, 1)))
crypto/openssl/test/ectest.c
1369
|| !TEST_true(EC_GROUP_precompute_mult(NISTP, ctx))
crypto/openssl/test/ectest.c
137
if (!TEST_true(EC_POINTs_mul(group, P, NULL, 6, points, scalars, ctx))
crypto/openssl/test/ectest.c
138
|| !TEST_true(EC_POINT_is_at_infinity(group, P)))
crypto/openssl/test/ectest.c
1383
|| !TEST_true(EC_GROUP_set_generator(NISTP, G, order, BN_value_one())))
crypto/openssl/test/ectest.c
1395
if (!TEST_true(BN_set_word(m, 32))
crypto/openssl/test/ectest.c
1396
|| !TEST_true(BN_set_word(n, 31))
crypto/openssl/test/ectest.c
1397
|| !TEST_true(EC_POINT_copy(P, G))
crypto/openssl/test/ectest.c
1398
|| !TEST_true(EC_POINT_invert(NISTP, P, ctx))
crypto/openssl/test/ectest.c
1399
|| !TEST_true(EC_POINT_mul(NISTP, Q, m, P, n, ctx))
crypto/openssl/test/ectest.c
1507
|| !TEST_true(EC_GROUP_get_cofactor(group, group_cofactor, NULL))
crypto/openssl/test/ectest.c
1508
|| !TEST_true(EC_GROUP_get_curve(group, group_p, group_a, group_b, NULL))
crypto/openssl/test/ectest.c
1510
|| !TEST_true(EC_POINT_add(group, other_gen, group_gen, group_gen, NULL))
crypto/openssl/test/ectest.c
1512
|| !TEST_true(BN_add_word(other_order, 1))
crypto/openssl/test/ectest.c
1514
|| !TEST_true(BN_add_word(other_a, 1))
crypto/openssl/test/ectest.c
1516
|| !TEST_true(BN_add_word(other_b, 1))
crypto/openssl/test/ectest.c
1518
|| !TEST_true(BN_add_word(other_cofactor, 1)))
crypto/openssl/test/ectest.c
1526
|| !TEST_true(BN_lshift1(other_p, other_p)))
crypto/openssl/test/ectest.c
1589
if (!TEST_true(EC_GROUP_set_generator(gtest, other_gen, group_order,
crypto/openssl/test/ectest.c
1592
|| !TEST_true(EC_GROUP_set_generator(gtest, group_gen, other_order,
crypto/openssl/test/ectest.c
1598
|| !TEST_true(EC_GROUP_set_generator(gtest, group_gen, group_order,
crypto/openssl/test/ectest.c
1602
|| !TEST_true(EC_GROUP_set_generator(gtest, group_gen, group_order,
crypto/openssl/test/ectest.c
1606
|| !TEST_true(EC_GROUP_set_generator(gtest, group_gen, group_order,
crypto/openssl/test/ectest.c
1646
if (!TEST_true(EC_GROUP_set_curve(gtest, group_p, group_a, group_b, NULL))
crypto/openssl/test/ectest.c
177
|| !TEST_true(BN_hex2bn(&p, "17"))
crypto/openssl/test/ectest.c
178
|| !TEST_true(BN_hex2bn(&a, "1"))
crypto/openssl/test/ectest.c
179
|| !TEST_true(BN_hex2bn(&b, "1"))
crypto/openssl/test/ectest.c
181
|| !TEST_true(EC_GROUP_get_curve(group, p, a, b, ctx)))
crypto/openssl/test/ectest.c
1838
|| !TEST_true(EC_GROUP_get_cofactor(group, group_cofactor, NULL))
crypto/openssl/test/ectest.c
1842
|| !TEST_true(EC_POINT_add(group, other_gen, group_gen, group_gen, NULL))
crypto/openssl/test/ectest.c
1843
|| !TEST_true(EC_POINT_get_affine_coordinates(group, other_gen,
crypto/openssl/test/ectest.c
1845
|| !TEST_true(BN_copy(other_order, group_order))
crypto/openssl/test/ectest.c
1846
|| !TEST_true(BN_add_word(other_order, 1))
crypto/openssl/test/ectest.c
1847
|| !TEST_true(BN_copy(other_cofactor, group_cofactor))
crypto/openssl/test/ectest.c
1848
|| !TEST_true(BN_add_word(other_cofactor, 1)))
crypto/openssl/test/ectest.c
1855
|| !TEST_true(EC_POINT_set_affine_coordinates(tmpg, other_gen,
crypto/openssl/test/ectest.c
1877
if (!TEST_true(are_ec_nids_compatible(nid, tnid))) {
crypto/openssl/test/ectest.c
1894
|| !TEST_true(are_ec_nids_compatible(nid, tnid))
crypto/openssl/test/ectest.c
1909
|| !TEST_true(are_ec_nids_compatible(nid, tnid))
crypto/openssl/test/ectest.c
1921
!TEST_true(EC_GROUP_set_generator(tmpg, other_gen, group_order,
crypto/openssl/test/ectest.c
1927
|| !TEST_true(EC_GROUP_set_generator(tmpg, group_gen, other_order,
crypto/openssl/test/ectest.c
1936
|| !TEST_true(EC_GROUP_set_generator(tmpg, group_gen, group_order,
crypto/openssl/test/ectest.c
194
|| !TEST_true(EC_POINT_set_to_infinity(group, P))
crypto/openssl/test/ectest.c
1941
|| !TEST_true(are_ec_nids_compatible(nid, tnid))
crypto/openssl/test/ectest.c
1945
|| !TEST_true(EC_GROUP_set_generator(tmpg, group_gen, group_order,
crypto/openssl/test/ectest.c
195
|| !TEST_true(EC_POINT_is_at_infinity(group, P))
crypto/openssl/test/ectest.c
1950
|| !TEST_true(are_ec_nids_compatible(nid, tnid))
crypto/openssl/test/ectest.c
1954
|| !TEST_true(EC_GROUP_set_generator(tmpg, group_gen, group_order,
crypto/openssl/test/ectest.c
1959
|| !TEST_true(are_ec_nids_compatible(nid, tnid))
crypto/openssl/test/ectest.c
196
|| !TEST_true(EC_POINT_oct2point(group, Q, buf, 1, ctx))
crypto/openssl/test/ectest.c
197
|| !TEST_true(EC_POINT_add(group, P, P, Q, ctx))
crypto/openssl/test/ectest.c
198
|| !TEST_true(EC_POINT_is_at_infinity(group, P))
crypto/openssl/test/ectest.c
1997
|| !TEST_true((len = i2d_ECPKParameters(group, &buf)) >= 0)
crypto/openssl/test/ectest.c
2009
if (!TEST_true((len = i2d_ECPKParameters(group, &buf)) >= 0)
crypto/openssl/test/ectest.c
203
|| !TEST_true(BN_hex2bn(&x, "D"))
crypto/openssl/test/ectest.c
204
|| !TEST_true(EC_POINT_set_compressed_coordinates(group, Q, x, 1, ctx)))
crypto/openssl/test/ectest.c
2068
if (!TEST_true(EC_GROUP_get_curve(group_nmd, p, a, b, bn_ctx))
crypto/openssl/test/ectest.c
2069
|| !TEST_true(OSSL_PARAM_BLD_push_utf8_string(
crypto/openssl/test/ectest.c
2071
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_EC_P, p))
crypto/openssl/test/ectest.c
2072
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_EC_A, a))
crypto/openssl/test/ectest.c
2073
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_EC_B, b)))
crypto/openssl/test/ectest.c
2077
if (!TEST_true(OSSL_PARAM_BLD_push_octet_string(
crypto/openssl/test/ectest.c
208
if (!TEST_true(EC_POINT_get_affine_coordinates(group, Q, x, y, ctx)))
crypto/openssl/test/ectest.c
2083
if (!TEST_true(OSSL_PARAM_BLD_push_BN(
crypto/openssl/test/ectest.c
2099
|| !TEST_true(OSSL_PARAM_BLD_push_octet_string(
crypto/openssl/test/ectest.c
2101
|| !TEST_true(OSSL_PARAM_BLD_push_BN(
crypto/openssl/test/ectest.c
225
if (!TEST_true(EC_POINT_get_affine_coordinates(group, P, x, y,
crypto/openssl/test/ectest.c
2260
|| !TEST_true(EC_GROUP_get_curve(g1, g1_p, g1_a, g1_b, ctx))
crypto/openssl/test/ectest.c
2261
|| !TEST_true(EC_POINT_get_affine_coordinates(g1,
crypto/openssl/test/ectest.c
2263
|| !TEST_true(BN_copy(g1_order, EC_GROUP_get0_order(g1)))
crypto/openssl/test/ectest.c
2264
|| !TEST_true(EC_GROUP_get_cofactor(g1, g1_cf, ctx))
crypto/openssl/test/ectest.c
2273
|| !TEST_true(EC_POINT_set_affine_coordinates(g2, g2_gen, g1_x, g1_y, ctx))
crypto/openssl/test/ectest.c
2275
|| !TEST_true(EC_GROUP_set_generator(g2, g2_gen, g1_order, NULL))
crypto/openssl/test/ectest.c
2276
|| !TEST_true(EC_GROUP_get_cofactor(g2, g2_cf, ctx))
crypto/openssl/test/ectest.c
2279
|| !TEST_true(BN_set_word(g2_cf, 0))
crypto/openssl/test/ectest.c
2280
|| !TEST_true(EC_GROUP_set_generator(g2, g2_gen, g1_order, g2_cf))
crypto/openssl/test/ectest.c
2281
|| !TEST_true(EC_GROUP_get_cofactor(g2, g2_cf, ctx))
crypto/openssl/test/ectest.c
2284
|| !TEST_true(BN_set_word(g2_cf, 0))
crypto/openssl/test/ectest.c
2285
|| !TEST_true(BN_sub(g2_cf, g2_cf, BN_value_one()))
crypto/openssl/test/ectest.c
2290
|| !TEST_true(BN_set_word(g1_order, 0))
crypto/openssl/test/ectest.c
2293
|| !TEST_true(BN_set_word(g2_cf, 0))
crypto/openssl/test/ectest.c
2294
|| !TEST_true(BN_sub(g2_cf, g2_cf, BN_value_one()))
crypto/openssl/test/ectest.c
2297
|| !TEST_true(BN_lshift(g1_order, g1_p, 2))
crypto/openssl/test/ectest.c
233
if (!TEST_true(EC_POINT_copy(R, P))
crypto/openssl/test/ectest.c
234
|| !TEST_true(EC_POINT_add(group, P, P, Q, ctx)))
crypto/openssl/test/ectest.c
2340
if (!TEST_true(BN_GF2m_add(x, x, field)))
crypto/openssl/test/ectest.c
2346
if (!TEST_true(BN_add(x, x, field)))
crypto/openssl/test/ectest.c
2383
|| !TEST_true(EC_POINT_set_to_infinity(group, Pinf)))
crypto/openssl/test/ectest.c
239
if (!TEST_true(EC_POINT_add(group, P, Q, R, ctx))
crypto/openssl/test/ectest.c
240
|| !TEST_true(EC_POINT_is_at_infinity(group, P)))
crypto/openssl/test/ectest.c
2400
&& !TEST_true(EC_POINT_is_at_infinity(group, Q)))
crypto/openssl/test/ectest.c
2432
if (!TEST_true(ec_point_hex2point_test_helper(group, P,
crypto/openssl/test/ectest.c
2435
|| !TEST_true(ec_point_hex2point_test_helper(group, NULL,
crypto/openssl/test/ectest.c
2438
|| !TEST_true(ec_point_hex2point_test_helper(group, P,
crypto/openssl/test/ectest.c
2441
|| !TEST_true(ec_point_hex2point_test_helper(group, NULL,
crypto/openssl/test/ectest.c
2444
|| !TEST_true(ec_point_hex2point_test_helper(group, P,
crypto/openssl/test/ectest.c
2447
|| !TEST_true(ec_point_hex2point_test_helper(group, NULL,
crypto/openssl/test/ectest.c
246
|| !TEST_true(EC_POINT_oct2point(group, P, buf, len, ctx))
crypto/openssl/test/ectest.c
2498
if (!TEST_true(EC_GROUP_get_trinomial_basis(group, &k1)))
crypto/openssl/test/ectest.c
2502
if (!TEST_true(EC_GROUP_get_pentanomial_basis(group, &k1, &k2, &k3)))
crypto/openssl/test/ectest.c
2507
if (!TEST_true(EC_GROUP_get_curve(group, p, a, b, ctx))
crypto/openssl/test/ectest.c
2508
|| !TEST_true(OSSL_PARAM_BLD_push_utf8_string(bld,
crypto/openssl/test/ectest.c
2510
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_EC_P, p))
crypto/openssl/test/ectest.c
2511
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_EC_A, a))
crypto/openssl/test/ectest.c
2512
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_EC_B, b)))
crypto/openssl/test/ectest.c
2516
if (!TEST_true(OSSL_PARAM_BLD_push_octet_string(bld,
crypto/openssl/test/ectest.c
2522
if (!TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_EC_COFACTOR,
crypto/openssl/test/ectest.c
2527
if (!TEST_true(OSSL_PARAM_BLD_push_octet_string(bld,
crypto/openssl/test/ectest.c
2529
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_EC_ORDER,
crypto/openssl/test/ectest.c
255
|| !TEST_true(EC_POINT_oct2point(group, P, buf, len, ctx))
crypto/openssl/test/ectest.c
2550
if (!TEST_true(EVP_PKEY_get_utf8_string_param(pkeyparam,
crypto/openssl/test/ectest.c
2556
if (!TEST_true(EVP_PKEY_get_utf8_string_param(pkeyparam,
crypto/openssl/test/ectest.c
2562
if (!TEST_true(EVP_PKEY_get_octet_string_param(pkeyparam,
crypto/openssl/test/ectest.c
2567
if (!TEST_true(EVP_PKEY_get_bn_param(pkeyparam, OSSL_PKEY_PARAM_EC_P, &p_out))
crypto/openssl/test/ectest.c
2569
|| !TEST_true(EVP_PKEY_get_bn_param(pkeyparam, OSSL_PKEY_PARAM_EC_A,
crypto/openssl/test/ectest.c
2572
|| !TEST_true(EVP_PKEY_get_bn_param(pkeyparam, OSSL_PKEY_PARAM_EC_B,
crypto/openssl/test/ectest.c
2575
|| !TEST_true(EVP_PKEY_get_bn_param(pkeyparam, OSSL_PKEY_PARAM_EC_ORDER,
crypto/openssl/test/ectest.c
2581
if (!TEST_true(EVP_PKEY_get_bn_param(pkeyparam,
crypto/openssl/test/ectest.c
2587
if (!TEST_true(EVP_PKEY_get_octet_string_param(pkeyparam,
crypto/openssl/test/ectest.c
2612
if (!TEST_true(EVP_PKEY_get_int_param(pkeyparam,
crypto/openssl/test/ectest.c
2615
|| !TEST_true(EVP_PKEY_get_utf8_string_param(pkeyparam,
crypto/openssl/test/ectest.c
2622
if (!TEST_true(EVP_PKEY_get_int_param(pkeyparam,
crypto/openssl/test/ectest.c
2635
|| !TEST_true(EVP_PKEY_get_int_param(pkeyparam,
crypto/openssl/test/ectest.c
2638
|| !TEST_true(EVP_PKEY_get_int_param(pkeyparam,
crypto/openssl/test/ectest.c
264
|| !TEST_true(EC_POINT_oct2point(group, P, buf, len, ctx))
crypto/openssl/test/ectest.c
2641
|| !TEST_true(EVP_PKEY_get_int_param(pkeyparam,
crypto/openssl/test/ectest.c
270
if (!TEST_true(EC_POINT_invert(group, P, ctx))
crypto/openssl/test/ectest.c
2712
|| !TEST_true(BN_rand(k, EC_GROUP_order_bits(group) - 1,
crypto/openssl/test/ectest.c
2715
|| !TEST_true(BN_clear_bit(k, 0))
crypto/openssl/test/ectest.c
2719
|| !TEST_true(EC_POINT_mul(group, Q1, k, NULL, NULL, ctx))
crypto/openssl/test/ectest.c
2731
|| !TEST_true(EC_POINT_dbl(group, G2, EC_GROUP_get0_generator(group),
crypto/openssl/test/ectest.c
2733
|| !TEST_true(EC_GROUP_set_generator(group, G2,
crypto/openssl/test/ectest.c
2737
|| !TEST_true(BN_rshift1(k, k))
crypto/openssl/test/ectest.c
2739
|| !TEST_true(EC_POINT_mul(group, Q2, k, NULL, NULL, ctx))
crypto/openssl/test/ectest.c
278
|| !TEST_true(BN_hex2bn(&p, "FFFFFFFF"
crypto/openssl/test/ectest.c
281
|| !TEST_true(BN_hex2bn(&a, "FFFFFFFF"
crypto/openssl/test/ectest.c
2829
if (!TEST_true(EC_GROUP_get_curve(group, p, a, b, ctx))
crypto/openssl/test/ectest.c
283
|| !TEST_true(BN_hex2bn(&b, "1C97BEFC"
crypto/openssl/test/ectest.c
2832
|| !TEST_true(EC_POINT_dbl(group, G2,
crypto/openssl/test/ectest.c
285
|| !TEST_true(EC_GROUP_set_curve(group, p, a, b, ctx))
crypto/openssl/test/ectest.c
286
|| !TEST_true(BN_hex2bn(&x, "4A96B568"
crypto/openssl/test/ectest.c
2863
|| !TEST_true(EC_POINT_oct2point(altgroup, G2, buf1, bsize, ctx))
crypto/openssl/test/ectest.c
2865
|| !TEST_true(EC_GROUP_set_generator(altgroup, G2, z, cof)))
crypto/openssl/test/ectest.c
2873
|| !TEST_true(BN_rand(k, EC_GROUP_order_bits(group) - 1,
crypto/openssl/test/ectest.c
2876
|| !TEST_true(BN_clear_bit(k, 0))
crypto/openssl/test/ectest.c
2878
|| !TEST_true(EC_POINT_mul(group, Q1, k, NULL, NULL, ctx))
crypto/openssl/test/ectest.c
288
|| !TEST_true(BN_hex2bn(&y, "23a62855"
crypto/openssl/test/ectest.c
2889
|| !TEST_true(BN_rshift1(k, k))
crypto/openssl/test/ectest.c
2891
|| !TEST_true(EC_POINT_mul(altgroup, Q2, k, NULL, NULL, ctx))
crypto/openssl/test/ectest.c
290
|| !TEST_true(BN_add(yplusone, y, BN_value_one()))
crypto/openssl/test/ectest.c
2908
|| !TEST_true(EC_KEY_set_group(eckey1, altgroup))
crypto/openssl/test/ectest.c
2909
|| !TEST_true(EC_KEY_generate_key(eckey1))
crypto/openssl/test/ectest.c
2911
|| !TEST_true(EC_KEY_set_group(eckey2, altgroup))
crypto/openssl/test/ectest.c
2912
|| !TEST_true(EC_KEY_generate_key(eckey2)))
crypto/openssl/test/ectest.c
2925
if (!TEST_true(EC_POINT_mul(group, Q1, priv1, NULL, NULL, ctx))
crypto/openssl/test/ectest.c
297
|| !TEST_true(EC_POINT_set_affine_coordinates(group, P, x, y, ctx))
crypto/openssl/test/ectest.c
2983
|| !TEST_true(OSSL_PARAM_BLD_push_utf8_string(param_bld,
crypto/openssl/test/ectest.c
2986
|| !TEST_true(OSSL_PARAM_BLD_push_octet_string(param_bld,
crypto/openssl/test/ectest.c
2989
|| !TEST_true(OSSL_PARAM_BLD_push_BN(param_bld,
crypto/openssl/test/ectest.c
299
|| !TEST_true(BN_hex2bn(&z, "0100000000"
crypto/openssl/test/ectest.c
2997
|| !TEST_true(OSSL_PARAM_BLD_push_utf8_string(param_bld,
crypto/openssl/test/ectest.c
3000
|| !TEST_true(OSSL_PARAM_BLD_push_octet_string(param_bld,
crypto/openssl/test/ectest.c
301
|| !TEST_true(EC_GROUP_set_generator(group, P, z, BN_value_one()))
crypto/openssl/test/ectest.c
302
|| !TEST_true(EC_POINT_get_affine_coordinates(group, P, x, y, ctx)))
crypto/openssl/test/ectest.c
308
if (!TEST_true(BN_hex2bn(&z, "23a62855"
crypto/openssl/test/ectest.c
3081
|| !TEST_true(EVP_PKEY_fromdata_init(pctx))
crypto/openssl/test/ectest.c
3082
|| !TEST_true(EVP_PKEY_fromdata(pctx, &decoded_key,
crypto/openssl/test/ectest.c
3090
if (!TEST_true(EVP_PKEY_eq(gen_key, decoded_key)))
crypto/openssl/test/ectest.c
3105
|| !TEST_true(EC_get_builtin_curves(curves, crv_len)))
crypto/openssl/test/ectest.c
316
|| !TEST_true(BN_hex2bn(&p, "FFFFFFFFFFFFFFFF"
crypto/openssl/test/ectest.c
319
|| !TEST_true(BN_hex2bn(&a, "FFFFFFFFFFFFFFFF"
crypto/openssl/test/ectest.c
321
|| !TEST_true(BN_hex2bn(&b, "64210519E59C80E7"
crypto/openssl/test/ectest.c
323
|| !TEST_true(EC_GROUP_set_curve(group, p, a, b, ctx))
crypto/openssl/test/ectest.c
324
|| !TEST_true(BN_hex2bn(&x, "188DA80EB03090F6"
crypto/openssl/test/ectest.c
326
|| !TEST_true(EC_POINT_set_compressed_coordinates(group, P, x, 1, ctx))
crypto/openssl/test/ectest.c
328
|| !TEST_true(BN_hex2bn(&z, "FFFFFFFFFFFFFFFF"
crypto/openssl/test/ectest.c
330
|| !TEST_true(EC_GROUP_set_generator(group, P, z, BN_value_one()))
crypto/openssl/test/ectest.c
331
|| !TEST_true(EC_POINT_get_affine_coordinates(group, P, x, y, ctx)))
crypto/openssl/test/ectest.c
338
if (!TEST_true(BN_hex2bn(&z, "07192B95FFC8DA78"
crypto/openssl/test/ectest.c
341
|| !TEST_true(BN_add(yplusone, y, BN_value_one()))
crypto/openssl/test/ectest.c
353
|| !TEST_true(BN_hex2bn(&p, "FFFFFFFFFFFFFFFFFFFFFFFF"
crypto/openssl/test/ectest.c
356
|| !TEST_true(BN_hex2bn(&a, "FFFFFFFFFFFFFFFFFFFFFFFF"
crypto/openssl/test/ectest.c
358
|| !TEST_true(BN_hex2bn(&b, "B4050A850C04B3ABF5413256"
crypto/openssl/test/ectest.c
360
|| !TEST_true(EC_GROUP_set_curve(group, p, a, b, ctx))
crypto/openssl/test/ectest.c
361
|| !TEST_true(BN_hex2bn(&x, "B70E0CBD6BB4BF7F321390B9"
crypto/openssl/test/ectest.c
363
|| !TEST_true(EC_POINT_set_compressed_coordinates(group, P, x, 0, ctx))
crypto/openssl/test/ectest.c
365
|| !TEST_true(BN_hex2bn(&z, "FFFFFFFFFFFFFFFFFFFFFFFF"
crypto/openssl/test/ectest.c
367
|| !TEST_true(EC_GROUP_set_generator(group, P, z, BN_value_one()))
crypto/openssl/test/ectest.c
368
|| !TEST_true(EC_POINT_get_affine_coordinates(group, P, x, y, ctx)))
crypto/openssl/test/ectest.c
375
if (!TEST_true(BN_hex2bn(&z, "BD376388B5F723FB4C22DFE6"
crypto/openssl/test/ectest.c
378
|| !TEST_true(BN_add(yplusone, y, BN_value_one()))
crypto/openssl/test/ectest.c
390
|| !TEST_true(BN_hex2bn(&p, "FFFFFFFF000000010000000000000000"
crypto/openssl/test/ectest.c
393
|| !TEST_true(BN_hex2bn(&a, "FFFFFFFF000000010000000000000000"
crypto/openssl/test/ectest.c
395
|| !TEST_true(BN_hex2bn(&b, "5AC635D8AA3A93E7B3EBBD55769886BC"
crypto/openssl/test/ectest.c
397
|| !TEST_true(EC_GROUP_set_curve(group, p, a, b, ctx))
crypto/openssl/test/ectest.c
399
|| !TEST_true(BN_hex2bn(&x, "6B17D1F2E12C4247F8BCE6E563A440F2"
crypto/openssl/test/ectest.c
401
|| !TEST_true(EC_POINT_set_compressed_coordinates(group, P, x, 1, ctx))
crypto/openssl/test/ectest.c
403
|| !TEST_true(BN_hex2bn(&z, "FFFFFFFF00000000FFFFFFFFFFFFFFFF"
crypto/openssl/test/ectest.c
405
|| !TEST_true(EC_GROUP_set_generator(group, P, z, BN_value_one()))
crypto/openssl/test/ectest.c
406
|| !TEST_true(EC_POINT_get_affine_coordinates(group, P, x, y, ctx)))
crypto/openssl/test/ectest.c
413
if (!TEST_true(BN_hex2bn(&z, "4FE342E2FE1A7F9B8EE7EB4A7C0F9E16"
crypto/openssl/test/ectest.c
416
|| !TEST_true(BN_add(yplusone, y, BN_value_one()))
crypto/openssl/test/ectest.c
428
|| !TEST_true(BN_hex2bn(&p, "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
crypto/openssl/test/ectest.c
432
|| !TEST_true(BN_hex2bn(&a, "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
crypto/openssl/test/ectest.c
435
|| !TEST_true(BN_hex2bn(&b, "B3312FA7E23EE7E4988E056BE3F82D19"
crypto/openssl/test/ectest.c
438
|| !TEST_true(EC_GROUP_set_curve(group, p, a, b, ctx))
crypto/openssl/test/ectest.c
440
|| !TEST_true(BN_hex2bn(&x, "AA87CA22BE8B05378EB1C71EF320AD74"
crypto/openssl/test/ectest.c
443
|| !TEST_true(EC_POINT_set_compressed_coordinates(group, P, x, 1, ctx))
crypto/openssl/test/ectest.c
445
|| !TEST_true(BN_hex2bn(&z, "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
crypto/openssl/test/ectest.c
448
|| !TEST_true(EC_GROUP_set_generator(group, P, z, BN_value_one()))
crypto/openssl/test/ectest.c
449
|| !TEST_true(EC_POINT_get_affine_coordinates(group, P, x, y, ctx)))
crypto/openssl/test/ectest.c
456
if (!TEST_true(BN_hex2bn(&z, "3617DE4A96262C6F5D9E98BF9292DC29"
crypto/openssl/test/ectest.c
460
|| !TEST_true(BN_add(yplusone, y, BN_value_one()))
crypto/openssl/test/ectest.c
471
|| !TEST_true(BN_hex2bn(&p, "1FF"
crypto/openssl/test/ectest.c
477
|| !TEST_true(BN_hex2bn(&a, "1FF"
crypto/openssl/test/ectest.c
482
|| !TEST_true(BN_hex2bn(&b, "051"
crypto/openssl/test/ectest.c
487
|| !TEST_true(EC_GROUP_set_curve(group, p, a, b, ctx))
crypto/openssl/test/ectest.c
488
|| !TEST_true(BN_hex2bn(&x, "C6"
crypto/openssl/test/ectest.c
493
|| !TEST_true(EC_POINT_set_compressed_coordinates(group, P, x, 0, ctx))
crypto/openssl/test/ectest.c
495
|| !TEST_true(BN_hex2bn(&z, "1FF"
crypto/openssl/test/ectest.c
500
|| !TEST_true(EC_GROUP_set_generator(group, P, z, BN_value_one()))
crypto/openssl/test/ectest.c
501
|| !TEST_true(EC_POINT_get_affine_coordinates(group, P, x, y, ctx)))
crypto/openssl/test/ectest.c
508
if (!TEST_true(BN_hex2bn(&z, "118"
crypto/openssl/test/ectest.c
514
|| !TEST_true(BN_add(yplusone, y, BN_value_one()))
crypto/openssl/test/ectest.c
527
|| !TEST_true(EC_POINT_set_affine_coordinates(group, P, x, y, ctx))
crypto/openssl/test/ectest.c
528
|| !TEST_true(EC_POINT_copy(Q, P))
crypto/openssl/test/ectest.c
530
|| !TEST_true(EC_POINT_dbl(group, P, P, ctx))
crypto/openssl/test/ectest.c
532
|| !TEST_true(EC_POINT_invert(group, Q, ctx)) /* P = -2Q */
crypto/openssl/test/ectest.c
533
|| !TEST_true(EC_POINT_add(group, R, P, Q, ctx))
crypto/openssl/test/ectest.c
534
|| !TEST_true(EC_POINT_add(group, R, R, Q, ctx))
crypto/openssl/test/ectest.c
535
|| !TEST_true(EC_POINT_is_at_infinity(group, R)) /* R = P + 2Q */
crypto/openssl/test/ectest.c
546
if (!TEST_true(EC_GROUP_get_order(group, z, ctx))
crypto/openssl/test/ectest.c
547
|| !TEST_true(BN_add(y, z, BN_value_one()))
crypto/openssl/test/ectest.c
549
|| !TEST_true(BN_rshift1(y, y)))
crypto/openssl/test/ectest.c
556
if (!TEST_true(EC_POINTs_mul(group, P, NULL, 2, points, scalars, ctx))
crypto/openssl/test/ectest.c
557
|| !TEST_true(EC_POINTs_mul(group, R, z, 2, points, scalars, ctx))
crypto/openssl/test/ectest.c
560
|| !TEST_true(BN_rand(y, BN_num_bits(y), 0, 0))
crypto/openssl/test/ectest.c
561
|| !TEST_true(BN_add(z, z, y)))
crypto/openssl/test/ectest.c
567
if (!TEST_true(EC_POINTs_mul(group, P, NULL, 2, points, scalars, ctx))
crypto/openssl/test/ectest.c
568
|| !TEST_true(EC_POINT_is_at_infinity(group, P))
crypto/openssl/test/ectest.c
569
|| !TEST_true(BN_rand(x, BN_num_bits(y) - 1, 0, 0))
crypto/openssl/test/ectest.c
570
|| !TEST_true(BN_add(z, x, y)))
crypto/openssl/test/ectest.c
58
if (!TEST_true(EC_GROUP_get_order(group, order, ctx))
crypto/openssl/test/ectest.c
582
if (!TEST_true(EC_POINTs_mul(group, P, NULL, 4, points, scalars, ctx))
crypto/openssl/test/ectest.c
583
|| !TEST_true(EC_POINT_is_at_infinity(group, P)))
crypto/openssl/test/ectest.c
59
|| !TEST_true(EC_POINT_mul(group, Q, order, NULL, NULL, ctx))
crypto/openssl/test/ectest.c
60
|| !TEST_true(EC_POINT_is_at_infinity(group, Q))
crypto/openssl/test/ectest.c
62
|| !TEST_true(EC_GROUP_precompute_mult(group, ctx))
crypto/openssl/test/ectest.c
64
|| !TEST_true(EC_POINT_mul(group, Q, order, NULL, NULL, ctx))
crypto/openssl/test/ectest.c
65
|| !TEST_true(EC_POINT_is_at_infinity(group, Q))
crypto/openssl/test/ectest.c
66
|| !TEST_true(EC_POINT_copy(P, G))
crypto/openssl/test/ectest.c
67
|| !TEST_true(BN_one(n1))
crypto/openssl/test/ectest.c
68
|| !TEST_true(EC_POINT_mul(group, Q, n1, NULL, NULL, ctx))
crypto/openssl/test/ectest.c
70
|| !TEST_true(BN_sub(n1, order, n1))
crypto/openssl/test/ectest.c
71
|| !TEST_true(EC_POINT_mul(group, Q, n1, NULL, NULL, ctx))
crypto/openssl/test/ectest.c
72
|| !TEST_true(EC_POINT_invert(group, Q, ctx))
crypto/openssl/test/ectest.c
789
|| !TEST_true(BN_hex2bn(&p, test->p))
crypto/openssl/test/ectest.c
790
|| !TEST_true(BN_hex2bn(&a, test->a))
crypto/openssl/test/ectest.c
791
|| !TEST_true(BN_hex2bn(&b, test->b))
crypto/openssl/test/ectest.c
792
|| !TEST_true(group = EC_GROUP_new_curve_GF2m(p, a, b, ctx))
crypto/openssl/test/ectest.c
796
|| !TEST_true(BN_hex2bn(&x, test->x))
crypto/openssl/test/ectest.c
797
|| !TEST_true(BN_hex2bn(&y, test->y))
crypto/openssl/test/ectest.c
798
|| !TEST_true(BN_add(yplusone, y, BN_value_one())))
crypto/openssl/test/ectest.c
808
|| !TEST_true(EC_POINT_set_compressed_coordinates(group, P, x,
crypto/openssl/test/ectest.c
812
|| !TEST_true(BN_hex2bn(&z, test->order))
crypto/openssl/test/ectest.c
813
|| !TEST_true(BN_hex2bn(&cof, test->cof))
crypto/openssl/test/ectest.c
814
|| !TEST_true(EC_GROUP_set_generator(group, P, z, cof))
crypto/openssl/test/ectest.c
815
|| !TEST_true(EC_POINT_get_affine_coordinates(group, P, x, y, ctx)))
crypto/openssl/test/ectest.c
82
if (!TEST_true(BN_set_word(n1, i))
crypto/openssl/test/ectest.c
821
if (!TEST_true(BN_hex2bn(&z, test->y))
crypto/openssl/test/ectest.c
830
|| !TEST_true(EC_POINT_set_affine_coordinates(group, P, x, y, ctx))
crypto/openssl/test/ectest.c
832
|| !TEST_true(BN_hex2bn(&z, test->order))
crypto/openssl/test/ectest.c
833
|| !TEST_true(BN_hex2bn(&cof, test->cof))
crypto/openssl/test/ectest.c
834
|| !TEST_true(EC_GROUP_set_generator(group, P, z, cof)))
crypto/openssl/test/ectest.c
847
if (!TEST_true(EC_POINT_set_affine_coordinates(group, P, x, y, ctx))
crypto/openssl/test/ectest.c
848
|| !TEST_true(EC_POINT_copy(Q, P))
crypto/openssl/test/ectest.c
850
|| !TEST_true(EC_POINT_dbl(group, P, P, ctx))
crypto/openssl/test/ectest.c
852
|| !TEST_true(EC_POINT_invert(group, Q, ctx)) /* P = -2Q */
crypto/openssl/test/ectest.c
853
|| !TEST_true(EC_POINT_add(group, R, P, Q, ctx))
crypto/openssl/test/ectest.c
854
|| !TEST_true(EC_POINT_add(group, R, R, Q, ctx))
crypto/openssl/test/ectest.c
855
|| !TEST_true(EC_POINT_is_at_infinity(group, R)) /* R = P + 2Q */
crypto/openssl/test/ectest.c
865
if (!TEST_true(BN_add(y, z, BN_value_one()))
crypto/openssl/test/ectest.c
867
|| !TEST_true(BN_rshift1(y, y)))
crypto/openssl/test/ectest.c
87
|| !TEST_true(EC_POINT_mul(group, P, n1, NULL, NULL, ctx))
crypto/openssl/test/ectest.c
873
if (!TEST_true(EC_POINTs_mul(group, P, NULL, 2, points, scalars, ctx))
crypto/openssl/test/ectest.c
874
|| !TEST_true(EC_POINTs_mul(group, R, z, 2, points, scalars, ctx))
crypto/openssl/test/ectest.c
879
if (!TEST_true(BN_rand(y, BN_num_bits(y), 0, 0))
crypto/openssl/test/ectest.c
880
|| !TEST_true(BN_add(z, z, y)))
crypto/openssl/test/ectest.c
886
if (!TEST_true(EC_POINTs_mul(group, P, NULL, 2, points, scalars, ctx))
crypto/openssl/test/ectest.c
887
|| !TEST_true(EC_POINT_is_at_infinity(group, P)))
crypto/openssl/test/ectest.c
89
|| !TEST_true(BN_one(n1))
crypto/openssl/test/ectest.c
890
if (!TEST_true(BN_rand(x, BN_num_bits(y) - 1, 0, 0))
crypto/openssl/test/ectest.c
891
|| !TEST_true(BN_add(z, x, y)))
crypto/openssl/test/ectest.c
898
if (!TEST_true(EC_POINTs_mul(group, P, NULL, 3, points, scalars, ctx))
crypto/openssl/test/ectest.c
899
|| !TEST_true(EC_POINT_is_at_infinity(group, P)))
crypto/openssl/test/ectest.c
91
|| !TEST_true(BN_sub(n1, n1, order))
crypto/openssl/test/ectest.c
92
|| !TEST_true(EC_POINT_mul(group, Q, NULL, P, n1, ctx))
crypto/openssl/test/ectest.c
937
|| !TEST_true(BN_hex2bn(&p, "13"))
crypto/openssl/test/ectest.c
938
|| !TEST_true(BN_hex2bn(&a, "3"))
crypto/openssl/test/ectest.c
939
|| !TEST_true(BN_hex2bn(&b, "1")))
crypto/openssl/test/ectest.c
943
|| !TEST_true(EC_GROUP_get_curve(group, p, a, b, ctx)))
crypto/openssl/test/ectest.c
955
|| !TEST_true(EC_POINT_set_to_infinity(group, P))
crypto/openssl/test/ectest.c
956
|| !TEST_true(EC_POINT_is_at_infinity(group, P)))
crypto/openssl/test/ectest.c
96
|| !TEST_true(BN_add(n2, order, BN_value_one()))
crypto/openssl/test/ectest.c
960
if (!TEST_true(EC_POINT_oct2point(group, Q, buf, 1, ctx))
crypto/openssl/test/ectest.c
961
|| !TEST_true(EC_POINT_add(group, P, P, Q, ctx))
crypto/openssl/test/ectest.c
962
|| !TEST_true(EC_POINT_is_at_infinity(group, P))
crypto/openssl/test/ectest.c
968
|| !TEST_true(BN_hex2bn(&x, "6"))
crypto/openssl/test/ectest.c
97
|| !TEST_true(EC_POINT_mul(group, Q, NULL, P, n2, ctx))
crypto/openssl/test/ectest.c
971
|| !TEST_true(EC_POINT_set_compressed_coordinates(group, Q, x, 1, ctx))
crypto/openssl/test/ectest.c
973
|| !TEST_true(BN_hex2bn(&y, "8"))
crypto/openssl/test/ectest.c
974
|| !TEST_true(EC_POINT_set_affine_coordinates(group, Q, x, y, ctx))
crypto/openssl/test/ectest.c
981
if (!TEST_true(EC_POINT_get_affine_coordinates(group, Q, x, y, ctx)))
crypto/openssl/test/ectest.c
999
if (!TEST_true(EC_POINT_get_affine_coordinates(group, P, x, y,
crypto/openssl/test/endecode_test.c
1156
&& TEST_true(OSSL_PARAM_BLD_push_utf8_string(bld,
crypto/openssl/test/endecode_test.c
1159
&& TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_EC_P, prime))
crypto/openssl/test/endecode_test.c
1160
&& TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_EC_A, a))
crypto/openssl/test/endecode_test.c
1161
&& TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_EC_B, b))
crypto/openssl/test/endecode_test.c
1162
&& TEST_true(OSSL_PARAM_BLD_push_BN(bld,
crypto/openssl/test/endecode_test.c
1164
&& TEST_true(OSSL_PARAM_BLD_push_octet_string(bld,
crypto/openssl/test/endecode_test.c
1166
&& TEST_true(OSSL_PARAM_BLD_push_octet_string(bld,
crypto/openssl/test/endecode_test.c
1168
&& TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_EC_COFACTOR,
crypto/openssl/test/endecode_test.c
1247
&& TEST_true(OSSL_PARAM_BLD_push_utf8_string(bld,
crypto/openssl/test/endecode_test.c
1250
&& TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_EC_P, poly))
crypto/openssl/test/endecode_test.c
1251
&& TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_EC_A, a))
crypto/openssl/test/endecode_test.c
1252
&& TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_EC_B, b))
crypto/openssl/test/endecode_test.c
1253
&& TEST_true(OSSL_PARAM_BLD_push_BN(bld,
crypto/openssl/test/endecode_test.c
1255
&& TEST_true(OSSL_PARAM_BLD_push_octet_string(bld,
crypto/openssl/test/endecode_test.c
1257
&& TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_EC_COFACTOR,
crypto/openssl/test/endecode_test.c
175
if (!TEST_true(encode_cb(file, line, &encoded, &encoded_len, pkey, selection,
crypto/openssl/test/endecode_test.c
188
if (!TEST_true(check_cb(file, line, type, encoded, encoded_len))
crypto/openssl/test/endecode_test.c
189
|| !TEST_true(decode_cb(file, line, (void **)&pkey2, encoded, encoded_len,
crypto/openssl/test/endecode_test.c
195
&& !TEST_true(decode_cb(file, line, (void **)&pkey3, encoded, encoded_len,
crypto/openssl/test/endecode_test.c
199
|| !TEST_true(encode_cb(file, line, &encoded2, &encoded2_len, pkey2, selection,
crypto/openssl/test/endecoder_legacy_test.c
326
|| !TEST_true(OSSL_ENCODER_to_bio(ectx, membio_provided))
crypto/openssl/test/endecoder_legacy_test.c
327
|| !TEST_true(pem_write_bio(membio_legacy, legacy_key,
crypto/openssl/test/endecoder_legacy_test.c
340
|| !TEST_true(OSSL_DECODER_from_bio(dctx, membio_provided))
crypto/openssl/test/endecoder_legacy_test.c
342
|| !TEST_true(EVP_PKEY_assign(decoded_legacy_pkey, evp_type,
crypto/openssl/test/endecoder_legacy_test.c
392
|| !TEST_true(OSSL_ENCODER_to_bio(ectx, membio_provided))
crypto/openssl/test/endecoder_legacy_test.c
393
|| !TEST_true(pem_write_bio(membio_legacy, legacy_key))
crypto/openssl/test/endecoder_legacy_test.c
405
|| !TEST_true(OSSL_DECODER_from_bio(dctx, membio_provided))
crypto/openssl/test/endecoder_legacy_test.c
407
|| !TEST_true(EVP_PKEY_assign(decoded_legacy_pkey, evp_type,
crypto/openssl/test/endecoder_legacy_test.c
455
|| !TEST_true(OSSL_ENCODER_to_data(ectx,
crypto/openssl/test/endecoder_legacy_test.c
470
|| !TEST_true((pder_provided = der_provided,
crypto/openssl/test/endecoder_legacy_test.c
477
|| !TEST_true(EVP_PKEY_assign(decoded_legacy_pkey, evp_type,
crypto/openssl/test/endecoder_legacy_test.c
517
|| !TEST_true(evp_pkey_copy_downgraded(&downgraded_pkey, pkey))
crypto/openssl/test/enginetest.c
100
if (!TEST_true(ENGINE_remove(new_h2)))
crypto/openssl/test/enginetest.c
105
if (!TEST_true(ENGINE_add(new_h4)))
crypto/openssl/test/enginetest.c
120
if (!TEST_true(ENGINE_remove(new_h3)))
crypto/openssl/test/enginetest.c
125
if (!TEST_true(ENGINE_remove(new_h4)))
crypto/openssl/test/enginetest.c
146
if (!TEST_true(ENGINE_add(new_h1))
crypto/openssl/test/enginetest.c
147
|| !TEST_true(ENGINE_remove(new_h1)))
crypto/openssl/test/enginetest.c
157
|| !TEST_true(ENGINE_set_id(block[loop], eid[loop]))
crypto/openssl/test/enginetest.c
158
|| !TEST_true(ENGINE_set_name(block[loop], ename[loop])))
crypto/openssl/test/enginetest.c
162
if (!TEST_true(ENGINE_add(block[loop]))) {
crypto/openssl/test/enginetest.c
172
if (!TEST_true(ENGINE_remove(ptr)))
crypto/openssl/test/enginetest.c
282
|| !TEST_true(ENGINE_set_id(e, "Test redirect engine"))
crypto/openssl/test/enginetest.c
283
|| !TEST_true(ENGINE_set_name(e, "Test redirect engine")))
crypto/openssl/test/enginetest.c
318
|| !TEST_true(called_encrypt))
crypto/openssl/test/enginetest.c
336
if (!TEST_true(EVP_PKEY_set1_engine(pkey, e)))
crypto/openssl/test/enginetest.c
345
|| !TEST_true(called_encrypt))
crypto/openssl/test/enginetest.c
391
|| !TEST_true(ENGINE_set_id(e, "Test dummy engine"))
crypto/openssl/test/enginetest.c
392
|| !TEST_true(ENGINE_set_name(e, "Test dummy engine")))
crypto/openssl/test/enginetest.c
400
if (!TEST_true(ENGINE_set_default_RSA(e)))
crypto/openssl/test/enginetest.c
67
|| !TEST_true(ENGINE_set_id(new_h1, "test_id0"))
crypto/openssl/test/enginetest.c
68
|| !TEST_true(ENGINE_set_name(new_h1, "First test item"))
crypto/openssl/test/enginetest.c
70
|| !TEST_true(ENGINE_set_id(new_h2, "test_id1"))
crypto/openssl/test/enginetest.c
71
|| !TEST_true(ENGINE_set_name(new_h2, "Second test item"))
crypto/openssl/test/enginetest.c
73
|| !TEST_true(ENGINE_set_id(new_h3, "test_id2"))
crypto/openssl/test/enginetest.c
74
|| !TEST_true(ENGINE_set_name(new_h3, "Third test item"))
crypto/openssl/test/enginetest.c
76
|| !TEST_true(ENGINE_set_id(new_h4, "test_id3"))
crypto/openssl/test/enginetest.c
77
|| !TEST_true(ENGINE_set_name(new_h4, "Fourth test item")))
crypto/openssl/test/enginetest.c
82
if (!TEST_true(ENGINE_add(new_h1)))
crypto/openssl/test/enginetest.c
88
if (!TEST_true(ENGINE_remove(ptr)))
crypto/openssl/test/enginetest.c
94
if (!TEST_true(ENGINE_add(new_h3))
crypto/openssl/test/enginetest.c
95
|| !TEST_true(ENGINE_add(new_h2)))
crypto/openssl/test/errtest.c
102
if (!TEST_true(IS_HEX(*p)))
crypto/openssl/test/errtest.c
105
if (!TEST_true(*p != 0)
crypto/openssl/test/errtest.c
174
if (!TEST_true(ERR_set_mark())
crypto/openssl/test/errtest.c
175
|| !TEST_true(ERR_pop_to_mark())
crypto/openssl/test/errtest.c
177
|| !TEST_true(ERR_set_mark())
crypto/openssl/test/errtest.c
178
|| !TEST_true(ERR_clear_last_mark())
crypto/openssl/test/errtest.c
183
if (!TEST_true(ERR_set_mark()))
crypto/openssl/test/errtest.c
187
|| !TEST_true(ERR_pop_to_mark())
crypto/openssl/test/errtest.c
192
if (!TEST_true(ERR_set_mark())
crypto/openssl/test/errtest.c
193
|| !TEST_true(ERR_set_mark()))
crypto/openssl/test/errtest.c
197
|| !TEST_true(ERR_pop_to_mark())
crypto/openssl/test/errtest.c
198
|| !TEST_true(ERR_pop_to_mark())
crypto/openssl/test/errtest.c
202
if (!TEST_true(ERR_set_mark()))
crypto/openssl/test/errtest.c
207
|| !TEST_true(ERR_set_mark()))
crypto/openssl/test/errtest.c
211
|| !TEST_true(ERR_pop_to_mark())
crypto/openssl/test/errtest.c
213
|| !TEST_true(ERR_pop_to_mark())
crypto/openssl/test/errtest.c
218
if (!TEST_true(ERR_set_mark()))
crypto/openssl/test/errtest.c
221
if (!TEST_true(ERR_clear_last_mark())
crypto/openssl/test/errtest.c
255
if (!TEST_true(ERR_set_mark()))
crypto/openssl/test/errtest.c
261
if (!TEST_true(ERR_pop_to_mark())
crypto/openssl/test/errtest.c
265
if (!TEST_true(ERR_set_mark()))
crypto/openssl/test/errtest.c
271
if (!TEST_true(ERR_clear_last_mark())
crypto/openssl/test/evp_extra_test.c
1032
if (!TEST_true(EVP_set_default_properties(ctx, test_propq))
crypto/openssl/test/evp_extra_test.c
1046
if (!TEST_true(EVP_default_properties_enable_fips(ctx, 1)))
crypto/openssl/test/evp_extra_test.c
1055
if (!TEST_true(EVP_default_properties_enable_fips(ctx, 0)))
crypto/openssl/test/evp_extra_test.c
1058
if (!TEST_true(EVP_set_default_properties(ctx, NULL))
crypto/openssl/test/evp_extra_test.c
1104
if (!TEST_true(ret))
crypto/openssl/test/evp_extra_test.c
1113
if (!TEST_true(ret))
crypto/openssl/test/evp_extra_test.c
1157
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_P, p))
crypto/openssl/test/evp_extra_test.c
1158
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_Q, q))
crypto/openssl/test/evp_extra_test.c
1159
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_G, g)))
crypto/openssl/test/evp_extra_test.c
1176
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_P, p))
crypto/openssl/test/evp_extra_test.c
1177
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_Q, q))
crypto/openssl/test/evp_extra_test.c
1178
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_G, g))
crypto/openssl/test/evp_extra_test.c
1179
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PRIV_KEY,
crypto/openssl/test/evp_extra_test.c
1197
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_P, p))
crypto/openssl/test/evp_extra_test.c
1198
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_Q, q))
crypto/openssl/test/evp_extra_test.c
1199
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_G, g))
crypto/openssl/test/evp_extra_test.c
1200
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PUB_KEY,
crypto/openssl/test/evp_extra_test.c
1218
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_P, p))
crypto/openssl/test/evp_extra_test.c
1219
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_Q, q))
crypto/openssl/test/evp_extra_test.c
1220
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_G, g))
crypto/openssl/test/evp_extra_test.c
1221
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PUB_KEY,
crypto/openssl/test/evp_extra_test.c
1223
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PRIV_KEY,
crypto/openssl/test/evp_extra_test.c
1293
|| !TEST_true(OSSL_PARAM_BLD_push_utf8_string(bld,
crypto/openssl/test/evp_extra_test.c
1312
|| !TEST_true(OSSL_PARAM_BLD_push_utf8_string(bld,
crypto/openssl/test/evp_extra_test.c
1315
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PRIV_KEY,
crypto/openssl/test/evp_extra_test.c
1339
|| !TEST_true(OSSL_PARAM_BLD_push_utf8_string(bld,
crypto/openssl/test/evp_extra_test.c
1342
|| !TEST_true(OSSL_PARAM_BLD_push_octet_string(bld,
crypto/openssl/test/evp_extra_test.c
1361
|| !TEST_true(OSSL_PARAM_BLD_push_utf8_string(bld,
crypto/openssl/test/evp_extra_test.c
1364
|| !TEST_true(OSSL_PARAM_BLD_push_octet_string(bld,
crypto/openssl/test/evp_extra_test.c
1367
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PRIV_KEY,
crypto/openssl/test/evp_extra_test.c
1454
|| !TEST_true(OSSL_PARAM_BLD_push_utf8_string(bld,
crypto/openssl/test/evp_extra_test.c
1457
|| !TEST_true(OSSL_PARAM_BLD_push_octet_string(bld,
crypto/openssl/test/evp_extra_test.c
1460
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PRIV_KEY,
crypto/openssl/test/evp_extra_test.c
1481
if (!TEST_true(memcmp(ec_pub, pad, sizeof(ec_pub)) == 0))
crypto/openssl/test/evp_extra_test.c
1515
if (!TEST_true(EC_KEY_set_private_key(eckey, priv)))
crypto/openssl/test/evp_extra_test.c
1522
if (!TEST_true(EVP_PKEY_assign_EC_KEY(pkey, eckey)))
crypto/openssl/test/evp_extra_test.c
1536
if (!TEST_true(EVP_DigestSignInit_ex(ctx, NULL, NULL, testctx,
crypto/openssl/test/evp_extra_test.c
1587
if (!TEST_true(EC_KEY_set_private_key(eckey, priv)))
crypto/openssl/test/evp_extra_test.c
1596
if (!TEST_true(EC_KEY_set_public_key_affine_coordinates(eckey, x, y)))
crypto/openssl/test/evp_extra_test.c
1603
if (!TEST_true(EVP_PKEY_assign_EC_KEY(pkey, eckey)))
crypto/openssl/test/evp_extra_test.c
1607
if (!TEST_true(EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_EC_PUB_X, &x))
crypto/openssl/test/evp_extra_test.c
1608
|| !TEST_true(EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_EC_PUB_Y, &y)))
crypto/openssl/test/evp_extra_test.c
1618
if (!TEST_true(memcmp(ec_pub, pad, sizeof(ec_pub)) == 0))
crypto/openssl/test/evp_extra_test.c
1811
|| !TEST_true(EVP_SealInit(ctx, type, &kek, &kek_len, iv,
crypto/openssl/test/evp_extra_test.c
1813
|| !TEST_true(EVP_SealUpdate(ctx, ciphertext, &ciphertext_len,
crypto/openssl/test/evp_extra_test.c
1815
|| !TEST_true(EVP_SealFinal(ctx, ciphertext + ciphertext_len,
crypto/openssl/test/evp_extra_test.c
1821
if (!TEST_true(EVP_OpenInit(ctx, type, kek, kek_len, iv, keypair))
crypto/openssl/test/evp_extra_test.c
1822
|| !TEST_true(EVP_OpenUpdate(ctx, plaintext, &plaintext_len,
crypto/openssl/test/evp_extra_test.c
1824
|| !TEST_true(EVP_OpenFinal(ctx, plaintext + plaintext_len, &len)))
crypto/openssl/test/evp_extra_test.c
1916
if (!TEST_true(EVP_DigestSignInit(md_ctx, NULL, md, NULL, pkey)))
crypto/openssl/test/evp_extra_test.c
1919
if (reinit && !TEST_true(EVP_DigestSignInit(md_ctx, NULL, NULL, NULL, NULL)))
crypto/openssl/test/evp_extra_test.c
1926
if (!TEST_true(EVP_DigestSignUpdate(md_ctx, kMsg, sizeof(kMsg))))
crypto/openssl/test/evp_extra_test.c
1932
if (!TEST_true(EVP_DigestSign(md_ctx, NULL, &sig_len, kMsg,
crypto/openssl/test/evp_extra_test.c
1948
if (!TEST_true(EVP_DigestSign(md_ctx, sig, &sig_len, kMsg,
crypto/openssl/test/evp_extra_test.c
1953
if (!TEST_true(EVP_DigestSignFinal(md_ctx, NULL, &sig_len))
crypto/openssl/test/evp_extra_test.c
1960
|| !TEST_true(EVP_DigestSignFinal(md_ctx, sig, &sig_len)))
crypto/openssl/test/evp_extra_test.c
1975
if (!TEST_true(EVP_DigestVerifyInit(md_ctx_verify, NULL, md,
crypto/openssl/test/evp_extra_test.c
1980
if (!TEST_true(BIO_write_ex(mdbio, kMsg, sizeof(kMsg), &written)))
crypto/openssl/test/evp_extra_test.c
1983
if (!TEST_true(EVP_DigestVerifyUpdate(md_ctx_verify, kMsg,
crypto/openssl/test/evp_extra_test.c
1998
if (!TEST_true(EVP_DigestSignFinal(md_ctx, NULL, &sig2_len))
crypto/openssl/test/evp_extra_test.c
2000
|| !TEST_true(EVP_DigestSignFinal(md_ctx, sig2, &sig2_len)))
crypto/openssl/test/evp_extra_test.c
2035
if (!TEST_true(EVP_DigestVerifyInit(md_ctx, NULL, EVP_sha256(), NULL, pkey))
crypto/openssl/test/evp_extra_test.c
2036
|| !TEST_true(EVP_DigestVerifyUpdate(md_ctx, kMsg, sizeof(kMsg)))
crypto/openssl/test/evp_extra_test.c
2043
if (!TEST_true(EVP_DigestVerifyInit(md_ctx, NULL, NULL, NULL, NULL))
crypto/openssl/test/evp_extra_test.c
2044
|| !TEST_true(EVP_DigestVerifyUpdate(md_ctx, kMsg, sizeof(kMsg)))
crypto/openssl/test/evp_extra_test.c
2084
if (!TEST_true(EVP_DigestSignInit(ctx, NULL, md, NULL, pkey)))
crypto/openssl/test/evp_extra_test.c
2124
if (!TEST_true(EVP_DigestSignInit(mdctx, &ctx, NULL, NULL, pkey)))
crypto/openssl/test/evp_extra_test.c
2132
if (!TEST_true(EVP_DigestSignInit(mdctx, NULL, NULL, NULL, NULL)))
crypto/openssl/test/evp_extra_test.c
2134
if (!TEST_true(EVP_DigestSignUpdate(mdctx, buf, 8)))
crypto/openssl/test/evp_extra_test.c
2136
if (!TEST_true(EVP_DigestSignFinal(mdctx, digest, &len)))
crypto/openssl/test/evp_extra_test.c
2167
if (!TEST_true(EVP_DigestInit_ex(md_ctx, sha256, NULL))
crypto/openssl/test/evp_extra_test.c
2168
|| !TEST_true(EVP_DigestUpdate(md_ctx, kMsg, sizeof(kMsg)))
crypto/openssl/test/evp_extra_test.c
2169
|| !TEST_true(EVP_DigestFinal(md_ctx, md, NULL))
crypto/openssl/test/evp_extra_test.c
2174
if (!TEST_true(EVP_DigestInit_ex(md_ctx, sha256, NULL))
crypto/openssl/test/evp_extra_test.c
2175
|| !TEST_true(EVP_DigestUpdate(md_ctx, kMsg, sizeof(kMsg)))
crypto/openssl/test/evp_extra_test.c
2176
|| !TEST_true(EVP_DigestFinal_ex(md_ctx, md, NULL))
crypto/openssl/test/evp_extra_test.c
2183
|| !TEST_true(EVP_DigestInit_ex(md_ctx, NULL, NULL)))
crypto/openssl/test/evp_extra_test.c
2186
if (!TEST_true(EVP_DigestInit_ex(md_ctx, shake256, NULL))
crypto/openssl/test/evp_extra_test.c
2187
|| !TEST_true(EVP_DigestUpdate(md_ctx, kMsg, sizeof(kMsg)))
crypto/openssl/test/evp_extra_test.c
2188
|| !TEST_true(EVP_DigestFinalXOF(md_ctx, md, sizeof(md)))
crypto/openssl/test/evp_extra_test.c
2191
|| !TEST_true(EVP_DigestInit_ex(md_ctx, NULL, NULL)))
crypto/openssl/test/evp_extra_test.c
2217
if (!TEST_true(EVP_DigestInit_ex(md_ctx, md_null, NULL))
crypto/openssl/test/evp_extra_test.c
2218
|| !TEST_true(EVP_DigestUpdate(md_ctx, "test", 4))
crypto/openssl/test/evp_extra_test.c
2219
|| !TEST_true(EVP_DigestFinal_ex(md_ctx, md_value, &md_len)))
crypto/openssl/test/evp_extra_test.c
2376
|| !TEST_true(p == input + input_len))
crypto/openssl/test/evp_extra_test.c
2474
|| !TEST_true(OSSL_PARAM_get_utf8_string_ptr(p, &enc_name)))
crypto/openssl/test/evp_extra_test.c
2501
|| !TEST_true(EVP_PKEY_paramgen(pctx, &params))
crypto/openssl/test/evp_extra_test.c
2508
|| !TEST_true(EVP_PKEY_keygen(kctx, &key))
crypto/openssl/test/evp_extra_test.c
2513
if (!TEST_true(evp_keymgmt_util_export(key, OSSL_KEYMGMT_SELECT_ALL,
crypto/openssl/test/evp_extra_test.c
2558
if (!TEST_true(bio != NULL))
crypto/openssl/test/evp_extra_test.c
2562
if (!TEST_true(pkey != NULL))
crypto/openssl/test/evp_extra_test.c
2565
if (!TEST_true(EVP_PKEY_is_a(pkey, "SM2")))
crypto/openssl/test/evp_extra_test.c
2579
if (!TEST_true(EVP_DigestVerifyInit(mctx, NULL, sm3, NULL, pkey)))
crypto/openssl/test/evp_extra_test.c
2585
if (!TEST_true(EVP_DigestVerifyUpdate(mctx, msg, strlen(msg))))
crypto/openssl/test/evp_extra_test.c
2634
if (!TEST_true(EVP_PKEY_paramgen_init(pctx) == 1))
crypto/openssl/test/evp_extra_test.c
2640
if (!TEST_true(EVP_PKEY_paramgen(pctx, &pkeyparams)))
crypto/openssl/test/evp_extra_test.c
2650
if (!TEST_true(EVP_PKEY_keygen(kctx, &pkey)))
crypto/openssl/test/evp_extra_test.c
2668
if (!TEST_true(EVP_DigestSignInit(md_ctx, NULL, check_md, NULL, pkey)))
crypto/openssl/test/evp_extra_test.c
2674
if (!TEST_true(EVP_DigestSignUpdate(md_ctx, kMsg, sizeof(kMsg))))
crypto/openssl/test/evp_extra_test.c
2678
if (!TEST_true(EVP_DigestSignFinal(md_ctx, NULL, &sig_len)))
crypto/openssl/test/evp_extra_test.c
2684
if (!TEST_true(EVP_DigestSignFinal(md_ctx, sig, &sig_len)))
crypto/openssl/test/evp_extra_test.c
2689
if (!TEST_true(EVP_DigestVerifyInit(md_ctx_verify, NULL, check_md, NULL,
crypto/openssl/test/evp_extra_test.c
2696
if (!TEST_true(EVP_DigestVerifyUpdate(md_ctx_verify, kMsg, sizeof(kMsg))))
crypto/openssl/test/evp_extra_test.c
2707
if (!TEST_true(EVP_DigestVerifyInit(md_ctx_verify, NULL, check_md, NULL,
crypto/openssl/test/evp_extra_test.c
2714
if (!TEST_true(EVP_DigestVerifyUpdate(md_ctx_verify, kMsg, sizeof(kMsg))))
crypto/openssl/test/evp_extra_test.c
2745
if (!TEST_true(EVP_PKEY_encrypt_init(cctx)))
crypto/openssl/test/evp_extra_test.c
2748
if (!TEST_true(EVP_PKEY_CTX_set_params(cctx, sparams)))
crypto/openssl/test/evp_extra_test.c
2752
if (!TEST_true(EVP_PKEY_encrypt(cctx, ciphertext, &ctext_len_param, kMsg,
crypto/openssl/test/evp_extra_test.c
2759
if (!TEST_true(EVP_PKEY_CTX_set_params(cctx, sparams)))
crypto/openssl/test/evp_extra_test.c
2768
if (!TEST_true(EVP_PKEY_CTX_get_params(cctx, gparams)))
crypto/openssl/test/evp_extra_test.c
2779
if (!TEST_true(EVP_MD_is_a(check_md, mdnames[i]))) {
crypto/openssl/test/evp_extra_test.c
2784
if (!TEST_true(ptext_len_param == sizeof(kMsg)))
crypto/openssl/test/evp_extra_test.c
2787
if (!TEST_true(memcmp(plaintext, kMsg, sizeof(kMsg)) == 0))
crypto/openssl/test/evp_extra_test.c
3204
if (!TEST_true(EVP_PKEY_todata(pkey, OSSL_KEYMGMT_SELECT_PRIVATE_KEY, &params)))
crypto/openssl/test/evp_extra_test.c
3209
|| !TEST_true(OSSL_PARAM_get_octet_string(p, (void **)ret, 0, retlen)))
crypto/openssl/test/evp_extra_test.c
3263
if (!TEST_true(ml_kem_seed_to_priv(name, in, inlen,
crypto/openssl/test/evp_extra_test.c
3286
|| (!pub && !TEST_true(EVP_PKEY_get_raw_private_key(pkey, NULL, &len)))
crypto/openssl/test/evp_extra_test.c
3287
|| (pub && !TEST_true(EVP_PKEY_get_raw_public_key(pkey, NULL, &len)))
crypto/openssl/test/evp_extra_test.c
3288
|| !TEST_true(len == inlen))
crypto/openssl/test/evp_extra_test.c
3301
if ((!pub && !TEST_true(EVP_PKEY_get_raw_private_key(pkey, buf, &len)))
crypto/openssl/test/evp_extra_test.c
3302
|| (pub && !TEST_true(EVP_PKEY_get_raw_public_key(pkey, buf, &len)))
crypto/openssl/test/evp_extra_test.c
3414
|| !TEST_true(EVP_DigestSignInit_ex(mdctx, NULL, NULL, testctx,
crypto/openssl/test/evp_extra_test.c
3416
|| !TEST_true(EVP_DigestSignUpdate(mdctx, msg, sizeof(msg)))
crypto/openssl/test/evp_extra_test.c
3417
|| !TEST_true(EVP_DigestSignFinal(mdctx, mac, &maclen))
crypto/openssl/test/evp_extra_test.c
3461
|| !TEST_true(get_cmac_val(pkey, mac)))
crypto/openssl/test/evp_extra_test.c
3473
|| !TEST_true(get_cmac_val(pkey, mac2))
crypto/openssl/test/evp_extra_test.c
3648
if (!TEST_true(X509_PUBKEY_get0(xp) == NULL))
crypto/openssl/test/evp_extra_test.c
3688
if (!TEST_true(X509_PUBKEY_get0(xq) == NULL))
crypto/openssl/test/evp_extra_test.c
3745
if (!TEST_true(EVP_PKEY_CTX_set_params(ctx, ourparams)))
crypto/openssl/test/evp_extra_test.c
3751
if (!TEST_true(EVP_PKEY_CTX_get_params(ctx, ourparams))
crypto/openssl/test/evp_extra_test.c
3769
|| !TEST_true(EVP_DigestSignInit_ex(mdctx, NULL, "SHA1", testctx, testpropq,
crypto/openssl/test/evp_extra_test.c
3790
if (!TEST_true(EVP_MD_CTX_set_params(mdctx, ourparams)))
crypto/openssl/test/evp_extra_test.c
3824
if (!TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_P, p))
crypto/openssl/test/evp_extra_test.c
3825
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_Q, q))
crypto/openssl/test/evp_extra_test.c
3826
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_G, g))
crypto/openssl/test/evp_extra_test.c
3827
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PUB_KEY,
crypto/openssl/test/evp_extra_test.c
3829
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PRIV_KEY,
crypto/openssl/test/evp_extra_test.c
3890
if (!TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_N, n))
crypto/openssl/test/evp_extra_test.c
3891
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_E, e))
crypto/openssl/test/evp_extra_test.c
3892
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_D, d)))
crypto/openssl/test/evp_extra_test.c
3958
if (!TEST_true(EVP_PKEY_CTX_get_params(key_ctx, params)))
crypto/openssl/test/evp_extra_test.c
3984
|| !TEST_true(EVP_PKEY_encrypt_init(key_ctx)))
crypto/openssl/test/evp_extra_test.c
3987
if (!TEST_true(EVP_PKEY_CTX_set_rsa_padding(key_ctx, RSA_PKCS1_OAEP_PADDING)))
crypto/openssl/test/evp_extra_test.c
3990
if (!TEST_true(EVP_PKEY_CTX_set0_rsa_oaep_label(key_ctx, OPENSSL_strdup("foo"), 0)))
crypto/openssl/test/evp_extra_test.c
3993
if (!TEST_true(EVP_PKEY_CTX_set0_rsa_oaep_label(key_ctx, NULL, 0)))
crypto/openssl/test/evp_extra_test.c
4155
if (!TEST_true(RSA_set0_factors(rsa, p, q)))
crypto/openssl/test/evp_extra_test.c
4160
if (!TEST_true(RSA_set0_key(rsa, n, e, d)))
crypto/openssl/test/evp_extra_test.c
4166
if (!TEST_true(EVP_PKEY_assign_RSA(pkey, rsa)))
crypto/openssl/test/evp_extra_test.c
4171
if (!TEST_true(EVP_DigestSignInit(ctx, NULL, md, NULL, pkey)))
crypto/openssl/test/evp_extra_test.c
4213
|| !TEST_true(EVP_EncryptInit_ex(ctx, cipher, NULL,
crypto/openssl/test/evp_extra_test.c
4215
|| !TEST_true(EVP_EncryptUpdate(ctx, ciphertext, &ctlen, msg,
crypto/openssl/test/evp_extra_test.c
4218
|| !TEST_true(EVP_EncryptUpdate(ctx, ciphertext + ctlen, &tmp, NULL,
crypto/openssl/test/evp_extra_test.c
4221
|| !TEST_true(EVP_EncryptUpdate(ctx, ciphertext + ctlen, &tmp,
crypto/openssl/test/evp_extra_test.c
4225
|| !TEST_true(EVP_EncryptFinal(ctx, ciphertext + ctlen, &tmp))
crypto/openssl/test/evp_extra_test.c
4231
if (!TEST_true(EVP_DecryptInit_ex(ctx, cipher, NULL, key, iv))
crypto/openssl/test/evp_extra_test.c
4232
|| !TEST_true(EVP_DecryptUpdate(ctx, plaintext, &ptlen, ciphertext,
crypto/openssl/test/evp_extra_test.c
4238
|| !TEST_true(EVP_DecryptUpdate(ctx, plaintext + ptlen, &tmp, NULL,
crypto/openssl/test/evp_extra_test.c
4241
|| !TEST_true(EVP_DecryptUpdate(ctx, plaintext + ptlen, &tmp,
crypto/openssl/test/evp_extra_test.c
4245
|| !TEST_true(EVP_DecryptFinal(ctx, plaintext + ptlen, &tmp))
crypto/openssl/test/evp_extra_test.c
4282
|| !TEST_true(BN_set_word(p, 9999))
crypto/openssl/test/evp_extra_test.c
4283
|| !TEST_true(BN_set_word(g, 2))
crypto/openssl/test/evp_extra_test.c
4284
|| !TEST_true(BN_set_word(pubkey, 4321))
crypto/openssl/test/evp_extra_test.c
4286
|| !TEST_true(DH_set0_pqg(noqdh, p, NULL, g))
crypto/openssl/test/evp_extra_test.c
4287
|| !TEST_true(DH_set0_key(noqdh, pubkey, NULL))
crypto/openssl/test/evp_extra_test.c
4289
|| !TEST_true(BN_set_word(pubkey, 4321)))
crypto/openssl/test/evp_extra_test.c
4300
|| !TEST_true(DH_set0_key(x942dh, pubkey, NULL)))
crypto/openssl/test/evp_extra_test.c
4304
if (!TEST_true(EVP_PKEY_set1_DH(pkey1, x942dh))
crypto/openssl/test/evp_extra_test.c
4308
if (!TEST_true(EVP_PKEY_get_bn_param(pkey1, OSSL_PKEY_PARAM_PUB_KEY,
crypto/openssl/test/evp_extra_test.c
4313
if (!TEST_true(EVP_PKEY_set1_DH(pkey2, noqdh))
crypto/openssl/test/evp_extra_test.c
4317
if (!TEST_true(EVP_PKEY_get_octet_string_param(pkey2,
crypto/openssl/test/evp_extra_test.c
4364
|| !TEST_true(EVP_PKEY_set_type(tkey, EVP_PKEY_RSA))
crypto/openssl/test/evp_extra_test.c
4475
res = TEST_true(EVP_RAND_CTX_set_params(ctx, params))
crypto/openssl/test/evp_extra_test.c
4476
&& TEST_true(EVP_RAND_generate(ctx, out, sizeof(out), 0, 1, NULL, 0))
crypto/openssl/test/evp_extra_test.c
4601
|| !TEST_true(EVP_EncryptInit_ex(ctx, type, NULL, key, init_iv))
crypto/openssl/test/evp_extra_test.c
4602
|| !TEST_true(EVP_EncryptUpdate(ctx, ciphertext, &len, msg,
crypto/openssl/test/evp_extra_test.c
4604
|| !TEST_true(EVP_CIPHER_CTX_get_original_iv(ctx, oiv, sizeof(oiv)))
crypto/openssl/test/evp_extra_test.c
4605
|| !TEST_true(EVP_CIPHER_CTX_get_updated_iv(ctx, iv, sizeof(iv)))
crypto/openssl/test/evp_extra_test.c
4606
|| !TEST_true(EVP_EncryptFinal_ex(ctx, ciphertext, &len)))
crypto/openssl/test/evp_extra_test.c
4618
if (!TEST_true(EVP_EncryptInit_ex(ctx, NULL, NULL, NULL, NULL))
crypto/openssl/test/evp_extra_test.c
4619
|| !TEST_true(EVP_CIPHER_CTX_get_updated_iv(ctx, iv, sizeof(iv))))
crypto/openssl/test/evp_extra_test.c
4718
|| !TEST_true(EVP_EncryptInit_ex(ctx, type, NULL, key, init_iv))
crypto/openssl/test/evp_extra_test.c
4719
|| !TEST_true(EVP_EncryptUpdate(ctx, ciphertext, &len, msg,
crypto/openssl/test/evp_extra_test.c
4721
|| !TEST_true(EVP_CIPHER_CTX_get_original_iv(ctx, oiv, sizeof(oiv)))
crypto/openssl/test/evp_extra_test.c
4722
|| !TEST_true(EVP_CIPHER_CTX_get_updated_iv(ctx, iv, sizeof(iv)))
crypto/openssl/test/evp_extra_test.c
4723
|| !TEST_true(EVP_EncryptFinal_ex(ctx, ciphertext, &len)))
crypto/openssl/test/evp_extra_test.c
4734
if (!TEST_true(EVP_EncryptInit_ex(ctx, NULL, NULL, NULL, NULL))
crypto/openssl/test/evp_extra_test.c
4735
|| !TEST_true(EVP_CIPHER_CTX_get_updated_iv(ctx, iv, sizeof(iv))))
crypto/openssl/test/evp_extra_test.c
4807
|| !TEST_true(EVP_PKEY_keygen(ctx, &pkey)))
crypto/openssl/test/evp_extra_test.c
4825
|| !TEST_true(EVP_PKEY_assign_EC_KEY(pkey2, ec)))
crypto/openssl/test/evp_extra_test.c
4862
&& TEST_true(EVP_PKEY_keygen(ctx, &pkey));
crypto/openssl/test/evp_extra_test.c
4883
&& TEST_true(EVP_DigestSignInit(sha256_ctx, &pkey_ctx, sha256, NULL, pkey))
crypto/openssl/test/evp_extra_test.c
4884
&& TEST_true(EVP_PKEY_CTX_set_rsa_padding(pkey_ctx, RSA_PKCS1_PSS_PADDING))
crypto/openssl/test/evp_extra_test.c
4944
if (!TEST_true(EVP_MD_names_do_all(sha256, md_names, ctx)))
crypto/openssl/test/evp_extra_test.c
4947
if (!TEST_true(success))
crypto/openssl/test/evp_extra_test.c
5028
if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, NULL, t->iv, -1)))
crypto/openssl/test/evp_extra_test.c
5061
if (!TEST_true(EVP_CipherInit_ex(ctx, type, NULL, NULL, NULL, t->initenc))) {
crypto/openssl/test/evp_extra_test.c
5065
if (!TEST_true(EVP_CIPHER_CTX_set_padding(ctx, 0))) {
crypto/openssl/test/evp_extra_test.c
5069
if (t->keyfirst && !TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, t->key, NULL, -1))) {
crypto/openssl/test/evp_extra_test.c
5077
if (t->keyfirst == 0 && !TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, t->key, NULL, -1))) {
crypto/openssl/test/evp_extra_test.c
5081
if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, NULL, NULL, t->finalenc))) {
crypto/openssl/test/evp_extra_test.c
5085
if (!TEST_true(EVP_CipherUpdate(ctx, outbuf, &outlen1, t->input, t->inlen))) {
crypto/openssl/test/evp_extra_test.c
5098
if (!TEST_true(EVP_CipherFinal_ex(ctx, outbuf + outlen1, &outlen2))) {
crypto/openssl/test/evp_extra_test.c
5142
|| !TEST_true(EVP_CipherInit_ex2(ctx, type, t->key, t->iv, t->initenc, NULL))
crypto/openssl/test/evp_extra_test.c
5144
|| !TEST_true(EVP_CipherUpdate(ctx, outbuf1, &outlen1, t->input, t->inlen))
crypto/openssl/test/evp_extra_test.c
5145
|| !TEST_true(EVP_CipherFinal_ex(ctx, outbuf1, &outlen_final))
crypto/openssl/test/evp_extra_test.c
5149
|| !TEST_true(EVP_CipherInit_ex2(ctx, NULL, NULL, NULL, -1, NULL))
crypto/openssl/test/evp_extra_test.c
5151
|| !TEST_true(EVP_CipherUpdate(ctx, outbuf2, &outlen2, t->input, t->inlen))
crypto/openssl/test/evp_extra_test.c
5152
|| !TEST_true(EVP_CipherFinal_ex(ctx, outbuf2, &outlen_final))
crypto/openssl/test/evp_extra_test.c
5200
if (!TEST_true(EVP_CipherInit_ex(ctx, type, NULL, kCFBDefaultKey, iCFBIV, t->enc))) {
crypto/openssl/test/evp_extra_test.c
5204
if (!TEST_true(EVP_CIPHER_CTX_set_padding(ctx, 0))) {
crypto/openssl/test/evp_extra_test.c
5208
if (!TEST_true(EVP_CipherUpdate(ctx, outbuf, &outlen1, t->input, t->inlen))) {
crypto/openssl/test/evp_extra_test.c
5212
if (!TEST_true(EVP_CipherFinal_ex(ctx, outbuf + outlen1, &outlen2))) {
crypto/openssl/test/evp_extra_test.c
5220
if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, NULL, NULL, -1))) {
crypto/openssl/test/evp_extra_test.c
5224
if (!TEST_true(EVP_CipherUpdate(ctx, outbuf, &outlen1, t->input, t->inlen))) {
crypto/openssl/test/evp_extra_test.c
5228
if (!TEST_true(EVP_CipherFinal_ex(ctx, outbuf + outlen1, &outlen2))) {
crypto/openssl/test/evp_extra_test.c
5290
if (!TEST_true(EVP_CipherInit_ex(ctx, type, NULL, kCFBDefaultKey, iCFBIV, t->enc))) {
crypto/openssl/test/evp_extra_test.c
5294
if (!TEST_true(EVP_CIPHER_CTX_set_padding(ctx, 0))) {
crypto/openssl/test/evp_extra_test.c
5298
if (!TEST_true(EVP_CipherUpdate(ctx, outbuf, &outlen1, cfbPlaintext, sizeof(cfbPlaintext)))) {
crypto/openssl/test/evp_extra_test.c
5302
if (!TEST_true(EVP_CIPHER_CTX_get_updated_iv(ctx, updated_iv, sizeof(updated_iv)))) {
crypto/openssl/test/evp_extra_test.c
5315
if (!TEST_true(EVP_CipherFinal_ex(ctx, outbuf + outlen1, &outlen2))) {
crypto/openssl/test/evp_extra_test.c
5371
if (!TEST_true(EVP_CipherInit_ex(ctx, type, NULL, NULL, NULL, 1))) {
crypto/openssl/test/evp_extra_test.c
5379
if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, kGCMResetKey, t->iv1, 1))) {
crypto/openssl/test/evp_extra_test.c
5383
if (!TEST_true(EVP_CipherUpdate(ctx, NULL, &outlen3, gcmAAD, sizeof(gcmAAD)))) {
crypto/openssl/test/evp_extra_test.c
5388
if (!TEST_true(EVP_CipherUpdate(ctx, outbuf, &outlen1, gcmResetPlaintext,
crypto/openssl/test/evp_extra_test.c
5393
if (!TEST_true(EVP_CipherFinal_ex(ctx, outbuf + outlen1, &outlen2))) {
crypto/openssl/test/evp_extra_test.c
5414
if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, NULL, t->iv2, -1))) {
crypto/openssl/test/evp_extra_test.c
5418
if (!TEST_true(EVP_CipherUpdate(ctx, NULL, &outlen3, gcmAAD, sizeof(gcmAAD)))) {
crypto/openssl/test/evp_extra_test.c
5422
if (!TEST_true(EVP_CipherUpdate(ctx, outbuf, &outlen1, gcmResetPlaintext,
crypto/openssl/test/evp_extra_test.c
5427
if (!TEST_true(EVP_CipherFinal_ex(ctx, outbuf + outlen1, &outlen2))) {
crypto/openssl/test/evp_extra_test.c
5482
if (!TEST_true(EVP_CipherInit_ex(ctx, ciph, NULL, kGCMDefaultKey, iv, 1)))
crypto/openssl/test/evp_extra_test.c
5485
if (!TEST_true(EVP_CipherUpdate(ctx, outbuf, &outlen, gcmDefaultPlaintext,
crypto/openssl/test/evp_extra_test.c
5491
if (!TEST_true(EVP_CIPHER_CTX_set_params(ctx, params)))
crypto/openssl/test/evp_extra_test.c
5553
if (!TEST_true(EVP_CipherInit_ex(ctx, ciph, NULL, key, NULL, 1)))
crypto/openssl/test/evp_extra_test.c
5556
if (!TEST_true(EVP_CipherUpdate(ctx, outbuf, &outlen, gcmDefaultPlaintext,
crypto/openssl/test/evp_extra_test.c
5562
if (!TEST_true(EVP_CIPHER_CTX_set_params(ctx, params)))
crypto/openssl/test/evp_extra_test.c
5739
if (!TEST_true(evp_pkey_is_provided(pkey)))
crypto/openssl/test/evp_extra_test.c
5750
if (!TEST_true(evp_pkey_copy_downgraded(&pkey, tmp))) {
crypto/openssl/test/evp_extra_test.c
5755
if (!TEST_true(evp_pkey_is_legacy(pkey)))
crypto/openssl/test/evp_extra_test.c
5782
if (!TEST_true(EVP_PKEY_meth_add0(custom_pmeth)))
crypto/openssl/test/evp_extra_test.c
5804
|| !TEST_true(EVP_DigestSignInit(ctx, &pctx, md, NULL, pkey))
crypto/openssl/test/evp_extra_test.c
5812
if (!TEST_true(EVP_DigestSign(ctx, res, &reslen, msg, sizeof(msg))))
crypto/openssl/test/evp_extra_test.c
5815
if (!TEST_true(EVP_DigestUpdate(ctx, msg, sizeof(msg)))
crypto/openssl/test/evp_extra_test.c
5816
|| !TEST_true(EVP_DigestSignFinal(ctx, res, &reslen)))
crypto/openssl/test/evp_extra_test.c
5909
if (!TEST_true(EVP_MD_meth_set_init(tmp, custom_md_init))
crypto/openssl/test/evp_extra_test.c
5910
|| !TEST_true(EVP_MD_meth_set_cleanup(tmp, custom_md_cleanup))
crypto/openssl/test/evp_extra_test.c
5911
|| !TEST_true(EVP_MD_meth_set_app_datasize(tmp,
crypto/openssl/test/evp_extra_test.c
5922
|| !TEST_true(EVP_DigestInit_ex(mdctx, tmp, NULL))
crypto/openssl/test/evp_extra_test.c
5923
|| !TEST_true(EVP_DigestInit_ex(mdctx, EVP_sha256(), NULL))
crypto/openssl/test/evp_extra_test.c
5924
|| !TEST_true(EVP_DigestUpdate(mdctx, mess, strlen(mess)))
crypto/openssl/test/evp_extra_test.c
5925
|| !TEST_true(EVP_DigestFinal_ex(mdctx, md_value, &md_len))
crypto/openssl/test/evp_extra_test.c
6004
if (!TEST_true(EVP_CIPHER_meth_set_init(tmp, custom_ciph_init))
crypto/openssl/test/evp_extra_test.c
6005
|| !TEST_true(EVP_CIPHER_meth_set_flags(tmp, EVP_CIPH_ALWAYS_CALL_INIT))
crypto/openssl/test/evp_extra_test.c
6006
|| !TEST_true(EVP_CIPHER_meth_set_cleanup(tmp, custom_ciph_cleanup))
crypto/openssl/test/evp_extra_test.c
6007
|| !TEST_true(EVP_CIPHER_meth_set_impl_ctx_size(tmp,
crypto/openssl/test/evp_extra_test.c
6018
|| !TEST_true(EVP_CipherInit_ex(ciphctx, tmp, NULL, NULL, NULL, 1))
crypto/openssl/test/evp_extra_test.c
6019
|| !TEST_true(EVP_CipherInit_ex(ciphctx, EVP_aes_128_cbc(), NULL,
crypto/openssl/test/evp_extra_test.c
6110
if (!TEST_true(ENGINE_init(e))) {
crypto/openssl/test/evp_extra_test.c
6141
if (!TEST_true(ret))
crypto/openssl/test/evp_extra_test.c
6144
if (!TEST_true(EVP_DigestSignUpdate(ctx, msg, sizeof(msg)))
crypto/openssl/test/evp_extra_test.c
6145
|| !TEST_true(EVP_DigestSignFinal(ctx, NULL, &maclen)))
crypto/openssl/test/evp_extra_test.c
6151
if (!TEST_true(EVP_DigestSignFinal(ctx, mac, &maclen)))
crypto/openssl/test/evp_extra_test.c
6187
if (!TEST_true(ENGINE_init(e))) {
crypto/openssl/test/evp_extra_test.c
6196
if (!TEST_true(EVP_EncryptInit_ex(ctx, EVP_aes_128_cbc(), e, keyiv, keyiv)))
crypto/openssl/test/evp_extra_test.c
6200
if (!TEST_true(EVP_CIPHER_CTX_copy(ctx2, ctx)))
crypto/openssl/test/evp_extra_test.c
6203
if (!TEST_true(EVP_EncryptUpdate(ctx2, buf, &len, msg, sizeof(msg)))
crypto/openssl/test/evp_extra_test.c
6204
|| !TEST_true(EVP_EncryptFinal_ex(ctx2, buf + len, &len)))
crypto/openssl/test/evp_extra_test.c
6354
|| !TEST_true(EVP_PKEY_fromdata_init(pctx))
crypto/openssl/test/evp_extra_test.c
6355
|| !TEST_true(EVP_PKEY_fromdata(pctx, &pkey, EVP_PKEY_KEYPAIR, NULL))
crypto/openssl/test/evp_extra_test.c
6361
|| !TEST_true(EVP_DigestSignInit_ex(mctx, NULL, NULL, testctx,
crypto/openssl/test/evp_extra_test.c
6363
|| !TEST_true(EVP_DigestSignUpdate(mctx, sigbuf, sizeof(sigbuf)))
crypto/openssl/test/evp_extra_test.c
6364
|| !TEST_true(EVP_DigestSignFinal(mctx, signature, &siglen))
crypto/openssl/test/evp_extra_test.c
6365
|| !TEST_true(EVP_DigestSignUpdate(mctx, sigbuf, sizeof(sigbuf)))
crypto/openssl/test/evp_extra_test.c
6366
|| !TEST_true(EVP_DigestSignFinal(mctx, signature, &siglen)))
crypto/openssl/test/evp_extra_test.c
6373
|| !TEST_true(EVP_DigestSignInit_ex(mctx, NULL, NULL, testctx,
crypto/openssl/test/evp_extra_test.c
6375
|| !TEST_true(EVP_DigestSignUpdate(mctx, sigbuf, sizeof(sigbuf)))
crypto/openssl/test/evp_extra_test.c
6376
|| !TEST_true(EVP_DigestSignFinal(mctx, signature, &siglen))
crypto/openssl/test/evp_extra_test.c
6415
if (!TEST_true(EVP_EncryptInit_ex2(ctx, cipher, gcm_key, gcm_iv, params))
crypto/openssl/test/evp_extra_test.c
6417
&& !TEST_true(EVP_EncryptUpdate(ctx, NULL, &outlen,
crypto/openssl/test/evp_extra_test.c
6419
|| !TEST_true(EVP_EncryptUpdate(ctx, outbuf, &outlen,
crypto/openssl/test/evp_extra_test.c
6421
|| !TEST_true(EVP_EncryptFinal_ex(ctx, outbuf, &tmplen)))
crypto/openssl/test/evp_extra_test.c
6427
if (!TEST_true(EVP_CIPHER_CTX_get_params(ctx, params))
crypto/openssl/test/evp_extra_test.c
6465
if (!TEST_true(EVP_DecryptInit_ex2(ctx, cipher, gcm_key, gcm_iv, params))
crypto/openssl/test/evp_extra_test.c
6467
&& !TEST_true(EVP_DecryptUpdate(ctx, NULL, &outlen,
crypto/openssl/test/evp_extra_test.c
6469
|| !TEST_true(EVP_DecryptUpdate(ctx, outbuf, &outlen,
crypto/openssl/test/evp_extra_test.c
6477
if (!TEST_true(EVP_CIPHER_CTX_set_params(ctx, params))
crypto/openssl/test/evp_extra_test.c
6478
|| !TEST_true(EVP_DecryptFinal_ex(ctx, outbuf, &outlen)))
crypto/openssl/test/evp_extra_test.c
6552
if (!TEST_true(EVP_EncryptInit_ex2(ctx, cipher, rc4_key, NULL, params))
crypto/openssl/test/evp_extra_test.c
6553
|| !TEST_true(EVP_EncryptUpdate(ctx, outbuf, &outlen,
crypto/openssl/test/evp_extra_test.c
6555
|| !TEST_true(EVP_EncryptFinal_ex(ctx, outbuf, &tmplen)))
crypto/openssl/test/evp_extra_test.c
6591
if (!TEST_true(EVP_DecryptInit_ex2(ctx, cipher, rc4_key, NULL, params))
crypto/openssl/test/evp_extra_test.c
6592
|| !TEST_true(EVP_DecryptUpdate(ctx, outbuf, &outlen,
crypto/openssl/test/evp_extra_test.c
6657
|| !TEST_true(EVP_EncryptInit_ex2(ctx, c, key, nonce, NULL))
crypto/openssl/test/evp_extra_test.c
6658
|| !TEST_true(EVP_EncryptUpdate(ctx, NULL, &outl, aad, sizeof(aad))) /* AAD */
crypto/openssl/test/evp_extra_test.c
6659
|| !TEST_true(EVP_EncryptUpdate(ctx, out, &outl, aad, 0)) /* empty PT, out!=NULL */
crypto/openssl/test/evp_extra_test.c
6660
|| !TEST_true(EVP_EncryptFinal_ex(ctx, out, &outl))
crypto/openssl/test/evp_extra_test.c
6661
|| !TEST_true(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, 16, real_tag)))
crypto/openssl/test/evp_extra_test.c
6668
|| !TEST_true(EVP_DecryptInit_ex2(ctx, c, key, nonce, NULL))
crypto/openssl/test/evp_extra_test.c
6669
|| !TEST_true(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, 16, real_tag))
crypto/openssl/test/evp_extra_test.c
6670
|| !TEST_true(EVP_DecryptUpdate(ctx, NULL, &outl, aad, sizeof(aad)))
crypto/openssl/test/evp_extra_test.c
6671
|| !TEST_true(EVP_DecryptUpdate(ctx, out, &outl, aad, 0)) /* force aes_gcm_siv_decrypt(len=0) */
crypto/openssl/test/evp_extra_test.c
6672
|| !TEST_true(EVP_DecryptFinal_ex(ctx, out, &outl)))
crypto/openssl/test/evp_extra_test.c
6679
|| !TEST_true(EVP_DecryptInit_ex2(ctx, c, key, nonce, NULL))
crypto/openssl/test/evp_extra_test.c
6680
|| !TEST_true(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, 16, zero_tag))
crypto/openssl/test/evp_extra_test.c
6681
|| !TEST_true(EVP_DecryptUpdate(ctx, NULL, &outl, aad, sizeof(aad))) /* AAD only, out==NULL */
crypto/openssl/test/evp_extra_test.c
6689
|| !TEST_true(EVP_DecryptInit_ex2(ctx, c, key, nonce, NULL))
crypto/openssl/test/evp_extra_test.c
6690
|| !TEST_true(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, 16, zero_tag))
crypto/openssl/test/evp_extra_test.c
6698
|| !TEST_true(EVP_DecryptInit_ex2(ctx, c, key, nonce, NULL))
crypto/openssl/test/evp_extra_test.c
6699
|| !TEST_true(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, 16, real_tag))
crypto/openssl/test/evp_extra_test.c
6700
|| !TEST_true(EVP_DecryptUpdate(ctx, NULL, &outl, aad, sizeof(aad)))
crypto/openssl/test/evp_extra_test.c
6701
|| !TEST_true(EVP_DecryptFinal_ex(ctx, out, &outl)))
crypto/openssl/test/evp_extra_test.c
6737
|| !TEST_true(EVP_EncryptInit_ex2(e, c, key, NULL, NULL))
crypto/openssl/test/evp_extra_test.c
6738
|| !TEST_true(EVP_EncryptUpdate(e, NULL, &outl, (unsigned char *)"hdr1", 4))
crypto/openssl/test/evp_extra_test.c
6739
|| !TEST_true(EVP_EncryptUpdate(e, ct, &outl, pt, sizeof(pt)))
crypto/openssl/test/evp_extra_test.c
6740
|| !TEST_true(EVP_EncryptFinal_ex(e, out, &outl))
crypto/openssl/test/evp_extra_test.c
6741
|| !TEST_true(EVP_CIPHER_CTX_ctrl(e, EVP_CTRL_AEAD_GET_TAG, 16, tagbuf))) {
crypto/openssl/test/evp_extra_test.c
6750
|| !TEST_true(EVP_DecryptInit_ex2(d, c, key, NULL, NULL))
crypto/openssl/test/evp_extra_test.c
6751
|| !TEST_true(EVP_CIPHER_CTX_ctrl(d, EVP_CTRL_AEAD_SET_TAG, 16, tagbuf))
crypto/openssl/test/evp_extra_test.c
6752
|| !TEST_true(EVP_DecryptUpdate(d, NULL, &outl, (unsigned char *)"hdr1", 4))
crypto/openssl/test/evp_extra_test.c
6753
|| !TEST_true(EVP_DecryptUpdate(d, out, &outl, ct, sizeof(ct)))
crypto/openssl/test/evp_extra_test.c
6754
|| !TEST_true(EVP_DecryptFinal_ex(d, out, &outl)))
crypto/openssl/test/evp_extra_test.c
6758
if (!TEST_true(EVP_DecryptInit_ex2(d, NULL, NULL, NULL, NULL))
crypto/openssl/test/evp_extra_test.c
6759
|| !TEST_true(EVP_CIPHER_CTX_ctrl(d, EVP_CTRL_AEAD_SET_TAG, 16, zero16))
crypto/openssl/test/evp_extra_test.c
6760
|| !TEST_true(EVP_DecryptUpdate(d, NULL, &outl, aad, sizeof(aad))) /* forged AAD */
crypto/openssl/test/evp_extra_test.c
6902
if (!TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, enc))) {
crypto/openssl/test/evp_extra_test.c
6921
if (!TEST_true(EVP_CipherInit_ex(ctx, NULL, NULL, key, iv, enc))) {
crypto/openssl/test/evp_extra_test.c
6926
if (!TEST_true(EVP_CipherUpdate(ctx, NULL, &outl, NULL, (int)in_len))) {
crypto/openssl/test/evp_extra_test.c
6932
&& !TEST_true(EVP_CipherUpdate(ctx, NULL, &outl, aad, (int)aad_len))) {
crypto/openssl/test/evp_extra_test.c
6960
if (!TEST_true(EVP_CipherUpdate(ctx, out, &outl, in, (int)in_len))) {
crypto/openssl/test/evp_extra_test.c
6967
if (!TEST_true(EVP_CipherFinal_ex(ctx, out + outl, &tmpl))) {
crypto/openssl/test/evp_extra_test.c
7236
if (!TEST_true(EVP_CIPHER_CTX_reset(ctx))
crypto/openssl/test/evp_extra_test.c
7237
|| !TEST_true(EVP_CIPHER_can_pipeline(pipeline_cipher, 1))
crypto/openssl/test/evp_extra_test.c
7238
|| !TEST_true(EVP_CipherPipelineEncryptInit(ctx, pipeline_cipher,
crypto/openssl/test/evp_extra_test.c
7243
|| !TEST_true(EVP_CipherPipelineUpdate(ctx, NULL, outlen_array, NULL,
crypto/openssl/test/evp_extra_test.c
7246
|| !TEST_true(EVP_CipherPipelineUpdate(ctx, ciphertext_array_p,
crypto/openssl/test/evp_extra_test.c
7258
if (!TEST_true(EVP_CipherPipelineFinal(ctx, temp, outlen_array, outsize_array)))
crypto/openssl/test/evp_extra_test.c
7266
if (!TEST_true(EVP_CIPHER_CTX_get_params(ctx, params)))
crypto/openssl/test/evp_extra_test.c
7270
if (!TEST_true(EVP_CIPHER_CTX_reset(ctx)))
crypto/openssl/test/evp_extra_test.c
7274
if (!TEST_true(EVP_EncryptInit(ctx, cipher, key, iv_array[i]))
crypto/openssl/test/evp_extra_test.c
7275
|| !TEST_true(EVP_EncryptUpdate(ctx, NULL, &outlen,
crypto/openssl/test/evp_extra_test.c
7278
|| !TEST_true(EVP_EncryptUpdate(ctx, ciphertext, &outlen,
crypto/openssl/test/evp_extra_test.c
7284
if (!TEST_true(EVP_EncryptFinal_ex(ctx, ciphertext + outlen, &outlen)))
crypto/openssl/test/evp_extra_test.c
7290
if (!TEST_true(EVP_CIPHER_CTX_get_params(ctx, params)))
crypto/openssl/test/evp_extra_test.c
7305
if (!TEST_true(EVP_CIPHER_CTX_reset(ctx))
crypto/openssl/test/evp_extra_test.c
7306
|| !TEST_true(EVP_CIPHER_can_pipeline(pipeline_cipher, 0))
crypto/openssl/test/evp_extra_test.c
7307
|| !TEST_true(EVP_CipherPipelineDecryptInit(ctx, pipeline_cipher,
crypto/openssl/test/evp_extra_test.c
7311
|| !TEST_true(EVP_CIPHER_CTX_set_params(ctx, params))
crypto/openssl/test/evp_extra_test.c
7312
|| !TEST_true(EVP_CipherPipelineUpdate(ctx, NULL, outlen_array, NULL,
crypto/openssl/test/evp_extra_test.c
7315
|| !TEST_true(EVP_CipherPipelineUpdate(ctx, plaintext_array,
crypto/openssl/test/evp_extra_test.c
7326
if (!TEST_true(EVP_CipherPipelineFinal(ctx, temp, outlen_array, outsize_array)))
crypto/openssl/test/evp_extra_test.c
944
|| !TEST_true(BN_set_word(n, 17))
crypto/openssl/test/evp_extra_test.c
945
|| !TEST_true(BN_set_word(e, 17))
crypto/openssl/test/evp_extra_test.c
946
|| !TEST_true(RSA_set0_key(rsa, n, e, NULL))
crypto/openssl/test/evp_extra_test2.c
1102
&& TEST_true(OSSL_PARAM_get_BN(p, &bn))
crypto/openssl/test/evp_extra_test2.c
1115
&& TEST_true(OSSL_PARAM_get_int(p, &val))
crypto/openssl/test/evp_extra_test2.c
1127
&& TEST_true(do_pkey_tofrom_data_select(key, "DSA"));
crypto/openssl/test/evp_extra_test2.c
1306
|| !TEST_true(EVP_PKEY_export(pkey, EVP_PKEY_KEYPAIR,
crypto/openssl/test/evp_extra_test2.c
1319
|| !TEST_true(EVP_PKEY_assign_RSA(pkey, rsa))
crypto/openssl/test/evp_extra_test2.c
1320
|| !TEST_true(EVP_PKEY_export(pkey, EVP_PKEY_KEYPAIR,
crypto/openssl/test/evp_extra_test2.c
1393
&& TEST_true(EVP_MD_CTX_copy_ex(copyctx, mdctx));
crypto/openssl/test/evp_extra_test2.c
1419
if (!TEST_true(EVP_DigestInit_ex2(inctx, md, NULL)))
crypto/openssl/test/evp_extra_test2.c
1421
if (!TEST_true(EVP_DigestInit_ex2(outctx, md, NULL)))
crypto/openssl/test/evp_extra_test2.c
1429
ret = TEST_true(EVP_MD_CTX_copy_ex(outctx, inctx))
crypto/openssl/test/evp_extra_test2.c
1430
&& TEST_true(outctx->algctx == origin_algctx);
crypto/openssl/test/evp_extra_test2.c
1448
if (!TEST_true(EVP_PBE_alg_add(NID_pbeWithMD5AndDES_CBC, EVP_des_cbc(), EVP_md5(),
crypto/openssl/test/evp_extra_test2.c
1452
if (!TEST_true(EVP_PBE_find_ex(EVP_PBE_TYPE_OUTER, NID_pbeWithMD5AndDES_CBC,
crypto/openssl/test/evp_extra_test2.c
1456
if (!TEST_true(keygen != NULL))
crypto/openssl/test/evp_extra_test2.c
1458
if (!TEST_true(keygen_ex == NULL))
crypto/openssl/test/evp_extra_test2.c
357
|| !TEST_true(pkey_has_private(fromkeypair, privtag, use_octstring)))
crypto/openssl/test/evp_extra_test2.c
385
&& TEST_true(EVP_PKEY_CTX_set_params(gctx, params))
crypto/openssl/test/evp_extra_test2.c
387
&& TEST_true(do_pkey_tofrom_data_select(key, "DHX"));
crypto/openssl/test/evp_extra_test2.c
413
&& TEST_true(EVP_PKEY_CTX_set_params(gctx, params))
crypto/openssl/test/evp_extra_test2.c
414
&& TEST_true(EVP_PKEY_paramgen(gctx, &pkey))
crypto/openssl/test/evp_extra_test2.c
500
if (!TEST_true(OSSL_PROVIDER_add_builtin(mainctx, "tls-provider",
crypto/openssl/test/evp_extra_test2.c
543
|| !TEST_true(i2d_PUBKEY_fp(fp, key))
crypto/openssl/test/evp_extra_test2.c
568
&& TEST_true(do_pkey_tofrom_data_select(key, "EC"));
crypto/openssl/test/evp_extra_test2.c
580
&& TEST_true(do_pkey_tofrom_data_select(key, "X25519"));
crypto/openssl/test/evp_extra_test2.c
594
&& TEST_true(do_pkey_tofrom_data_select(key, "SM2"));
crypto/openssl/test/evp_extra_test2.c
609
&& TEST_true(do_pkey_tofrom_data_select(key, "RSA"));
crypto/openssl/test/evp_extra_test2.c
636
if (!TEST_true(EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_RSA_D,
crypto/openssl/test/evp_extra_test2.c
643
if (!TEST_true(EVP_PKEY_get_octet_string_param(pkey,
crypto/openssl/test/evp_extra_test2.c
649
if (!TEST_true(EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_PRIV_KEY,
crypto/openssl/test/evp_extra_test2.c
655
if (!TEST_true(EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_FFC_P, &p_bn))
crypto/openssl/test/evp_extra_test2.c
656
|| !TEST_true(EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_FFC_G,
crypto/openssl/test/evp_extra_test2.c
694
&& TEST_true(EVP_PKEY_eq(pkey, pkey_dec));
crypto/openssl/test/evp_extra_test2.c
865
!TEST_true(PEM_write_bio_PrivateKey(key_bio, write_pkey, EVP_aes_256_cbc(),
crypto/openssl/test/evp_extra_test2.c
902
&& TEST_true(EVP_PKEY_eq(pkey, expected));
crypto/openssl/test/evp_fetch_prov_test.c
133
if (!TEST_true(OSSL_LIB_CTX_load_config(ctx, config_file)))
crypto/openssl/test/evp_fetch_prov_test.c
150
|| !TEST_true(X509_ALGOR_set0(algor, OBJ_nid2obj(nid),
crypto/openssl/test/evp_fetch_prov_test.c
171
&& TEST_true(EVP_MD_is_a(md, "SHA256"))
crypto/openssl/test/evp_fetch_prov_test.c
172
&& TEST_true(calculate_digest(md, testmsg, sizeof(testmsg), exptd))
crypto/openssl/test/evp_fetch_prov_test.c
206
if (!TEST_true(EVP_MD_up_ref(md)))
crypto/openssl/test/evp_fetch_prov_test.c
272
|| !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, key, NULL, 1))
crypto/openssl/test/evp_fetch_prov_test.c
273
|| !TEST_true(EVP_CipherUpdate(ctx, ct, &ctlen, msg, len))
crypto/openssl/test/evp_fetch_prov_test.c
274
|| !TEST_true(EVP_CipherFinal_ex(ctx, ct, &ctlen))
crypto/openssl/test/evp_fetch_prov_test.c
275
|| !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, key, NULL, 0))
crypto/openssl/test/evp_fetch_prov_test.c
276
|| !TEST_true(EVP_CipherUpdate(ctx, pt, &ptlen, ct, ctlen))
crypto/openssl/test/evp_fetch_prov_test.c
277
|| !TEST_true(EVP_CipherFinal_ex(ctx, pt, &ptlen))
crypto/openssl/test/evp_fetch_prov_test.c
292
&& TEST_true(encrypt_decrypt(cipher, testmsg, sizeof(testmsg)));
crypto/openssl/test/evp_fetch_prov_test.c
323
if (!TEST_true(EVP_CIPHER_up_ref(cipher)))
crypto/openssl/test/evp_fetch_prov_test.c
65
|| !TEST_true(EVP_DigestInit_ex(ctx, md, NULL))
crypto/openssl/test/evp_fetch_prov_test.c
66
|| !TEST_true(EVP_DigestUpdate(ctx, msg, len))
crypto/openssl/test/evp_fetch_prov_test.c
67
|| !TEST_true(EVP_DigestFinal_ex(ctx, out, NULL))
crypto/openssl/test/evp_fetch_prov_test.c
70
|| !TEST_true(md == EVP_MD_CTX_get0_md(ctx)))
crypto/openssl/test/evp_fetch_prov_test.c
89
if (!TEST_true(OSSL_LIB_CTX_load_config(ctx, config_file)))
crypto/openssl/test/evp_kdf_test.c
110
&& TEST_true(EVP_KDF_CTX_set_params(kctx, params))
crypto/openssl/test/evp_kdf_test.c
1235
&& TEST_true(EVP_KDF_CTX_set_params(kctx, params))
crypto/openssl/test/evp_kdf_test.c
1283
&& TEST_true(EVP_KDF_CTX_set_params(kctx, params))
crypto/openssl/test/evp_kdf_test.c
166
&& TEST_true(EVP_KDF_CTX_set_params(kctx, params))
crypto/openssl/test/evp_kdf_test.c
1998
|| !TEST_true(EVP_KDF_CTX_set_params(kctx, params)))
crypto/openssl/test/evp_kdf_test.c
2012
if (!TEST_true(EVP_KDF_derive(kctx, out, sizeof(out), params))
crypto/openssl/test/evp_kdf_test.c
255
|| !TEST_true(EVP_KDF_CTX_set_params(kctx, params)))
crypto/openssl/test/evp_kdf_test.c
413
&& TEST_true(EVP_KDF_CTX_set_params(kctx, params))
crypto/openssl/test/evp_kdf_test.c
531
|| !TEST_true(EVP_KDF_CTX_set_params(kctx, params))
crypto/openssl/test/evp_kdf_test.c
581
|| !TEST_true(EVP_KDF_CTX_set_params(kctx, params))
crypto/openssl/test/evp_kdf_test.c
664
|| !TEST_true(EVP_KDF_CTX_set_params(kctx, params))
crypto/openssl/test/evp_kdf_test.c
696
|| !TEST_true(EVP_KDF_CTX_set_params(kctx, params))
crypto/openssl/test/evp_kdf_test.c
774
|| !TEST_true(EVP_KDF_CTX_set_params(kctx, params))
crypto/openssl/test/evp_kdf_test.c
783
if (!TEST_true(EVP_KDF_CTX_set_params(kctx, mode_params))
crypto/openssl/test/evp_kdf_test.c
811
|| !TEST_true(EVP_KDF_CTX_set_params(kctx, params))
crypto/openssl/test/evp_kdf_test.c
820
if (!TEST_true(EVP_KDF_CTX_set_params(kctx, mode_params))
crypto/openssl/test/evp_kdf_test.c
888
&& TEST_true(EVP_KDF_CTX_set_params(kctx, params));
crypto/openssl/test/evp_kdf_test.c
892
&& TEST_true(OSSL_PARAM_set_uint(p - 1, 10 * 1024 * 1024))
crypto/openssl/test/evp_kdf_test.c
893
&& TEST_true(EVP_KDF_CTX_set_params(kctx, p - 1));
crypto/openssl/test/evp_libctx_test.c
152
|| !TEST_true(DSA_set0_pqg(dsa, p, q, g)))
crypto/openssl/test/evp_libctx_test.c
156
if (!TEST_true(EVP_PKEY_assign_DSA(pkey_parm, dsa)))
crypto/openssl/test/evp_libctx_test.c
215
|| !TEST_true(DH_set0_pqg(dh, p, q, g)))
crypto/openssl/test/evp_libctx_test.c
219
if (!TEST_true(EVP_PKEY_assign_DH(pkey_parm, dh)))
crypto/openssl/test/evp_libctx_test.c
403
if (!TEST_true(EVP_EncryptInit_ex(ctx, cipher, NULL, key, iv))
crypto/openssl/test/evp_libctx_test.c
404
|| !TEST_true(EVP_EncryptUpdate(ctx, out1, &out1_len, in, sizeof(in)))
crypto/openssl/test/evp_libctx_test.c
405
|| !TEST_true(EVP_EncryptInit_ex(ctx, NULL, NULL, key, iv))
crypto/openssl/test/evp_libctx_test.c
409
&& (!TEST_true(EVP_EncryptInit_ex(ctx, NULL, NULL, NULL, iv))
crypto/openssl/test/evp_libctx_test.c
497
if (!TEST_true(EVP_EncryptInit_ex(ctx, cipher, NULL, key, iv))
crypto/openssl/test/evp_libctx_test.c
498
|| !TEST_true(EVP_EncryptUpdate(ctx, out1, &out1_len, in, in_len))
crypto/openssl/test/evp_libctx_test.c
499
|| !TEST_true(EVP_EncryptInit_ex(ctx, NULL, NULL, key, iv))
crypto/openssl/test/evp_libctx_test.c
500
|| !TEST_true(EVP_EncryptUpdate(ctx, out2, &out2_len, in, in_len)))
crypto/openssl/test/evp_libctx_test.c
508
if (!TEST_true(EVP_EncryptInit_ex(ctx, NULL, NULL, NULL, iv))
crypto/openssl/test/evp_libctx_test.c
509
|| !TEST_true(EVP_EncryptUpdate(ctx, out3, &out3_len, in, in_len)))
crypto/openssl/test/evp_libctx_test.c
558
|| !TEST_true(OSSL_ENCODER_to_data(ectx, &pub_der, &len)))
crypto/openssl/test/evp_libctx_test.c
588
ret = TEST_true(rsa_keygen(bits, &pub, &priv))
crypto/openssl/test/evp_libctx_test.c
659
&& TEST_true(EVP_CipherInit_ex2(ctx, tdes_cipher, NULL, NULL, 1,
crypto/openssl/test/evp_libctx_test.c
684
ret = TEST_true(rsa_keygen(2048, &pub, &priv))
crypto/openssl/test/evp_libctx_test.c
706
&& (is_fips_lt_3_5 || (TEST_int_eq(EVP_PKEY_encapsulate(pubctx, NULL, &ctlen, NULL, &secretlen), 1) && TEST_true(ctlen <= sizeof(ct)) && TEST_true(secretlen <= sizeof(secret)) && TEST_int_eq(EVP_PKEY_encapsulate(pubctx, ct, &ctlen, secret, &secretlen), 1)))
crypto/openssl/test/evp_libctx_test.c
760
|| !TEST_true(EVP_PKEY_CTX_set_params(gctx, params))
crypto/openssl/test/evp_libctx_test.c
761
|| !TEST_true(EVP_PKEY_keygen(gctx, &pkey)))
crypto/openssl/test/evp_pkey_dhkem_test.c
496
&& TEST_true(EVP_PKEY_get_octet_string_param(pkey,
crypto/openssl/test/evp_pkey_dhkem_test.c
499
&& TEST_true(EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_PRIV_KEY,
crypto/openssl/test/evp_pkey_provided_test.c
1003
|| !TEST_true(EVP_PKEY_get_bn_param(pk, OSSL_PKEY_PARAM_PUB_KEY,
crypto/openssl/test/evp_pkey_provided_test.c
1007
|| !TEST_true(EVP_PKEY_get_bn_param(pk, OSSL_PKEY_PARAM_PRIV_KEY,
crypto/openssl/test/evp_pkey_provided_test.c
1010
|| !TEST_true(EVP_PKEY_get_bn_param(pk, OSSL_PKEY_PARAM_FFC_P, &p))
crypto/openssl/test/evp_pkey_provided_test.c
1012
|| !TEST_true(EVP_PKEY_get_bn_param(pk, OSSL_PKEY_PARAM_FFC_Q, &q))
crypto/openssl/test/evp_pkey_provided_test.c
1014
|| !TEST_true(EVP_PKEY_get_bn_param(pk, OSSL_PKEY_PARAM_FFC_G, &g))
crypto/openssl/test/evp_pkey_provided_test.c
1025
|| !TEST_true(EVP_PKEY_get_int_param(pk, OSSL_PKEY_PARAM_FFC_GINDEX,
crypto/openssl/test/evp_pkey_provided_test.c
1028
|| !TEST_true(EVP_PKEY_get_int_param(pk, OSSL_PKEY_PARAM_FFC_H,
crypto/openssl/test/evp_pkey_provided_test.c
1031
|| !TEST_true(EVP_PKEY_get_int_param(pk,
crypto/openssl/test/evp_pkey_provided_test.c
105
if (!TEST_true(BIO_read_ex(file, buf, sizeof(buf), &readbytes))
crypto/openssl/test/evp_pkey_provided_test.c
106
|| !TEST_true(BIO_eof(file))
crypto/openssl/test/evp_pkey_provided_test.c
1061
|| !TEST_true(EVP_PKEY_copy_parameters(copy_pk, pk)))
crypto/openssl/test/evp_pkey_provided_test.c
1154
|| !TEST_true(OSSL_PARAM_BLD_push_utf8_string(bld,
crypto/openssl/test/evp_pkey_provided_test.c
1157
|| !TEST_true(OSSL_PARAM_BLD_push_long(bld, OSSL_PKEY_PARAM_DH_PRIV_LEN,
crypto/openssl/test/evp_pkey_provided_test.c
1159
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PUB_KEY, pub))
crypto/openssl/test/evp_pkey_provided_test.c
1160
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PRIV_KEY, priv))
crypto/openssl/test/evp_pkey_provided_test.c
1181
if (!TEST_true(EVP_PKEY_get_utf8_string_param(pk,
crypto/openssl/test/evp_pkey_provided_test.c
1187
|| !TEST_true(EVP_PKEY_get_bn_param(pk, OSSL_PKEY_PARAM_PUB_KEY,
crypto/openssl/test/evp_pkey_provided_test.c
1190
|| !TEST_true(EVP_PKEY_get_bn_param(pk, OSSL_PKEY_PARAM_PRIV_KEY,
crypto/openssl/test/evp_pkey_provided_test.c
1193
|| !TEST_true(EVP_PKEY_get_bn_param(pk, OSSL_PKEY_PARAM_FFC_P, &p))
crypto/openssl/test/evp_pkey_provided_test.c
1195
|| !TEST_true(EVP_PKEY_get_bn_param(pk, OSSL_PKEY_PARAM_FFC_Q, &q))
crypto/openssl/test/evp_pkey_provided_test.c
1197
|| !TEST_true(EVP_PKEY_get_bn_param(pk, OSSL_PKEY_PARAM_FFC_G, &g))
crypto/openssl/test/evp_pkey_provided_test.c
1208
|| !TEST_true(EVP_PKEY_get_int_param(pk,
crypto/openssl/test/evp_pkey_provided_test.c
1212
|| !TEST_true(EVP_PKEY_get_int_param(pk, OSSL_PKEY_PARAM_FFC_H,
crypto/openssl/test/evp_pkey_provided_test.c
1215
|| !TEST_true(EVP_PKEY_get_int_param(pk,
crypto/openssl/test/evp_pkey_provided_test.c
1484
if (!TEST_true(EVP_PKEY_get_octet_string_param(
crypto/openssl/test/evp_pkey_provided_test.c
1490
|| !TEST_true(EVP_PKEY_get_octet_string_param(
crypto/openssl/test/evp_pkey_provided_test.c
150
!TEST_true(PEM_write_bio_PrivateKey(bio_out, pk, EVP_aes_256_cbc(),
crypto/openssl/test/evp_pkey_provided_test.c
1509
|| !TEST_true(EVP_PKEY_copy_parameters(copy_pk, pk)))
crypto/openssl/test/evp_pkey_provided_test.c
154
|| !TEST_true(PEM_write_bio_PKCS8PrivateKey(bio_out, pk,
crypto/openssl/test/evp_pkey_provided_test.c
158
|| !TEST_true(PEM_write_bio_PKCS8PrivateKey(bio_out, pk,
crypto/openssl/test/evp_pkey_provided_test.c
161
|| !TEST_true(PEM_write_bio_PKCS8PrivateKey(bio_out, pk,
crypto/openssl/test/evp_pkey_provided_test.c
1663
|| !TEST_true(EVP_PKEY_copy_parameters(copy_pk, pk)))
crypto/openssl/test/evp_pkey_provided_test.c
1681
|| !TEST_true(EC_GROUP_get_curve(group, group_p, group_a, group_b, NULL)))
crypto/openssl/test/evp_pkey_provided_test.c
1684
if (!TEST_true(EVP_PKEY_get_bn_param(pk, OSSL_PKEY_PARAM_EC_A, &a))
crypto/openssl/test/evp_pkey_provided_test.c
1685
|| !TEST_true(EVP_PKEY_get_bn_param(pk, OSSL_PKEY_PARAM_EC_B, &b))
crypto/openssl/test/evp_pkey_provided_test.c
1686
|| !TEST_true(EVP_PKEY_get_bn_param(pk, OSSL_PKEY_PARAM_EC_P, &p)))
crypto/openssl/test/evp_pkey_provided_test.c
169
|| !TEST_true(PEM_write_bio_PKCS8PrivateKey_nid(
crypto/openssl/test/evp_pkey_provided_test.c
1700
if (!TEST_true(EVP_PKEY_get_params(pk, probe))
crypto/openssl/test/evp_pkey_provided_test.c
172
|| !TEST_true(PEM_write_bio_PKCS8PrivateKey_nid(
crypto/openssl/test/evp_pkey_provided_test.c
1728
|| !TEST_true(out_pub[0] == POINT_CONVERSION_UNCOMPRESSED)
crypto/openssl/test/evp_pkey_provided_test.c
1732
|| !TEST_true(EVP_PKEY_get_bn_param(pk, OSSL_PKEY_PARAM_PRIV_KEY,
crypto/openssl/test/evp_pkey_provided_test.c
175
|| !TEST_true(PEM_write_bio_PKCS8PrivateKey_nid(
crypto/openssl/test/evp_pkey_provided_test.c
184
|| !TEST_true(compare_with_file(alg, PRIV_TEXT, membio))
crypto/openssl/test/evp_pkey_provided_test.c
186
|| !TEST_true(PEM_write_bio_PUBKEY(membio, pk))
crypto/openssl/test/evp_pkey_provided_test.c
187
|| !TEST_true(compare_with_file(alg, PUB_PEM, membio))
crypto/openssl/test/evp_pkey_provided_test.c
189
|| !TEST_true(PEM_write_bio_PrivateKey(membio, pk,
crypto/openssl/test/evp_pkey_provided_test.c
191
|| !TEST_true(compare_with_file(alg, PRIV_PEM, membio))
crypto/openssl/test/evp_pkey_provided_test.c
1966
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_P, p))
crypto/openssl/test/evp_pkey_provided_test.c
1967
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_Q, q))
crypto/openssl/test/evp_pkey_provided_test.c
1968
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_G, g))
crypto/openssl/test/evp_pkey_provided_test.c
1969
|| !TEST_true(OSSL_PARAM_BLD_push_octet_string(bld,
crypto/openssl/test/evp_pkey_provided_test.c
1973
|| !TEST_true(OSSL_PARAM_BLD_push_int(bld, OSSL_PKEY_PARAM_FFC_GINDEX,
crypto/openssl/test/evp_pkey_provided_test.c
1975
|| !TEST_true(OSSL_PARAM_BLD_push_int(bld,
crypto/openssl/test/evp_pkey_provided_test.c
1978
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PUB_KEY,
crypto/openssl/test/evp_pkey_provided_test.c
1980
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PRIV_KEY,
crypto/openssl/test/evp_pkey_provided_test.c
2007
|| !TEST_true(EVP_PKEY_get_bn_param(pk, OSSL_PKEY_PARAM_PUB_KEY,
crypto/openssl/test/evp_pkey_provided_test.c
2010
|| !TEST_true(EVP_PKEY_get_bn_param(pk, OSSL_PKEY_PARAM_PRIV_KEY,
crypto/openssl/test/evp_pkey_provided_test.c
2013
|| !TEST_true(EVP_PKEY_get_bn_param(pk, OSSL_PKEY_PARAM_FFC_P,
crypto/openssl/test/evp_pkey_provided_test.c
2016
|| !TEST_true(EVP_PKEY_get_bn_param(pk, OSSL_PKEY_PARAM_FFC_Q,
crypto/openssl/test/evp_pkey_provided_test.c
2019
|| !TEST_true(EVP_PKEY_get_bn_param(pk, OSSL_PKEY_PARAM_FFC_G,
crypto/openssl/test/evp_pkey_provided_test.c
2026
|| !TEST_true(EVP_PKEY_get_octet_string_param(pk,
crypto/openssl/test/evp_pkey_provided_test.c
2031
|| !TEST_true(EVP_PKEY_get_int_param(pk,
crypto/openssl/test/evp_pkey_provided_test.c
2035
|| !TEST_true(EVP_PKEY_get_int_param(pk, OSSL_PKEY_PARAM_FFC_H,
crypto/openssl/test/evp_pkey_provided_test.c
2038
|| !TEST_true(EVP_PKEY_get_int_param(pk,
crypto/openssl/test/evp_pkey_provided_test.c
2068
|| !TEST_true(EVP_PKEY_copy_parameters(copy_pk, pk)))
crypto/openssl/test/evp_pkey_provided_test.c
277
if (!TEST_true(OSSL_ENCODER_to_bio(ctx, membio))
crypto/openssl/test/evp_pkey_provided_test.c
278
|| !TEST_true(compare_with_file(alg, type, membio)))
crypto/openssl/test/evp_pkey_provided_test.c
283
if (!TEST_true(OSSL_ENCODER_CTX_set_passphrase(ctx,
crypto/openssl/test/evp_pkey_provided_test.c
290
if (!TEST_true(OSSL_ENCODER_CTX_set_cipher(ctx, "AES-256-CBC", NULL))
crypto/openssl/test/evp_pkey_provided_test.c
291
|| !TEST_true(OSSL_ENCODER_to_bio(ctx, bio_out)))
crypto/openssl/test/evp_pkey_provided_test.c
302
if (!TEST_true(OSSL_ENCODER_CTX_set_cipher(ctx, NULL, NULL))
crypto/openssl/test/evp_pkey_provided_test.c
303
|| !TEST_true(OSSL_ENCODER_to_bio(ctx, membio))
crypto/openssl/test/evp_pkey_provided_test.c
304
|| !TEST_true(compare_with_file(alg, type, membio)))
crypto/openssl/test/evp_pkey_provided_test.c
435
if (!TEST_true(BN_set_word(bn_from, key_numbers[i]))
crypto/openssl/test/evp_pkey_provided_test.c
436
|| !TEST_true(EVP_PKEY_get_bn_param(pk, fromdata_params[i].key,
crypto/openssl/test/evp_pkey_provided_test.c
597
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_N, n))
crypto/openssl/test/evp_pkey_provided_test.c
598
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_E, e))
crypto/openssl/test/evp_pkey_provided_test.c
599
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_D, d))
crypto/openssl/test/evp_pkey_provided_test.c
600
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_FACTOR1,
crypto/openssl/test/evp_pkey_provided_test.c
602
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_FACTOR2,
crypto/openssl/test/evp_pkey_provided_test.c
604
|| !TEST_true(OSSL_PARAM_BLD_push_int(bld,
crypto/openssl/test/evp_pkey_provided_test.c
772
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_N, n))
crypto/openssl/test/evp_pkey_provided_test.c
773
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_E, e))
crypto/openssl/test/evp_pkey_provided_test.c
774
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_D, d))
crypto/openssl/test/evp_pkey_provided_test.c
775
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_FACTOR1,
crypto/openssl/test/evp_pkey_provided_test.c
777
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_FACTOR2,
crypto/openssl/test/evp_pkey_provided_test.c
779
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_FACTOR3,
crypto/openssl/test/evp_pkey_provided_test.c
781
|| !TEST_true(OSSL_PARAM_BLD_push_int(bld,
crypto/openssl/test/evp_pkey_provided_test.c
856
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_N, n))
crypto/openssl/test/evp_pkey_provided_test.c
857
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_E, e))
crypto/openssl/test/evp_pkey_provided_test.c
858
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_D, d))
crypto/openssl/test/evp_pkey_provided_test.c
866
|| !TEST_true(EVP_PKEY_get_bn_param(pk, OSSL_PKEY_PARAM_RSA_N, &n_out))
crypto/openssl/test/evp_pkey_provided_test.c
939
|| !TEST_true(OSSL_PARAM_BLD_push_utf8_string(bld,
crypto/openssl/test/evp_pkey_provided_test.c
942
|| !TEST_true(OSSL_PARAM_BLD_push_long(bld, OSSL_PKEY_PARAM_DH_PRIV_LEN,
crypto/openssl/test/evp_pkey_provided_test.c
944
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PUB_KEY, pub))
crypto/openssl/test/evp_pkey_provided_test.c
945
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PRIV_KEY, priv))
crypto/openssl/test/evp_pkey_provided_test.c
963
if (!TEST_true(EVP_PKEY_get_utf8_string_param(pk,
crypto/openssl/test/evp_pkey_provided_test.c
969
|| !TEST_true(EVP_PKEY_get_utf8_string_param(pk,
crypto/openssl/test/evp_pkey_provided_test.c
997
if (!TEST_true(EVP_PKEY_get_utf8_string_param(pk,
crypto/openssl/test/evp_test.c
1217
if (!TEST_true(EVP_CIPHER_CTX_get_updated_iv(ctx_base, iv, sizeof(iv)))
crypto/openssl/test/evp_test.c
1455
if (!TEST_true(EVP_CIPHER_CTX_get_updated_iv(ctx, iv, sizeof(iv)))
crypto/openssl/test/evp_test.c
1987
if (!TEST_true(EVP_MAC_CTX_get_params(ctx, sizes))) {
crypto/openssl/test/evp_test.c
2088
if (!TEST_true(EVP_Q_mac(libctx, expected->mac_name, NULL,
crypto/openssl/test/evp_test.c
3124
if (!TEST_true(*p)) {
crypto/openssl/test/evp_test.c
3134
if (!TEST_true(isdigit((unsigned char)*p))) {
crypto/openssl/test/evp_test.c
3419
if (!TEST_true(EVP_EncodeUpdate(encode_ctx, encode_out, &chunk_len,
crypto/openssl/test/evp_test.c
3724
if (!TEST_true(EVP_RAND_instantiate(expected->parent, strength,
crypto/openssl/test/evp_test.c
3729
if (!TEST_true(EVP_RAND_instantiate(expected->ctx, strength,
crypto/openssl/test/evp_test.c
3738
if (!TEST_true(EVP_RAND_CTX_set_params(expected->parent, params)))
crypto/openssl/test/evp_test.c
3741
if (!TEST_true(EVP_RAND_reseed(expected->ctx, expected->prediction_resistance,
crypto/openssl/test/evp_test.c
3750
if (!TEST_true(EVP_RAND_CTX_set_params(expected->parent, params)))
crypto/openssl/test/evp_test.c
3753
if (!TEST_true(EVP_RAND_generate(expected->ctx, got, got_len,
crypto/openssl/test/evp_test.c
3762
if (!TEST_true(EVP_RAND_CTX_set_params(expected->parent, params)))
crypto/openssl/test/evp_test.c
3765
if (!TEST_true(EVP_RAND_generate(expected->ctx, got, got_len,
crypto/openssl/test/evp_test.c
3773
if (!TEST_true(EVP_RAND_uninstantiate(expected->ctx))
crypto/openssl/test/evp_test.c
3774
|| !TEST_true(EVP_RAND_uninstantiate(expected->parent))
crypto/openssl/test/evp_test.c
3775
|| !TEST_true(EVP_RAND_verify_zeroization(expected->ctx))
crypto/openssl/test/evp_test.c
4182
if (!TEST_true(find_key(&pk, priv, private_keys))) {
crypto/openssl/test/evp_test.c
4187
if (!TEST_true(find_key(&pubk, pub, public_keys))) {
crypto/openssl/test/evp_test.c
808
if (!TEST_true(EVP_MD_CTX_copy(mctx_cpy, mctx))) {
crypto/openssl/test/evp_test.c
847
if (!TEST_true(EVP_Q_digest(libctx,
crypto/openssl/test/evp_xof_test.c
196
if (!TEST_true(EVP_DigestInit_ex2(ctx, md, NULL)))
crypto/openssl/test/evp_xof_test.c
214
if (!TEST_true(EVP_DigestUpdate(ctx, shake256_input,
crypto/openssl/test/evp_xof_test.c
216
|| !TEST_true(EVP_DigestFinalXOF(ctx, out, sizeof(out)))
crypto/openssl/test/evp_xof_test.c
240
if (!TEST_true(EVP_DigestUpdate(ctx, shake256_input,
crypto/openssl/test/evp_xof_test.c
254
if (!TEST_true(EVP_DigestUpdate(ctx, shake256_input,
crypto/openssl/test/evp_xof_test.c
257
if (!TEST_true(EVP_DigestFinalXOF(ctx, out, sizeof(out)))
crypto/openssl/test/evp_xof_test.c
294
|| !TEST_true(EVP_MD_xof(md))
crypto/openssl/test/evp_xof_test.c
295
|| !TEST_true(EVP_DigestUpdate(ctx, shake256_input,
crypto/openssl/test/evp_xof_test.c
297
|| !TEST_true(EVP_DigestFinal(ctx, out, &digest_length))
crypto/openssl/test/evp_xof_test.c
330
if (!TEST_true(EVP_DigestUpdate(ctx, shake256_largemsg_input + i,
crypto/openssl/test/evp_xof_test.c
334
if (!TEST_true(EVP_DigestFinalXOF(ctx, out, sizeof(out)))
crypto/openssl/test/evp_xof_test.c
339
if (!TEST_true(EVP_DigestInit_ex2(ctx, NULL, NULL)))
crypto/openssl/test/evp_xof_test.c
411
if (!TEST_true(EVP_DigestUpdate(ctx, in, inlen)))
crypto/openssl/test/evp_xof_test.c
417
if (!TEST_true(EVP_DigestSqueeze(ctx, out + i, sz)))
crypto/openssl/test/evp_xof_test.c
452
|| !TEST_true(EVP_DigestUpdate(ctx, msg, sizeof(msg)))
crypto/openssl/test/evp_xof_test.c
453
|| !TEST_true(EVP_DigestFinalXOF(ctx, out, sizeof(out))))
crypto/openssl/test/evp_xof_test.c
483
if (!TEST_true(EVP_DigestUpdate(ctx, in, inlen)))
crypto/openssl/test/evp_xof_test.c
489
if (!TEST_true(EVP_DigestSqueeze(cur, out + i, sz)))
crypto/openssl/test/evp_xof_test.c
520
|| !TEST_true(EVP_DigestUpdate(ctx, msg, sizeof(msg)))
crypto/openssl/test/evp_xof_test.c
521
|| !TEST_true(EVP_DigestFinalXOF(ctx, out, sizeof(out))))
crypto/openssl/test/evp_xof_test.c
541
|| !TEST_true(EVP_DigestFinalXOF(ctx, out, sizeof(out))))
crypto/openssl/test/evp_xof_test.c
544
if (!TEST_true(EVP_DigestInit_ex2(ctx, NULL, NULL))
crypto/openssl/test/evp_xof_test.c
545
|| !TEST_true(EVP_DigestSqueeze(ctx, out2, sizeof(out2) / 2))
crypto/openssl/test/evp_xof_test.c
546
|| !TEST_true(EVP_DigestSqueeze(ctx, out2 + sizeof(out2) / 2,
crypto/openssl/test/exdatatest.c
101
|| !TEST_true(ex_data->new)) {
crypto/openssl/test/exdatatest.c
119
if (!TEST_true(idx == saved_idx2 || idx == saved_idx3)
crypto/openssl/test/exdatatest.c
122
|| !TEST_true(CRYPTO_set_ex_data(ad, idx, NULL)))
crypto/openssl/test/exdatatest.c
183
&& TEST_true(CRYPTO_alloc_ex_data(CRYPTO_EX_INDEX_APP, obj,
crypto/openssl/test/exdatatest.c
76
if (!TEST_true(idx == saved_idx2 || idx == saved_idx3)
crypto/openssl/test/exdatatest.c
81
|| !TEST_true(CRYPTO_set_ex_data(ad, idx, ex_data))) {
crypto/openssl/test/exdatatest.c
95
if (!TEST_true(idx == saved_idx2 || idx == saved_idx3)
crypto/openssl/test/exptest.c
109
if (!TEST_true(BN_MONT_CTX_set(mont, m, ctx)))
crypto/openssl/test/exptest.c
113
if (!TEST_true(BN_mod_exp_mont_consttime(r, p, a, m, ctx, mont)))
crypto/openssl/test/exptest.c
116
if (!TEST_true(a_is_zero_mod_one("BN_mod_exp_mont_consttime", r, a)))
crypto/openssl/test/exptest.c
119
if (!TEST_true(BN_mod_exp_mont(r, p, a, m, ctx, mont)))
crypto/openssl/test/exptest.c
122
if (!TEST_true(a_is_zero_mod_one("BN_mod_exp_mont", r, a)))
crypto/openssl/test/exptest.c
129
if (!TEST_true(BN_mod_exp_mont_word(r, one_word, p, m, ctx, NULL)))
crypto/openssl/test/exptest.c
179
if (!TEST_true(BN_rand(a, NUM_BITS + c, BN_RAND_TOP_ONE,
crypto/openssl/test/exptest.c
186
if (!TEST_true(BN_rand(b, NUM_BITS + c, BN_RAND_TOP_ONE,
crypto/openssl/test/exptest.c
193
if (!TEST_true(BN_rand(m, NUM_BITS + c, BN_RAND_TOP_ONE,
crypto/openssl/test/exptest.c
197
if (!TEST_true(BN_mod(a, a, m, ctx))
crypto/openssl/test/exptest.c
198
|| !TEST_true(BN_mod(b, b, m, ctx))
crypto/openssl/test/exptest.c
199
|| !TEST_true(BN_mod_exp_mont(r_mont, a, b, m, ctx, NULL))
crypto/openssl/test/exptest.c
200
|| !TEST_true(BN_mod_exp_recp(r_recp, a, b, m, ctx))
crypto/openssl/test/exptest.c
201
|| !TEST_true(BN_mod_exp_simple(r_simple, a, b, m, ctx))
crypto/openssl/test/exptest.c
202
|| !TEST_true(BN_mod_exp_mont_consttime(r_mont_const, a, b, m, ctx, NULL)))
crypto/openssl/test/exptest.c
284
if (!TEST_true(BN_mod(a1, a1, m1, ctx))
crypto/openssl/test/exptest.c
285
|| !TEST_true(BN_mod(b1, b1, m1, ctx))
crypto/openssl/test/exptest.c
286
|| !TEST_true(BN_mod(a2, a2, m2, ctx))
crypto/openssl/test/exptest.c
287
|| !TEST_true(BN_mod(b2, b2, m2, ctx))
crypto/openssl/test/exptest.c
288
|| !TEST_true(BN_mod_exp_simple(r_simple1, a1, b1, m1, ctx))
crypto/openssl/test/exptest.c
289
|| !TEST_true(BN_mod_exp_simple(r_simple2, a2, b2, m2, ctx))
crypto/openssl/test/exptest.c
290
|| !TEST_true(BN_mod_exp_mont_consttime_x2(r_mont_const_x2_1, a1, b1, m1, NULL,
crypto/openssl/test/exptest.c
65
if (!TEST_true(BN_rand(a, 1024, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)))
crypto/openssl/test/exptest.c
68
if (!TEST_true(BN_mod_exp(r, a, p, m, ctx)))
crypto/openssl/test/exptest.c
71
if (!TEST_true(a_is_zero_mod_one("BN_mod_exp", r, a)))
crypto/openssl/test/exptest.c
74
if (!TEST_true(BN_mod_exp_recp(r, a, p, m, ctx)))
crypto/openssl/test/exptest.c
77
if (!TEST_true(a_is_zero_mod_one("BN_mod_exp_recp", r, a)))
crypto/openssl/test/exptest.c
80
if (!TEST_true(BN_mod_exp_simple(r, a, p, m, ctx)))
crypto/openssl/test/exptest.c
83
if (!TEST_true(a_is_zero_mod_one("BN_mod_exp_simple", r, a)))
crypto/openssl/test/exptest.c
86
if (!TEST_true(BN_mod_exp_mont(r, a, p, m, ctx, NULL)))
crypto/openssl/test/exptest.c
89
if (!TEST_true(a_is_zero_mod_one("BN_mod_exp_mont", r, a)))
crypto/openssl/test/exptest.c
92
if (!TEST_true(BN_mod_exp_mont_consttime(r, a, p, m, ctx, NULL)))
crypto/openssl/test/exptest.c
95
if (!TEST_true(a_is_zero_mod_one("BN_mod_exp_mont_consttime", r, a)))
crypto/openssl/test/fake_cipherprov.c
310
if (!TEST_true(OSSL_PROVIDER_add_builtin(libctx, FAKE_PROV_NAME,
crypto/openssl/test/fake_pipelineprov.c
333
if (!TEST_true(OSSL_PROVIDER_add_builtin(libctx, "fake-pipeline",
crypto/openssl/test/fake_rsaprov.c
1262
if (!TEST_true(OSSL_PROVIDER_add_builtin(libctx, "fake-rsa",
crypto/openssl/test/fatalerrtest.c
31
if (!TEST_true(create_ssl_ctx_pair(NULL, TLS_method(), TLS_method(),
crypto/openssl/test/fatalerrtest.c
40
if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "AES128-SHA"))
crypto/openssl/test/fatalerrtest.c
41
|| !TEST_true(SSL_CTX_set_cipher_list(cctx, "AES256-SHA"))
crypto/openssl/test/fatalerrtest.c
42
|| !TEST_true(SSL_CTX_set_ciphersuites(sctx,
crypto/openssl/test/fatalerrtest.c
44
|| !TEST_true(SSL_CTX_set_ciphersuites(cctx,
crypto/openssl/test/fatalerrtest.c
46
|| !TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl, NULL,
crypto/openssl/test/ffc_internal_test.c
209
if (!TEST_true(ossl_ffc_params_FIPS186_4_validate(NULL, &params,
crypto/openssl/test/ffc_internal_test.c
277
if (!TEST_true(ossl_ffc_params_FIPS186_4_validate(NULL, &params,
crypto/openssl/test/ffc_internal_test.c
351
if (!TEST_true(ossl_ffc_params_FIPS186_4_generate(NULL, &params,
crypto/openssl/test/ffc_internal_test.c
355
if (!TEST_true(ossl_ffc_params_FIPS186_4_validate(NULL, &params,
crypto/openssl/test/ffc_internal_test.c
373
if (!TEST_true(ossl_ffc_params_FIPS186_4_generate(NULL, &params,
crypto/openssl/test/ffc_internal_test.c
377
if (!TEST_true(ossl_ffc_params_FIPS186_4_validate(NULL, &params,
crypto/openssl/test/ffc_internal_test.c
382
if (!TEST_true(ossl_ffc_params_print(bio_out, &params, 4)))
crypto/openssl/test/ffc_internal_test.c
400
if (!TEST_true(ossl_ffc_params_FIPS186_2_generate(NULL, &params,
crypto/openssl/test/ffc_internal_test.c
404
if (!TEST_true(ossl_ffc_params_FIPS186_2_validate(NULL, &params,
crypto/openssl/test/ffc_internal_test.c
418
if (!TEST_true(res == FFC_CHECK_Q_MISMATCH || res == FFC_CHECK_Q_NOT_PRIME))
crypto/openssl/test/ffc_internal_test.c
429
if (!TEST_true(ossl_ffc_params_print(bio_out, &params, 4)))
crypto/openssl/test/ffc_internal_test.c
455
if (!TEST_true(BN_set_word(pub, 1)))
crypto/openssl/test/ffc_internal_test.c
459
if (!TEST_true(ossl_ffc_validate_public_key(params, pub, &res)))
crypto/openssl/test/ffc_internal_test.c
463
if (!TEST_true(BN_set_word(pub, 0)))
crypto/openssl/test/ffc_internal_test.c
466
if (!TEST_true(ossl_ffc_validate_public_key(params, pub, &res)))
crypto/openssl/test/ffc_internal_test.c
471
if (!TEST_true(ossl_ffc_validate_public_key(params, BN_value_one(), &res)))
crypto/openssl/test/ffc_internal_test.c
475
if (!TEST_true(BN_add_word(pub, 2)))
crypto/openssl/test/ffc_internal_test.c
478
if (!TEST_true(ossl_ffc_validate_public_key(params, pub, &res)))
crypto/openssl/test/ffc_internal_test.c
484
if (!TEST_true(ossl_ffc_validate_public_key(params, pub, &res)))
crypto/openssl/test/ffc_internal_test.c
489
if (!TEST_true(BN_sub_word(pub, 1)))
crypto/openssl/test/ffc_internal_test.c
492
if (!TEST_true(ossl_ffc_validate_public_key(params, pub, &res)))
crypto/openssl/test/ffc_internal_test.c
497
if (!TEST_true(BN_sub_word(pub, 1)))
crypto/openssl/test/ffc_internal_test.c
500
if (!TEST_true(ossl_ffc_validate_public_key(params, pub, &res)))
crypto/openssl/test/ffc_internal_test.c
505
if (!TEST_true(BN_sub_word(pub, 5)))
crypto/openssl/test/ffc_internal_test.c
508
if (!TEST_true(ossl_ffc_validate_public_key(params, pub, &res)))
crypto/openssl/test/ffc_internal_test.c
512
if (!TEST_true(ossl_ffc_validate_public_key(NULL, pub, &res)))
crypto/openssl/test/ffc_internal_test.c
518
if (!TEST_true(ossl_ffc_validate_public_key(params, NULL, &res)))
crypto/openssl/test/ffc_internal_test.c
527
if (!TEST_true(ossl_ffc_validate_public_key(params, pub, &res)))
crypto/openssl/test/ffc_internal_test.c
553
if (!TEST_true(BN_set_word(priv, 1)))
crypto/openssl/test/ffc_internal_test.c
562
if (!TEST_true(BN_set_word(priv, 0)))
crypto/openssl/test/ffc_internal_test.c
571
if (!TEST_true(ossl_ffc_validate_private_key(params->q, BN_value_one(),
crypto/openssl/test/ffc_internal_test.c
583
if (!TEST_true(BN_sub_word(priv, 1)))
crypto/openssl/test/ffc_internal_test.c
586
if (!TEST_true(ossl_ffc_validate_private_key(params->q, priv, &res)))
crypto/openssl/test/ffc_internal_test.c
635
if (!TEST_true(ossl_ffc_generate_private_key(ctx, params, N, 112, priv)))
crypto/openssl/test/ffc_internal_test.c
638
if (!TEST_true(ossl_ffc_validate_private_key(params->q, priv, &res)))
crypto/openssl/test/ffc_internal_test.c
641
if (!TEST_true(ossl_ffc_generate_private_key(ctx, params, N / 2, 112, priv)))
crypto/openssl/test/ffc_internal_test.c
643
if (!TEST_true(ossl_ffc_validate_private_key(params->q, priv, &res)))
crypto/openssl/test/ffc_internal_test.c
646
if (!TEST_true(ossl_ffc_generate_private_key(ctx, params, 0,
crypto/openssl/test/ffc_internal_test.c
652
if (!TEST_true(ossl_ffc_validate_private_key(params->q, priv, &res)))
crypto/openssl/test/ffc_internal_test.c
678
if (!TEST_true(ossl_ffc_params_copy(&copy, params)))
crypto/openssl/test/ffc_internal_test.c
684
if (!TEST_true(ossl_ffc_params_cmp(&copy, params, 0)))
crypto/openssl/test/gmdifftest.c
35
if (!TEST_true(OPENSSL_gmtime_adj(&tm1, 0, offset))
crypto/openssl/test/gmdifftest.c
42
|| !TEST_true(OPENSSL_gmtime_diff(&off_day, &off_sec, &o1, &tm1)))
crypto/openssl/test/helpers/handshake.c
1484
&& !TEST_true(SSL_CTX_add_session(server_ctx,
crypto/openssl/test/helpers/handshake.c
1486
|| !TEST_true(SSL_set_session(client.ssl, session_in)))
crypto/openssl/test/helpers/handshake.c
406
return TEST_true(ret == OPENSSL_NPN_NEGOTIATED || ret == OPENSSL_NPN_NO_OVERLAP)
crypto/openssl/test/helpers/handshake.c
592
if (!TEST_true(parse_protos(extra->server.npn_protocols,
crypto/openssl/test/helpers/handshake.c
600
if (!TEST_true(parse_protos(extra->server2.npn_protocols,
crypto/openssl/test/helpers/handshake.c
609
if (!TEST_true(parse_protos(extra->client.npn_protocols,
crypto/openssl/test/helpers/handshake.c
618
if (!TEST_true(parse_protos(extra->server.alpn_protocols,
crypto/openssl/test/helpers/handshake.c
626
|| !TEST_true(parse_protos(extra->server2.alpn_protocols,
crypto/openssl/test/helpers/handshake.c
637
if (!TEST_true(parse_protos(extra->client.alpn_protocols,
crypto/openssl/test/helpers/handshake.c
681
if (!TEST_true(SSL_CTX_set_default_ctlog_list_file(client_ctx)))
crypto/openssl/test/helpers/handshake.c
685
if (!TEST_true(SSL_CTX_enable_ct(client_ctx,
crypto/openssl/test/helpers/handshake.c
690
if (!TEST_true(SSL_CTX_enable_ct(client_ctx, SSL_CT_VALIDATION_STRICT)))
crypto/openssl/test/helpers/handshake.c
705
if (!TEST_true(SSL_CTX_compress_certs(server_ctx, 0)))
crypto/openssl/test/helpers/handshake.c
707
if (server2_ctx != NULL && !TEST_true(SSL_CTX_compress_certs(server2_ctx, 0)))
crypto/openssl/test/helpers/handshake.c
893
|| !TEST_true(test_ctx->handshake_mode
crypto/openssl/test/helpers/handshake_srp.c
79
if (!TEST_true(SSL_CTX_set_srp_username(client_ctx,
crypto/openssl/test/helpers/pkcs12.c
169
if (!TEST_true(PKCS12_set_mac(p12, mac->pass, strlen(mac->pass),
crypto/openssl/test/helpers/pkcs12.c
256
return TEST_true(PKCS12_mac_present(p12))
crypto/openssl/test/helpers/pkcs12.c
257
&& TEST_true(PKCS12_verify_mac(p12, mac->pass, strlen(mac->pass)));
crypto/openssl/test/helpers/pkcs12.c
272
if (!TEST_true(PKCS12_add_safe(&pb->safes, pb->bags, -1, 0, NULL)))
crypto/openssl/test/helpers/pkcs12.c
283
if (!TEST_true(PKCS12_add_safe(&pb->safes, pb->bags, enc->nid,
crypto/openssl/test/helpers/pkcs12.c
287
if (!TEST_true(PKCS12_add_safe_ex(&pb->safes, pb->bags, enc->nid,
crypto/openssl/test/helpers/pkcs12.c
344
if (!TEST_true(PKCS12_add_friendlyname(bag, p_attr->value, -1)))
crypto/openssl/test/helpers/pkcs12.c
347
if (!TEST_true(PKCS12_add_localkeyid(bag, (unsigned char *)p_attr->value,
crypto/openssl/test/helpers/pkcs12.c
358
if (!TEST_true(PKCS12_add1_attr_by_txt(bag, p_attr->oid, MBSTRING_ASC,
crypto/openssl/test/helpers/pkcs12.c
396
if (!TEST_true(add_attributes(bag, attrs))) {
crypto/openssl/test/helpers/pkcs12.c
522
if (!TEST_true(check_asn1_string(av, p_attr->value)))
crypto/openssl/test/helpers/pkcs12.c
634
if (!TEST_true(EVP_PKEY_eq(pkey, ref_pkey)))
crypto/openssl/test/helpers/pkcs12.c
657
|| !TEST_true(check_asn1_string(PKCS12_SAFEBAG_get0_bag_obj(bag), secret)))
crypto/openssl/test/helpers/quictestlib.c
1282
if (!TEST_true(BIO_meth_set_sendmmsg(tmp, pcipher_sendmmsg))
crypto/openssl/test/helpers/quictestlib.c
1283
|| !TEST_true(BIO_meth_set_ctrl(tmp, pcipher_ctrl))
crypto/openssl/test/helpers/quictestlib.c
1284
|| !TEST_true(BIO_meth_set_destroy(tmp, pcipher_destroy)))
crypto/openssl/test/helpers/quictestlib.c
1365
if (!TEST_true(BIO_ADDR_copy(dst->local, src->local)))
crypto/openssl/test/helpers/quictestlib.c
1371
if (!TEST_true(BIO_ADDR_copy(dst->peer, src->peer)))
crypto/openssl/test/helpers/quictestlib.c
209
if (!TEST_true(create_test_sockets(&cfd, &sfd, SOCK_DGRAM, peeraddr)))
crypto/openssl/test/helpers/quictestlib.c
228
if (!TEST_true(BIO_new_bio_dgram_pair(&cbio, 0, &sbio, 0)))
crypto/openssl/test/helpers/quictestlib.c
231
if (!TEST_true(BIO_dgram_set_caps(cbio, BIO_DGRAM_CAP_HANDLES_DST_ADDR))
crypto/openssl/test/helpers/quictestlib.c
232
|| !TEST_true(BIO_dgram_set_caps(sbio, BIO_DGRAM_CAP_HANDLES_DST_ADDR)))
crypto/openssl/test/helpers/quictestlib.c
238
if (!TEST_true(BIO_ADDR_rawmake(localaddr, AF_INET, &ina, sizeof(ina),
crypto/openssl/test/helpers/quictestlib.c
248
if (!TEST_true(BIO_ADDR_rawmake(peeraddr, AF_INET, &ina, sizeof(ina),
crypto/openssl/test/helpers/quictestlib.c
315
if (!TEST_true(SSL_set_blocking_mode(*cssl,
crypto/openssl/test/helpers/quictestlib.c
319
if (!TEST_true(SSL_set1_initial_peer_addr(*cssl, peeraddr)))
crypto/openssl/test/helpers/quictestlib.c
339
if (serverctx != NULL && !TEST_true(SSL_CTX_up_ref(serverctx)))
crypto/openssl/test/helpers/quictestlib.c
553
if (!TEST_true(run_thread(&t, run_server_thread)))
crypto/openssl/test/helpers/quictestlib.c
648
if (!TEST_true(wait_for_thread(t)) || !TEST_true(globserverret))
crypto/openssl/test/helpers/quictestlib.c
708
if (!TEST_true(run_thread(&t, run_server_shutdown_thread)))
crypto/openssl/test/helpers/quictestlib.c
737
if (!TEST_true(wait_for_thread(t)))
crypto/openssl/test/helpers/quictestlib.c
754
if (!TEST_true(ossl_quic_tserver_is_term_any(qtserv)))
crypto/openssl/test/helpers/quictestlib.c
759
|| !TEST_true(cause->remote)
crypto/openssl/test/helpers/quictestlib.c
933
if (!TEST_true(qtest_fault_resize_plain_packet(fault,
crypto/openssl/test/helpers/ssltestlib.c
1150
if (!TEST_true(SSL_get_rpoll_descriptor(clientssl, &rdesc))
crypto/openssl/test/helpers/ssltestlib.c
1151
|| !TEST_true(SSL_get_wpoll_descriptor(clientssl, &wdesc))
crypto/openssl/test/helpers/ssltestlib.c
1158
if (!TEST_true(SSL_get_rpoll_descriptor(serverssl, &rdesc))
crypto/openssl/test/helpers/ssltestlib.c
1159
|| !TEST_true(SSL_get_wpoll_descriptor(serverssl, &wdesc))
crypto/openssl/test/helpers/ssltestlib.c
1471
|| !TEST_true(SSL_SESSION_set1_master_key(sess, key, mdsize))
crypto/openssl/test/helpers/ssltestlib.c
1472
|| !TEST_true(SSL_SESSION_set_cipher(sess, cipher))
crypto/openssl/test/helpers/ssltestlib.c
1473
|| !TEST_true(
crypto/openssl/test/helpers/ssltestlib.c
1537
if (!TEST_true(ENGINE_init(e))) {
crypto/openssl/test/helpers/ssltestlib.c
1542
if (!TEST_true(ENGINE_register_ciphers(e))) {
crypto/openssl/test/helpers/ssltestlib.c
295
|| !TEST_true(BIO_meth_set_write(meth_mem, mempacket_test_write))
crypto/openssl/test/helpers/ssltestlib.c
296
|| !TEST_true(BIO_meth_set_read(meth_mem, mempacket_test_read))
crypto/openssl/test/helpers/ssltestlib.c
297
|| !TEST_true(BIO_meth_set_puts(meth_mem, mempacket_test_puts))
crypto/openssl/test/helpers/ssltestlib.c
298
|| !TEST_true(BIO_meth_set_gets(meth_mem, mempacket_test_gets))
crypto/openssl/test/helpers/ssltestlib.c
299
|| !TEST_true(BIO_meth_set_ctrl(meth_mem, mempacket_test_ctrl))
crypto/openssl/test/helpers/ssltestlib.c
300
|| !TEST_true(BIO_meth_set_create(meth_mem, mempacket_test_new))
crypto/openssl/test/helpers/ssltestlib.c
301
|| !TEST_true(BIO_meth_set_destroy(meth_mem, mempacket_test_free)))
crypto/openssl/test/helpers/ssltestlib.c
765
|| !TEST_true(BIO_meth_set_write(meth_always_retry,
crypto/openssl/test/helpers/ssltestlib.c
767
|| !TEST_true(BIO_meth_set_read(meth_always_retry,
crypto/openssl/test/helpers/ssltestlib.c
769
|| !TEST_true(BIO_meth_set_puts(meth_always_retry,
crypto/openssl/test/helpers/ssltestlib.c
771
|| !TEST_true(BIO_meth_set_gets(meth_always_retry,
crypto/openssl/test/helpers/ssltestlib.c
773
|| !TEST_true(BIO_meth_set_ctrl(meth_always_retry,
crypto/openssl/test/helpers/ssltestlib.c
775
|| !TEST_true(BIO_meth_set_create(meth_always_retry,
crypto/openssl/test/helpers/ssltestlib.c
777
|| !TEST_true(BIO_meth_set_destroy(meth_always_retry,
crypto/openssl/test/helpers/ssltestlib.c
865
|| !TEST_true(BIO_meth_set_write(meth_maybe_retry,
crypto/openssl/test/helpers/ssltestlib.c
867
|| !TEST_true(BIO_meth_set_ctrl(meth_maybe_retry,
crypto/openssl/test/helpers/ssltestlib.c
869
|| !TEST_true(BIO_meth_set_create(meth_maybe_retry,
crypto/openssl/test/helpers/ssltestlib.c
871
|| !TEST_true(BIO_meth_set_destroy(meth_maybe_retry,
crypto/openssl/test/helpers/ssltestlib.c
957
|| !TEST_true(SSL_CTX_set_options(serverctx,
crypto/openssl/test/helpers/ssltestlib.c
983
&& !TEST_true(SSL_CTX_set_min_proto_version(serverctx,
crypto/openssl/test/helpers/ssltestlib.c
986
&& !TEST_true(SSL_CTX_set_max_proto_version(serverctx,
crypto/openssl/test/helpers/ssltestlib.c
991
&& !TEST_true(SSL_CTX_set_min_proto_version(clientctx,
crypto/openssl/test/helpers/ssltestlib.c
994
&& !TEST_true(SSL_CTX_set_max_proto_version(clientctx,
crypto/openssl/test/hexstr_test.c
126
return TEST_true(OPENSSL_hexstr2buf_ex(buf, sizeof(buf), &len, test->in, ':'))
crypto/openssl/test/hexstr_test.c
130
&& TEST_true(OPENSSL_buf2hexstr_ex(out, sizeof(out), NULL, buf, len,
crypto/openssl/test/hexstr_test.c
133
&& TEST_true(OPENSSL_buf2hexstr_ex(out, sizeof(out), NULL, buf, 0,
crypto/openssl/test/hmactest.c
146
if (!TEST_true(HMAC_Init_ex(ctx, test[4].key, test[4].key_len, EVP_sha1(), NULL))
crypto/openssl/test/hmactest.c
147
|| !TEST_true(HMAC_Update(ctx, test[4].data, test[4].data_len))
crypto/openssl/test/hmactest.c
148
|| !TEST_true(HMAC_Final(ctx, buf, &len)))
crypto/openssl/test/hmactest.c
158
if (!TEST_true(HMAC_Init_ex(ctx, test[5].key, test[5].key_len, EVP_sha256(), NULL))
crypto/openssl/test/hmactest.c
160
|| !TEST_true(HMAC_Update(ctx, test[5].data, test[5].data_len))
crypto/openssl/test/hmactest.c
161
|| !TEST_true(HMAC_Final(ctx, buf, &len)))
crypto/openssl/test/hmactest.c
168
if (!TEST_true(HMAC_Init_ex(ctx, test[6].key, test[6].key_len, NULL, NULL))
crypto/openssl/test/hmactest.c
169
|| !TEST_true(HMAC_Update(ctx, test[6].data, test[6].data_len))
crypto/openssl/test/hmactest.c
170
|| !TEST_true(HMAC_Final(ctx, buf, &len)))
crypto/openssl/test/hmactest.c
177
if (!TEST_true(HMAC_Init_ex(ctx, NULL, 0, NULL, NULL))
crypto/openssl/test/hmactest.c
178
|| !TEST_true(HMAC_Update(ctx, test[6].data, test[6].data_len))
crypto/openssl/test/hmactest.c
179
|| !TEST_true(HMAC_Final(ctx, buf, &len)))
crypto/openssl/test/hmactest.c
189
if (!TEST_true(HMAC_Init_ex(ctx, NULL, 0, EVP_sha256(), NULL))
crypto/openssl/test/hmactest.c
190
|| !TEST_true(HMAC_Update(ctx, test[6].data, test[6].data_len))
crypto/openssl/test/hmactest.c
191
|| !TEST_true(HMAC_Final(ctx, buf, &len)))
crypto/openssl/test/hmactest.c
228
if (!TEST_true(HMAC_Init_ex(ctx, test[5].key, test[5].key_len, EVP_sha256(), NULL))
crypto/openssl/test/hmactest.c
229
|| !TEST_true(HMAC_Update(ctx, test[5].data, test[5].data_len))
crypto/openssl/test/hmactest.c
230
|| !TEST_true(HMAC_Final(ctx, buf, &len))
crypto/openssl/test/hmactest.c
254
if (!TEST_true(HMAC_Init_ex(ctx, test[7].key, test[7].key_len, EVP_sha1(), NULL))
crypto/openssl/test/hmactest.c
255
|| !TEST_true(HMAC_Update(ctx, test[7].data, test[7].data_len))
crypto/openssl/test/hmactest.c
256
|| !TEST_true(HMAC_CTX_copy(ctx2, ctx))
crypto/openssl/test/hmactest.c
257
|| !TEST_true(HMAC_Final(ctx2, buf, &len)))
crypto/openssl/test/hmactest.c
283
|| !TEST_true(EVP_DigestSignInit(ctx, NULL, EVP_sha1(), NULL, pkey))
crypto/openssl/test/hmactest.c
285
|| !TEST_true(EVP_MD_CTX_copy(ctx_tmp, ctx)))
crypto/openssl/test/hmactest.c
291
if (!TEST_true(EVP_DigestSignUpdate(ctx, ct, sizeof(ct))))
crypto/openssl/test/hmactest.c
409
if (!TEST_true(HMAC_Init_ex(ctx, test_chunks[idx].key,
crypto/openssl/test/hmactest.c
414
if (!TEST_true((test_chunks[idx].chunk_size[i] < (int)sizeof(buf))))
crypto/openssl/test/hmactest.c
417
if (!TEST_true(HMAC_Update(ctx, buf, test_chunks[idx].chunk_size[i])))
crypto/openssl/test/hmactest.c
421
if (!TEST_true(HMAC_Final(ctx, buf, &len)))
crypto/openssl/test/hpke_test.c
1003
if (!TEST_true(OSSL_HPKE_encap(ctx, senderpub,
crypto/openssl/test/hpke_test.c
1016
if (!TEST_true(OSSL_HPKE_seal(ctx, cipher, &cipherlen,
crypto/openssl/test/hpke_test.c
1029
if (!TEST_true(OSSL_HPKE_CTX_set1_psk(rctx, pskidp,
crypto/openssl/test/hpke_test.c
1043
if (!TEST_true(OSSL_HPKE_CTX_set1_authpub(rctx,
crypto/openssl/test/hpke_test.c
1048
if (!TEST_true(OSSL_HPKE_decap(rctx, senderpub,
crypto/openssl/test/hpke_test.c
1060
if (!TEST_true(OSSL_HPKE_open(rctx, clear, &clearlen,
crypto/openssl/test/hpke_test.c
1120
if (!TEST_true(OSSL_HPKE_keygen(hpke_suite, pub, &publen, &privp,
crypto/openssl/test/hpke_test.c
1135
if (!TEST_true(OSSL_HPKE_encap(ctx, enc, &enclen, pub, publen, NULL, 0)))
crypto/openssl/test/hpke_test.c
1137
if (!TEST_true(OSSL_HPKE_seal(ctx, cipher, &cipherlen, NULL, 0,
crypto/openssl/test/hpke_test.c
1141
if (!TEST_true(OSSL_HPKE_export(ctx, exp, sizeof(exp),
crypto/openssl/test/hpke_test.c
1145
if (!TEST_true(OSSL_HPKE_export(ctx, exp2, sizeof(exp2),
crypto/openssl/test/hpke_test.c
1154
if (!TEST_true(OSSL_HPKE_decap(rctx, enc, enclen, privp, NULL, 0)))
crypto/openssl/test/hpke_test.c
1156
if (!TEST_true(OSSL_HPKE_open(rctx, clear, &clearlen, NULL, 0,
crypto/openssl/test/hpke_test.c
1159
if (!TEST_true(OSSL_HPKE_export(rctx, rexp, sizeof(rexp),
crypto/openssl/test/hpke_test.c
1163
if (!TEST_true(OSSL_HPKE_export(rctx, rexp2, sizeof(rexp2),
crypto/openssl/test/hpke_test.c
118
if (!TEST_true(OSSL_HPKE_keygen(base->suite, pub, &publen, &privE,
crypto/openssl/test/hpke_test.c
1198
if (TEST_true(OSSL_HPKE_str2suite(sstr, &stirred)) != 1) {
crypto/openssl/test/hpke_test.c
121
if (!TEST_true(cmpkey(privE, base->expected_pkEm, base->expected_pkEmlen)))
crypto/openssl/test/hpke_test.c
1262
if (TEST_true(OSSL_HPKE_get_grease_value(NULL, &g_suite,
crypto/openssl/test/hpke_test.c
127
if (!TEST_true(OSSL_HPKE_CTX_set1_ikme(sealctx, base->ikmE, base->ikmElen)))
crypto/openssl/test/hpke_test.c
131
if (!TEST_true(base->ikmAuth != NULL && base->ikmAuthlen > 0))
crypto/openssl/test/hpke_test.c
133
if (!TEST_true(OSSL_HPKE_keygen(base->suite,
crypto/openssl/test/hpke_test.c
138
if (!TEST_true(OSSL_HPKE_CTX_set1_authpriv(sealctx, authpriv)))
crypto/openssl/test/hpke_test.c
1386
if (!TEST_true(OSSL_HPKE_keygen(hpke_suite, pub, &publen, &privp,
crypto/openssl/test/hpke_test.c
141
if (!TEST_true(OSSL_HPKE_keygen(base->suite, rpub, &rpublen, &privR,
crypto/openssl/test/hpke_test.c
144
if (!TEST_true(cmpkey(privR, base->expected_pkRm, base->expected_pkRmlen)))
crypto/openssl/test/hpke_test.c
1464
if (!TEST_true(OSSL_HPKE_encap(ctx, enc, &enclen, pub, publen, NULL, 0)))
crypto/openssl/test/hpke_test.c
1476
if (!TEST_true(OSSL_HPKE_seal(ctx, cipher, &cipherlen, NULL, 0,
crypto/openssl/test/hpke_test.c
148
if (!TEST_true(OSSL_HPKE_CTX_set1_psk(sealctx, base->pskid,
crypto/openssl/test/hpke_test.c
1504
if (!TEST_true(OSSL_HPKE_decap(rctx, enc, enclen, privp, NULL, 0)))
crypto/openssl/test/hpke_test.c
1516
if (!TEST_true(OSSL_HPKE_CTX_set_seq(rctx, -1)))
crypto/openssl/test/hpke_test.c
152
if (!TEST_true(OSSL_HPKE_encap(sealctx, enc, &enclen,
crypto/openssl/test/hpke_test.c
1521
if (!TEST_true(OSSL_HPKE_CTX_set_seq(rctx, 0)))
crypto/openssl/test/hpke_test.c
1523
if (!TEST_true(OSSL_HPKE_open(rctx, clear, &clearlen, NULL, 0,
crypto/openssl/test/hpke_test.c
156
if (!TEST_true(cmpkey(privE, enc, enclen)))
crypto/openssl/test/hpke_test.c
161
if (!TEST_true(OSSL_HPKE_seal(sealctx, ct, &ctlen,
crypto/openssl/test/hpke_test.c
1650
if (!TEST_true(OSSL_HPKE_get_grease_value(&def_suite, &suite2,
crypto/openssl/test/hpke_test.c
1656
if (!TEST_true(OSSL_HPKE_get_grease_value(NULL, &suite2,
crypto/openssl/test/hpke_test.c
1664
if (!TEST_true(OSSL_HPKE_get_grease_value(&suite, &suite2,
crypto/openssl/test/hpke_test.c
168
if (!TEST_true(OSSL_HPKE_CTX_get_seq(sealctx, &lastseq)))
crypto/openssl/test/hpke_test.c
1724
if (!TEST_true(OSSL_HPKE_keygen(hpke_suite, lpub, &lpublen, &sk,
crypto/openssl/test/hpke_test.c
179
if (!TEST_true(base->pskid != NULL && base->psk != NULL
crypto/openssl/test/hpke_test.c
1801
if (!TEST_true(OSSL_HPKE_keygen(hpke_suite, authpub, &authpublen, &authpriv,
crypto/openssl/test/hpke_test.c
1805
if (!TEST_true(EVP_PKEY_set_utf8_string_param(authpriv,
crypto/openssl/test/hpke_test.c
1809
if (!TEST_true(EVP_PKEY_get_octet_string_param(authpriv,
crypto/openssl/test/hpke_test.c
1817
if (!TEST_true(OSSL_HPKE_keygen(hpke_suite, pub, &publen, &privp,
crypto/openssl/test/hpke_test.c
182
if (!TEST_true(OSSL_HPKE_CTX_set1_psk(openctx, base->pskid,
crypto/openssl/test/hpke_test.c
1824
if (!TEST_true(OSSL_HPKE_CTX_set1_authpriv(ctx, authpriv)))
crypto/openssl/test/hpke_test.c
1826
if (!TEST_true(OSSL_HPKE_encap(ctx, enc, &enclen, pub, publen, NULL, 0)))
crypto/openssl/test/hpke_test.c
1828
if (!TEST_true(OSSL_HPKE_seal(ctx, cipher, &cipherlen, NULL, 0,
crypto/openssl/test/hpke_test.c
1837
if (!TEST_true(OSSL_HPKE_CTX_set1_authpub(rctx, authpub, authpublen)))
crypto/openssl/test/hpke_test.c
1839
if (!TEST_true(OSSL_HPKE_decap(rctx, enc, enclen, privp, NULL, 0)))
crypto/openssl/test/hpke_test.c
1841
if (!TEST_true(OSSL_HPKE_open(rctx, clear, &clearlen, NULL, 0,
crypto/openssl/test/hpke_test.c
1878
if (!TEST_true(OSSL_HPKE_keygen(hpke_suite, pub, &publen, &privp,
crypto/openssl/test/hpke_test.c
188
if (!TEST_true(OSSL_HPKE_CTX_set1_authpub(openctx,
crypto/openssl/test/hpke_test.c
1888
if (!TEST_true(OSSL_HPKE_encap(ctx, enc, &enclen, pub, publen, NULL, 0)))
crypto/openssl/test/hpke_test.c
1893
if (!TEST_true(OSSL_HPKE_seal(ctx, cipher, &cipherlen, NULL, 0,
crypto/openssl/test/hpke_test.c
1903
if (!TEST_true(OSSL_HPKE_CTX_set_seq(rctx, seq)))
crypto/openssl/test/hpke_test.c
1905
if (!TEST_true(OSSL_HPKE_decap(rctx, enc, enclen, privp, NULL, 0)))
crypto/openssl/test/hpke_test.c
1908
if (!TEST_true(OSSL_HPKE_CTX_set_seq(rctx, seq)))
crypto/openssl/test/hpke_test.c
1915
if (!TEST_true(OSSL_HPKE_CTX_set_seq(rctx, 0)))
crypto/openssl/test/hpke_test.c
1917
if (!TEST_true(OSSL_HPKE_open(rctx, clear, &clearlen, NULL, 0,
crypto/openssl/test/hpke_test.c
192
if (!TEST_true(OSSL_HPKE_decap(openctx, enc, enclen, privR,
crypto/openssl/test/hpke_test.c
198
if (!TEST_true(OSSL_HPKE_open(openctx, ptout, &ptoutlen,
crypto/openssl/test/hpke_test.c
206
if (!TEST_true(OSSL_HPKE_CTX_get_seq(openctx, &lastseq)))
crypto/openssl/test/hpke_test.c
223
if (!TEST_true(OSSL_HPKE_export(sealctx, eval, len,
crypto/openssl/test/hpke_test.c
80
if (!TEST_true(publen <= sizeof(pubbuf)))
crypto/openssl/test/hpke_test.c
85
if (!TEST_true(erv))
crypto/openssl/test/hpke_test.c
952
if (TEST_true(OSSL_HPKE_keygen(hpke_suite, authpub, &authpublen,
crypto/openssl/test/hpke_test.c
983
if (!TEST_true(OSSL_HPKE_keygen(hpke_suite,
crypto/openssl/test/hpke_test.c
993
if (!TEST_true(OSSL_HPKE_CTX_set1_psk(ctx, pskidp,
crypto/openssl/test/hpke_test.c
999
if (!TEST_true(OSSL_HPKE_CTX_set1_authpriv(ctx,
crypto/openssl/test/http_test.c
299
res = TEST_true(OSSL_HTTP_parse_url(url, &ssl, &user, &host, &port, &num,
crypto/openssl/test/http_test.c
326
res = TEST_true(OSSL_HTTP_parse_url(url, NULL, NULL, &host, NULL, NULL,
crypto/openssl/test/http_test.c
340
res = TEST_true(OSSL_HTTP_parse_url(url, NULL, NULL, &host, NULL, NULL,
crypto/openssl/test/http_test.c
450
&& TEST_true(OSSL_HTTP_REQ_CTX_set_request_line(rctx, 0 /* GET */,
crypto/openssl/test/http_test.c
57
&& !(TEST_true(count >= 5 && CHECK_AND_SKIP_PREFIX(hdr, "POST "))))
crypto/openssl/test/http_test.c
591
if (!TEST_true(OSSL_HTTP_REQ_CTX_set_request_line(rctx, 0 /* GET */,
crypto/openssl/test/json_test.c
574
if (!TEST_true(helper_ensure(&h)))
crypto/openssl/test/json_test.c
583
if (!TEST_true(helper_ensure(&h)))
crypto/openssl/test/json_test.c
592
if (!TEST_true(helper_ensure(&h)))
crypto/openssl/test/json_test.c
601
if (!TEST_true(helper_ensure(&h)))
crypto/openssl/test/json_test.c
610
if (!TEST_true(helper_ensure(&h)))
crypto/openssl/test/json_test.c
621
if (!TEST_true(helper_ensure(&h)))
crypto/openssl/test/json_test.c
630
if (!TEST_true(helper_ensure(&h)))
crypto/openssl/test/json_test.c
647
if (!TEST_true(helper_ensure(&h)))
crypto/openssl/test/json_test.c
650
if (!TEST_true(ossl_json_flush(&h.j)))
crypto/openssl/test/json_test.c
657
if (!TEST_true(BIO_get_mem_ptr(h.mem_bio, &bufp)))
crypto/openssl/test/json_test.c
682
if (!TEST_true(run_script(scripts[i]())))
crypto/openssl/test/keymgmt_internal_test.c
110
|| !TEST_true(get_ulong_via_BN(p, &keydata[N]))
crypto/openssl/test/keymgmt_internal_test.c
112
|| !TEST_true(get_ulong_via_BN(p, &keydata[E]))
crypto/openssl/test/keymgmt_internal_test.c
114
|| !TEST_true(get_ulong_via_BN(p, &keydata[D])))
crypto/openssl/test/keymgmt_internal_test.c
118
|| !TEST_true(get_ulong_via_BN(p, &keydata[P]))
crypto/openssl/test/keymgmt_internal_test.c
120
|| !TEST_true(get_ulong_via_BN(p, &keydata[Q]))
crypto/openssl/test/keymgmt_internal_test.c
122
|| !TEST_true(get_ulong_via_BN(p, &keydata[F3])))
crypto/openssl/test/keymgmt_internal_test.c
126
|| !TEST_true(get_ulong_via_BN(p, &keydata[DP]))
crypto/openssl/test/keymgmt_internal_test.c
128
|| !TEST_true(get_ulong_via_BN(p, &keydata[DQ]))
crypto/openssl/test/keymgmt_internal_test.c
130
|| !TEST_true(get_ulong_via_BN(p, &keydata[E3])))
crypto/openssl/test/keymgmt_internal_test.c
134
|| !TEST_true(get_ulong_via_BN(p, &keydata[QINV]))
crypto/openssl/test/keymgmt_internal_test.c
136
|| !TEST_true(get_ulong_via_BN(p, &keydata[C2])))
crypto/openssl/test/keymgmt_internal_test.c
183
|| !TEST_true(BN_set_word(bn1, expected[N]))
crypto/openssl/test/keymgmt_internal_test.c
185
|| !TEST_true(BN_set_word(bn2, expected[E]))
crypto/openssl/test/keymgmt_internal_test.c
187
|| !TEST_true(BN_set_word(bn3, expected[D]))
crypto/openssl/test/keymgmt_internal_test.c
188
|| !TEST_true(RSA_set0_key(rsa, bn1, bn2, bn3)))
crypto/openssl/test/keymgmt_internal_test.c
192
|| !TEST_true(BN_set_word(bn1, expected[P]))
crypto/openssl/test/keymgmt_internal_test.c
194
|| !TEST_true(BN_set_word(bn2, expected[Q]))
crypto/openssl/test/keymgmt_internal_test.c
195
|| !TEST_true(RSA_set0_factors(rsa, bn1, bn2)))
crypto/openssl/test/keymgmt_internal_test.c
199
|| !TEST_true(BN_set_word(bn1, expected[DP]))
crypto/openssl/test/keymgmt_internal_test.c
201
|| !TEST_true(BN_set_word(bn2, expected[DQ]))
crypto/openssl/test/keymgmt_internal_test.c
203
|| !TEST_true(BN_set_word(bn3, expected[QINV]))
crypto/openssl/test/keymgmt_internal_test.c
204
|| !TEST_true(RSA_set0_crt_params(rsa, bn1, bn2, bn3)))
crypto/openssl/test/keymgmt_internal_test.c
209
|| !TEST_true(BN_set_word(bn_primes[0], expected[F3]))
crypto/openssl/test/keymgmt_internal_test.c
211
|| !TEST_true(BN_set_word(bn_exps[0], expected[E3]))
crypto/openssl/test/keymgmt_internal_test.c
213
|| !TEST_true(BN_set_word(bn_coeffs[0], expected[C2]))
crypto/openssl/test/keymgmt_internal_test.c
214
|| !TEST_true(RSA_set0_multi_prime_params(rsa, bn_primes, bn_exps,
crypto/openssl/test/keymgmt_internal_test.c
219
|| !TEST_true(EVP_PKEY_assign_RSA(pk, rsa)))
crypto/openssl/test/keymgmt_internal_test.c
240
|| !TEST_true(evp_keymgmt_export(km2, provkey,
crypto/openssl/test/keymgmt_internal_test.c
94
if (!TEST_true(OSSL_PARAM_get_BN(p, &n))
crypto/openssl/test/lhash_test.c
588
if (!TEST_true(CRYPTO_THREAD_write_lock(testrand_lock)))
crypto/openssl/test/lhash_test.c
686
if (!TEST_true(setup_num_workers()))
crypto/openssl/test/list_test.c
44
if (!TEST_true(ossl_list_fizz_is_empty(&a)))
crypto/openssl/test/mdc2test.c
70
|| !TEST_true(EVP_DigestInit_ex(c, EVP_mdc2(), NULL))
crypto/openssl/test/mdc2test.c
71
|| !TEST_true(EVP_DigestUpdate(c, (unsigned char *)text, tlen))
crypto/openssl/test/mdc2test.c
72
|| !TEST_true(EVP_DigestFinal_ex(c, &(md[0]), NULL))
crypto/openssl/test/mdc2test.c
74
|| !TEST_true(EVP_DigestInit_ex(c, EVP_mdc2(), NULL)))
crypto/openssl/test/mdc2test.c
78
|| !TEST_true(EVP_DigestUpdate(c, (unsigned char *)text, tlen))
crypto/openssl/test/mdc2test.c
79
|| !TEST_true(EVP_DigestFinal_ex(c, &(md[0]), NULL))
crypto/openssl/test/membio_test.c
99
|| !TEST_true(BIO_should_retry(bio)))
crypto/openssl/test/ml_dsa_test.c
100
|| !TEST_true(EVP_PKEY_get_octet_string_param(pkey, OSSL_PKEY_PARAM_PUB_KEY,
crypto/openssl/test/ml_dsa_test.c
106
|| !TEST_true(EVP_PKEY_get_int_param(pkey, OSSL_PKEY_PARAM_BITS, &bits))
crypto/openssl/test/ml_dsa_test.c
108
|| !TEST_true(EVP_PKEY_get_int_param(pkey, OSSL_PKEY_PARAM_SECURITY_BITS,
crypto/openssl/test/ml_dsa_test.c
111
|| !TEST_true(EVP_PKEY_get_int_param(pkey, OSSL_PKEY_PARAM_MAX_SIZE,
crypto/openssl/test/ml_dsa_test.c
147
if (!TEST_true(ml_dsa_create_keypair(&pkey, td->alg, td->priv, td->priv_len,
crypto/openssl/test/ml_dsa_test.c
155
|| !TEST_true(EVP_PKEY_get_size_t_param(pkey, OSSL_PKEY_PARAM_MAX_SIZE,
crypto/openssl/test/ml_dsa_test.c
189
if (!TEST_true(ml_dsa_create_keypair(&pkey, td->alg, NULL, 0,
crypto/openssl/test/ml_dsa_test.c
248
|| !TEST_true(ossl_ml_dsa_key_pub_alloc(key1))
crypto/openssl/test/ml_dsa_test.c
250
|| !TEST_true(ossl_ml_dsa_key_priv_alloc(key))
crypto/openssl/test/ml_dsa_test.c
273
if (!TEST_true(ml_dsa_create_keypair(&pkey, tst->name, tst->priv, tst->priv_len,
crypto/openssl/test/ml_dsa_test.c
275
|| !TEST_true(ml_dsa_create_keypair(&pkey, tst->name, tst->priv, tst->priv_len,
crypto/openssl/test/ml_dsa_test.c
277
|| !TEST_true(ml_dsa_create_keypair(&pkey, tst->name, tst->priv, tst->priv_len,
crypto/openssl/test/ml_dsa_test.c
279
|| !TEST_true(ml_dsa_create_keypair(&pkey, tst->name, tst->priv, tst->priv_len,
crypto/openssl/test/ml_dsa_test.c
281
|| !TEST_true(ml_dsa_create_keypair(&pkey, tst->name, tst->priv, tst->priv_len - 1,
crypto/openssl/test/ml_dsa_test.c
283
|| !TEST_true(ml_dsa_create_keypair(&pkey, tst->name, tst->priv, tst->priv_len + 1,
crypto/openssl/test/ml_dsa_test.c
348
|| !TEST_true(ml_dsa_create_keypair(&pkey_pub, "ML-DSA-44", NULL, 0,
crypto/openssl/test/ml_dsa_test.c
538
if (!TEST_true(ml_dsa_create_keypair(&key, td->alg,
crypto/openssl/test/ml_dsa_test.c
543
if (!TEST_true(ml_dsa_create_keypair(&key, td->alg,
crypto/openssl/test/ml_dsa_test.c
96
|| !TEST_true(EVP_PKEY_get_octet_string_param(pkey, OSSL_PKEY_PARAM_ML_DSA_SEED,
crypto/openssl/test/ml_dsa_test.c
98
|| !TEST_true(EVP_PKEY_get_octet_string_param(pkey, OSSL_PKEY_PARAM_PRIV_KEY,
crypto/openssl/test/ml_kem_evp_extra_test.c
131
if (!TEST_true(EVP_PKEY_set1_encoded_public_key(bkey, rawpub, publen)))
crypto/openssl/test/ml_kem_evp_extra_test.c
135
if (!TEST_true(EVP_PKEY_eq(akey, bkey))
crypto/openssl/test/ml_kem_evp_extra_test.c
136
|| !TEST_true(EVP_PKEY_eq(bkey, akey)))
crypto/openssl/test/ml_kem_evp_extra_test.c
257
if (!TEST_true(EVP_RAND_CTX_set_params(privctx, params)))
crypto/openssl/test/ml_kem_evp_extra_test.c
288
if (!TEST_true(EVP_PKEY_set1_encoded_public_key(bkey, rawpub, publen)))
crypto/openssl/test/ml_kem_evp_extra_test.c
295
if (!TEST_true(EVP_RAND_CTX_set_params(pubctx, params)))
crypto/openssl/test/ml_kem_evp_extra_test.c
316
if (!TEST_true(EVP_PKEY_encapsulate(ctx, wrpkey, &wrpkeylen, bgenkey,
crypto/openssl/test/ml_kem_evp_extra_test.c
327
if (!TEST_true(EVP_Digest(wrpkey, v->ctext_bytes,
crypto/openssl/test/ml_kem_evp_extra_test.c
348
if (!TEST_true(EVP_PKEY_decapsulate(ctx, NULL, &agenkeylen, wrpkey,
crypto/openssl/test/ml_kem_evp_extra_test.c
356
if (!TEST_true(EVP_PKEY_decapsulate(ctx, agenkey, &agenkeylen, wrpkey,
crypto/openssl/test/ml_kem_evp_extra_test.c
366
if (!TEST_true(EVP_PKEY_decapsulate(ctx, agenkey, &agenkeylen, wrpkey,
crypto/openssl/test/ml_kem_evp_extra_test.c
377
if (!TEST_true(EVP_RAND_CTX_set_params(pubctx, params)))
crypto/openssl/test/ml_kem_evp_extra_test.c
495
if (!TEST_true(RAND_set_DRBG_type(NULL, "TEST-RAND", "fips=no",
crypto/openssl/test/ml_kem_internal_test.c
118
if (!TEST_true(EVP_RAND_CTX_set_params(privctx, params))) {
crypto/openssl/test/ml_kem_internal_test.c
162
if (!TEST_true(EVP_RAND_CTX_set_params(pubctx, params)))
crypto/openssl/test/ml_kem_internal_test.c
174
if (!TEST_true(EVP_Digest(ciphertext, v->ctext_bytes,
crypto/openssl/test/ml_kem_internal_test.c
201
if (!TEST_true(ossl_ml_kem_decap(shared_secret2, sizeof(shared_secret2),
crypto/openssl/test/ml_kem_internal_test.c
247
if (!TEST_true(RAND_set_DRBG_type(NULL, "TEST-RAND", "fips=no", NULL, NULL)))
crypto/openssl/test/modes_internal_test.c
218
if (!TEST_true(len == size || len + 16 == size)
crypto/openssl/test/namemap_internal_test.c
140
if (!TEST_true(EVP_CIPHER_is_a(fetched, "id-aes256-CCM"))
crypto/openssl/test/namemap_internal_test.c
143
if (!TEST_true(EVP_CIPHER_is_a(EVP_aes_256_gcm(), "AES-256-GCM"))
crypto/openssl/test/namemap_internal_test.c
162
if (!TEST_true(EVP_MD_is_a(fetched, "SHA512"))
crypto/openssl/test/namemap_internal_test.c
165
if (!TEST_true(EVP_MD_is_a(EVP_sha256(), "SHA2-256"))
crypto/openssl/test/nodefltctxtest.c
44
if (!TEST_true(OSSL_PROVIDER_available(NULL, "default")))
crypto/openssl/test/ocspapitest.c
128
|| !TEST_true(get_cert_and_key(&signer, &key))
crypto/openssl/test/ocspapitest.c
129
|| !TEST_true(sk_X509_push(extra_certs, signer))
crypto/openssl/test/ocspapitest.c
130
|| !TEST_true(OCSP_basic_sign(bs, signer, key, EVP_sha1(),
crypto/openssl/test/ocspapitest.c
133
if (!TEST_true(OCSP_resp_get0_signer(bs, &tmp, extra_certs))
crypto/openssl/test/ocspapitest.c
142
|| !TEST_true(OCSP_basic_sign(bs, signer, key, EVP_sha1(),
crypto/openssl/test/ocspapitest.c
145
if (!TEST_true(OCSP_resp_get0_signer(bs, &tmp, NULL))
crypto/openssl/test/ocspapitest.c
199
if (!TEST_true(get_cert(&issuer)))
crypto/openssl/test/ocspapitest.c
84
|| !TEST_true(X509_NAME_add_entry_by_NID(name, NID_commonName,
crypto/openssl/test/ocspapitest.c
87
|| !TEST_true(ASN1_BIT_STRING_set(key, keybytes, sizeof(keybytes)))
crypto/openssl/test/ocspapitest.c
88
|| !TEST_true(ASN1_INTEGER_set_uint64(serial, (uint64_t)1)))
crypto/openssl/test/ocspapitest.c
95
|| !TEST_true(OCSP_basic_add1_status(bs, cid,
crypto/openssl/test/ossl_store_test.c
119
&& TEST_true(OSSL_STORE_find(sctx, search))
crypto/openssl/test/ossl_store_test.c
211
if (!TEST_true(BIO_snprintf(uri, sizeof(uri), urifmt, datadir, type)))
crypto/openssl/test/ossl_store_test.c
215
if (!TEST_true(get_params(uri, type)))
crypto/openssl/test/ossl_store_test.c
53
&& TEST_true(OSSL_STORE_find(sctx, search));
crypto/openssl/test/packettest.c
104
if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN))
crypto/openssl/test/packettest.c
105
|| !TEST_true(PACKET_get_net_3(&pkt, &i))
crypto/openssl/test/packettest.c
107
|| !TEST_true(PACKET_forward(&pkt, BUF_LEN - 6))
crypto/openssl/test/packettest.c
108
|| !TEST_true(PACKET_get_net_3(&pkt, &i))
crypto/openssl/test/packettest.c
121
if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN))
crypto/openssl/test/packettest.c
122
|| !TEST_true(PACKET_get_net_4(&pkt, &i))
crypto/openssl/test/packettest.c
124
|| !TEST_true(PACKET_forward(&pkt, BUF_LEN - 8))
crypto/openssl/test/packettest.c
125
|| !TEST_true(PACKET_get_net_4(&pkt, &i))
crypto/openssl/test/packettest.c
138
if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN))
crypto/openssl/test/packettest.c
139
|| !TEST_true(PACKET_get_sub_packet(&pkt, &subpkt, 4))
crypto/openssl/test/packettest.c
140
|| !TEST_true(PACKET_get_net_4(&subpkt, &i))
crypto/openssl/test/packettest.c
143
|| !TEST_true(PACKET_forward(&pkt, BUF_LEN - 8))
crypto/openssl/test/packettest.c
144
|| !TEST_true(PACKET_get_sub_packet(&pkt, &subpkt, 4))
crypto/openssl/test/packettest.c
145
|| !TEST_true(PACKET_get_net_4(&subpkt, &i))
crypto/openssl/test/packettest.c
159
if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN))
crypto/openssl/test/packettest.c
160
|| !TEST_true(PACKET_get_bytes(&pkt, &bytes, 4))
crypto/openssl/test/packettest.c
166
|| !TEST_true(PACKET_forward(&pkt, BUF_LEN - 8))
crypto/openssl/test/packettest.c
167
|| !TEST_true(PACKET_get_bytes(&pkt, &bytes, 4))
crypto/openssl/test/packettest.c
183
if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN))
crypto/openssl/test/packettest.c
184
|| !TEST_true(PACKET_copy_bytes(&pkt, bytes, 4))
crypto/openssl/test/packettest.c
190
|| !TEST_true(PACKET_forward(&pkt, BUF_LEN - 8))
crypto/openssl/test/packettest.c
191
|| !TEST_true(PACKET_copy_bytes(&pkt, bytes, 4))
crypto/openssl/test/packettest.c
208
if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN))
crypto/openssl/test/packettest.c
209
|| !TEST_true(PACKET_copy_all(&pkt, tmp, BUF_LEN, &len))
crypto/openssl/test/packettest.c
21
if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN))
crypto/openssl/test/packettest.c
226
if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN))
crypto/openssl/test/packettest.c
227
|| !TEST_true(PACKET_memdup(&pkt, &data, &len))
crypto/openssl/test/packettest.c
23
|| !TEST_true(PACKET_forward(&pkt, BUF_LEN - 1))
crypto/openssl/test/packettest.c
230
|| !TEST_true(PACKET_forward(&pkt, 10))
crypto/openssl/test/packettest.c
231
|| !TEST_true(PACKET_memdup(&pkt, &data, &len))
crypto/openssl/test/packettest.c
25
|| !TEST_true(PACKET_forward(&pkt, 1))
crypto/openssl/test/packettest.c
252
if (!TEST_true(PACKET_buf_init(&pkt, (unsigned char *)buf1, 10))
crypto/openssl/test/packettest.c
253
|| !TEST_true(PACKET_strndup(&pkt, &data))
crypto/openssl/test/packettest.c
256
|| !TEST_true(PACKET_buf_init(&pkt, (unsigned char *)buf2, 10))
crypto/openssl/test/packettest.c
257
|| !TEST_true(PACKET_strndup(&pkt, &data))
crypto/openssl/test/packettest.c
277
if (!TEST_true(PACKET_buf_init(&pkt, (unsigned char *)buf1, 10))
crypto/openssl/test/packettest.c
279
|| !TEST_true(PACKET_buf_init(&pkt, (unsigned char *)buf2, 10))
crypto/openssl/test/packettest.c
280
|| !TEST_true(PACKET_contains_zero_byte(&pkt)))
crypto/openssl/test/packettest.c
291
if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN))
crypto/openssl/test/packettest.c
292
|| !TEST_true(PACKET_forward(&pkt, 1))
crypto/openssl/test/packettest.c
293
|| !TEST_true(PACKET_get_bytes(&pkt, &byte, 1))
crypto/openssl/test/packettest.c
295
|| !TEST_true(PACKET_forward(&pkt, BUF_LEN - 3))
crypto/openssl/test/packettest.c
296
|| !TEST_true(PACKET_get_bytes(&pkt, &byte, 1))
crypto/openssl/test/packettest.c
309
if (!TEST_true(PACKET_buf_init(&pkt, buf1, 4))
crypto/openssl/test/packettest.c
311
|| !TEST_true(PACKET_buf_init(&pkt, buf1, BUF_LEN))
crypto/openssl/test/packettest.c
335
if (!TEST_true(PACKET_buf_init(&pkt, smbuf, 4))
crypto/openssl/test/packettest.c
336
|| !TEST_true(PACKET_equal(&pkt, smbuf, 4))
crypto/openssl/test/packettest.c
338
|| !TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN))
crypto/openssl/test/packettest.c
339
|| !TEST_true(PACKET_equal(&pkt, smbuf, BUF_LEN))
crypto/openssl/test/packettest.c
36
if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN))
crypto/openssl/test/packettest.c
360
if (!TEST_true(PACKET_buf_init(&pkt, buf1, BUF_LEN))
crypto/openssl/test/packettest.c
361
|| !TEST_true(PACKET_buf_init(&short_pkt, buf1, len))
crypto/openssl/test/packettest.c
362
|| !TEST_true(PACKET_get_length_prefixed_1(&pkt, &subpkt))
crypto/openssl/test/packettest.c
364
|| !TEST_true(PACKET_get_net_2(&subpkt, &i))
crypto/openssl/test/packettest.c
384
if (!TEST_true(PACKET_buf_init(&pkt, buf1, 1024))
crypto/openssl/test/packettest.c
385
|| !TEST_true(PACKET_buf_init(&short_pkt, buf1, len))
crypto/openssl/test/packettest.c
386
|| !TEST_true(PACKET_get_length_prefixed_2(&pkt, &subpkt))
crypto/openssl/test/packettest.c
388
|| !TEST_true(PACKET_get_net_2(&subpkt, &i))
crypto/openssl/test/packettest.c
39
|| !TEST_true(PACKET_forward(&pkt, BUF_LEN - 1))
crypto/openssl/test/packettest.c
408
if (!TEST_true(PACKET_buf_init(&pkt, buf1, 1024))
crypto/openssl/test/packettest.c
409
|| !TEST_true(PACKET_buf_init(&short_pkt, buf1, len))
crypto/openssl/test/packettest.c
41
|| !TEST_true(PACKET_forward(&pkt, 1))
crypto/openssl/test/packettest.c
410
|| !TEST_true(PACKET_get_length_prefixed_3(&pkt, &subpkt))
crypto/openssl/test/packettest.c
412
|| !TEST_true(PACKET_get_net_2(&subpkt, &i))
crypto/openssl/test/packettest.c
433
if (!TEST_true(PACKET_buf_init(&pkt, buf1, BUF_LEN))
crypto/openssl/test/packettest.c
434
|| !TEST_true(PACKET_buf_init(&exact_pkt, buf1, len + 1))
crypto/openssl/test/packettest.c
437
|| !TEST_true(PACKET_as_length_prefixed_1(&exact_pkt, &subpkt))
crypto/openssl/test/packettest.c
456
if (!TEST_true(PACKET_buf_init(&pkt, buf, 1024))
crypto/openssl/test/packettest.c
457
|| !TEST_true(PACKET_buf_init(&exact_pkt, buf, len + 2))
crypto/openssl/test/packettest.c
460
|| !TEST_true(PACKET_as_length_prefixed_2(&exact_pkt, &subpkt))
crypto/openssl/test/packettest.c
509
if (!TEST_true(PACKET_buf_init(&pkt, cases[i].buf, sizeof(cases[i].buf)))
crypto/openssl/test/packettest.c
510
|| !TEST_true(PACKET_get_quic_vlint(&pkt, &v))
crypto/openssl/test/packettest.c
53
if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN))
crypto/openssl/test/packettest.c
54
|| !TEST_true(PACKET_get_1(&pkt, &i))
crypto/openssl/test/packettest.c
548
if (!TEST_true(PACKET_buf_init(&pkt, cases[i].buf,
crypto/openssl/test/packettest.c
56
|| !TEST_true(PACKET_forward(&pkt, BUF_LEN - 2))
crypto/openssl/test/packettest.c
57
|| !TEST_true(PACKET_get_1(&pkt, &i))
crypto/openssl/test/packettest.c
70
if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN))
crypto/openssl/test/packettest.c
71
|| !TEST_true(PACKET_get_4(&pkt, &i))
crypto/openssl/test/packettest.c
73
|| !TEST_true(PACKET_forward(&pkt, BUF_LEN - 8))
crypto/openssl/test/packettest.c
74
|| !TEST_true(PACKET_get_4(&pkt, &i))
crypto/openssl/test/packettest.c
87
if (!TEST_true(PACKET_buf_init(&pkt, smbuf, BUF_LEN))
crypto/openssl/test/packettest.c
88
|| !TEST_true(PACKET_get_net_2(&pkt, &i))
crypto/openssl/test/packettest.c
90
|| !TEST_true(PACKET_forward(&pkt, BUF_LEN - 4))
crypto/openssl/test/packettest.c
91
|| !TEST_true(PACKET_get_net_2(&pkt, &i))
crypto/openssl/test/pairwise_fail_test.c
104
if (!TEST_true(setup_selftest_pairwise_failure(type)))
crypto/openssl/test/pairwise_fail_test.c
111
if (!TEST_true(setup_selftest_pairwise_failure(type)))
crypto/openssl/test/pairwise_fail_test.c
126
if (!TEST_true(setup_selftest_pairwise_failure(type)))
crypto/openssl/test/pairwise_fail_test.c
137
if (!TEST_true(setup_selftest_pairwise_failure(type)))
crypto/openssl/test/pairwise_fail_test.c
148
if (!TEST_true(setup_selftest_pairwise_failure(type)))
crypto/openssl/test/pairwise_fail_test.c
159
if (!TEST_true(setup_selftest_pairwise_failure(type)))
crypto/openssl/test/pairwise_fail_test.c
97
if (!TEST_true(setup_selftest_pairwise_failure(type)))
crypto/openssl/test/param_build_test.c
104
|| !TEST_true(OSSL_PARAM_BLD_push_long(bld, "l", 42))
crypto/openssl/test/param_build_test.c
105
|| !TEST_true(OSSL_PARAM_BLD_push_int32(bld, "i32", 1532))
crypto/openssl/test/param_build_test.c
106
|| !TEST_true(OSSL_PARAM_BLD_push_int64(bld, "i64", -9999999))
crypto/openssl/test/param_build_test.c
107
|| !TEST_true(OSSL_PARAM_BLD_push_time_t(bld, "t", 11224))
crypto/openssl/test/param_build_test.c
108
|| !TEST_true(OSSL_PARAM_BLD_push_double(bld, "d", 1.61803398875))
crypto/openssl/test/param_build_test.c
110
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, "zeronumber", zbn))
crypto/openssl/test/param_build_test.c
112
|| !TEST_true(BN_set_word(pbn, 1729))
crypto/openssl/test/param_build_test.c
113
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, "bignumber", pbn))
crypto/openssl/test/param_build_test.c
115
|| !TEST_true(BN_set_word(nbn, 1733))
crypto/openssl/test/param_build_test.c
116
|| !TEST_true((BN_set_negative(nbn, 1), 1))
crypto/openssl/test/param_build_test.c
117
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, "negativebignumber", nbn))
crypto/openssl/test/param_build_test.c
118
|| !TEST_true(OSSL_PARAM_BLD_push_utf8_string(bld, "utf8_s", "foo",
crypto/openssl/test/param_build_test.c
120
|| !TEST_true(OSSL_PARAM_BLD_push_octet_string(bld, "octet_s", NULL,
crypto/openssl/test/param_build_test.c
122
|| !TEST_true(OSSL_PARAM_BLD_push_utf8_ptr(bld, "utf8_p", "bar-boom",
crypto/openssl/test/param_build_test.c
124
|| !TEST_true(OSSL_PARAM_BLD_push_octet_ptr(bld, "octet_p", NULL,
crypto/openssl/test/param_build_test.c
126
|| !TEST_true(OSSL_PARAM_BLD_push_int(bld, "i", -6))
crypto/openssl/test/param_build_test.c
151
|| !TEST_true(OSSL_PARAM_get_int(p, &i))
crypto/openssl/test/param_build_test.c
158
|| !TEST_true(OSSL_PARAM_get_int32(p, &i32))
crypto/openssl/test/param_build_test.c
168
|| !TEST_true(OSSL_PARAM_get_int64(p, &i64))
crypto/openssl/test/param_build_test.c
175
|| !TEST_true(OSSL_PARAM_get_long(p, &l))
crypto/openssl/test/param_build_test.c
182
|| !TEST_true(OSSL_PARAM_get_time_t(p, &t))
crypto/openssl/test/param_build_test.c
186
|| !TEST_true(OSSL_PARAM_get_double(p, &d))
crypto/openssl/test/param_build_test.c
194
|| !TEST_true(OSSL_PARAM_get_utf8_string(p, &utf, 0))
crypto/openssl/test/param_build_test.c
201
|| !TEST_true(OSSL_PARAM_get_utf8_ptr(p, &cutf))
crypto/openssl/test/param_build_test.c
210
|| !TEST_true(OSSL_PARAM_get_BN(p, &zbn_res))
crypto/openssl/test/param_build_test.c
216
|| !TEST_true(OSSL_PARAM_get_BN(p, &pbn_res))
crypto/openssl/test/param_build_test.c
222
|| !TEST_true(OSSL_PARAM_get_BN(p, &nbn_res))
crypto/openssl/test/param_build_test.c
271
if (!TEST_true(OSSL_PARAM_BLD_push_uint(bld, "i", 6))
crypto/openssl/test/param_build_test.c
272
|| !TEST_true(OSSL_PARAM_BLD_push_ulong(bld, "l", 42))
crypto/openssl/test/param_build_test.c
273
|| !TEST_true(OSSL_PARAM_BLD_push_uint32(bld, "i32", 1532))
crypto/openssl/test/param_build_test.c
274
|| !TEST_true(OSSL_PARAM_BLD_push_uint64(bld, "i64", 9999999))
crypto/openssl/test/param_build_test.c
275
|| !TEST_true(OSSL_PARAM_BLD_push_size_t(bld, "st", 65537))
crypto/openssl/test/param_build_test.c
277
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, "zeronumber", zbn))
crypto/openssl/test/param_build_test.c
279
|| !TEST_true(BN_set_word(pbn, 1729))
crypto/openssl/test/param_build_test.c
28
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, "zeronumber",
crypto/openssl/test/param_build_test.c
280
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, "bignumber", pbn))
crypto/openssl/test/param_build_test.c
282
|| !TEST_true(BN_set_word(nbn, 1733))
crypto/openssl/test/param_build_test.c
283
|| !TEST_true((BN_set_negative(nbn, 1), 1))
crypto/openssl/test/param_build_test.c
284
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, "negativebignumber", nbn))
crypto/openssl/test/param_build_test.c
285
|| !TEST_true(OSSL_PARAM_BLD_push_octet_string(bld, "oct_s", data1,
crypto/openssl/test/param_build_test.c
287
|| !TEST_true(OSSL_PARAM_BLD_push_octet_ptr(bld, "oct_p", data2,
crypto/openssl/test/param_build_test.c
313
|| !TEST_true(OSSL_PARAM_get_uint(p, &i))
crypto/openssl/test/param_build_test.c
321
|| !TEST_true(OSSL_PARAM_get_uint32(p, &i32))
crypto/openssl/test/param_build_test.c
332
|| !TEST_true(OSSL_PARAM_get_uint64(p, &i64))
crypto/openssl/test/param_build_test.c
340
|| !TEST_true(OSSL_PARAM_get_ulong(p, &l))
crypto/openssl/test/param_build_test.c
348
|| !TEST_true(OSSL_PARAM_get_size_t(p, &st))
crypto/openssl/test/param_build_test.c
352
|| !TEST_true(CRYPTO_secure_allocated(p->data))
crypto/openssl/test/param_build_test.c
359
|| !TEST_true(CRYPTO_secure_allocated(*(void **)p->data))
crypto/openssl/test/param_build_test.c
365
|| !TEST_true(CRYPTO_secure_allocated(p->data))
crypto/openssl/test/param_build_test.c
368
|| !TEST_true(OSSL_PARAM_get_BN(p, &zbn_res))
crypto/openssl/test/param_build_test.c
373
|| !TEST_true(CRYPTO_secure_allocated(p->data))
crypto/openssl/test/param_build_test.c
376
|| !TEST_true(OSSL_PARAM_get_BN(p, &pbn_res))
crypto/openssl/test/param_build_test.c
38
|| !TEST_true(OSSL_PARAM_get_BN(p, &zbn_res))
crypto/openssl/test/param_build_test.c
381
|| !TEST_true(CRYPTO_secure_allocated(p->data))
crypto/openssl/test/param_build_test.c
384
|| !TEST_true(OSSL_PARAM_get_BN(p, &nbn_res))
crypto/openssl/test/param_build_test.c
421
if (!TEST_true(OSSL_PARAM_BLD_push_int(bld, names[i], 3 * i + 1)))
crypto/openssl/test/param_build_test.c
436
if (!TEST_true(OSSL_PARAM_BLD_push_int(bld, "g", 2))
crypto/openssl/test/param_build_test.c
468
|| !TEST_true(OSSL_PARAM_BLD_push_uint(bld, "i", 6))
crypto/openssl/test/param_build_test.c
469
|| !TEST_true(OSSL_PARAM_BLD_push_ulong(bld, "l", 42))
crypto/openssl/test/param_build_test.c
470
|| !TEST_true(OSSL_PARAM_BLD_push_uint32(bld, "i32", 1532))
crypto/openssl/test/param_build_test.c
471
|| !TEST_true(OSSL_PARAM_BLD_push_uint64(bld, "i64", 9999999))
crypto/openssl/test/param_build_test.c
472
|| !TEST_true(OSSL_PARAM_BLD_push_size_t(bld, "st", 65537))
crypto/openssl/test/param_build_test.c
474
|| !TEST_true(BN_set_word(bn_priv, 1729))
crypto/openssl/test/param_build_test.c
475
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, "bignumber_priv", bn_priv))
crypto/openssl/test/param_build_test.c
480
|| !TEST_true(OSSL_PARAM_BLD_push_octet_string(bld2, "oct_s", data1,
crypto/openssl/test/param_build_test.c
482
|| !TEST_true(OSSL_PARAM_BLD_push_octet_ptr(bld2, "oct_p", data2,
crypto/openssl/test/param_build_test.c
484
|| !TEST_true(OSSL_PARAM_BLD_push_uint32(bld2, "i32", 99))
crypto/openssl/test/param_build_test.c
486
|| !TEST_true(BN_set_word(bn_pub, 0x42))
crypto/openssl/test/param_build_test.c
487
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld2, "bignumber_pub", bn_pub))
crypto/openssl/test/param_build_test.c
495
|| !TEST_true(OSSL_PARAM_get_uint(p, &i))
crypto/openssl/test/param_build_test.c
502
|| !TEST_true(OSSL_PARAM_get_uint32(p, &i32))
crypto/openssl/test/param_build_test.c
512
|| !TEST_true(OSSL_PARAM_get_uint64(p, &i64))
crypto/openssl/test/param_build_test.c
519
|| !TEST_true(OSSL_PARAM_get_ulong(p, &l))
crypto/openssl/test/param_build_test.c
526
|| !TEST_true(OSSL_PARAM_get_size_t(p, &st))
crypto/openssl/test/param_build_test.c
542
|| !TEST_true(OSSL_PARAM_get_BN(p, &bn_pub_res))
crypto/openssl/test/param_build_test.c
547
|| !TEST_true(OSSL_PARAM_get_BN(p, &bn_priv_res))
crypto/openssl/test/param_build_test.c
61
|| !TEST_true(OSSL_PARAM_BLD_push_BN(bld, "zeronumber", zbn))
crypto/openssl/test/param_build_test.c
68
|| !TEST_true(CRYPTO_secure_allocated(p->data))
crypto/openssl/test/param_build_test.c
71
|| !TEST_true(OSSL_PARAM_get_BN(p, &zbn_res))
crypto/openssl/test/params_api_test.c
135
if ((bit32 && !TEST_true(OSSL_PARAM_get_int32(param, &i32)))
crypto/openssl/test/params_api_test.c
136
|| !TEST_true(OSSL_PARAM_get_int64(param, &i64)))
crypto/openssl/test/params_api_test.c
140
&& !TEST_true(OSSL_PARAM_get_uint32(param, (uint32_t *)&i32)))
crypto/openssl/test/params_api_test.c
141
|| !TEST_true(OSSL_PARAM_get_uint64(param, (uint64_t *)&i64))
crypto/openssl/test/params_api_test.c
142
|| (sizet && !TEST_true(OSSL_PARAM_get_size_t(param, &s))))
crypto/openssl/test/params_api_test.c
169
if (!TEST_true(OSSL_PARAM_set_int32(param, 12345))
crypto/openssl/test/params_api_test.c
170
|| !TEST_true(OSSL_PARAM_get_int64(param, &i64))
crypto/openssl/test/params_api_test.c
174
if (!TEST_true(OSSL_PARAM_set_uint32(param, 12345))
crypto/openssl/test/params_api_test.c
175
|| !TEST_true(OSSL_PARAM_get_uint64(param, (uint64_t *)&i64))
crypto/openssl/test/params_api_test.c
179
if (!TEST_true(OSSL_PARAM_modified(param)))
crypto/openssl/test/params_api_test.c
211
if (!TEST_true(OSSL_PARAM_set_int(&param, in)))
crypto/openssl/test/params_api_test.c
217
if (!TEST_true(OSSL_PARAM_get_int(&param, &in)))
crypto/openssl/test/params_api_test.c
242
if (!TEST_true(OSSL_PARAM_set_long(&param, in)))
crypto/openssl/test/params_api_test.c
248
if (!TEST_true(OSSL_PARAM_get_long(&param, &in)))
crypto/openssl/test/params_api_test.c
271
if (!TEST_true(OSSL_PARAM_set_uint(&param, in)))
crypto/openssl/test/params_api_test.c
277
if (!TEST_true(OSSL_PARAM_get_uint(&param, &in)))
crypto/openssl/test/params_api_test.c
302
if (!TEST_true(OSSL_PARAM_set_ulong(&param, in)))
crypto/openssl/test/params_api_test.c
308
if (!TEST_true(OSSL_PARAM_get_ulong(&param, &in)))
crypto/openssl/test/params_api_test.c
333
if (!TEST_true(OSSL_PARAM_set_int32(&param, in)))
crypto/openssl/test/params_api_test.c
339
if (!TEST_true(OSSL_PARAM_get_int32(&param, &in)))
crypto/openssl/test/params_api_test.c
364
if (!TEST_true(OSSL_PARAM_set_uint32(&param, in)))
crypto/openssl/test/params_api_test.c
370
if (!TEST_true(OSSL_PARAM_get_uint32(&param, &in)))
crypto/openssl/test/params_api_test.c
395
if (!TEST_true(OSSL_PARAM_set_int64(&param, in)))
crypto/openssl/test/params_api_test.c
401
if (!TEST_true(OSSL_PARAM_get_int64(&param, &in)))
crypto/openssl/test/params_api_test.c
426
if (!TEST_true(OSSL_PARAM_set_uint64(&param, in)))
crypto/openssl/test/params_api_test.c
432
if (!TEST_true(OSSL_PARAM_get_uint64(&param, &in)))
crypto/openssl/test/params_api_test.c
457
if (!TEST_true(OSSL_PARAM_set_size_t(&param, in)))
crypto/openssl/test/params_api_test.c
463
if (!TEST_true(OSSL_PARAM_get_size_t(&param, &in)))
crypto/openssl/test/params_api_test.c
488
if (!TEST_true(OSSL_PARAM_set_time_t(&param, in)))
crypto/openssl/test/params_api_test.c
494
if (!TEST_true(OSSL_PARAM_get_time_t(&param, &in)))
crypto/openssl/test/params_api_test.c
521
if (!TEST_true(OSSL_PARAM_set_BN(&param, b)))
crypto/openssl/test/params_api_test.c
527
if (!TEST_true(OSSL_PARAM_get_BN(&param, &c))
crypto/openssl/test/params_api_test.c
558
if (!TEST_true(OSSL_PARAM_set_BN(&param, b)))
crypto/openssl/test/params_api_test.c
564
if (!TEST_true(OSSL_PARAM_get_BN(&param, &c))
crypto/openssl/test/params_api_test.c
586
return TEST_true(OSSL_PARAM_set_double(&param, 3.14159))
crypto/openssl/test/params_api_test.c
663
|| !TEST_true(OSSL_PARAM_set_int32(cp, (int32_t)(3 + j)))
crypto/openssl/test/params_api_test.c
664
|| !TEST_true(OSSL_PARAM_get_int64(cp, &i64))
crypto/openssl/test/params_api_test.c
674
|| !TEST_true(OSSL_PARAM_set_uint32(cp, (uint32_t)(3 + j)))
crypto/openssl/test/params_api_test.c
675
|| !TEST_true(OSSL_PARAM_get_uint64(cp, &u64))
crypto/openssl/test/params_api_test.c
684
|| !TEST_true(OSSL_PARAM_set_double(cp, 3.14))
crypto/openssl/test/params_api_test.c
685
|| !TEST_true(OSSL_PARAM_get_double(cp, &d2))
crypto/openssl/test/params_api_test.c
693
|| !TEST_true(OSSL_PARAM_set_utf8_string(cp, "abcdef"))
crypto/openssl/test/params_api_test.c
695
|| !TEST_true(OSSL_PARAM_get_utf8_string(cp, &bufp, 0))
crypto/openssl/test/params_api_test.c
702
if (!TEST_true(OSSL_PARAM_get_utf8_string(cp, &bufp, sizeof(buf2)))
crypto/openssl/test/params_api_test.c
709
|| !TEST_true(OSSL_PARAM_set_utf8_ptr(cp, "tuvwxyz"))
crypto/openssl/test/params_api_test.c
711
|| !TEST_true(OSSL_PARAM_get_utf8_ptr(cp, (const char **)&bufp2))
crypto/openssl/test/params_api_test.c
717
|| !TEST_true(OSSL_PARAM_set_octet_string(cp, "abcdefghi",
crypto/openssl/test/params_api_test.c
723
if (!TEST_true(OSSL_PARAM_get_octet_string(cp, &vpn, 0, &s))
crypto/openssl/test/params_api_test.c
729
if (!TEST_true(OSSL_PARAM_get_octet_string(cp, &vp, sizeof(buf2), &s))
crypto/openssl/test/params_api_test.c
737
|| !TEST_true(OSSL_PARAM_set_octet_ptr(cp, &ul, sizeof(ul)))
crypto/openssl/test/params_api_test.c
743
if (!TEST_true(OSSL_PARAM_get_octet_ptr(cp, (const void **)&vp2, &k))
crypto/openssl/test/params_api_test.c
750
|| !TEST_true(OSSL_PARAM_set_BN(cp, bn))
crypto/openssl/test/params_api_test.c
755
if (!TEST_true(OSSL_PARAM_get_BN(cp, &bn2))
crypto/openssl/test/params_api_test.c
779
&& !TEST_true(OSSL_PARAM_set_int32(param, 1234))
crypto/openssl/test/params_api_test.c
780
&& !TEST_true(OSSL_PARAM_modified(param))
crypto/openssl/test/params_api_test.c
782
&& !TEST_true(OSSL_PARAM_set_int32(param + 1, 1))
crypto/openssl/test/params_api_test.c
783
&& !TEST_true(OSSL_PARAM_modified(param + 1)))
crypto/openssl/test/params_api_test.c
787
&& !TEST_true(OSSL_PARAM_set_int32(param, 4321))
crypto/openssl/test/params_api_test.c
788
&& !TEST_true(OSSL_PARAM_modified(param))
crypto/openssl/test/params_api_test.c
790
&& !TEST_true(OSSL_PARAM_set_int32(param + 1, 2))
crypto/openssl/test/params_api_test.c
791
&& !TEST_true(OSSL_PARAM_modified(param + 1)))
crypto/openssl/test/params_api_test.c
810
&& TEST_true(OSSL_PARAM_get_int(p, &val))
crypto/openssl/test/params_api_test.c
813
&& TEST_true(OSSL_PARAM_get_int(p, &val))
crypto/openssl/test/params_api_test.c
817
&& TEST_true(OSSL_PARAM_get_int(p, &val))
crypto/openssl/test/params_api_test.c
820
&& TEST_true(OSSL_PARAM_get_int(p, &val))
crypto/openssl/test/params_api_test.c
843
&& TEST_true(OSSL_PARAM_get_int(p, &val))
crypto/openssl/test/params_api_test.c
846
&& TEST_true(OSSL_PARAM_get_int(cp, &val))
crypto/openssl/test/params_api_test.c
849
&& TEST_true(OSSL_PARAM_get_int(cp, &val))
crypto/openssl/test/params_conversion_test.c
133
if (!TEST_true(def_i32) || !TEST_true(pc->valid_i32)) {
crypto/openssl/test/params_conversion_test.c
142
if (!TEST_true(def_i64) || !TEST_true(pc->valid_i64)) {
crypto/openssl/test/params_conversion_test.c
151
if (!TEST_true(def_u32) || !TEST_true(pc->valid_u32)) {
crypto/openssl/test/params_conversion_test.c
160
if (!TEST_true(def_u64) || !TEST_true(pc->valid_u64)) {
crypto/openssl/test/params_conversion_test.c
169
if (!TEST_true(def_d) || !TEST_true(pc->valid_d)) {
crypto/openssl/test/params_conversion_test.c
199
if (!TEST_true(OSSL_PARAM_get_int32(pc->param, &i32))
crypto/openssl/test/params_conversion_test.c
200
|| !TEST_true(i32 == pc->i32)) {
crypto/openssl/test/params_conversion_test.c
205
if (!TEST_true(OSSL_PARAM_set_int32(pc->param, i32))
crypto/openssl/test/params_conversion_test.c
220
if (!TEST_true(OSSL_PARAM_get_int64(pc->param, &i64))
crypto/openssl/test/params_conversion_test.c
221
|| !TEST_true(i64 == pc->i64)) {
crypto/openssl/test/params_conversion_test.c
226
if (!TEST_true(OSSL_PARAM_set_int64(pc->param, i64))
crypto/openssl/test/params_conversion_test.c
241
if (!TEST_true(OSSL_PARAM_get_uint32(pc->param, &u32))
crypto/openssl/test/params_conversion_test.c
242
|| !TEST_true(u32 == pc->u32)) {
crypto/openssl/test/params_conversion_test.c
247
if (!TEST_true(OSSL_PARAM_set_uint32(pc->param, u32))
crypto/openssl/test/params_conversion_test.c
262
if (!TEST_true(OSSL_PARAM_get_uint64(pc->param, &u64))
crypto/openssl/test/params_conversion_test.c
263
|| !TEST_true(u64 == pc->u64)) {
crypto/openssl/test/params_conversion_test.c
268
if (!TEST_true(OSSL_PARAM_set_uint64(pc->param, u64))
crypto/openssl/test/params_conversion_test.c
283
if (!TEST_true(OSSL_PARAM_get_double(pc->param, &d))) {
crypto/openssl/test/params_conversion_test.c
304
} else if (!TEST_true(d == pc->d)) {
crypto/openssl/test/params_conversion_test.c
309
if (!TEST_true(OSSL_PARAM_set_double(pc->param, d))
crypto/openssl/test/params_test.c
108
if (!TEST_true(BN_hex2bn(&obj->p3, p3_init)))
crypto/openssl/test/params_test.c
214
&& !TEST_true(OSSL_PARAM_get_int(p, &obj->p1)))
crypto/openssl/test/params_test.c
217
&& !TEST_true(OSSL_PARAM_get_double(p, &obj->p2)))
crypto/openssl/test/params_test.c
220
&& !TEST_true(OSSL_PARAM_get_BN(p, &obj->p3)))
crypto/openssl/test/params_test.c
226
if (!TEST_true(OSSL_PARAM_get_utf8_string(p, &obj->p4, 0)))
crypto/openssl/test/params_test.c
231
if (!TEST_true(OSSL_PARAM_get_utf8_string(p, &p5_ptr, sizeof(obj->p5))))
crypto/openssl/test/params_test.c
236
if (!TEST_true(OSSL_PARAM_get_utf8_ptr(p, &obj->p6)))
crypto/openssl/test/params_test.c
250
&& !TEST_true(OSSL_PARAM_set_int(p, obj->p1)))
crypto/openssl/test/params_test.c
253
&& !TEST_true(OSSL_PARAM_set_double(p, obj->p2)))
crypto/openssl/test/params_test.c
256
&& !TEST_true(OSSL_PARAM_set_BN(p, obj->p3)))
crypto/openssl/test/params_test.c
259
&& !TEST_true(OSSL_PARAM_set_utf8_string(p, obj->p4)))
crypto/openssl/test/params_test.c
262
&& !TEST_true(OSSL_PARAM_set_utf8_string(p, obj->p5)))
crypto/openssl/test/params_test.c
265
&& !TEST_true(OSSL_PARAM_set_utf8_ptr(p, obj->p6)))
crypto/openssl/test/params_test.c
447
|| !TEST_true(BN_hex2bn(&verify_p3, p3_init))) {
crypto/openssl/test/params_test.c
458
if (!TEST_true(prov->get_params(obj, params))
crypto/openssl/test/params_test.c
483
if (!TEST_true(prov->set_params(obj, params))) {
crypto/openssl/test/params_test.c
504
if (!TEST_true(BN_hex2bn(&verify_p3, app_p3_init))) {
crypto/openssl/test/params_test.c
509
if (!TEST_true(prov->get_params(obj, params))
crypto/openssl/test/params_test.c
675
result = TEST_true(OSSL_PARAM_allocate_from_text(&param,
crypto/openssl/test/pbelutest.c
24
if (!TEST_true(EVP_PBE_find(pbe_type, pbe_nid, NULL, NULL, 0))) {
crypto/openssl/test/pbetest.c
100
if (!TEST_true(EVP_CipherFinal_ex(ctx, out + i, &i)))
crypto/openssl/test/pbetest.c
76
if (!TEST_true(PKCS5_pbe_set0_algor(algor, EVP_CIPHER_nid(cipher), pbe_iter,
crypto/openssl/test/pbetest.c
78
|| !TEST_true(PKCS5_PBE_keyivgen(ctx, pbe_password, strlen(pbe_password),
crypto/openssl/test/pbetest.c
80
|| !TEST_true(EVP_CipherUpdate(ctx, out, &i, pbe_plaintext,
crypto/openssl/test/pbetest.c
85
if (!TEST_true(EVP_CipherFinal_ex(ctx, out + i, &i)))
crypto/openssl/test/pbetest.c
94
if (!TEST_true(PKCS5_PBE_keyivgen(ctx, pbe_password, strlen(pbe_password),
crypto/openssl/test/pbetest.c
96
|| !TEST_true(EVP_CipherUpdate(ctx, out, &i, exp, exp_len)))
crypto/openssl/test/pemtest.c
44
|| !TEST_true(BIO_printf(b, "-----BEGIN %s-----\n", pemtype))
crypto/openssl/test/pemtest.c
45
|| !TEST_true(BIO_printf(b, "%s\n", encoded))
crypto/openssl/test/pemtest.c
46
|| !TEST_true(BIO_printf(b, "-----END %s-----\n", pemtype))
crypto/openssl/test/pemtest.c
47
|| !TEST_true(PEM_read_bio_ex(b, &name, &header, &data, &len,
crypto/openssl/test/pemtest.c
72
|| !TEST_true(BIO_printf(b, "-----BEGIN %s-----\n", pemtype))
crypto/openssl/test/pemtest.c
73
|| !TEST_true(BIO_printf(b, "%c%s\n", '\t', encoded))
crypto/openssl/test/pemtest.c
74
|| !TEST_true(BIO_printf(b, "-----END %s-----\n", pemtype))
crypto/openssl/test/pemtest.c
76
|| TEST_true(PEM_read_bio_ex(b, &name, &header, &data, &len,
crypto/openssl/test/pkcs12_api_test.c
116
if (!TEST_true(PKCS12_parse(p12, in_pass, &key, &cert, &ca)))
crypto/openssl/test/pkcs12_api_test.c
134
return TEST_true(ret);
crypto/openssl/test/pkcs12_api_test.c
150
if (!TEST_true(PKCS12_parse(p12, "", key, cert, ca)))
crypto/openssl/test/pkcs12_api_test.c
226
return TEST_true(ret);
crypto/openssl/test/pkcs12_api_test.c
267
if (!TEST_true(PKCS12_parse(p12, in_pass, &key, &cert, &ca)))
crypto/openssl/test/pkcs12_api_test.c
45
if (!TEST_true(p12 == d2i_PKCS12_bio(bio, &p12)))
crypto/openssl/test/pkcs12_api_test.c
73
if (!TEST_true(PKCS12_newpass(p12, in_pass, "NEWPASS")))
crypto/openssl/test/pkcs12_api_test.c
77
if (!TEST_true(i2d_PKCS12_bio(bio, p12)))
crypto/openssl/test/pkcs12_api_test.c
83
if (!TEST_true(PKCS12_parse(p12new, "NEWPASS", &key2, &cert2, &ca2)))
crypto/openssl/test/pkcs12_format_test.c
403
if (!TEST_true(OBJ_create("1.3.5.7.9", "CustomSecretOID", "My custom secret OID")))
crypto/openssl/test/pkcs7_test.c
159
&& TEST_true(X509_STORE_add_cert(store, cert))
crypto/openssl/test/pkcs7_test.c
162
&& TEST_true(PKCS7_verify(p7, NULL, store, msg_bio, NULL, PKCS7_TEXT))
crypto/openssl/test/pkcs7_test.c
371
&& TEST_true(X509_STORE_add_cert(store, cert))
crypto/openssl/test/pkcs7_test.c
373
&& TEST_true(X509_VERIFY_PARAM_set_purpose(param,
crypto/openssl/test/pkcs7_test.c
375
&& TEST_true(X509_STORE_set1_param(store, param))
crypto/openssl/test/pkcs7_test.c
378
&& TEST_true(PKCS7_verify(p7, NULL, store, NULL, NULL, 0))
crypto/openssl/test/priority_queue_test.c
192
if (!TEST_true(ossl_pqueue_INFO_push(pq, &infos[0], &infos[0].idx))
crypto/openssl/test/priority_queue_test.c
198
if (!TEST_true(ossl_pqueue_INFO_push(pq, &infos[1], &infos[1].idx))
crypto/openssl/test/priority_queue_test.c
204
if (!TEST_true(ossl_pqueue_INFO_push(pq, &infos[2], &infos[2].idx))
crypto/openssl/test/priority_queue_test.c
209
if (!TEST_true(ossl_pqueue_INFO_push(pq, &infos[3], &infos[3].idx))
crypto/openssl/test/priority_queue_test.c
214
if (!TEST_true(ossl_pqueue_INFO_push(pq, &infos[4], &infos[4].idx))
crypto/openssl/test/priority_queue_test.c
219
if (!TEST_true(ossl_pqueue_INFO_push(pq, &infos[5], &infos[5].idx))
crypto/openssl/test/priority_queue_test.c
224
if (!TEST_true(ossl_pqueue_INFO_push(pq, &infos[6], &infos[6].idx))
crypto/openssl/test/priority_queue_test.c
229
if (!TEST_true(ossl_pqueue_INFO_push(pq, &infos[7], &infos[7].idx))
crypto/openssl/test/priority_queue_test.c
234
if (!TEST_true(ossl_pqueue_INFO_push(pq, &infos[8], &infos[8].idx))
crypto/openssl/test/priority_queue_test.c
86
if (reserve && !TEST_true(ossl_pqueue_size_t_reserve(pq, count)))
crypto/openssl/test/priority_queue_test.c
90
if (!TEST_true(ossl_pqueue_size_t_push(pq, values + i, ref + i)))
crypto/openssl/test/property_test.c
303
&& TEST_true(ossl_prop_defn_set(NULL, "red", &red));
crypto/openssl/test/property_test.c
312
r = r && TEST_true(ossl_prop_defn_set(NULL, "blue", &blue));
crypto/openssl/test/property_test.c
322
&& TEST_true(ossl_prop_defn_set(NULL, "blue", &blue2));
crypto/openssl/test/property_test.c
393
if (!TEST_true(ossl_method_store_add(store, &prov, impls[i].nid,
crypto/openssl/test/property_test.c
406
if (!TEST_true(ossl_method_store_remove(store, nid, impl))
crypto/openssl/test/property_test.c
467
if (!TEST_true(ossl_method_store_add(store, *impls[i].prov,
crypto/openssl/test/property_test.c
482
if (!TEST_true(ossl_method_store_fetch(store,
crypto/openssl/test/property_test.c
500
if (!TEST_true(ossl_method_store_fetch(store,
crypto/openssl/test/property_test.c
532
if (!TEST_true(ossl_method_store_fetch(store,
crypto/openssl/test/property_test.c
580
if (!TEST_true(ossl_method_store_add(store, &prov, i, buf, "abc",
crypto/openssl/test/property_test.c
582
|| !TEST_true(ossl_method_store_cache_set(store, &prov, i,
crypto/openssl/test/property_test.c
585
|| !TEST_true(ossl_method_store_cache_set(store, &prov, i,
crypto/openssl/test/property_test.c
614
ret = TEST_true(EVP_set_default_properties(ctx, "default=yes,fips=yes"))
crypto/openssl/test/property_test.c
615
&& TEST_true(EVP_default_properties_is_fips_enabled(ctx))
crypto/openssl/test/property_test.c
616
&& TEST_true(EVP_set_default_properties(ctx, "fips=no,default=yes"))
crypto/openssl/test/property_test.c
618
&& TEST_true(EVP_set_default_properties(ctx, "fips=no"))
crypto/openssl/test/property_test.c
620
&& TEST_true(EVP_set_default_properties(ctx, "fips!=no"))
crypto/openssl/test/property_test.c
621
&& TEST_true(EVP_default_properties_is_fips_enabled(ctx))
crypto/openssl/test/property_test.c
622
&& TEST_true(EVP_set_default_properties(ctx, "fips=no"))
crypto/openssl/test/property_test.c
624
&& TEST_true(EVP_set_default_properties(ctx, "fips=no,default=yes"))
crypto/openssl/test/property_test.c
625
&& TEST_true(EVP_default_properties_enable_fips(ctx, 1))
crypto/openssl/test/property_test.c
626
&& TEST_true(EVP_default_properties_is_fips_enabled(ctx))
crypto/openssl/test/property_test.c
627
&& TEST_true(EVP_default_properties_enable_fips(ctx, 0))
crypto/openssl/test/prov_config_test.c
103
if (!TEST_true(OSSL_LIB_CTX_load_config(ctx, pathedconfig)))
crypto/openssl/test/prov_config_test.c
32
if (!TEST_true(OSSL_LIB_CTX_load_config(ctx, configfile)))
crypto/openssl/test/prov_config_test.c
34
if (!TEST_true(OSSL_LIB_CTX_load_config(ctx, configfile)))
crypto/openssl/test/provfetchtest.c
245
if (!TEST_true(OSSL_PROVIDER_add_builtin(libctx, "dummy-prov",
crypto/openssl/test/provfetchtest.c
271
if (!TEST_true(RAND_set_DRBG_type(libctx, "DUMMY",
crypto/openssl/test/provider_default_search_path_test.c
21
ok = TEST_true(OSSL_PROVIDER_set_default_search_path(ctx, path))
crypto/openssl/test/provider_default_search_path_test.c
40
ok = TEST_true(OSSL_PROVIDER_set_default_search_path(NULL, def_libctx_path))
crypto/openssl/test/provider_default_search_path_test.c
42
&& TEST_true(OSSL_PROVIDER_set_default_search_path(ctx, path))
crypto/openssl/test/provider_fallback_test.c
21
ok = TEST_true(OSSL_PROVIDER_available(ctx, "default"))
crypto/openssl/test/provider_fallback_test.c
47
ok = TEST_true(OSSL_PROVIDER_unload(prov));
crypto/openssl/test/provider_internal_test.c
105
|| !TEST_true(OSSL_PROVIDER_available(ctx, "default"))
crypto/openssl/test/provider_internal_test.c
28
ret = TEST_true(ossl_provider_activate(prov, 1, 0))
crypto/openssl/test/provider_internal_test.c
29
&& TEST_true(ossl_provider_get_params(prov, greeting_request))
crypto/openssl/test/provider_internal_test.c
33
&& TEST_true(ossl_provider_deactivate(prov, 1));
crypto/openssl/test/provider_pkey_test.c
200
|| !TEST_true(EVP_PKEY_fromdata_init(ctx))
crypto/openssl/test/provider_pkey_test.c
201
|| !TEST_true(EVP_PKEY_fromdata(ctx, &pkey_fake, EVP_PKEY_PUBLIC_KEY,
crypto/openssl/test/provider_pkey_test.c
215
|| !TEST_true(EVP_PKEY_fromdata_init(ctx))
crypto/openssl/test/provider_pkey_test.c
216
|| !TEST_true(EVP_PKEY_fromdata(ctx, &pkey_dflt, EVP_PKEY_PUBLIC_KEY,
crypto/openssl/test/provider_pkey_test.c
262
|| !TEST_true(EVP_PKEY_fromdata_init(ctx))
crypto/openssl/test/provider_pkey_test.c
263
|| !TEST_true(EVP_PKEY_fromdata(ctx, &pkey_fake, EVP_PKEY_PUBLIC_KEY,
crypto/openssl/test/provider_pkey_test.c
265
|| !TEST_true(EVP_PKEY_can_sign(pkey_fake))
crypto/openssl/test/provider_pkey_test.c
286
|| !TEST_true(EVP_PKEY_fromdata_init(ctx))
crypto/openssl/test/provider_pkey_test.c
287
|| !TEST_true(EVP_PKEY_fromdata(ctx, &pkey_fake, EVP_PKEY_PUBLIC_KEY,
crypto/openssl/test/provider_pkey_test.c
289
|| !TEST_true(EVP_PKEY_can_sign(pkey_fake))
crypto/openssl/test/provider_pkey_test.c
513
|| !TEST_true(EVP_set_default_properties(*ctx, prop)))
crypto/openssl/test/provider_pkey_test.c
66
if (!TEST_true(fetch_sig(libctx, "RSA", "provider=fake-rsa", fake_rsa))
crypto/openssl/test/provider_pkey_test.c
67
|| !TEST_true(fetch_sig(libctx, "RSA", "?provider=fake-rsa", fake_rsa)))
crypto/openssl/test/provider_pkey_test.c
73
|| !TEST_true(EVP_PKEY_fromdata_init(ctx))
crypto/openssl/test/provider_pkey_test.c
74
|| !TEST_true(EVP_PKEY_fromdata(ctx, &pkey, EVP_PKEY_KEYPAIR, NULL))
crypto/openssl/test/provider_status_test.c
130
if (!TEST_true(OSSL_PROVIDER_get_params(prov, params)))
crypto/openssl/test/provider_status_test.c
132
if (!TEST_true(OSSL_PARAM_modified(params + 0))
crypto/openssl/test/provider_status_test.c
133
|| !TEST_true(OSSL_PARAM_modified(params + 1))
crypto/openssl/test/provider_status_test.c
134
|| !TEST_true(OSSL_PARAM_modified(params + 2))
crypto/openssl/test/provider_status_test.c
135
|| !TEST_true(OSSL_PARAM_modified(params + 3))
crypto/openssl/test/provider_status_test.c
136
|| !TEST_true(status == 1))
crypto/openssl/test/provider_status_test.c
162
if (!TEST_true(OSSL_PROVIDER_get_params(prov, params))
crypto/openssl/test/provider_status_test.c
163
|| !TEST_true(status == 1))
crypto/openssl/test/provider_status_test.c
183
if (!TEST_true(OSSL_PROVIDER_self_test(prov)))
crypto/openssl/test/provider_status_test.c
191
if (!TEST_true(OSSL_PROVIDER_get_params(prov, params))
crypto/openssl/test/provider_test.c
107
if (!TEST_true(OSSL_PROVIDER_get_params(prov, digest_check))
crypto/openssl/test/provider_test.c
119
|| !TEST_true(OSSL_PROVIDER_available(*libctx, "default")))
crypto/openssl/test/provider_test.c
125
|| !TEST_true(OSSL_PROVIDER_get_params(prov, digest_check))
crypto/openssl/test/provider_test.c
126
|| !TEST_true(digestsuccess))
crypto/openssl/test/provider_test.c
132
if (!TEST_true(OSSL_PROVIDER_unload(base)))
crypto/openssl/test/provider_test.c
135
if (!TEST_true(OSSL_PROVIDER_unload(prov)))
crypto/openssl/test/provider_test.c
172
|| !TEST_true(OSSL_PARAM_BLD_push_utf8_string(bld, "greeting", custom_buf,
crypto/openssl/test/provider_test.c
181
if (!TEST_true(OSSL_PROVIDER_get_params(prov, greeting_request))
crypto/openssl/test/provider_test.c
193
if (!TEST_true(OSSL_PROVIDER_unload(prov)))
crypto/openssl/test/provider_test.c
224
&& TEST_true(OSSL_PROVIDER_add_builtin(libctx, name,
crypto/openssl/test/provider_test.c
254
if (!TEST_true(OSSL_PROVIDER_add_builtin(libctx, name,
crypto/openssl/test/provider_test.c
73
if (!TEST_true(OSSL_PROVIDER_get_params(prov, digest_check))
crypto/openssl/test/provider_test.c
74
|| !TEST_true(digestsuccess))
crypto/openssl/test/provider_test.c
81
if (!TEST_true(OSSL_PROVIDER_get_params(prov, stop_property_mirror))
crypto/openssl/test/provider_test.c
82
|| !TEST_true(stopsuccess))
crypto/openssl/test/provider_test.c
85
if (!TEST_true(OSSL_PROVIDER_get_params(prov, digest_check))
crypto/openssl/test/provider_test.c
86
|| !TEST_true(digestsuccess))
crypto/openssl/test/provider_test.c
90
if (!TEST_true(OSSL_PROVIDER_get_params(prov, greeting_request))
crypto/openssl/test/punycode_test.c
119
if (!TEST_true(ossl_punycode_decode(tc->encoded, strlen(tc->encoded),
crypto/openssl/test/punycode_test.c
211
if (!TEST_true(WPACKET_init_len(&p, in, 0))) {
crypto/openssl/test/punycode_test.c
216
if (i > 1 && !TEST_true(WPACKET_put_bytes_u8(&p, '.')))
crypto/openssl/test/punycode_test.c
218
if (!TEST_true(WPACKET_memcpy(&p, "xn--a", sizeof("xn--a") - 1)))
crypto/openssl/test/punycode_test.c
221
if (!TEST_true(WPACKET_put_bytes_u8(&p, '\0')))
crypto/openssl/test/quic_ackm_test.c
1000
&& !TEST_true(ossl_time_is_infinite(ossl_ackm_get_ack_deadline(h.ackm, i))))
crypto/openssl/test/quic_cc_test.c
152
if (!TEST_true(net_sim_process(s, 0)))
crypto/openssl/test/quic_cc_test.c
187
if (!TEST_true(s->ccm->on_data_sent(s->cc, sz)))
crypto/openssl/test/quic_cc_test.c
190
if (!TEST_true(ossl_pqueue_NET_PKT_push(s->pkts, pkt, &pkt->idx)))
crypto/openssl/test/quic_cc_test.c
228
if (!TEST_true(!pkt->success || pkt->arrived))
crypto/openssl/test/quic_cc_test.c
237
if (!TEST_true(s->ccm->on_data_lost(s->cc, &loss_info)))
crypto/openssl/test/quic_cc_test.c
240
if (!TEST_true(s->ccm->on_data_lost_finished(s->cc, 0)))
crypto/openssl/test/quic_cc_test.c
252
if (!TEST_true(s->ccm->on_data_acked(s->cc, &ack_info)))
crypto/openssl/test/quic_cc_test.c
293
if (!TEST_true(ccm->get_option_uint(cc, OSSL_CC_OPTION_CUR_CWND_SIZE,
crypto/openssl/test/quic_cc_test.c
297
if (!TEST_true(ccm->get_option_uint(cc, OSSL_CC_OPTION_CUR_BYTES_IN_FLIGHT,
crypto/openssl/test/quic_cc_test.c
301
if (!TEST_true(ccm->get_option_uint(cc, OSSL_CC_OPTION_CUR_STATE,
crypto/openssl/test/quic_cc_test.c
349
if (!TEST_true(net_sim_init(&sim, ccm, cc, actual_capacity, 100)))
crypto/openssl/test/quic_cc_test.c
358
if (!TEST_true(ccm->set_input_params(cc, params)))
crypto/openssl/test/quic_cc_test.c
368
if (!TEST_true(ccm->bind_diagnostics(cc, params)))
crypto/openssl/test/quic_cc_test.c
406
if (!TEST_true(net_sim_send(&sim, (size_t)sz)))
crypto/openssl/test/quic_cc_test.c
505
if (!TEST_true(ccm->set_input_params(cc, params)))
crypto/openssl/test/quic_cc_test.c
517
if (!TEST_true(ccm->bind_diagnostics(cc, params))
crypto/openssl/test/quic_cc_test.c
525
if (!TEST_true(ossl_time_is_zero(ccm->get_wakeup_deadline(cc))))
crypto/openssl/test/quic_cc_test.c
533
if (!TEST_true(ccm->on_data_sent(cc, 1200)))
crypto/openssl/test/quic_cc_test.c
544
if (!TEST_true(ccm->on_data_acked(cc, &ack_info)))
crypto/openssl/test/quic_cc_test.c
552
if (!TEST_true(ccm->on_data_sent(cc, 1200)))
crypto/openssl/test/quic_cc_test.c
559
if (!TEST_true(ccm->on_data_invalidated(cc, 1200)))
crypto/openssl/test/quic_cc_test.c
570
if (!TEST_true(ccm->on_data_sent(cc, 1200)))
crypto/openssl/test/quic_cc_test.c
573
if (!TEST_true(ccm->on_data_sent(cc, 1300)))
crypto/openssl/test/quic_cc_test.c
584
if (!TEST_true(ccm->on_data_lost(cc, &loss_info)))
crypto/openssl/test/quic_cc_test.c
588
if (!TEST_true(ccm->on_data_lost(cc, &loss_info)))
crypto/openssl/test/quic_cc_test.c
591
if (!TEST_true(ccm->on_data_lost_finished(cc, 0)))
crypto/openssl/test/quic_client_test.c
110
if (!TEST_true(ret == 1 || is_want(c_ssl, ret)))
crypto/openssl/test/quic_client_test.c
124
if (!TEST_true(SSL_stream_conclude(c_ssl, 0)))
crypto/openssl/test/quic_client_test.c
137
} else if (!TEST_true(is_want(c_ssl, ret))) {
crypto/openssl/test/quic_client_test.c
198
if (!TEST_true(BIO_socket_nbio(c_fd, 1)))
crypto/openssl/test/quic_client_test.c
52
if (!TEST_true(BIO_socket_nbio(c_fd, 1)))
crypto/openssl/test/quic_client_test.c
59
if (!TEST_true(BIO_ADDR_rawmake(s_addr_, AF_INET, &ina, sizeof(ina),
crypto/openssl/test/quic_client_test.c
87
if (!TEST_true(BIO_up_ref(c_net_bio))) {
crypto/openssl/test/quic_client_test.c
95
if (!TEST_true(SSL_set_blocking_mode(c_ssl, 0)))
crypto/openssl/test/quic_fc_test.c
102
if (!TEST_true(ossl_quic_txfc_has_become_blocked(txfc, 0)))
crypto/openssl/test/quic_fc_test.c
105
if (!TEST_true(ossl_quic_txfc_has_become_blocked(txfc, 1)))
crypto/openssl/test/quic_fc_test.c
126
if (!TEST_true(ossl_quic_txfc_bump_cwm(txfc, 2500)))
crypto/openssl/test/quic_fc_test.c
129
if (is_stream && !TEST_true(ossl_quic_txfc_bump_cwm(parent_txfc, 2400)))
crypto/openssl/test/quic_fc_test.c
148
if (!TEST_true(ossl_quic_txfc_consume_credit(txfc, 399)))
crypto/openssl/test/quic_fc_test.c
157
if (!TEST_true(ossl_quic_txfc_consume_credit(txfc, 1)))
crypto/openssl/test/quic_fc_test.c
160
if (!TEST_true(ossl_quic_txfc_has_become_blocked(parent_txfc, 0)))
crypto/openssl/test/quic_fc_test.c
163
if (!TEST_true(ossl_quic_txfc_has_become_blocked(parent_txfc, 1)))
crypto/openssl/test/quic_fc_test.c
169
if (!TEST_true(ossl_quic_txfc_consume_credit(txfc, 499)))
crypto/openssl/test/quic_fc_test.c
178
if (!TEST_true(ossl_quic_txfc_consume_credit(txfc, 1)))
crypto/openssl/test/quic_fc_test.c
181
if (!TEST_true(ossl_quic_txfc_has_become_blocked(txfc, 0)))
crypto/openssl/test/quic_fc_test.c
184
if (!TEST_true(ossl_quic_txfc_has_become_blocked(txfc, 1)))
crypto/openssl/test/quic_fc_test.c
19
if (!TEST_true(ossl_quic_txfc_init(&conn_txfc, 0)))
crypto/openssl/test/quic_fc_test.c
22
if (is_stream && !TEST_true(ossl_quic_txfc_init(&stream_txfc, &conn_txfc)))
crypto/openssl/test/quic_fc_test.c
28
if (!TEST_true(ossl_quic_txfc_bump_cwm(txfc, 2000)))
crypto/openssl/test/quic_fc_test.c
31
if (is_stream && !TEST_true(ossl_quic_txfc_bump_cwm(parent_txfc, 2000)))
crypto/openssl/test/quic_fc_test.c
489
if (!TEST_true(ossl_quic_rxfc_init(&conn_rxfc, 0,
crypto/openssl/test/quic_fc_test.c
499
|| !TEST_true(conn_init_done))
crypto/openssl/test/quic_fc_test.c
502
if (!TEST_true(ossl_quic_rxfc_init(&stream_rxfc[op->stream_idx],
crypto/openssl/test/quic_fc_test.c
512
if (!TEST_true(conn_init_done && op->stream_idx < OSSL_NELEM(stream_rxfc)
crypto/openssl/test/quic_fc_test.c
516
if (!TEST_true(ossl_quic_rxfc_on_rx_stream_frame(&stream_rxfc[op->stream_idx],
crypto/openssl/test/quic_fc_test.c
524
if (!TEST_true(conn_init_done && op->stream_idx < OSSL_NELEM(stream_rxfc)
crypto/openssl/test/quic_fc_test.c
536
if (!TEST_true(conn_init_done))
crypto/openssl/test/quic_fc_test.c
543
if (!TEST_true(op->stream_idx < OSSL_NELEM(stream_rxfc)
crypto/openssl/test/quic_fc_test.c
551
if (!TEST_true(conn_init_done))
crypto/openssl/test/quic_fc_test.c
558
if (!TEST_true(op->stream_idx < OSSL_NELEM(stream_rxfc)
crypto/openssl/test/quic_fc_test.c
566
if (!TEST_true(conn_init_done))
crypto/openssl/test/quic_fc_test.c
57
if (!TEST_true(ossl_quic_txfc_consume_credit(txfc, 500)))
crypto/openssl/test/quic_fc_test.c
573
if (!TEST_true(op->stream_idx < OSSL_NELEM(stream_rxfc)
crypto/openssl/test/quic_fc_test.c
581
if (!TEST_true(conn_init_done))
crypto/openssl/test/quic_fc_test.c
589
if (!TEST_true(op->stream_idx < OSSL_NELEM(stream_rxfc)
crypto/openssl/test/quic_fc_test.c
598
if (!TEST_true(conn_init_done))
crypto/openssl/test/quic_fc_test.c
606
if (!TEST_true(op->stream_idx < OSSL_NELEM(stream_rxfc)
crypto/openssl/test/quic_fc_test.c
72
if (!TEST_true(ossl_quic_txfc_consume_credit(txfc, 100)))
crypto/openssl/test/quic_fc_test.c
87
if (!TEST_true(ossl_quic_txfc_consume_credit(txfc, 1400)))
crypto/openssl/test/quic_fc_test.c
99
if (!TEST_true(ossl_quic_txfc_has_become_blocked(txfc, 0)))
crypto/openssl/test/quic_fifd_test.c
137
if (!TEST_true(ossl_quic_sstream_append(info->sstream[i],
crypto/openssl/test/quic_fifd_test.c
146
if (!TEST_true(ossl_quic_sstream_get_stream_frame(info->sstream[i], 0,
crypto/openssl/test/quic_fifd_test.c
152
|| !TEST_true(ossl_quic_sstream_mark_transmitted(info->sstream[i],
crypto/openssl/test/quic_fifd_test.c
157
if (i == 1 && !TEST_true(ossl_quic_sstream_mark_transmitted_fin(info->sstream[i], hdr.offset + hdr.len)))
crypto/openssl/test/quic_fifd_test.c
162
if (!TEST_true(ossl_quic_txpim_pkt_append_chunk(pkt, &chunk)))
crypto/openssl/test/quic_fifd_test.c
198
if (!TEST_true(ossl_quic_fifd_pkt_commit(&info->fifd, pkt)))
crypto/openssl/test/quic_fifd_test.c
207
if (!TEST_true(ossl_ackm_on_rx_ack_frame(info->ackm, &ack,
crypto/openssl/test/quic_fifd_test.c
221
if (!TEST_true(cfq_freed))
crypto/openssl/test/quic_fifd_test.c
249
if (!TEST_true(ossl_quic_fifd_pkt_commit(&info->fifd, pkt2))
crypto/openssl/test/quic_fifd_test.c
250
|| !TEST_true(ossl_ackm_on_rx_ack_frame(info->ackm, &ack,
crypto/openssl/test/quic_fifd_test.c
260
if (!TEST_true(ossl_quic_sstream_get_stream_frame(info->sstream[i], 0,
crypto/openssl/test/quic_fifd_test.c
291
if (!TEST_true(ossl_quic_sstream_get_stream_frame(info->sstream[1], 1,
crypto/openssl/test/quic_fifd_test.c
293
|| !TEST_true(hdr.is_fin)
crypto/openssl/test/quic_fifd_test.c
300
if (!TEST_true(ossl_ackm_on_pkt_space_discarded(info->ackm, pn_space)))
crypto/openssl/test/quic_fifd_test.c
304
if (!TEST_true(cfq_freed))
crypto/openssl/test/quic_fifd_test.c
331
if (!TEST_true(ossl_statm_init(&info.statm))
crypto/openssl/test/quic_fifd_test.c
338
|| !TEST_true(ossl_ackm_on_handshake_confirmed(info.ackm))
crypto/openssl/test/quic_fifd_test.c
341
|| !TEST_true(ossl_quic_fifd_init(&info.fifd, info.cfq, info.ackm,
crypto/openssl/test/quic_fifd_test.c
356
if (!TEST_true(test_generic(&info, idx))
crypto/openssl/test/quic_lcidm_test.c
38
if (!TEST_true(ossl_quic_lcidm_enrol_odcid(lcidm, ptrs + 0, &cid8_1))
crypto/openssl/test/quic_lcidm_test.c
42
|| !TEST_true(ossl_quic_lcidm_enrol_odcid(lcidm, ptrs + 1, &cid8_3))
crypto/openssl/test/quic_lcidm_test.c
46
|| !TEST_true(ossl_quic_lcidm_retire_odcid(lcidm, ptrs + 0))
crypto/openssl/test/quic_lcidm_test.c
52
|| !TEST_true(ossl_quic_lcidm_generate_initial(lcidm, ptrs + 2, &lcid_1))
crypto/openssl/test/quic_lcidm_test.c
55
|| !TEST_true(ossl_quic_lcidm_generate(lcidm, ptrs + 2, &ncid_frame_1))
crypto/openssl/test/quic_lcidm_test.c
56
|| !TEST_true(ossl_quic_lcidm_generate(lcidm, ptrs + 2, &ncid_frame_2))
crypto/openssl/test/quic_lcidm_test.c
57
|| !TEST_true(ossl_quic_lcidm_generate(lcidm, ptrs + 2, &ncid_frame_3))
crypto/openssl/test/quic_lcidm_test.c
59
|| !TEST_true(ossl_quic_lcidm_lookup(lcidm, &lcid_1, &seq_num, &opaque))
crypto/openssl/test/quic_lcidm_test.c
62
|| !TEST_true(ossl_quic_lcidm_lookup(lcidm, &ncid_frame_1.conn_id,
crypto/openssl/test/quic_lcidm_test.c
66
|| !TEST_true(ossl_quic_lcidm_lookup(lcidm, &ncid_frame_2.conn_id,
crypto/openssl/test/quic_lcidm_test.c
70
|| !TEST_true(ossl_quic_lcidm_lookup(lcidm, &ncid_frame_3.conn_id,
crypto/openssl/test/quic_lcidm_test.c
74
|| !TEST_true(ossl_quic_lcidm_retire(lcidm, ptrs + 2, 2, NULL,
crypto/openssl/test/quic_lcidm_test.c
76
|| !TEST_true(did_retire)
crypto/openssl/test/quic_lcidm_test.c
78
|| !TEST_true(ossl_quic_lcidm_retire(lcidm, ptrs + 2, 2, NULL,
crypto/openssl/test/quic_lcidm_test.c
80
|| !TEST_true(did_retire)
crypto/openssl/test/quic_lcidm_test.c
82
|| !TEST_true(ossl_quic_lcidm_retire(lcidm, ptrs + 2, 2, NULL,
crypto/openssl/test/quic_lcidm_test.c
90
|| !TEST_true(ossl_quic_lcidm_lookup(lcidm, &ncid_frame_2.conn_id,
crypto/openssl/test/quic_lcidm_test.c
92
|| !TEST_true(ossl_quic_lcidm_cull(lcidm, ptrs + 2))
crypto/openssl/test/quic_multistream_test.c
1020
int ok = TEST_true(
crypto/openssl/test/quic_multistream_test.c
1058
if (!TEST_true(helper_local_init(hl, h, thread_idx)))
crypto/openssl/test/quic_multistream_test.c
1252
if (!TEST_true(ok))
crypto/openssl/test/quic_multistream_test.c
1301
if (!TEST_true(r)
crypto/openssl/test/quic_multistream_test.c
1316
if (!TEST_true(r)
crypto/openssl/test/quic_multistream_test.c
1328
if (!TEST_true(ossl_quic_tserver_write(ACQUIRE_S(), s_stream_id,
crypto/openssl/test/quic_multistream_test.c
1336
if (!TEST_true(SSL_stream_conclude(c_tgt, 0)))
crypto/openssl/test/quic_multistream_test.c
1398
if (!TEST_true(ossl_quic_tserver_read(ACQUIRE_S(), s_stream_id,
crypto/openssl/test/quic_multistream_test.c
1459
if (!TEST_true(helper_local_set_c_stream(hl, op->stream_name, c_stream)))
crypto/openssl/test/quic_multistream_test.c
1470
if (!TEST_true(ossl_quic_attach_stream(h->c_conn, c_tgt)))
crypto/openssl/test/quic_multistream_test.c
1473
if (!TEST_true(helper_local_set_c_stream(hl, op->stream_name, NULL)))
crypto/openssl/test/quic_multistream_test.c
1508
if (!TEST_true(helper_local_set_c_stream(hl, op->stream_name, c_stream)))
crypto/openssl/test/quic_multistream_test.c
1521
if (!TEST_true(ossl_quic_tserver_stream_new(ACQUIRE_S(),
crypto/openssl/test/quic_multistream_test.c
1530
if (!TEST_true(helper_set_s_stream(h, op->stream_name,
crypto/openssl/test/quic_multistream_test.c
1547
if (!TEST_true(helper_local_set_c_stream(hl, op->stream_name,
crypto/openssl/test/quic_multistream_test.c
1565
if (!TEST_true(helper_set_s_stream(h, op->stream_name, new_stream_id)))
crypto/openssl/test/quic_multistream_test.c
1581
|| !TEST_true(!SSL_is_connection(c_tgt)))
crypto/openssl/test/quic_multistream_test.c
1587
if (!TEST_true(helper_local_set_c_stream(hl, op->stream_name, NULL)))
crypto/openssl/test/quic_multistream_test.c
1598
if (!TEST_true(SSL_set_default_stream_mode(c_tgt, op->arg1)))
crypto/openssl/test/quic_multistream_test.c
1606
if (!TEST_true(SSL_set_incoming_stream_policy(c_tgt,
crypto/openssl/test/quic_multistream_test.c
1645
&& !TEST_true(SSL_shutdown_ex(c_tgt,
crypto/openssl/test/quic_multistream_test.c
1694
if (!TEST_true(helper_set_s_stream(h, op->stream_name, op->arg2)))
crypto/openssl/test/quic_multistream_test.c
1705
if (!TEST_true(helper_set_s_stream(h, op->stream_name, UINT64_MAX)))
crypto/openssl/test/quic_multistream_test.c
1778
if (!TEST_true(ret == 0 || (op->arg1 && bytes_read == 0)))
crypto/openssl/test/quic_multistream_test.c
1791
if (!TEST_true(SSL_stream_reset(c_tgt, &args, sizeof(args))))
crypto/openssl/test/quic_multistream_test.c
1874
if (!TEST_true(qtest_fault_set_packet_plain_listener(h->qtf,
crypto/openssl/test/quic_multistream_test.c
1884
if (!TEST_true(qtest_fault_set_handshake_listener(h->qtf,
crypto/openssl/test/quic_multistream_test.c
1894
if (!TEST_true(qtest_fault_set_datagram_listener(h->qtf,
crypto/openssl/test/quic_multistream_test.c
1922
if (!TEST_true(ossl_quic_set_write_buffer_size(c_tgt, op->arg1)))
crypto/openssl/test/quic_multistream_test.c
1928
if (!TEST_true(ossl_quic_tserver_new_ticket(ACQUIRE_S())))
crypto/openssl/test/quic_multistream_test.c
2021
if (!TEST_true(helper_init(&h, script_name,
crypto/openssl/test/quic_multistream_test.c
2025
if (!TEST_true(run_script_worker(&h, script, script_name, -1)))
crypto/openssl/test/quic_multistream_test.c
2029
if (!TEST_true(join_threads(h.threads, h.num_threads)))
crypto/openssl/test/quic_multistream_test.c
2762
if (!TEST_true(WPACKET_init_static_len(&wpkt, frame_buf,
crypto/openssl/test/quic_multistream_test.c
2766
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, h->inject_word1)))
crypto/openssl/test/quic_multistream_test.c
2776
if (!TEST_true(WPACKET_put_bytes_u64(&wpkt, (uint64_t)0)))
crypto/openssl/test/quic_multistream_test.c
2788
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, (uint64_t)0)))
crypto/openssl/test/quic_multistream_test.c
2797
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, (uint64_t)0)))
crypto/openssl/test/quic_multistream_test.c
2799
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, (uint64_t)0)))
crypto/openssl/test/quic_multistream_test.c
2808
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, (uint64_t)0)))
crypto/openssl/test/quic_multistream_test.c
2810
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, (uint64_t)0)))
crypto/openssl/test/quic_multistream_test.c
2812
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, (uint64_t)0)))
crypto/openssl/test/quic_multistream_test.c
2821
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, (uint64_t)1)))
crypto/openssl/test/quic_multistream_test.c
2825
if (!TEST_true(WPACKET_put_bytes_u8(&wpkt, (uint8_t)0)))
crypto/openssl/test/quic_multistream_test.c
2835
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, (uint64_t)0)))
crypto/openssl/test/quic_multistream_test.c
2839
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, (uint64_t)0)))
crypto/openssl/test/quic_multistream_test.c
2843
if (!TEST_true(WPACKET_put_bytes_u8(&wpkt, (uint8_t)1)))
crypto/openssl/test/quic_multistream_test.c
2847
if (!TEST_true(WPACKET_put_bytes_u8(&wpkt, (uint8_t)0)))
crypto/openssl/test/quic_multistream_test.c
2851
if (!TEST_true(WPACKET_memset(&wpkt, 0, 16)))
crypto/openssl/test/quic_multistream_test.c
2857
if (!TEST_true(WPACKET_get_total_written(&wpkt, &written)))
crypto/openssl/test/quic_multistream_test.c
2931
if (!TEST_true(WPACKET_init_static_len(&wpkt, frame_buf,
crypto/openssl/test/quic_multistream_test.c
2935
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, OSSL_QUIC_FRAME_TYPE_NEW_TOKEN))
crypto/openssl/test/quic_multistream_test.c
2936
|| !TEST_true(WPACKET_quic_write_vlint(&wpkt, 0)))
crypto/openssl/test/quic_multistream_test.c
2939
if (!TEST_true(WPACKET_get_total_written(&wpkt, &written)))
crypto/openssl/test/quic_multistream_test.c
2984
if (!TEST_true(WPACKET_init_static_len(&wpkt, frame_buf,
crypto/openssl/test/quic_multistream_test.c
2988
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, h->inject_word1))
crypto/openssl/test/quic_multistream_test.c
2989
|| !TEST_true(WPACKET_quic_write_vlint(&wpkt, (((uint64_t)1) << 60) + 1)))
crypto/openssl/test/quic_multistream_test.c
2992
if (!TEST_true(WPACKET_get_total_written(&wpkt, &written)))
crypto/openssl/test/quic_multistream_test.c
3094
if (!TEST_true(WPACKET_init_static_len(&wpkt, frame_buf,
crypto/openssl/test/quic_multistream_test.c
3098
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, h->inject_word1))
crypto/openssl/test/quic_multistream_test.c
3099
|| !TEST_true(WPACKET_quic_write_vlint(&wpkt, /* stream ID */
crypto/openssl/test/quic_multistream_test.c
3101
|| !TEST_true(WPACKET_quic_write_vlint(&wpkt, 123))
crypto/openssl/test/quic_multistream_test.c
3103
&& !TEST_true(WPACKET_quic_write_vlint(&wpkt, 5)))) /* final size */
crypto/openssl/test/quic_multistream_test.c
3106
if (!TEST_true(WPACKET_get_total_written(&wpkt, &written)))
crypto/openssl/test/quic_multistream_test.c
3252
if (!TEST_true(WPACKET_init_static_len(&wpkt, frame_buf,
crypto/openssl/test/quic_multistream_test.c
3256
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, type))
crypto/openssl/test/quic_multistream_test.c
3257
|| !TEST_true(WPACKET_quic_write_vlint(&wpkt, /* stream ID */
crypto/openssl/test/quic_multistream_test.c
3259
|| !TEST_true(WPACKET_quic_write_vlint(&wpkt, offset))
crypto/openssl/test/quic_multistream_test.c
3260
|| !TEST_true(WPACKET_quic_write_vlint(&wpkt, flen)))
crypto/openssl/test/quic_multistream_test.c
3264
if (!TEST_true(WPACKET_put_bytes_u8(&wpkt, 0x42)))
crypto/openssl/test/quic_multistream_test.c
3267
if (!TEST_true(WPACKET_get_total_written(&wpkt, &written)))
crypto/openssl/test/quic_multistream_test.c
3482
if (!TEST_true(WPACKET_init_static_len(&wpkt, frame_buf,
crypto/openssl/test/quic_multistream_test.c
3486
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, OSSL_QUIC_FRAME_TYPE_NEW_CONN_ID))
crypto/openssl/test/quic_multistream_test.c
3487
|| !TEST_true(WPACKET_quic_write_vlint(&wpkt, seq_no)) /* seq no */
crypto/openssl/test/quic_multistream_test.c
3488
|| !TEST_true(WPACKET_quic_write_vlint(&wpkt, retire_prior_to)) /* retire prior to */
crypto/openssl/test/quic_multistream_test.c
3489
|| !TEST_true(WPACKET_put_bytes_u8(&wpkt, new_cid.id_len))) /* len */
crypto/openssl/test/quic_multistream_test.c
3493
if (!TEST_true(WPACKET_put_bytes_u8(&wpkt, new_cid.id[i])))
crypto/openssl/test/quic_multistream_test.c
3497
if (!TEST_true(WPACKET_put_bytes_u8(&wpkt, 0x55)))
crypto/openssl/test/quic_multistream_test.c
3501
if (!TEST_true(WPACKET_put_bytes_u8(&wpkt, 0x42)))
crypto/openssl/test/quic_multistream_test.c
3504
if (!TEST_true(WPACKET_get_total_written(&wpkt, &written)))
crypto/openssl/test/quic_multistream_test.c
353
if (!TEST_true(CRYPTO_THREAD_read_lock(h->time_lock)))
crypto/openssl/test/quic_multistream_test.c
3592
if (!TEST_true(WPACKET_init_static_len(&wpkt, frame_buf,
crypto/openssl/test/quic_multistream_test.c
3596
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, h->inject_word1))
crypto/openssl/test/quic_multistream_test.c
3597
|| !TEST_true(WPACKET_put_bytes_u64(&wpkt, path_challenge)))
crypto/openssl/test/quic_multistream_test.c
3600
if (!TEST_true(WPACKET_get_total_written(&wpkt, &written))
crypto/openssl/test/quic_multistream_test.c
3630
if (!TEST_true(PACKET_buf_init(&pkt, buf, len))) {
crypto/openssl/test/quic_multistream_test.c
3635
if (!TEST_true(ossl_quic_wire_peek_frame_header(&pkt, &frame_type,
crypto/openssl/test/quic_multistream_test.c
364
if (!TEST_true(CRYPTO_THREAD_write_lock(h->time_lock)))
crypto/openssl/test/quic_multistream_test.c
3644
if (!TEST_true(ossl_quic_wire_decode_frame_path_response(&pkt, &frame_data))
crypto/openssl/test/quic_multistream_test.c
3708
if (!TEST_true(WPACKET_init_static_len(&wpkt, frame_buf,
crypto/openssl/test/quic_multistream_test.c
3712
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, OSSL_QUIC_FRAME_TYPE_CRYPTO))
crypto/openssl/test/quic_multistream_test.c
3713
|| !TEST_true(WPACKET_quic_write_vlint(&wpkt, h->inject_word1))
crypto/openssl/test/quic_multistream_test.c
3714
|| !TEST_true(WPACKET_quic_write_vlint(&wpkt, 1))
crypto/openssl/test/quic_multistream_test.c
3715
|| !TEST_true(WPACKET_put_bytes_u8(&wpkt, 0x42)))
crypto/openssl/test/quic_multistream_test.c
3718
if (!TEST_true(WPACKET_get_total_written(&wpkt, &written)))
crypto/openssl/test/quic_multistream_test.c
3786
if (!TEST_true(WPACKET_init_static_len(&wpkt, frame_buf,
crypto/openssl/test/quic_multistream_test.c
3790
if (!TEST_true(ossl_quic_wire_encode_padding(&wpkt, 1)))
crypto/openssl/test/quic_multistream_test.c
3793
if (!TEST_true(WPACKET_get_total_written(&wpkt, &written)))
crypto/openssl/test/quic_multistream_test.c
3832
if (!TEST_true(ossl_quic_tserver_ping(ACQUIRE_S())))
crypto/openssl/test/quic_multistream_test.c
3889
if (!TEST_true(WPACKET_init_static_len(&wpkt, frame_buf,
crypto/openssl/test/quic_multistream_test.c
3935
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, type))
crypto/openssl/test/quic_multistream_test.c
3936
|| !TEST_true(WPACKET_quic_write_vlint(&wpkt, largest_acked))
crypto/openssl/test/quic_multistream_test.c
3937
|| !TEST_true(WPACKET_quic_write_vlint(&wpkt, /*ack_delay=*/0))
crypto/openssl/test/quic_multistream_test.c
3938
|| !TEST_true(WPACKET_quic_write_vlint(&wpkt, /*ack_range_count=*/range_count))
crypto/openssl/test/quic_multistream_test.c
3939
|| !TEST_true(WPACKET_quic_write_vlint(&wpkt, /*first_ack_range=*/first_range)))
crypto/openssl/test/quic_multistream_test.c
3943
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, /*range[0].gap=*/agap))
crypto/openssl/test/quic_multistream_test.c
3944
|| !TEST_true(WPACKET_quic_write_vlint(&wpkt, /*range[0].len=*/alen)))
crypto/openssl/test/quic_multistream_test.c
3948
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, ect0))
crypto/openssl/test/quic_multistream_test.c
3949
|| !TEST_true(WPACKET_quic_write_vlint(&wpkt, ect1))
crypto/openssl/test/quic_multistream_test.c
3950
|| !TEST_true(WPACKET_quic_write_vlint(&wpkt, ecnce)))
crypto/openssl/test/quic_multistream_test.c
3953
if (!TEST_true(WPACKET_get_total_written(&wpkt, &written)))
crypto/openssl/test/quic_multistream_test.c
4100
if (!TEST_true(WPACKET_init_static_len(&wpkt, frame_buf,
crypto/openssl/test/quic_multistream_test.c
4104
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, type)))
crypto/openssl/test/quic_multistream_test.c
4108
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, C_BIDI_ID(0))))
crypto/openssl/test/quic_multistream_test.c
4111
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, 0xFFFFFF)))
crypto/openssl/test/quic_multistream_test.c
4114
if (!TEST_true(WPACKET_get_total_written(&wpkt, &written)))
crypto/openssl/test/quic_multistream_test.c
4206
if (!TEST_true(WPACKET_init_static_len(&wpkt, frame_buf, frame_len, 0)))
crypto/openssl/test/quic_multistream_test.c
4209
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, OSSL_QUIC_FRAME_TYPE_CRYPTO))
crypto/openssl/test/quic_multistream_test.c
4210
|| !TEST_true(WPACKET_quic_write_vlint(&wpkt, offset))
crypto/openssl/test/quic_multistream_test.c
4211
|| !TEST_true(WPACKET_quic_write_vlint(&wpkt, data_len)))
crypto/openssl/test/quic_multistream_test.c
4215
if (!TEST_true(WPACKET_put_bytes_u8(&wpkt, 0x42)))
crypto/openssl/test/quic_multistream_test.c
4218
if (!TEST_true(WPACKET_get_total_written(&wpkt, &written)))
crypto/openssl/test/quic_multistream_test.c
426
if (!TEST_true(SSL_key_update(h->c_conn, SSL_KEY_UPDATE_REQUESTED)))
crypto/openssl/test/quic_multistream_test.c
4359
if (!TEST_true(WPACKET_init_static_len(&wpkt, frame_buf,
crypto/openssl/test/quic_multistream_test.c
4364
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, OSSL_QUIC_FRAME_TYPE_HANDSHAKE_DONE)))
crypto/openssl/test/quic_multistream_test.c
4368
if (!TEST_true(WPACKET_put_bytes_u8(&wpkt, 0x40))
crypto/openssl/test/quic_multistream_test.c
4369
|| !TEST_true(WPACKET_put_bytes_u8(&wpkt, 0x1E)))
crypto/openssl/test/quic_multistream_test.c
4373
if (!TEST_true(WPACKET_get_total_written(&wpkt, &written)))
crypto/openssl/test/quic_multistream_test.c
4482
if (!TEST_true(WPACKET_init_static_len(&wpkt, frame_buf,
crypto/openssl/test/quic_multistream_test.c
4486
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, h->inject_word0))
crypto/openssl/test/quic_multistream_test.c
4487
|| !TEST_true(WPACKET_quic_write_vlint(&wpkt, /* stream ID */
crypto/openssl/test/quic_multistream_test.c
4489
|| !TEST_true(WPACKET_quic_write_vlint(&wpkt, 123))
crypto/openssl/test/quic_multistream_test.c
4491
&& !TEST_true(WPACKET_quic_write_vlint(&wpkt, 0)))) /* final size */
crypto/openssl/test/quic_multistream_test.c
4494
if (!TEST_true(WPACKET_get_total_written(&wpkt, &written)))
crypto/openssl/test/quic_multistream_test.c
4607
if (!TEST_true(WPACKET_init_static_len(&wpkt, frame_buf,
crypto/openssl/test/quic_multistream_test.c
4611
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, OSSL_QUIC_FRAME_TYPE_CRYPTO))
crypto/openssl/test/quic_multistream_test.c
4612
|| !TEST_true(WPACKET_quic_write_vlint(&wpkt, 0))
crypto/openssl/test/quic_multistream_test.c
4613
|| !TEST_true(WPACKET_quic_write_vlint(&wpkt, 0)))
crypto/openssl/test/quic_multistream_test.c
4616
if (!TEST_true(WPACKET_get_total_written(&wpkt, &written)))
crypto/openssl/test/quic_multistream_test.c
4662
if (!TEST_true(WPACKET_init_static_len(&wpkt, frame_buf,
crypto/openssl/test/quic_multistream_test.c
4666
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, h->inject_word1)))
crypto/openssl/test/quic_multistream_test.c
4670
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, /* stream ID */
crypto/openssl/test/quic_multistream_test.c
4674
if (!TEST_true(WPACKET_quic_write_vlint(&wpkt, OSSL_QUIC_VLINT_MAX)))
crypto/openssl/test/quic_multistream_test.c
4677
if (!TEST_true(WPACKET_get_total_written(&wpkt, &written)))
crypto/openssl/test/quic_multistream_test.c
4778
if (!TEST_true(qtest_fault_resize_message(h->qtf,
crypto/openssl/test/quic_multistream_test.c
4834
if (!TEST_true(ossl_quic_tserver_set_max_early_data(ACQUIRE_S(),
crypto/openssl/test/quic_multistream_test.c
4948
if (!TEST_true(ossl_quic_wire_encode_pkt_hdr(wpkt, 0, &hdr, NULL)))
crypto/openssl/test/quic_multistream_test.c
4951
if (!TEST_true(WPACKET_put_bytes_u32(wpkt, version)))
crypto/openssl/test/quic_multistream_test.c
4979
if (!TEST_true(WPACKET_init(&wpkt, buf)))
crypto/openssl/test/quic_multistream_test.c
4986
if (!TEST_true(WPACKET_get_total_written(&wpkt, &l)))
crypto/openssl/test/quic_multistream_test.c
4989
if (!TEST_true(qtest_fault_resize_datagram(h->qtf, l)))
crypto/openssl/test/quic_multistream_test.c
5162
if (!TEST_true(ossl_quic_tserver_new_ticket(ACQUIRE_S())))
crypto/openssl/test/quic_multistream_test.c
5278
if (!TEST_true(WPACKET_init_static_len(&wpkt, frame_buf,
crypto/openssl/test/quic_multistream_test.c
5290
if (!TEST_true(ossl_quic_wire_encode_frame_new_conn_id(&wpkt, &ncid)))
crypto/openssl/test/quic_multistream_test.c
5293
if (!TEST_true(WPACKET_get_total_written(&wpkt, &l)))
crypto/openssl/test/quic_multistream_test.c
5349
if (!TEST_true(SSL_set_feature_request_uint(h->c_conn,
crypto/openssl/test/quic_multistream_test.c
5354
if (!TEST_true(SSL_get_feature_request_uint(h->c_conn,
crypto/openssl/test/quic_multistream_test.c
5369
if (!TEST_true(SSL_get_value_uint(h->c_conn, hl->check_op->arg1,
crypto/openssl/test/quic_multistream_test.c
5415
if (!TEST_true(SSL_get_feature_request_uint(h->c_conn,
crypto/openssl/test/quic_multistream_test.c
5453
if (!TEST_true(SSL_get_quic_stream_bidi_local_avail(h->c_conn, &v)))
crypto/openssl/test/quic_multistream_test.c
5457
if (!TEST_true(SSL_get_quic_stream_bidi_remote_avail(h->c_conn, &v)))
crypto/openssl/test/quic_multistream_test.c
5461
if (!TEST_true(SSL_get_quic_stream_uni_local_avail(h->c_conn, &v)))
crypto/openssl/test/quic_multistream_test.c
5465
if (!TEST_true(SSL_get_quic_stream_uni_remote_avail(h->c_conn, &v)))
crypto/openssl/test/quic_multistream_test.c
5489
if (!TEST_true(SSL_get_stream_write_buf_size(c_a, &size))
crypto/openssl/test/quic_multistream_test.c
5490
|| !TEST_true(SSL_get_stream_write_buf_used(c_a, &used))
crypto/openssl/test/quic_multistream_test.c
5491
|| !TEST_true(SSL_get_stream_write_buf_avail(c_a, &avail))
crypto/openssl/test/quic_multistream_test.c
724
if (!TEST_true(BIO_socket_nbio(h->s_fd, 1)))
crypto/openssl/test/quic_multistream_test.c
731
if (!TEST_true(BIO_ADDR_rawmake(h->s_net_bio_orig_addr, AF_INET,
crypto/openssl/test/quic_multistream_test.c
735
if (!TEST_true(BIO_bind(h->s_fd, h->s_net_bio_orig_addr, 0)))
crypto/openssl/test/quic_multistream_test.c
739
if (!TEST_true(BIO_sock_info(h->s_fd, BIO_SOCK_INFO_ADDRESS, &info)))
crypto/openssl/test/quic_multistream_test.c
791
if (!TEST_true(BIO_socket_nbio(h->c_fd, 1)))
crypto/openssl/test/quic_multistream_test.c
797
if (!TEST_true(BIO_dgram_set_peer(h->c_net_bio, h->s_net_bio_addr)))
crypto/openssl/test/quic_multistream_test.c
805
if (!TEST_true(ossl_quic_set_diag_title(h->c_ctx, title)))
crypto/openssl/test/quic_multistream_test.c
812
if (!TEST_true(ossl_quic_set_override_now_cb(h->c_conn, get_time, h)))
crypto/openssl/test/quic_multistream_test.c
819
if (!TEST_true(BIO_up_ref(h->c_net_bio)))
crypto/openssl/test/quic_multistream_test.c
824
if (!TEST_true(SSL_set_blocking_mode(h->c_conn, h->blocking)))
crypto/openssl/test/quic_newcid_test.c
101
if (!fail && !TEST_true(ossl_quic_tserver_set_new_local_cid(qtserv, &conn_id)))
crypto/openssl/test/quic_newcid_test.c
103
if (!TEST_true(ossl_quic_tserver_write(qtserv, 0,
crypto/openssl/test/quic_newcid_test.c
108
if (!TEST_true(ncid_injected))
crypto/openssl/test/quic_newcid_test.c
115
if (!TEST_true(SSL_handle_events(cssl)))
crypto/openssl/test/quic_newcid_test.c
128
if (!TEST_true(ossl_quic_tserver_read(qtserv, 0, buf, sizeof(buf),
crypto/openssl/test/quic_newcid_test.c
70
if (!TEST_true(qtest_create_quic_objects(NULL, cctx, NULL, cert, privkey, 0,
crypto/openssl/test/quic_newcid_test.c
74
if (!TEST_true(qtest_create_quic_connection(qtserv, cssl)))
crypto/openssl/test/quic_newcid_test.c
81
if (!TEST_true(ossl_quic_tserver_read(qtserv, 0, buf, sizeof(buf),
crypto/openssl/test/quic_newcid_test.c
97
if (!TEST_true(qtest_fault_set_packet_plain_listener(fault,
crypto/openssl/test/quic_qlog_test.c
100
if (!TEST_true(ossl_qlog_set_event_type_enabled(qlog, QLOG_EVENT_TYPE_transport_packet_sent, 1)))
crypto/openssl/test/quic_qlog_test.c
106
if (!TEST_true(ossl_qlog_set_sink_bio(qlog, bio)))
crypto/openssl/test/quic_qlog_test.c
138
if (!TEST_true(ossl_qlog_flush(qlog)))
crypto/openssl/test/quic_rcidm_test.c
100
|| !TEST_true(ossl_quic_rcidm_get_preferred_tx_dcid(rcidm, &dcid_out))
crypto/openssl/test/quic_rcidm_test.c
101
|| !TEST_true(ossl_quic_conn_id_eq(&dcid_out, &cid8_3))
crypto/openssl/test/quic_rcidm_test.c
103
|| !TEST_true(ossl_quic_rcidm_peek_retire_seq_num(rcidm, &seq_num_out))
crypto/openssl/test/quic_rcidm_test.c
109
if (!TEST_true(ossl_quic_rcidm_get_preferred_tx_dcid_changed(rcidm, 1))
crypto/openssl/test/quic_rcidm_test.c
111
|| !TEST_true(ossl_quic_rcidm_get_preferred_tx_dcid(rcidm, &dcid_out))
crypto/openssl/test/quic_rcidm_test.c
112
|| !TEST_true(ossl_quic_conn_id_eq(&dcid_out, &cid8_4))
crypto/openssl/test/quic_rcidm_test.c
114
|| !TEST_true(ossl_quic_rcidm_peek_retire_seq_num(rcidm, &seq_num_out))
crypto/openssl/test/quic_rcidm_test.c
116
|| !TEST_true(ossl_quic_rcidm_pop_retire_seq_num(rcidm, &seq_num_out))
crypto/openssl/test/quic_rcidm_test.c
118
|| !TEST_true(ossl_quic_rcidm_pop_retire_seq_num(rcidm, &seq_num_out))
crypto/openssl/test/quic_rcidm_test.c
47
!TEST_true(ossl_quic_rcidm_get_preferred_tx_dcid_changed(rcidm, 1))
crypto/openssl/test/quic_rcidm_test.c
49
|| !TEST_true(ossl_quic_rcidm_get_preferred_tx_dcid(rcidm, &dcid_out))
crypto/openssl/test/quic_rcidm_test.c
51
|| !TEST_true(ossl_quic_conn_id_eq(&dcid_out, &cid8_1))
crypto/openssl/test/quic_rcidm_test.c
61
if (!TEST_true(ossl_quic_rcidm_add_from_server_retry(rcidm, &cid8_5))
crypto/openssl/test/quic_rcidm_test.c
62
|| !TEST_true(ossl_quic_rcidm_get_preferred_tx_dcid_changed(rcidm, 1))
crypto/openssl/test/quic_rcidm_test.c
64
|| !TEST_true(ossl_quic_rcidm_get_preferred_tx_dcid(rcidm, &dcid_out))
crypto/openssl/test/quic_rcidm_test.c
66
|| !TEST_true(ossl_quic_conn_id_eq(&dcid_out, &cid8_5))
crypto/openssl/test/quic_rcidm_test.c
71
if (!TEST_true(ossl_quic_rcidm_add_from_initial(rcidm, &cid8_2))
crypto/openssl/test/quic_rcidm_test.c
74
|| !TEST_true(ossl_quic_rcidm_get_preferred_tx_dcid_changed(rcidm, 1))
crypto/openssl/test/quic_rcidm_test.c
76
|| !TEST_true(ossl_quic_rcidm_get_preferred_tx_dcid(rcidm, &dcid_out))
crypto/openssl/test/quic_rcidm_test.c
77
|| !TEST_true(ossl_quic_conn_id_eq(&dcid_out, &cid8_2))
crypto/openssl/test/quic_rcidm_test.c
79
|| !TEST_true(ossl_quic_rcidm_add_from_ncid(rcidm, &ncid_frame_1))
crypto/openssl/test/quic_rcidm_test.c
83
|| !TEST_true(ossl_quic_rcidm_get_preferred_tx_dcid(rcidm, &dcid_out))
crypto/openssl/test/quic_rcidm_test.c
84
|| !TEST_true(ossl_quic_conn_id_eq(&dcid_out, &cid8_2))
crypto/openssl/test/quic_rcidm_test.c
86
|| !TEST_true(ossl_quic_rcidm_add_from_ncid(rcidm, &ncid_frame_2))
crypto/openssl/test/quic_rcidm_test.c
92
|| !TEST_true(ossl_quic_rcidm_get_preferred_tx_dcid(rcidm, &dcid_out))
crypto/openssl/test/quic_rcidm_test.c
93
|| !TEST_true(ossl_quic_conn_id_eq(&dcid_out, &cid8_2)))
crypto/openssl/test/quic_rcidm_test.c
98
if (!TEST_true(ossl_quic_rcidm_get_preferred_tx_dcid_changed(rcidm, 1))
crypto/openssl/test/quic_record_test.c
2018
if (!TEST_true(rx_state_ensure(&s)))
crypto/openssl/test/quic_record_test.c
2023
if (!TEST_true(rx_state_ensure(&s)))
crypto/openssl/test/quic_record_test.c
2025
if (!TEST_true(ossl_qrx_provide_secret(s.qrx, op->enc_level,
crypto/openssl/test/quic_record_test.c
2032
if (!TEST_true(rx_state_ensure(&s)))
crypto/openssl/test/quic_record_test.c
2034
if (!TEST_true(ossl_quic_provide_initial_secret(NULL, NULL,
crypto/openssl/test/quic_record_test.c
2040
if (!TEST_true(rx_state_ensure(&s)))
crypto/openssl/test/quic_record_test.c
2042
if (!TEST_true(ossl_qrx_discard_enc_level(s.qrx, op->enc_level)))
crypto/openssl/test/quic_record_test.c
2046
if (!TEST_true(rx_state_ensure(&s)))
crypto/openssl/test/quic_record_test.c
2048
if (!TEST_true(ossl_quic_demux_inject(s.demux,
crypto/openssl/test/quic_record_test.c
2054
if (!TEST_true(rx_state_ensure(&s)))
crypto/openssl/test/quic_record_test.c
2057
if (!TEST_true(ossl_qrx_read_pkt(s.qrx, &pkt)))
crypto/openssl/test/quic_record_test.c
2067
if (!TEST_true(cmp_pkt_hdr(pkt->hdr, op->hdr,
crypto/openssl/test/quic_record_test.c
2077
if (!TEST_true(rx_state_ensure(&s)))
crypto/openssl/test/quic_record_test.c
2085
if (!TEST_true(rx_state_ensure(&s)))
crypto/openssl/test/quic_record_test.c
2094
if (!TEST_true(rx_state_ensure(&s)))
crypto/openssl/test/quic_record_test.c
2102
if (!TEST_true(rx_state_ensure(&s)))
crypto/openssl/test/quic_record_test.c
2105
if (!TEST_true(ossl_qrx_key_update_timeout(s.qrx,
crypto/openssl/test/quic_record_test.c
2117
if (!TEST_true(rx_state_ensure(&s)))
crypto/openssl/test/quic_record_test.c
3000
if (!TEST_true(WPACKET_init_static_len(&wpkt, buf, TEST_PKT_BUF_LEN, 0)))
crypto/openssl/test/quic_record_test.c
3003
if (!TEST_true(PACKET_buf_init(&pkt, t->expected, trunc_len)))
crypto/openssl/test/quic_record_test.c
3012
if (!TEST_true(cmp_pkt_hdr(&hdr, &t->hdr, t->payload, t->payload_len, 1)))
crypto/openssl/test/quic_record_test.c
3034
if (!TEST_true(ossl_quic_wire_encode_pkt_hdr(&wpkt, t->short_conn_id_len, &hdr, &wptrs)))
crypto/openssl/test/quic_record_test.c
3037
if (!TEST_true(WPACKET_memcpy(&wpkt, t->payload, t->payload_len)))
crypto/openssl/test/quic_record_test.c
3040
if (!TEST_true(WPACKET_get_total_written(&wpkt, &l)))
crypto/openssl/test/quic_record_test.c
3048
if (!TEST_true(ossl_quic_hdr_protector_init(&hpr, NULL, NULL,
crypto/openssl/test/quic_record_test.c
3070
if (!TEST_true(ossl_quic_hdr_protector_encrypt(&hpr, &ptrs)))
crypto/openssl/test/quic_record_test.c
3108
if (!TEST_true(ossl_quic_hdr_protector_decrypt(&hpr, &ptrs)))
crypto/openssl/test/quic_record_test.c
3133
if (!TEST_true(test_wire_pkt_hdr_actual(tidx, repeat, cipher,
crypto/openssl/test/quic_record_test.c
3139
if (!TEST_true(test_wire_pkt_hdr_actual(tidx, repeat, cipher, i)))
crypto/openssl/test/quic_record_test.c
3829
if (!TEST_true(ossl_qtx_provide_secret(qtx, op->enc_level,
crypto/openssl/test/quic_record_test.c
3835
if (!TEST_true(ossl_quic_provide_initial_secret(NULL, NULL,
crypto/openssl/test/quic_record_test.c
3842
if (!TEST_true(ossl_qtx_discard_enc_level(qtx, op->enc_level)))
crypto/openssl/test/quic_record_test.c
3861
if (!TEST_true(ossl_qtx_write_pkt(qtx, op->pkt)))
crypto/openssl/test/quic_record_test.c
3871
if (!TEST_true(ossl_qtx_pop_net(qtx, &msg)))
crypto/openssl/test/quic_record_test.c
3883
if (!TEST_true(ossl_qtx_trigger_key_update(qtx)))
crypto/openssl/test/quic_record_test_util.h
33
|| !TEST_true(ossl_quic_conn_id_eq(&a->dst_conn_id, &b->dst_conn_id))
crypto/openssl/test/quic_record_test_util.h
34
|| !TEST_true(ossl_quic_conn_id_eq(&a->src_conn_id, &b->src_conn_id))
crypto/openssl/test/quic_srt_gen_test.c
58
if (!TEST_true(ossl_quic_srt_gen_calculate_token(srt_gen, &t->dcid,
crypto/openssl/test/quic_srtm_test.c
29
if (!TEST_true(ossl_quic_srtm_add(srtm, ptrs + 0, 0, &token_1))
crypto/openssl/test/quic_srtm_test.c
33
|| !TEST_true(ossl_quic_srtm_cull(srtm, ptrs + 3))
crypto/openssl/test/quic_srtm_test.c
34
|| !TEST_true(ossl_quic_srtm_cull(srtm, ptrs + 3))
crypto/openssl/test/quic_srtm_test.c
35
|| !TEST_true(ossl_quic_srtm_add(srtm, ptrs + 0, 1, &token_1))
crypto/openssl/test/quic_srtm_test.c
36
|| !TEST_true(ossl_quic_srtm_add(srtm, ptrs + 0, 2, &token_1))
crypto/openssl/test/quic_srtm_test.c
37
|| !TEST_true(ossl_quic_srtm_add(srtm, ptrs + 0, 3, &token_1))
crypto/openssl/test/quic_srtm_test.c
38
|| !TEST_true(ossl_quic_srtm_add(srtm, ptrs + 1, 0, &token_1))
crypto/openssl/test/quic_srtm_test.c
39
|| !TEST_true(ossl_quic_srtm_add(srtm, ptrs + 2, 0, &token_2))
crypto/openssl/test/quic_srtm_test.c
40
|| !TEST_true(ossl_quic_srtm_add(srtm, ptrs + 3, 3, &token_2))
crypto/openssl/test/quic_srtm_test.c
41
|| !TEST_true(ossl_quic_srtm_remove(srtm, ptrs + 3, 3))
crypto/openssl/test/quic_srtm_test.c
42
|| !TEST_true(ossl_quic_srtm_lookup(srtm, &token_1, 0, &opaque, &seq_num))
crypto/openssl/test/quic_srtm_test.c
45
|| !TEST_true(ossl_quic_srtm_lookup(srtm, &token_1, 1, &opaque, &seq_num))
crypto/openssl/test/quic_srtm_test.c
48
|| !TEST_true(ossl_quic_srtm_lookup(srtm, &token_1, 2, &opaque, &seq_num))
crypto/openssl/test/quic_srtm_test.c
51
|| !TEST_true(ossl_quic_srtm_lookup(srtm, &token_1, 3, &opaque, &seq_num))
crypto/openssl/test/quic_srtm_test.c
54
|| !TEST_true(ossl_quic_srtm_lookup(srtm, &token_1, 4, &opaque, &seq_num))
crypto/openssl/test/quic_srtm_test.c
58
|| !TEST_true(ossl_quic_srtm_cull(srtm, ptrs + 0))
crypto/openssl/test/quic_srtm_test.c
59
|| !TEST_true(ossl_quic_srtm_lookup(srtm, &token_1, 0, &opaque, &seq_num))
crypto/openssl/test/quic_srtm_test.c
62
|| !TEST_true(ossl_quic_srtm_lookup(srtm, &token_2, 0, &opaque, &seq_num))
crypto/openssl/test/quic_srtm_test.c
65
|| !TEST_true(ossl_quic_srtm_remove(srtm, ptrs + 2, 0))
crypto/openssl/test/quic_stream_test.c
101
if (!TEST_true(ossl_quic_sstream_mark_transmitted(sstream, 8, 15)))
crypto/openssl/test/quic_stream_test.c
111
if (!TEST_true(ossl_quic_sstream_mark_lost(sstream, 4, 6)))
crypto/openssl/test/quic_stream_test.c
116
if (!TEST_true(ossl_quic_sstream_get_stream_frame(sstream, 0, &hdr, iov,
crypto/openssl/test/quic_stream_test.c
124
if (!TEST_true(compare_iov(data_1 + 4, 3, iov, num_iov)))
crypto/openssl/test/quic_stream_test.c
128
if (!TEST_true(ossl_quic_sstream_mark_transmitted(sstream, 4, 6)))
crypto/openssl/test/quic_stream_test.c
141
if (!TEST_true(ossl_quic_sstream_mark_acked(sstream, 1, 7))
crypto/openssl/test/quic_stream_test.c
146
if (!TEST_true(ossl_quic_sstream_mark_acked(sstream, 0, 0))
crypto/openssl/test/quic_stream_test.c
150
if (!TEST_true(ossl_quic_sstream_mark_acked(sstream, 0, 15))
crypto/openssl/test/quic_stream_test.c
160
if (!TEST_true(ossl_quic_sstream_get_stream_frame(sstream, 0, &hdr, iov,
crypto/openssl/test/quic_stream_test.c
164
|| !TEST_true(hdr.is_fin)
crypto/openssl/test/quic_stream_test.c
169
if (!TEST_true(ossl_quic_sstream_mark_transmitted_fin(sstream, 16)))
crypto/openssl/test/quic_stream_test.c
179
if (!TEST_true(ossl_quic_sstream_mark_lost_fin(sstream)))
crypto/openssl/test/quic_stream_test.c
185
if (!TEST_true(ossl_quic_sstream_get_stream_frame(sstream, 0, &hdr, iov,
crypto/openssl/test/quic_stream_test.c
189
|| !TEST_true(hdr.is_fin)
crypto/openssl/test/quic_stream_test.c
194
if (!TEST_true(ossl_quic_sstream_mark_transmitted_fin(sstream, 16)))
crypto/openssl/test/quic_stream_test.c
204
if (!TEST_true(ossl_quic_sstream_mark_acked_fin(sstream)))
crypto/openssl/test/quic_stream_test.c
207
if (!TEST_true(ossl_quic_sstream_is_totally_acked(sstream)))
crypto/openssl/test/quic_stream_test.c
249
if (!TEST_true(ossl_quic_sstream_append(sstream, src_buf, init_size / 2,
crypto/openssl/test/quic_stream_test.c
252
|| !TEST_true(ossl_quic_sstream_mark_transmitted(sstream, 0,
crypto/openssl/test/quic_stream_test.c
254
|| !TEST_true(ossl_quic_sstream_mark_acked(sstream, 0,
crypto/openssl/test/quic_stream_test.c
268
if (!TEST_true(ossl_quic_sstream_append(sstream, src_buf, l, &consumed)))
crypto/openssl/test/quic_stream_test.c
291
} else if (!TEST_true(ossl_quic_sstream_mark_transmitted(sstream,
crypto/openssl/test/quic_stream_test.c
300
if (!TEST_true(ossl_quic_sstream_set_buffer_size(sstream, init_size * 2))
crypto/openssl/test/quic_stream_test.c
301
|| !TEST_true(ossl_quic_sstream_set_buffer_size(sstream, init_size)))
crypto/openssl/test/quic_stream_test.c
308
if (!TEST_true(ossl_quic_sstream_get_stream_frame(sstream, i, &hdr, iov,
crypto/openssl/test/quic_stream_test.c
392
if (!TEST_true(ossl_quic_rstream_queue_data(rstream, NULL, 5,
crypto/openssl/test/quic_stream_test.c
394
|| !TEST_true(ossl_quic_rstream_queue_data(rstream, NULL,
crypto/openssl/test/quic_stream_test.c
398
|| !TEST_true(ossl_quic_rstream_peek(rstream, buf, sizeof(buf),
crypto/openssl/test/quic_stream_test.c
402
|| !TEST_true(ossl_quic_rstream_queue_data(rstream, NULL,
crypto/openssl/test/quic_stream_test.c
406
|| !TEST_true(ossl_quic_rstream_queue_data(rstream, NULL, 0,
crypto/openssl/test/quic_stream_test.c
408
|| !TEST_true(ossl_quic_rstream_peek(rstream, buf, sizeof(buf),
crypto/openssl/test/quic_stream_test.c
415
&& !TEST_true(ossl_quic_rstream_resize_rbuf(rstream,
crypto/openssl/test/quic_stream_test.c
417
|| (use_rbuf && !TEST_true(ossl_quic_rstream_move_to_rbuf(rstream)))
crypto/openssl/test/quic_stream_test.c
418
|| !TEST_true(ossl_quic_rstream_queue_data(rstream, NULL,
crypto/openssl/test/quic_stream_test.c
421
|| !TEST_true(ossl_quic_rstream_queue_data(rstream, NULL,
crypto/openssl/test/quic_stream_test.c
425
|| !TEST_true(ossl_quic_rstream_peek(rstream, buf, sizeof(buf),
crypto/openssl/test/quic_stream_test.c
430
|| !TEST_true(ossl_quic_rstream_queue_data(rstream, NULL,
crypto/openssl/test/quic_stream_test.c
434
|| !TEST_true(ossl_quic_rstream_available(rstream, &avail, &fin))
crypto/openssl/test/quic_stream_test.c
435
|| !TEST_true(fin)
crypto/openssl/test/quic_stream_test.c
437
|| !TEST_true(read_fn(rstream, buf, 2, &readbytes, &fin))
crypto/openssl/test/quic_stream_test.c
441
|| !TEST_true(read_fn(rstream, buf + 2, 12, &readbytes, &fin))
crypto/openssl/test/quic_stream_test.c
445
|| !TEST_true(ossl_quic_rstream_queue_data(rstream, NULL,
crypto/openssl/test/quic_stream_test.c
450
&& !TEST_true(ossl_quic_rstream_resize_rbuf(rstream,
crypto/openssl/test/quic_stream_test.c
452
|| (use_rbuf && !TEST_true(ossl_quic_rstream_move_to_rbuf(rstream)))
crypto/openssl/test/quic_stream_test.c
453
|| !TEST_true(read_fn(rstream, buf + 14, 5, &readbytes, &fin))
crypto/openssl/test/quic_stream_test.c
457
|| !TEST_true(read_fn(rstream, buf + 14 + 5, sizeof(buf) - 14 - 5,
crypto/openssl/test/quic_stream_test.c
459
|| !TEST_true(fin)
crypto/openssl/test/quic_stream_test.c
462
|| (use_rbuf && !TEST_true(ossl_quic_rstream_move_to_rbuf(rstream)))
crypto/openssl/test/quic_stream_test.c
463
|| !TEST_true(read_fn(rstream, buf, sizeof(buf), &readbytes, &fin))
crypto/openssl/test/quic_stream_test.c
464
|| !TEST_true(fin)
crypto/openssl/test/quic_stream_test.c
509
if (!TEST_true(ossl_quic_rstream_queue_data(rstream, NULL, off,
crypto/openssl/test/quic_stream_test.c
52
if (!TEST_true(ossl_quic_sstream_is_totally_acked(sstream)))
crypto/openssl/test/quic_stream_test.c
529
if (!TEST_true(ossl_quic_rstream_queue_data(rstream, NULL, off,
crypto/openssl/test/quic_stream_test.c
537
if (!TEST_true(test_single_copy_read(rstream, read_buf, data_size,
crypto/openssl/test/quic_stream_test.c
540
} else if (!TEST_true(ossl_quic_rstream_read(rstream, read_buf,
crypto/openssl/test/quic_stream_test.c
554
if (!TEST_true(ossl_quic_rstream_resize_rbuf(rstream,
crypto/openssl/test/quic_stream_test.c
556
|| !TEST_true(ossl_quic_rstream_move_to_rbuf(rstream)))
crypto/openssl/test/quic_stream_test.c
561
if (!TEST_true(ossl_quic_rstream_queue_data(rstream, NULL, data_size,
crypto/openssl/test/quic_stream_test.c
577
if (!TEST_true(test_single_copy_read(rstream, read_buf, data_size,
crypto/openssl/test/quic_stream_test.c
580
} else if (!TEST_true(ossl_quic_rstream_read(rstream, read_buf,
crypto/openssl/test/quic_stream_test.c
585
if (!TEST_size_t_eq(readbytes, 0) || !TEST_true(fin))
crypto/openssl/test/quic_stream_test.c
62
if (!TEST_true(ossl_quic_sstream_append(sstream, data_1, sizeof(data_1),
crypto/openssl/test/quic_stream_test.c
73
if (!TEST_true(ossl_quic_sstream_get_stream_frame(sstream, 0, &hdr, iov,
crypto/openssl/test/quic_stream_test.c
81
if (!TEST_true(compare_iov(data_1, sizeof(data_1), iov, num_iov)))
crypto/openssl/test/quic_stream_test.c
85
if (!TEST_true(ossl_quic_sstream_mark_transmitted(sstream, 0, 7)))
crypto/openssl/test/quic_stream_test.c
90
if (!TEST_true(ossl_quic_sstream_get_stream_frame(sstream, 0, &hdr, iov,
crypto/openssl/test/quic_stream_test.c
98
if (!TEST_true(compare_iov(data_1 + 8, sizeof(data_1) - 8, iov, num_iov)))
crypto/openssl/test/quic_tserver_test.c
101
if (!TEST_true(BIO_bind(s_fd, s_addr_, 0)))
crypto/openssl/test/quic_tserver_test.c
105
if (!TEST_true(BIO_sock_info(s_fd, BIO_SOCK_INFO_ADDRESS, &s_info)))
crypto/openssl/test/quic_tserver_test.c
141
if (!TEST_true(BIO_new_bio_dgram_pair(&c_pair_own, 5000,
crypto/openssl/test/quic_tserver_test.c
151
if (!TEST_true(BIO_socket_nbio(c_fd, 1)))
crypto/openssl/test/quic_tserver_test.c
169
if (!TEST_true(ossl_quic_set_override_now_cb(c_ssl, fake_now, NULL)))
crypto/openssl/test/quic_tserver_test.c
184
if (!TEST_true(BIO_up_ref(c_net_bio))) {
crypto/openssl/test/quic_tserver_test.c
193
if (!TEST_true(SSL_set_blocking_mode(c_ssl, 0)))
crypto/openssl/test/quic_tserver_test.c
212
if (!TEST_true(ret == 1 || is_want(c_ssl, ret)))
crypto/openssl/test/quic_tserver_test.c
225
if (!TEST_true(CRYPTO_THREAD_write_lock(fake_time_lock)))
crypto/openssl/test/quic_tserver_test.c
237
if (!TEST_true(SSL_stream_conclude(c_ssl, 0)))
crypto/openssl/test/quic_tserver_test.c
247
if (!TEST_true(ossl_quic_tserver_has_read_ended(tserver, 0)))
crypto/openssl/test/quic_tserver_test.c
263
if (!TEST_true(ossl_quic_tserver_write(tserver, 0,
crypto/openssl/test/quic_tserver_test.c
279
if (!TEST_true(ret == 1 || is_want(c_ssl, ret)))
crypto/openssl/test/quic_tserver_test.c
311
if (!TEST_true(ossl_quic_tserver_is_connected(tserver)))
crypto/openssl/test/quic_tserver_test.c
328
if (!TEST_true(CRYPTO_THREAD_write_lock(fake_time_lock)))
crypto/openssl/test/quic_tserver_test.c
340
if (!TEST_true(SSL_get_event_timeout(c_ssl, &tv, &isinf)))
crypto/openssl/test/quic_tserver_test.c
354
if (!TEST_true(ossl_quic_tserver_is_connected(tserver)))
crypto/openssl/test/quic_tserver_test.c
389
if (!TEST_true(SSL_inject_net_dgram(c_ssl, rmsg.data, rmsg.data_len,
crypto/openssl/test/quic_tserver_test.c
92
if (!TEST_true(BIO_socket_nbio(s_fd, 1)))
crypto/openssl/test/quic_tserver_test.c
98
if (!TEST_true(BIO_ADDR_rawmake(s_addr_, AF_INET, &ina, sizeof(ina), 0)))
crypto/openssl/test/quic_txp_test.c
1097
if (!TEST_true(ossl_quic_tx_packetiser_schedule_conn_close(h->txp, &f)))
crypto/openssl/test/quic_txp_test.c
130
if (!TEST_true(BIO_new_bio_dgram_pair(&h->bio1, 0, &h->bio2, 0)))
crypto/openssl/test/quic_txp_test.c
1314
if (!TEST_true(ossl_quic_tx_packetiser_generate(h.txp, &status))
crypto/openssl/test/quic_txp_test.c
1322
if (!TEST_true(ossl_quic_tx_packetiser_generate(h.txp, &status))
crypto/openssl/test/quic_txp_test.c
1331
if (!TEST_true(ossl_qrx_read_pkt(h.qrx, &h.qrx_pkt)))
crypto/openssl/test/quic_txp_test.c
1333
if (!TEST_true(PACKET_buf_init(&h.pkt,
crypto/openssl/test/quic_txp_test.c
1360
if (!TEST_true(cmp_pkt_hdr(h.qrx_pkt->hdr, op->buf,
crypto/openssl/test/quic_txp_test.c
1365
if (!TEST_true(op->check_func(&h)))
crypto/openssl/test/quic_txp_test.c
1377
if (!TEST_true(ossl_quic_wire_decode_frame_handshake_done(&h.pkt)))
crypto/openssl/test/quic_txp_test.c
1381
if (!TEST_true(ossl_quic_wire_decode_frame_ping(&h.pkt)))
crypto/openssl/test/quic_txp_test.c
1385
if (!TEST_true(ossl_quic_wire_decode_frame_max_data(&h.pkt,
crypto/openssl/test/quic_txp_test.c
1390
if (!TEST_true(ossl_quic_wire_decode_frame_new_conn_id(&h.pkt,
crypto/openssl/test/quic_txp_test.c
1395
if (!TEST_true(ossl_quic_wire_decode_frame_new_token(&h.pkt,
crypto/openssl/test/quic_txp_test.c
1404
if (!TEST_true(ossl_quic_wire_decode_frame_ack(&h.pkt,
crypto/openssl/test/quic_txp_test.c
1411
if (!TEST_true(ossl_quic_wire_decode_frame_crypto(&h.pkt, 0, &h.frame.crypto)))
crypto/openssl/test/quic_txp_test.c
1423
if (!TEST_true(ossl_quic_wire_decode_frame_stream(&h.pkt, 0, &h.frame.stream)))
crypto/openssl/test/quic_txp_test.c
1428
if (!TEST_true(ossl_quic_wire_decode_frame_stop_sending(&h.pkt,
crypto/openssl/test/quic_txp_test.c
1434
if (!TEST_true(ossl_quic_wire_decode_frame_reset_stream(&h.pkt,
crypto/openssl/test/quic_txp_test.c
1441
if (!TEST_true(ossl_quic_wire_decode_frame_conn_close(&h.pkt,
crypto/openssl/test/quic_txp_test.c
145
if (!TEST_true(ossl_quic_txfc_init(&h->conn_txfc, NULL)))
crypto/openssl/test/quic_txp_test.c
1457
if (!TEST_true(ossl_qtx_provide_secret(h.args.qtx,
crypto/openssl/test/quic_txp_test.c
1462
if (!TEST_true(ossl_qrx_provide_secret(h.qrx,
crypto/openssl/test/quic_txp_test.c
1469
if (!TEST_true(ossl_quic_tx_packetiser_discard_enc_level(h.txp,
crypto/openssl/test/quic_txp_test.c
148
if (!TEST_true(ossl_quic_rxfc_init(&h->conn_rxfc, NULL,
crypto/openssl/test/quic_txp_test.c
1481
if (!TEST_true(ossl_quic_sstream_append(h.args.crypto[op->arg0],
crypto/openssl/test/quic_txp_test.c
1497
|| !TEST_true(ossl_quic_txfc_init(&s->txfc, &h.conn_txfc))
crypto/openssl/test/quic_txp_test.c
1498
|| !TEST_true(ossl_quic_rxfc_init(&s->rxfc, &h.conn_rxfc,
crypto/openssl/test/quic_txp_test.c
1517
if (!TEST_true(ossl_quic_sstream_append(s->sstream, op->buf,
crypto/openssl/test/quic_txp_test.c
1542
if (!TEST_true(ossl_quic_stream_map_stop_sending_recv_part(h.args.qsm,
crypto/openssl/test/quic_txp_test.c
1548
if (!TEST_true(s->active))
crypto/openssl/test/quic_txp_test.c
155
if (!TEST_true(ossl_quic_rxfc_init(&h->stream_rxfc, &h->conn_rxfc,
crypto/openssl/test/quic_txp_test.c
1558
if (!TEST_true(ossl_quic_stream_map_reset_stream_send_part(h.args.qsm,
crypto/openssl/test/quic_txp_test.c
1564
if (!TEST_true(s->active))
crypto/openssl/test/quic_txp_test.c
1568
if (!TEST_true(ossl_quic_txfc_bump_cwm(h.args.conn_txfc, op->arg0)))
crypto/openssl/test/quic_txp_test.c
1579
if (!TEST_true(ossl_quic_txfc_bump_cwm(&s->txfc, op->arg0)))
crypto/openssl/test/quic_txp_test.c
162
if (!TEST_true(ossl_quic_rxfc_init(&h->max_streams_bidi_rxfc, NULL,
crypto/openssl/test/quic_txp_test.c
168
if (!TEST_true(ossl_quic_rxfc_init(&h->max_streams_uni_rxfc, NULL,
crypto/openssl/test/quic_txp_test.c
173
if (!TEST_true(ossl_statm_init(&h->statm)))
crypto/openssl/test/quic_txp_test.c
189
if (!TEST_true(ossl_quic_stream_map_init(&h->qsm, NULL, NULL,
crypto/openssl/test/quic_txp_test.c
381
if (!TEST_true(ossl_quic_rxfc_on_rx_stream_frame(&h->stream_rxfc, cwm, 0))
crypto/openssl/test/quic_txp_test.c
382
|| !TEST_true(ossl_quic_rxfc_on_retire(&h->stream_rxfc, cwm,
crypto/openssl/test/quic_txp_test.c
429
if (!TEST_true(WPACKET_init(&wpkt, buf_mem)))
crypto/openssl/test/quic_txp_test.c
432
if (!TEST_true(ossl_quic_wire_encode_frame_new_conn_id(&wpkt, &ncid))) {
crypto/openssl/test/quic_txp_test.c
439
if (!TEST_true(WPACKET_get_total_written(&wpkt, &l)))
crypto/openssl/test/quic_txp_test.c
504
if (!TEST_true(WPACKET_init(&wpkt, buf_mem)))
crypto/openssl/test/quic_txp_test.c
507
if (!TEST_true(ossl_quic_wire_encode_frame_new_token(&wpkt, token_1,
crypto/openssl/test/quic_txp_test.c
515
if (!TEST_true(WPACKET_get_total_written(&wpkt, &l)))
crypto/openssl/test/quic_txp_test.c
573
if (!TEST_true(ossl_ackm_on_rx_packet(h->args.ackm, &rx_pkt)))
crypto/openssl/test/quic_txpim_test.c
38
if (!TEST_true(ossl_quic_txpim_pkt_append_chunk(pkts[i], chunks + j)))
crypto/openssl/test/quic_wire_test.c
139
if (!TEST_true(f.ecn_present))
crypto/openssl/test/quic_wire_test.c
1553
if (!TEST_true(ossl_quic_wire_encode_pkt_hdr_pn(t->pn, buf, pn_len)))
crypto/openssl/test/quic_wire_test.c
1559
if (!TEST_true(ossl_quic_wire_decode_pkt_hdr_pn(buf, pn_len,
crypto/openssl/test/quic_wire_test.c
1597
if (!TEST_true(PACKET_buf_init(&pkt, retry_encoded, sizeof(retry_encoded))))
crypto/openssl/test/quic_wire_test.c
1600
if (!TEST_true(ossl_quic_wire_decode_pkt_hdr(&pkt, 0, 0, 0, &hdr, NULL, NULL)))
crypto/openssl/test/quic_wire_test.c
1606
if (!TEST_true(ossl_quic_calculate_retry_integrity_tag(NULL, NULL, &hdr,
crypto/openssl/test/quic_wire_test.c
1617
if (!TEST_true(ossl_quic_validate_retry_integrity_tag(NULL, NULL, &hdr,
crypto/openssl/test/quic_wire_test.c
1676
if (!TEST_true(PACKET_buf_init(&pkt, non_minimal[idx],
crypto/openssl/test/quic_wire_test.c
1680
if (!TEST_true(ossl_quic_wire_peek_frame_header(&pkt, &frame_type,
crypto/openssl/test/quic_wire_test.c
565
if (!TEST_true(!success_if || is_minimal))
crypto/openssl/test/quic_wire_test.c
580
if (!TEST_true(!success_if || is_minimal))
crypto/openssl/test/quic_wire_test.c
720
if (!TEST_true(!success_if || is_minimal))
crypto/openssl/test/quic_wire_test.c
735
if (!TEST_true(!success_if || is_minimal))
crypto/openssl/test/quic_wire_test.c
866
if (!TEST_true(PACKET_forward(pkt, PACKET_remaining(pkt))))
crypto/openssl/test/quicapitest.c
1005
if (!TEST_true(SSL_set_mode(stream, 0)))
crypto/openssl/test/quicapitest.c
1016
if (!TEST_true(BIO_write_ex(thisbio, msg, msglen, &written)))
crypto/openssl/test/quicapitest.c
104
if (!TEST_true(wait_until_sock_readable(ssock)))
crypto/openssl/test/quicapitest.c
1051
|| !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert,
crypto/openssl/test/quicapitest.c
1054
|| !TEST_true(qtest_create_quic_connection(qtserv, clientquic)))
crypto/openssl/test/quicapitest.c
1079
if (!TEST_true(ossl_quic_tserver_read(qtserv, 0, buf, sizeof(buf),
crypto/openssl/test/quicapitest.c
109
if (!TEST_true(ossl_quic_tserver_read(qtserv, sid, buf,
crypto/openssl/test/quicapitest.c
1128
|| !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert,
crypto/openssl/test/quicapitest.c
1131
|| !TEST_true(qtest_create_quic_connection(qtserv, clientquic)))
crypto/openssl/test/quicapitest.c
1136
if (!TEST_true(SSL_write_ex(clientquic, buf, buflen, &written))
crypto/openssl/test/quicapitest.c
1193
if (!TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert, privkey,
crypto/openssl/test/quicapitest.c
1196
|| !TEST_true(qtest_create_quic_connection_ex(qtserv, clientquic,
crypto/openssl/test/quicapitest.c
1202
if (!TEST_true(qtest_create_quic_connection(qtserv, clientquic)))
crypto/openssl/test/quicapitest.c
124
if (!TEST_true(ossl_quic_tserver_write(qtserv, sid,
crypto/openssl/test/quicapitest.c
1263
|| !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, NULL,
crypto/openssl/test/quicapitest.c
1275
if (!TEST_ptr(clientpsk) || !TEST_true(SSL_SESSION_up_ref(clientpsk)))
crypto/openssl/test/quicapitest.c
1278
if (!TEST_true(qtest_create_quic_connection(qtserv, clientquic))
crypto/openssl/test/quicapitest.c
1282
|| !TEST_true(SSL_session_reused(clientquic)))
crypto/openssl/test/quicapitest.c
1315
if (!TEST_true(SSL_CTX_load_verify_file(sctx, cauthca)))
crypto/openssl/test/quicapitest.c
1319
&& (!TEST_true(SSL_CTX_use_certificate_chain_file(cctx, ccert))
crypto/openssl/test/quicapitest.c
1320
|| !TEST_true(SSL_CTX_use_PrivateKey_file(cctx, cprivkey,
crypto/openssl/test/quicapitest.c
1324
if (!TEST_true(qtest_create_quic_objects(libctx, cctx, sctx, cert,
crypto/openssl/test/quicapitest.c
1330
if (!TEST_true(ssl_ctx_add_large_cert_chain(libctx, cctx, ccert))
crypto/openssl/test/quicapitest.c
1331
|| !TEST_true(ssl_ctx_add_large_cert_chain(libctx, sctx, cert)))
crypto/openssl/test/quicapitest.c
1344
if (!TEST_true(qtest_create_quic_connection(qtserv, clientquic)))
crypto/openssl/test/quicapitest.c
1348
if (!TEST_true(SSL_write_ex(clientquic, msg, msglen, &numbytes))
crypto/openssl/test/quicapitest.c
1353
if (!TEST_true(ossl_quic_tserver_write(qtserv, 0,
crypto/openssl/test/quicapitest.c
1361
if (!TEST_true(SSL_read_ex(clientquic, buf, sizeof(buf), &numbytes))
crypto/openssl/test/quicapitest.c
1366
if (!TEST_true(qtest_shutdown(qtserv, clientquic)))
crypto/openssl/test/quicapitest.c
1397
if (!TEST_true(SSL_CTX_set_ciphersuites(cctx, "TLS_AES_128_GCM_SHA256")))
crypto/openssl/test/quicapitest.c
1401
|| !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert,
crypto/openssl/test/quicapitest.c
1427
|| !TEST_true(qtest_create_quic_connection(qtserv, clientquic)))
crypto/openssl/test/quicapitest.c
1451
|| !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert,
crypto/openssl/test/quicapitest.c
1456
|| !TEST_true(qtest_create_quic_connection(qtserv, clientquic)))
crypto/openssl/test/quicapitest.c
148
if (!TEST_true(SSL_read_ex(clientquic, buf, 1, &numbytes))
crypto/openssl/test/quicapitest.c
150
|| !TEST_true(SSL_has_pending(clientquic))
crypto/openssl/test/quicapitest.c
152
|| !TEST_true(SSL_read_ex(clientquic, buf + 1,
crypto/openssl/test/quicapitest.c
1567
|| !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert,
crypto/openssl/test/quicapitest.c
1573
if (!TEST_true(qtest_create_quic_connection(qtserv, clientquic)))
crypto/openssl/test/quicapitest.c
1576
if (!TEST_true(SSL_set_incoming_stream_policy(clientquic,
crypto/openssl/test/quicapitest.c
1579
|| !TEST_true(SSL_set_default_stream_mode(clientquic,
crypto/openssl/test/quicapitest.c
1584
if (!TEST_true(ossl_quic_tserver_stream_new(qtserv, 0, &sid)))
crypto/openssl/test/quicapitest.c
159
if (!TEST_true(SSL_export_keying_material(clientquic, scratch,
crypto/openssl/test/quicapitest.c
1595
if (!TEST_true(ossl_quic_tserver_write(qtserv, sid,
crypto/openssl/test/quicapitest.c
1608
if (!TEST_true(unreliable_client_read(clientquic, &stream[j], buf,
crypto/openssl/test/quicapitest.c
1617
if (!TEST_true(SSL_write_ex(stream[j], (unsigned char *)msg,
crypto/openssl/test/quicapitest.c
1630
if (!TEST_true(unreliable_server_read(qtserv, sid, buf, sizeof(buf),
crypto/openssl/test/quicapitest.c
1671
|| !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert,
crypto/openssl/test/quicapitest.c
1682
if (!TEST_true(qtest_fault_set_bw_limit(fault, 1000, 1000, 0)))
crypto/openssl/test/quicapitest.c
1685
if (!TEST_true(qtest_create_quic_connection(qtserv, clientquic)))
crypto/openssl/test/quicapitest.c
174
if (!TEST_true(SSL_session_reused(clientquic)))
crypto/openssl/test/quicapitest.c
178
if (!TEST_true(qtest_shutdown(qtserv, clientquic)))
crypto/openssl/test/quicapitest.c
183
if (!TEST_true(SSL_CTX_up_ref(sctx))) {
crypto/openssl/test/quicapitest.c
2201
if (!TEST_true(qtest_fault_delete_extension(qtf, TLSEXT_TYPE_quic_transport_parameters,
crypto/openssl/test/quicapitest.c
2206
if (!TEST_true(PACKET_buf_init(&pkt, (unsigned char *)old_bufm->data, old_bufm->length))
crypto/openssl/test/quicapitest.c
2208
|| !TEST_true(WPACKET_init(&wpkt, new_bufm)))
crypto/openssl/test/quicapitest.c
2221
if (!TEST_true(WPACKET_put_bytes_u16(&wpkt,
crypto/openssl/test/quicapitest.c
2223
|| !TEST_true(WPACKET_start_sub_packet_u16(&wpkt)))
crypto/openssl/test/quicapitest.c
2235
if (!TEST_true(tparam_handle(ctx, id, tp_p, tp_len, &wpkt)))
crypto/openssl/test/quicapitest.c
2252
if (!TEST_true(WPACKET_memcpy(&wpkt, ctx->t->buf, ctx->t->buf_len)))
crypto/openssl/test/quicapitest.c
2256
if (!TEST_true(WPACKET_close(&wpkt))) /* end extension data, set length */
crypto/openssl/test/quicapitest.c
2259
if (!TEST_true(WPACKET_get_total_written(&wpkt, &written)))
crypto/openssl/test/quicapitest.c
230
|| !TEST_true(qtest_create_quic_objects(libctx, cctx, sctx,
crypto/openssl/test/quicapitest.c
2304
if (!TEST_true(qtest_create_quic_objects(libctx, c_ctx, NULL, cert,
crypto/openssl/test/quicapitest.c
2309
if (!TEST_true(qtest_fault_set_hand_enc_ext_listener(qtf, tparam_on_enc_ext,
crypto/openssl/test/quicapitest.c
2313
if (!TEST_true(qtest_create_quic_connection_ex(s, c_ssl,
crypto/openssl/test/quicapitest.c
2320
if (!TEST_true(SSL_get_conn_close_info(c_ssl, &info, sizeof(info))))
crypto/openssl/test/quicapitest.c
2323
if (!TEST_true((info.flags & SSL_CONN_CLOSE_FLAG_TRANSPORT) != 0)
crypto/openssl/test/quicapitest.c
235
|| !TEST_true(SSL_set_tlsext_host_name(clientquic, "localhost")))
crypto/openssl/test/quicapitest.c
238
if (!TEST_true(qtest_create_quic_connection(qtserv, clientquic)))
crypto/openssl/test/quicapitest.c
2390
if (!TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert,
crypto/openssl/test/quicapitest.c
2397
if (!TEST_true(qtest_create_quic_connection(qtserv, clientquic)))
crypto/openssl/test/quicapitest.c
2401
if (!TEST_true(SSL_handle_events(clientquic)))
crypto/openssl/test/quicapitest.c
241
if (!TEST_true(ossl_quic_tserver_stream_new(qtserv, 0, &sid))
crypto/openssl/test/quicapitest.c
242
|| !TEST_true(ossl_quic_tserver_write(qtserv, sid,
crypto/openssl/test/quicapitest.c
2433
|| !TEST_true(SSL_CTX_get_domain_flags(ctx, &domain_flags))
crypto/openssl/test/quicapitest.c
2437
|| !TEST_true(SSL_CTX_set_domain_flags(ctx, SSL_DOMAIN_FLAG_SINGLE_THREAD))
crypto/openssl/test/quicapitest.c
2438
|| !TEST_true(SSL_CTX_get_domain_flags(ctx, &domain_flags))
crypto/openssl/test/quicapitest.c
2441
|| !TEST_true(SSL_get_domain_flags(domain, &domain_flags))
crypto/openssl/test/quicapitest.c
2443
|| !TEST_true(other_conn = SSL_new(ctx))
crypto/openssl/test/quicapitest.c
2444
|| !TEST_true(SSL_get_domain_flags(other_conn, &domain_flags))
crypto/openssl/test/quicapitest.c
2446
|| !TEST_true(SSL_is_domain(domain))
crypto/openssl/test/quicapitest.c
2451
|| !TEST_true(SSL_is_listener(listener))
crypto/openssl/test/quicapitest.c
2479
|| !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert,
crypto/openssl/test/quicapitest.c
2485
if (!TEST_true(SSL_in_before(clientquic)))
crypto/openssl/test/quicapitest.c
2488
if (!TEST_true(SSL_handle_events(clientquic)))
crypto/openssl/test/quicapitest.c
2491
if (!TEST_true(SSL_get_event_timeout(clientquic, &tv, &inf))
crypto/openssl/test/quicapitest.c
2492
|| !TEST_true(inf))
crypto/openssl/test/quicapitest.c
2499
if (!TEST_true(SSL_in_before(clientquic)))
crypto/openssl/test/quicapitest.c
250
if (!TEST_true(SSL_read_ex(clientquic, buf, sizeof(buf), &numbytes))
crypto/openssl/test/quicapitest.c
2502
if (!TEST_true(qtest_create_quic_connection(qtserv, clientquic)))
crypto/openssl/test/quicapitest.c
2546
|| !TEST_true(SSL_CTX_use_certificate_file(ssl_ctx, cert, SSL_FILETYPE_PEM))
crypto/openssl/test/quicapitest.c
2547
|| !TEST_true(SSL_CTX_use_PrivateKey_file(ssl_ctx, privkey, SSL_FILETYPE_PEM))) {
crypto/openssl/test/quicapitest.c
255
if (!TEST_true(ossl_quic_tserver_conclude(qtserv, sid)))
crypto/openssl/test/quicapitest.c
2565
if (!TEST_true(BIO_ADDR_rawmake(addr, AF_INET, ina, sizeof(struct in_addr),
crypto/openssl/test/quicapitest.c
2578
if (!TEST_true(BIO_dgram_set_caps(bio, bio_caps)))
crypto/openssl/test/quicapitest.c
2598
if (!TEST_true(SSL_listen(qserver))) {
crypto/openssl/test/quicapitest.c
2610
if (!TEST_true(SSL_set1_initial_peer_addr(qconn, dst_addr)))
crypto/openssl/test/quicapitest.c
2632
|| !TEST_true(BIO_new_bio_dgram_pair(&lbio, 0, &sbio, 0)))
crypto/openssl/test/quicapitest.c
2638
if (!TEST_true(bio_addr_bind(lbio, addr)))
crypto/openssl/test/quicapitest.c
2645
if (!TEST_true(bio_addr_bind(sbio, addr)))
crypto/openssl/test/quicapitest.c
2666
if (!TEST_true(chk))
crypto/openssl/test/quicapitest.c
271
if (!TEST_true(qtest_shutdown(qtserv, clientquic)))
crypto/openssl/test/quicapitest.c
2719
|| !TEST_true(BIO_new_bio_dgram_pair(&lbio, 0, &sbio, 0)))
crypto/openssl/test/quicapitest.c
2731
|| !TEST_true(bio_addr_bind(lbio, addr)))
crypto/openssl/test/quicapitest.c
2736
|| !TEST_true(bio_addr_bind(sbio, addr)))
crypto/openssl/test/quicapitest.c
2747
|| !TEST_true(qc_init(qconn, addr)))
crypto/openssl/test/quicapitest.c
2792
if (!TEST_true(ERR_GET_LIB(err) == ERR_LIB_SSL && ERR_GET_REASON(err) == ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED))
crypto/openssl/test/quicapitest.c
2814
if (!TEST_true(BIO_new_bio_dgram_pair(&cbio, 0, &sbio, 0)))
crypto/openssl/test/quicapitest.c
2820
if (!TEST_true(bio_addr_bind(sbio, addr)))
crypto/openssl/test/quicapitest.c
2834
if (!TEST_true(bio_addr_bind(cbio, addr)))
crypto/openssl/test/quicapitest.c
2837
if (!TEST_true(qc_init(*cssl, addr))) {
crypto/openssl/test/quicapitest.c
2895
if (!TEST_true(create_bare_ssl_connection(serverssl, clientssl,
crypto/openssl/test/quicapitest.c
2952
|| !TEST_true(create_bare_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE, 0, 0)))
crypto/openssl/test/quicapitest.c
2984
if (!TEST_true(SSL_CTX_set1_groups_list(cctx, "secp384r1:secp256r1")))
crypto/openssl/test/quicapitest.c
2986
if (!TEST_true(SSL_CTX_set1_groups_list(sctx, "secp256r1")))
crypto/openssl/test/quicapitest.c
3006
|| !TEST_true(create_bare_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE, 0, 0)))
crypto/openssl/test/quicapitest.c
3038
if (!TEST_true(qtest_create_quic_objects(libctx, cctx, NULL,
crypto/openssl/test/quicapitest.c
3044
if (!TEST_true(qtest_create_quic_connection(qtserv, clientquic)))
crypto/openssl/test/quicapitest.c
3051
if (!TEST_true(SSL_write_ex(clientquic, msg, sizeof(msg), &numbytes))
crypto/openssl/test/quicapitest.c
3056
if (!TEST_true(ossl_quic_tserver_read(qtserv, 0, buf, sizeof(buf),
crypto/openssl/test/quicapitest.c
3066
if (!TEST_true(ossl_qtx_set_mdpl(ch->qtx,
crypto/openssl/test/quicapitest.c
3071
if (!TEST_true(ossl_quic_tserver_write(qtserv, 0,
crypto/openssl/test/quicapitest.c
3079
if (!TEST_true(SSL_read_ex(clientquic, buf, sizeof(buf), &numbytes))
crypto/openssl/test/quicapitest.c
310
if (!TEST_true(SSL_CTX_set_cipher_list(ctx, "DEFAULT")))
crypto/openssl/test/quicapitest.c
3124
if (!TEST_true(OSSL_LIB_CTX_load_config(libctx, configfile)))
crypto/openssl/test/quicapitest.c
3128
if (!TEST_true(OSSL_PROVIDER_available(libctx, modulename)))
crypto/openssl/test/quicapitest.c
317
if (!TEST_true(SSL_set_cipher_list(ssl, "DEFAULT")))
crypto/openssl/test/quicapitest.c
405
|| !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert,
crypto/openssl/test/quicapitest.c
408
|| !TEST_true(qtest_create_quic_connection(qtserv, clientquic)))
crypto/openssl/test/quicapitest.c
415
if (!TEST_true(SSL_is_quic(clientquic))
crypto/openssl/test/quicapitest.c
445
|| !TEST_true(SSL_CTX_set_ciphersuites(cctx, "TLS_AES_128_GCM_SHA256"))
crypto/openssl/test/quicapitest.c
446
|| !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert,
crypto/openssl/test/quicapitest.c
456
if (!TEST_true(qtest_create_quic_connection(qtserv, clientquic)))
crypto/openssl/test/quicapitest.c
471
if (!TEST_true(compare_with_reference_file(bio, reffile)))
crypto/openssl/test/quicapitest.c
569
|| !TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert,
crypto/openssl/test/quicapitest.c
580
if (!TEST_true(qtest_create_quic_connection(qtserv, clientquic)))
crypto/openssl/test/quicapitest.c
593
if (!TEST_true(qtest_create_quic_objects(libctx, cctx, NULL, cert,
crypto/openssl/test/quicapitest.c
604
if (!TEST_true(qtest_create_quic_connection(qtserv2, clientquic2)))
crypto/openssl/test/quicapitest.c
608
if (!TEST_true(find_new_token_data(bio)))
crypto/openssl/test/quicapitest.c
658
if (!TEST_true(SSL_CTX_set_tlsext_use_srtp(ctx, "SRTP_AEAD_AES_128_GCM")))
crypto/openssl/test/quicapitest.c
678
if (!TEST_true(SSL_CTX_set_ciphersuites(ctx,
crypto/openssl/test/quicapitest.c
709
if (!TEST_true(SSL_set_tlsext_use_srtp(ssl, "SRTP_AEAD_AES_128_GCM")))
crypto/openssl/test/quicapitest.c
71
|| !TEST_true(qtest_create_quic_objects(libctx, cctx, sctx,
crypto/openssl/test/quicapitest.c
714
if (!TEST_true(SSL_set_ciphersuites(ssl,
crypto/openssl/test/quicapitest.c
720
|| !TEST_true(ensure_valid_ciphers(ciphers)))
crypto/openssl/test/quicapitest.c
78
|| !TEST_true(SSL_set_tlsext_host_name(clientquic, "localhost")))
crypto/openssl/test/quicapitest.c
782
if (!TEST_true(SSL_set_block_padding(ssl, 0))
crypto/openssl/test/quicapitest.c
783
|| !TEST_true(SSL_set_block_padding(ssl, 1))
crypto/openssl/test/quicapitest.c
788
if (!TEST_true(SSL_set_tlsext_max_fragment_length(ssl, TLSEXT_max_fragment_length_DISABLED))
crypto/openssl/test/quicapitest.c
803
if (!TEST_true(SSL_alloc_buffers(ssl))
crypto/openssl/test/quicapitest.c
81
if (sess != NULL && !TEST_true(SSL_set_session(clientquic, sess)))
crypto/openssl/test/quicapitest.c
84
if (!TEST_true(qtest_create_quic_connection(qtserv, clientquic)))
crypto/openssl/test/quicapitest.c
854
if (!TEST_true(SSL_set_fd(ssl, fd)))
crypto/openssl/test/quicapitest.c
861
if (!TEST_true(SSL_set_rfd(ssl, fd)))
crypto/openssl/test/quicapitest.c
868
if (!TEST_true(SSL_set_wfd(ssl, fd)))
crypto/openssl/test/quicapitest.c
879
if (!TEST_true(BIO_get_fd(bio, &resfd))
crypto/openssl/test/quicapitest.c
88
if (!TEST_true(BIO_get_fd(ossl_quic_tserver_get0_rbio(qtserv),
crypto/openssl/test/quicapitest.c
927
if (!TEST_true(qtest_create_quic_objects(libctx, NULL, NULL, cert, privkey,
crypto/openssl/test/quicapitest.c
974
if (!TEST_true(ossl_quic_tserver_read(qtserv, sid, buf, sizeof(buf),
crypto/openssl/test/quicapitest.c
979
if (!TEST_true(ossl_quic_tserver_write(qtserv, sid, (unsigned char *)msg,
crypto/openssl/test/quicapitest.c
984
if (!TEST_true(BIO_read_ex(thisbio, buf, sizeof(buf), &readbytes))
crypto/openssl/test/quicapitest.c
99
if (!TEST_true(SSL_write_ex(clientquic, msg, msglen, &numbytes))
crypto/openssl/test/quicapitest.c
991
if (!TEST_true(SSL_set_mode(clientquic, 0)))
crypto/openssl/test/quicfaultstest.c
107
if (!TEST_true(qtest_create_quic_objects(NULL, cctx, NULL, cert, privkey, 0,
crypto/openssl/test/quicfaultstest.c
111
if (!TEST_true(qtest_create_quic_connection(qtserv, cssl)))
crypto/openssl/test/quicfaultstest.c
118
if (!TEST_true(qtest_fault_set_packet_plain_listener(fault,
crypto/openssl/test/quicfaultstest.c
123
if (!TEST_true(ossl_quic_tserver_stream_new(qtserv, /*is_uni=*/0, &sid))
crypto/openssl/test/quicfaultstest.c
127
if (!TEST_true(ossl_quic_tserver_write(qtserv, sid, (unsigned char *)msg, msglen,
crypto/openssl/test/quicfaultstest.c
135
if (!TEST_true(SSL_handle_events(cssl)))
crypto/openssl/test/quicfaultstest.c
148
if (!TEST_true(qtest_check_server_frame_encoding_err(qtserv)))
crypto/openssl/test/quicfaultstest.c
189
if (!TEST_true(qtest_create_quic_objects(NULL, cctx, NULL, cert, privkey, 0,
crypto/openssl/test/quicfaultstest.c
201
if (!TEST_true(qtest_fault_set_hand_enc_ext_listener(fault,
crypto/openssl/test/quicfaultstest.c
213
if (!TEST_true(qtest_check_server_transport_err(qtserv, err)))
crypto/openssl/test/quicfaultstest.c
276
if (!TEST_true(qtest_create_quic_objects(NULL, cctx, NULL, cert, privkey,
crypto/openssl/test/quicfaultstest.c
283
if (!TEST_true(qtest_fault_set_packet_cipher_listener(fault,
crypto/openssl/test/quicfaultstest.c
289
if (!TEST_true(qtest_fault_set_datagram_listener(fault,
crypto/openssl/test/quicfaultstest.c
294
if (!TEST_true(qtest_create_quic_connection(qtserv, cssl)))
crypto/openssl/test/quicfaultstest.c
300
if (!TEST_true(ossl_quic_tserver_stream_new(qtserv, /*is_uni=*/0, &sid))
crypto/openssl/test/quicfaultstest.c
308
if (!TEST_true(ossl_quic_tserver_write(qtserv, sid, (unsigned char *)msg, 5,
crypto/openssl/test/quicfaultstest.c
324
if (!TEST_true(ossl_quic_tserver_write(qtserv, sid, (unsigned char *)msg + 5,
crypto/openssl/test/quicfaultstest.c
336
if (!TEST_true(SSL_handle_events(cssl)))
crypto/openssl/test/quicfaultstest.c
346
if (!TEST_true(SSL_handle_events(cssl)))
crypto/openssl/test/quicfaultstest.c
350
if (!TEST_true(SSL_read_ex(cssl, buf, sizeof(buf), &bytesread)))
crypto/openssl/test/quicfaultstest.c
37
if (!TEST_true(qtest_create_quic_objects(NULL, cctx, NULL, cert, privkey, 0,
crypto/openssl/test/quicfaultstest.c
41
if (!TEST_true(qtest_create_quic_connection(qtserv, cssl)))
crypto/openssl/test/quicfaultstest.c
48
if (!TEST_true(ossl_quic_tserver_read(qtserv, 0, buf, sizeof(buf), &bytesread)))
crypto/openssl/test/radix/main.c
28
if (!TEST_true(bindings_process_init(0, 0)))
crypto/openssl/test/radix/main.c
33
if (!TEST_true(bindings_adjust_terp_config(&cfg)))
crypto/openssl/test/radix/quic_bindings.c
391
if (!TEST_true(RADIX_THREAD_join(rt)))
crypto/openssl/test/radix/quic_bindings.c
453
if (!TEST_true(existing->registered))
crypto/openssl/test/radix/quic_bindings.c
476
if (!TEST_true(RADIX_PROCESS_set_obj(rp, name, obj))) {
crypto/openssl/test/radix/quic_bindings.c
511
if (!TEST_true(sk_RADIX_THREAD_push(rp->threads, rt))) {
crypto/openssl/test/radix/quic_bindings.c
543
if (!TEST_true(rt->done))
crypto/openssl/test/radix/quic_bindings.c
570
if (!TEST_true(CRYPTO_THREAD_set_local(&radix_thread, rt)))
crypto/openssl/test/radix/quic_bindings.c
585
if (!TEST_true(CRYPTO_THREAD_set_local(&radix_thread, NULL)))
crypto/openssl/test/radix/quic_bindings.c
593
if (!TEST_true(RADIX_PROCESS_init(&radix_process, node_idx, process_idx)))
crypto/openssl/test/radix/quic_bindings.c
596
if (!TEST_true(CRYPTO_THREAD_init_local(&radix_thread,
crypto/openssl/test/radix/quic_bindings.c
611
if (!TEST_true(RADIX_PROCESS_join_all_threads(&radix_process,
crypto/openssl/test/radix/quic_bindings.c
682
if (!TEST_true(expect_slot_ssl(fctx, (idx), &(ssl)))) \
crypto/openssl/test/radix/quic_bindings.c
734
if (!TEST_true(bindings_adjust_terp_config(&cfg)))
crypto/openssl/test/radix/quic_bindings.c
750
if (!TEST_true(radix_thread_init(rt)))
crypto/openssl/test/radix/quic_ops.c
1003
if (!TEST_true(BIO_sock_info(src_fd, BIO_SOCK_INFO_ADDRESS, &src_info))
crypto/openssl/test/radix/quic_ops.c
1011
if (!TEST_true(BIO_dgram_set_peer(dst_bio, src_addr)))
crypto/openssl/test/radix/quic_ops.c
103
if (!TEST_true(BIO_sock_info(fd, BIO_SOCK_INFO_ADDRESS, &info)))
crypto/openssl/test/radix/quic_ops.c
128
if (!TEST_true(ssl_create_bound_socket(local_port, &s_fd, actual_port)))
crypto/openssl/test/radix/quic_ops.c
137
if (!TEST_true(BIO_up_ref(bio)))
crypto/openssl/test/radix/quic_ops.c
204
if (!TEST_true(SSL_CTX_set_domain_flags(ctx,
crypto/openssl/test/radix/quic_ops.c
210
if (!TEST_true(ssl_ctx_configure(ctx, is_server)))
crypto/openssl/test/radix/quic_ops.c
228
if (!is_domain && !TEST_true(ssl_attach_bio_dgram(ssl, 0, NULL)))
crypto/openssl/test/radix/quic_ops.c
231
if (!TEST_true(RADIX_PROCESS_set_ssl(RP(), name, ssl))) {
crypto/openssl/test/radix/quic_ops.c
259
if (!TEST_true(ssl_attach_bio_dgram(listener, 0, NULL)))
crypto/openssl/test/radix/quic_ops.c
262
if (!TEST_true(RADIX_PROCESS_set_ssl(RP(), listener_name, listener))) {
crypto/openssl/test/radix/quic_ops.c
282
if (!TEST_true(r))
crypto/openssl/test/radix/quic_ops.c
322
&& !TEST_true(RADIX_PROCESS_set_ssl(RP(), stream_name, stream))) {
crypto/openssl/test/radix/quic_ops.c
349
if (!TEST_true(RADIX_PROCESS_set_ssl(RP(), conn_name, conn))) {
crypto/openssl/test/radix/quic_ops.c
434
if (!TEST_true(SSL_stream_reset(ssl, &args, sizeof(args))))
crypto/openssl/test/radix/quic_ops.c
451
if (!TEST_true(SSL_set_default_stream_mode(ssl, (uint32_t)mode)))
crypto/openssl/test/radix/quic_ops.c
469
if (!TEST_true(SSL_set_incoming_stream_policy(ssl, (int)policy, error_code)))
crypto/openssl/test/radix/quic_ops.c
512
if (!TEST_true(SSL_stream_conclude(ssl, 0)))
crypto/openssl/test/radix/quic_ops.c
53
if (!TEST_true(ossl_quic_set_diag_title(ctx, "quic_radix_test")))
crypto/openssl/test/radix/quic_ops.c
532
int ok = TEST_true(
crypto/openssl/test/radix/quic_ops.c
560
if (!TEST_true(r)
crypto/openssl/test/radix/quic_ops.c
590
if (!TEST_true(r)
crypto/openssl/test/radix/quic_ops.c
617
if (!TEST_true(r)
crypto/openssl/test/radix/quic_ops.c
637
|| !TEST_true(check_consistent_want(ssl, ret))
crypto/openssl/test/radix/quic_ops.c
663
if (!TEST_true(check_consistent_want(ssl, r)))
crypto/openssl/test/radix/quic_ops.c
700
|| !TEST_true(check_consistent_want(ssl, r))
crypto/openssl/test/radix/quic_ops.c
721
if (!TEST_true(SSL_set_blocking_mode(ssl, 0)))
crypto/openssl/test/radix/quic_ops.c
733
if (!TEST_true(check_consistent_want(ssl, ret)))
crypto/openssl/test/radix/quic_ops.c
763
if (!TEST_true(RADIX_PROCESS_set_ssl(RP(), stream_name, stream))) {
crypto/openssl/test/radix/quic_ops.c
787
if (!TEST_true(ossl_quic_attach_stream(conn, stream)))
crypto/openssl/test/radix/quic_ops.c
790
if (!TEST_true(RADIX_PROCESS_set_ssl(RP(), stream_name, NULL)))
crypto/openssl/test/radix/quic_ops.c
808
if (!TEST_true(check_consistent_want(ssl, ret))
crypto/openssl/test/radix/quic_ops.c
89
if (!TEST_true(BIO_socket_nbio(fd, 1)))
crypto/openssl/test/radix/quic_ops.c
95
if (!TEST_true(BIO_ADDR_rawmake(addr, AF_INET,
crypto/openssl/test/radix/quic_ops.c
99
if (!TEST_true(BIO_bind(fd, addr, 0)))
crypto/openssl/test/radix/quic_ops.c
998
if (!TEST_true(BIO_get_fd(src_bio, &src_fd))
crypto/openssl/test/radix/quic_tests.c
146
if (!TEST_true(SSL_poll(items, OSSL_NELEM(items), sizeof(SSL_POLL_ITEM),
crypto/openssl/test/radix/quic_tests.c
263
if (!TEST_true(SSL_poll(&item, 1, sizeof(SSL_POLL_ITEM),
crypto/openssl/test/radix/quic_tests.c
434
if (!TEST_true(ossl_quic_channel_set_mutator(ch, mutcbk_inject_frames,
crypto/openssl/test/radix/terp.c
108
if (!TEST_true(TERP_stk_push((terp), &(v), sizeof(v)))) \
crypto/openssl/test/radix/terp.c
115
if (!TEST_true(TERP_stk_pop((terp), &(v), sizeof(v)))) \
crypto/openssl/test/radix/terp.c
306
if (!TEST_true(GEN_CTX_init(&gctx, script_info)))
crypto/openssl/test/radix/terp.c
315
if (!TEST_true(GEN_CTX_finish(&gctx, gen_script)))
crypto/openssl/test/radix/terp.c
366
if (!TEST_true(SRDR_get_operand(srdr, &(v), sizeof(v)))) \
crypto/openssl/test/radix/terp.c
489
if (!TEST_true(SRDR_print_one(srdr, bio, i, &was_end)))
crypto/openssl/test/radix/terp.c
549
if (!TEST_true(cfg->now_cb != NULL))
crypto/openssl/test/radix/terp.c
605
if (!TEST_true(TERP_stk_ensure_capacity(terp, buf_len)))
crypto/openssl/test/radix/terp.c
679
if (!TEST_true(SRDR_print_one(&srdr_copy, debug_bio, SIZE_MAX, NULL)))
crypto/openssl/test/radix/terp.c
702
if (!TEST_true(terp->cfg.per_op_cb(terp, terp->cfg.per_op_cb_arg))) {
crypto/openssl/test/radix/terp.c
745
if (!TEST_true(v != NULL))
crypto/openssl/test/radix/terp.c
813
if (!TEST_true(GEN_SCRIPT_init(&gen_script, script_info))) {
crypto/openssl/test/radix/terp.c
820
if (!TEST_true(GEN_SCRIPT_print(&gen_script, debug_bio, script_info))) {
crypto/openssl/test/radix/terp.c
827
if (!TEST_true(TERP_init(&terp, cfg, script_info, &gen_script)))
crypto/openssl/test/rand_status_test.c
20
return TEST_true(RAND_status());
crypto/openssl/test/rand_test.c
125
|| !TEST_true(EVP_RAND_instantiate(parent, 0, 0,
crypto/openssl/test/rand_test.c
127
|| !TEST_true(EVP_RAND_instantiate(crngt, 0, 0,
crypto/openssl/test/rand_test.c
135
if (!TEST_true(EVP_RAND_CTX_get_params(crngt, p))
crypto/openssl/test/rand_test.c
158
if (!TEST_true(fips_health_test_one(buf, i, i)))
crypto/openssl/test/rand_test.c
229
|| !TEST_true(OSSL_PROVIDER_add_builtin(ctx, "r_prov", &r_init))
crypto/openssl/test/rand_test.c
231
|| !TEST_true(RAND_set1_random_provider(ctx, prov))
crypto/openssl/test/rand_test.c
239
if (!TEST_true(RAND_set1_random_provider(ctx, NULL))
crypto/openssl/test/rand_test.c
245
if (!TEST_true(RAND_set1_random_provider(ctx, prov))
crypto/openssl/test/rand_test.c
265
if (!TEST_true(OSSL_LIB_CTX_load_config(ctx, configfile)))
crypto/openssl/test/rand_test.c
286
|| !TEST_true(RAND_set_DRBG_type(NULL, "TEST-RAND", "fips=no",
crypto/openssl/test/rand_test.c
289
&& !TEST_true(OSSL_LIB_CTX_load_config(NULL, configfile))))
crypto/openssl/test/rand_test.c
36
|| !TEST_true(EVP_RAND_CTX_set_params(privctx, params))
crypto/openssl/test/rand_test.c
47
if (!TEST_true(EVP_RAND_CTX_set_params(privctx, params))
crypto/openssl/test/rand_test.c
54
if (!TEST_true(EVP_RAND_CTX_set_params(privctx, params))
crypto/openssl/test/rand_test.c
55
|| !TEST_true(EVP_RAND_nonce(privctx, outbuf, sizeof(outbuf)))
crypto/openssl/test/rand_test.c
69
if (!TEST_true(EVP_RAND_CTX_get_params(privctx, params))
crypto/openssl/test/rc5test.c
213
if (!TEST_true(RC5_32_set_key(&key, 16, &RC5key[n][0], 12)))
crypto/openssl/test/rc5test.c
236
if (!TEST_true(RC5_32_set_key(&key, rc5_cbc_key[n][0],
crypto/openssl/test/recordlentest.c
104
if (!TEST_true(create_ssl_ctx_pair(NULL, TLS_server_method(),
crypto/openssl/test/recordlentest.c
122
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/recordlentest.c
135
if (!TEST_true(write_record(serverbio, len,
crypto/openssl/test/recordlentest.c
149
if (!TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/recordlentest.c
163
if (!TEST_true(write_record(serverbio, len, SSL3_RT_APPLICATION_DATA,
crypto/openssl/test/rpktest.c
227
if (!TEST_true(create_ssl_ctx_pair(test_libctx,
crypto/openssl/test/rpktest.c
234
if (!TEST_true(SSL_CTX_set1_server_cert_type(sctx, cert_type_rpk, sizeof(cert_type_rpk))))
crypto/openssl/test/rpktest.c
237
if (!TEST_true(SSL_CTX_set1_client_cert_type(sctx, cert_type_rpk, sizeof(cert_type_rpk))))
crypto/openssl/test/rpktest.c
240
if (!TEST_true(SSL_CTX_set1_server_cert_type(cctx, cert_type_rpk, sizeof(cert_type_rpk))))
crypto/openssl/test/rpktest.c
243
if (!TEST_true(SSL_CTX_set1_client_cert_type(cctx, cert_type_rpk, sizeof(cert_type_rpk))))
crypto/openssl/test/rpktest.c
245
if (!TEST_true(SSL_CTX_set_session_id_context(sctx, SID_CTX, sizeof(SID_CTX))))
crypto/openssl/test/rpktest.c
247
if (!TEST_true(SSL_CTX_set_session_id_context(cctx, SID_CTX, sizeof(SID_CTX))))
crypto/openssl/test/rpktest.c
258
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/rpktest.c
286
if (!TEST_true(idx < RPK_TESTS))
crypto/openssl/test/rpktest.c
290
if (!TEST_true(SSL_add_expected_rpk(clientssl, pkey)))
crypto/openssl/test/rpktest.c
294
if (!TEST_true(SSL_add_expected_rpk(clientssl, pkey)))
crypto/openssl/test/rpktest.c
298
if (!TEST_true(SSL_add_expected_rpk(clientssl, pkey)))
crypto/openssl/test/rpktest.c
300
if (!TEST_true(SSL_add_expected_rpk(serverssl, pkey)))
crypto/openssl/test/rpktest.c
313
if (!TEST_true(SSL_add_expected_rpk(clientssl, pkey)))
crypto/openssl/test/rpktest.c
315
if (!TEST_true(SSL_add_expected_rpk(clientssl, root_pkey)))
crypto/openssl/test/rpktest.c
319
if (!TEST_true(SSL_add_expected_rpk(clientssl, pkey)))
crypto/openssl/test/rpktest.c
321
if (!TEST_true(SSL_add_expected_rpk(clientssl, other_pkey)))
crypto/openssl/test/rpktest.c
325
if (!TEST_true(SSL_add_expected_rpk(clientssl, root_pkey)))
crypto/openssl/test/rpktest.c
327
if (!TEST_true(SSL_add_expected_rpk(clientssl, pkey)))
crypto/openssl/test/rpktest.c
331
if (!TEST_true(SSL_add_expected_rpk(clientssl, other_pkey)))
crypto/openssl/test/rpktest.c
333
if (!TEST_true(SSL_add_expected_rpk(clientssl, pkey)))
crypto/openssl/test/rpktest.c
339
if (!TEST_true(SSL_add_expected_rpk(clientssl, other_pkey)))
crypto/openssl/test/rpktest.c
356
if (!TEST_true(SSL_add_expected_rpk(clientssl, pkey)))
crypto/openssl/test/rpktest.c
358
if (!TEST_true(SSL_add_expected_rpk(serverssl, pkey)))
crypto/openssl/test/rpktest.c
372
if (!TEST_true(SSL_add_expected_rpk(clientssl, pkey)))
crypto/openssl/test/rpktest.c
374
if (!TEST_true(SSL_add_expected_rpk(serverssl, pkey)))
crypto/openssl/test/rpktest.c
394
if (!TEST_true(SSL_add_expected_rpk(clientssl, pkey)))
crypto/openssl/test/rpktest.c
403
if (!TEST_true(SSL_add_expected_rpk(clientssl, pkey)))
crypto/openssl/test/rpktest.c
418
if (!TEST_true(SSL_add_expected_rpk(clientssl, pkey)))
crypto/openssl/test/rpktest.c
420
if (!TEST_true(SSL_add_expected_rpk(serverssl, pkey)))
crypto/openssl/test/rpktest.c
442
if (!TEST_true(SSL_add_expected_rpk(clientssl, pkey)))
crypto/openssl/test/rpktest.c
444
if (!TEST_true(SSL_add_expected_rpk(serverssl, pkey)))
crypto/openssl/test/rpktest.c
460
if (!TEST_true(SSL_add_expected_rpk(clientssl, pkey)))
crypto/openssl/test/rpktest.c
470
if (!TEST_true(SSL_add_expected_rpk(clientssl, other_pkey)))
crypto/openssl/test/rpktest.c
513
if (!TEST_true(SSL_verify_client_post_handshake(serverssl)))
crypto/openssl/test/rpktest.c
515
if (!TEST_true(SSL_do_handshake(serverssl)))
crypto/openssl/test/rpktest.c
562
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/rpktest.c
564
|| !TEST_true(SSL_set_session(clientssl, client_sess)))
crypto/openssl/test/rpktest.c
583
if (!TEST_true(SSL_add_expected_rpk(clientssl, client_pkey)))
crypto/openssl/test/rpktest.c
587
if (!TEST_true(SSL_add_expected_rpk(clientssl, client_pkey)))
crypto/openssl/test/rpktest.c
593
if (!TEST_true(SSL_add_expected_rpk(clientssl, client_pkey)))
crypto/openssl/test/rpktest.c
595
if (!TEST_true(SSL_add_expected_rpk(serverssl, server_pkey)))
crypto/openssl/test/rpktest.c
607
if (!TEST_true(SSL_add_expected_rpk(clientssl, client_pkey)))
crypto/openssl/test/rpktest.c
609
if (!TEST_true(SSL_add_expected_rpk(serverssl, server_pkey)))
crypto/openssl/test/rpktest.c
625
if (!TEST_true(ret))
crypto/openssl/test/rpktest.c
630
if (!TEST_true(SSL_session_reused(clientssl)))
crypto/openssl/test/rpktest.c
690
if (!TEST_true(create_ssl_ctx_pair(NULL,
crypto/openssl/test/rpktest.c
708
if (!TEST_true(SSL_CTX_set1_server_cert_type(sctx, cert_type_just_x509, sizeof(cert_type_just_x509))))
crypto/openssl/test/rpktest.c
711
if (!TEST_true(SSL_CTX_set1_server_cert_type(sctx, cert_type_just_rpk, sizeof(cert_type_just_rpk))))
crypto/openssl/test/rsa_mp_test.c
172
if (!TEST_true(RSA_set0_multi_prime_params(key, pris, exps,
crypto/openssl/test/rsa_mp_test.c
225
if (!TEST_true(ossl_rsa_set0_all_params(key, primes, exps, coeffs)))
crypto/openssl/test/rsa_mp_test.c
266
if (!TEST_true(RSA_check_key_ex(key, NULL)))
crypto/openssl/test/rsa_mp_test.c
295
if (!TEST_true(BN_set_word(ebn, 65537)))
crypto/openssl/test/rsa_sp800_56b_test.c
115
&& TEST_true(BN_set_word(e, 1))
crypto/openssl/test/rsa_sp800_56b_test.c
118
&& TEST_true(BN_set_word(e, 65536))
crypto/openssl/test/rsa_sp800_56b_test.c
121
&& TEST_true(BN_set_word(e, 3))
crypto/openssl/test/rsa_sp800_56b_test.c
122
&& TEST_true(ossl_rsa_check_public_exponent(e))
crypto/openssl/test/rsa_sp800_56b_test.c
123
&& TEST_true(BN_set_word(e, 17))
crypto/openssl/test/rsa_sp800_56b_test.c
124
&& TEST_true(ossl_rsa_check_public_exponent(e))
crypto/openssl/test/rsa_sp800_56b_test.c
125
&& TEST_true(BN_set_word(e, 65537))
crypto/openssl/test/rsa_sp800_56b_test.c
126
&& TEST_true(ossl_rsa_check_public_exponent(e))
crypto/openssl/test/rsa_sp800_56b_test.c
128
&& TEST_true(BN_lshift(e, BN_value_one(), 256))
crypto/openssl/test/rsa_sp800_56b_test.c
129
&& TEST_true(BN_add(e, e, BN_value_one()))
crypto/openssl/test/rsa_sp800_56b_test.c
130
&& TEST_true(ossl_rsa_check_public_exponent(e));
crypto/openssl/test/rsa_sp800_56b_test.c
157
&& TEST_true(BN_set_word(p, 0xA))
crypto/openssl/test/rsa_sp800_56b_test.c
159
&& TEST_true(BN_set_word(p, 0x10))
crypto/openssl/test/rsa_sp800_56b_test.c
161
&& TEST_true(BN_set_word(p, 0xB))
crypto/openssl/test/rsa_sp800_56b_test.c
163
&& TEST_true(BN_set_word(p, 0xC))
crypto/openssl/test/rsa_sp800_56b_test.c
164
&& TEST_true(ossl_rsa_check_prime_factor_range(p, 8, ctx))
crypto/openssl/test/rsa_sp800_56b_test.c
165
&& TEST_true(BN_set_word(p, 0xF))
crypto/openssl/test/rsa_sp800_56b_test.c
166
&& TEST_true(ossl_rsa_check_prime_factor_range(p, 8, ctx))
crypto/openssl/test/rsa_sp800_56b_test.c
169
&& TEST_true(ossl_rsa_check_prime_factor_range(bn_p3, 72, ctx))
crypto/openssl/test/rsa_sp800_56b_test.c
170
&& TEST_true(ossl_rsa_check_prime_factor_range(bn_p4, 72, ctx));
crypto/openssl/test/rsa_sp800_56b_test.c
200
&& TEST_true(BN_set_word(e, 0x1))
crypto/openssl/test/rsa_sp800_56b_test.c
203
&& TEST_true(ossl_rsa_check_prime_factor(bn_p2, e, 72, ctx))
crypto/openssl/test/rsa_sp800_56b_test.c
205
&& TEST_true(BN_set_word(e, 0x2))
crypto/openssl/test/rsa_sp800_56b_test.c
208
&& TEST_true(BN_set_word(e, 0x1))
crypto/openssl/test/rsa_sp800_56b_test.c
233
&& TEST_true(BN_set_word(p, 15))
crypto/openssl/test/rsa_sp800_56b_test.c
234
&& TEST_true(BN_set_word(q, 17))
crypto/openssl/test/rsa_sp800_56b_test.c
235
&& TEST_true(RSA_set0_factors(key, p, q));
crypto/openssl/test/rsa_sp800_56b_test.c
245
&& TEST_true(BN_set_word(e, 5))
crypto/openssl/test/rsa_sp800_56b_test.c
246
&& TEST_true(BN_set_word(d, 157))
crypto/openssl/test/rsa_sp800_56b_test.c
247
&& TEST_true(BN_set_word(n, 15 * 17))
crypto/openssl/test/rsa_sp800_56b_test.c
248
&& TEST_true(RSA_set0_key(key, n, e, d));
crypto/openssl/test/rsa_sp800_56b_test.c
257
&& TEST_true(BN_set_word(d, 45))
crypto/openssl/test/rsa_sp800_56b_test.c
259
&& TEST_true(ossl_rsa_check_private_exponent(key, 8, ctx))
crypto/openssl/test/rsa_sp800_56b_test.c
263
&& TEST_true(BN_set_word(d, 16))
crypto/openssl/test/rsa_sp800_56b_test.c
266
&& TEST_true(BN_set_word(d, 46))
crypto/openssl/test/rsa_sp800_56b_test.c
294
&& TEST_true(BN_set_word(p, P))
crypto/openssl/test/rsa_sp800_56b_test.c
295
&& TEST_true(BN_set_word(q, Q))
crypto/openssl/test/rsa_sp800_56b_test.c
296
&& TEST_true(BN_set_word(e, E))
crypto/openssl/test/rsa_sp800_56b_test.c
297
&& TEST_true(RSA_set0_factors(key, p, q));
crypto/openssl/test/rsa_sp800_56b_test.c
309
&& TEST_true(ossl_rsa_check_crt_components(key, ctx))
crypto/openssl/test/rsa_sp800_56b_test.c
311
&& TEST_true(BN_set_word(key->dmp1, 1))
crypto/openssl/test/rsa_sp800_56b_test.c
313
&& TEST_true(BN_set_word(key->dmp1, P - 1))
crypto/openssl/test/rsa_sp800_56b_test.c
315
&& TEST_true(BN_set_word(key->dmp1, DP))
crypto/openssl/test/rsa_sp800_56b_test.c
317
&& TEST_true(BN_set_word(key->dmq1, 1))
crypto/openssl/test/rsa_sp800_56b_test.c
319
&& TEST_true(BN_set_word(key->dmq1, Q - 1))
crypto/openssl/test/rsa_sp800_56b_test.c
321
&& TEST_true(BN_set_word(key->dmq1, DQ))
crypto/openssl/test/rsa_sp800_56b_test.c
323
&& TEST_true(BN_set_word(key->iqmp, 1))
crypto/openssl/test/rsa_sp800_56b_test.c
325
&& TEST_true(BN_set_word(key->iqmp, P))
crypto/openssl/test/rsa_sp800_56b_test.c
327
&& TEST_true(BN_set_word(key->iqmp, QINV))
crypto/openssl/test/rsa_sp800_56b_test.c
329
&& TEST_true(BN_set_word(key->dmp1, DP + 1))
crypto/openssl/test/rsa_sp800_56b_test.c
331
&& TEST_true(BN_set_word(key->dmp1, DP))
crypto/openssl/test/rsa_sp800_56b_test.c
333
&& TEST_true(BN_set_word(key->dmq1, DQ - 1))
crypto/openssl/test/rsa_sp800_56b_test.c
335
&& TEST_true(BN_set_word(key->dmq1, DQ))
crypto/openssl/test/rsa_sp800_56b_test.c
337
&& TEST_true(BN_set_word(key->iqmp, QINV + 1))
crypto/openssl/test/rsa_sp800_56b_test.c
339
&& TEST_true(BN_set_word(key->iqmp, QINV))
crypto/openssl/test/rsa_sp800_56b_test.c
341
&& TEST_true(ossl_rsa_check_crt_components(key, ctx));
crypto/openssl/test/rsa_sp800_56b_test.c
368
&& TEST_true(BN_set_word(p, derive_from_pq_tests[tst].p))
crypto/openssl/test/rsa_sp800_56b_test.c
369
&& TEST_true(BN_set_word(q, derive_from_pq_tests[tst].q))
crypto/openssl/test/rsa_sp800_56b_test.c
370
&& TEST_true(BN_set_word(e, derive_from_pq_tests[tst].e))
crypto/openssl/test/rsa_sp800_56b_test.c
371
&& TEST_true(RSA_set0_factors(key, p, q));
crypto/openssl/test/rsa_sp800_56b_test.c
395
&& TEST_true(BN_set_word(p, 1))
crypto/openssl/test/rsa_sp800_56b_test.c
396
&& TEST_true(BN_set_word(q, 1 + 2))
crypto/openssl/test/rsa_sp800_56b_test.c
399
&& TEST_true(BN_set_word(q, 1 + 3))
crypto/openssl/test/rsa_sp800_56b_test.c
400
&& TEST_true(ossl_rsa_check_pminusq_diff(tmp, p, q, 202))
crypto/openssl/test/rsa_sp800_56b_test.c
401
&& TEST_true(BN_set_word(p, 1 + 3))
crypto/openssl/test/rsa_sp800_56b_test.c
402
&& TEST_true(BN_set_word(q, 1))
crypto/openssl/test/rsa_sp800_56b_test.c
403
&& TEST_true(ossl_rsa_check_pminusq_diff(tmp, p, q, 202));
crypto/openssl/test/rsa_sp800_56b_test.c
424
&& TEST_true(RSA_set0_factors(key, p, q));
crypto/openssl/test/rsa_sp800_56b_test.c
434
&& TEST_true(RSA_set0_key(key, n, e, d));
crypto/openssl/test/rsa_sp800_56b_test.c
450
&& TEST_true(BN_add_word(e, 1))
crypto/openssl/test/rsa_sp800_56b_test.c
452
&& TEST_true(BN_sub_word(e, 1))
crypto/openssl/test/rsa_sp800_56b_test.c
456
&& TEST_true(ossl_rsa_sp800_56b_check_keypair(key, e, 112, 2048))
crypto/openssl/test/rsa_sp800_56b_test.c
458
&& TEST_true(BN_add_word(n, 1))
crypto/openssl/test/rsa_sp800_56b_test.c
460
&& TEST_true(BN_sub_word(n, 1))
crypto/openssl/test/rsa_sp800_56b_test.c
462
&& TEST_true(BN_lshift1(n, n))
crypto/openssl/test/rsa_sp800_56b_test.c
464
&& TEST_true(BN_rshift1(n, n))
crypto/openssl/test/rsa_sp800_56b_test.c
466
&& TEST_true(BN_sub_word(p, 2))
crypto/openssl/test/rsa_sp800_56b_test.c
467
&& TEST_true(BN_mul(n, p, q, ctx))
crypto/openssl/test/rsa_sp800_56b_test.c
469
&& TEST_true(BN_add_word(p, 2))
crypto/openssl/test/rsa_sp800_56b_test.c
470
&& TEST_true(BN_mul(n, p, q, ctx))
crypto/openssl/test/rsa_sp800_56b_test.c
472
&& TEST_true(BN_sub_word(q, 2))
crypto/openssl/test/rsa_sp800_56b_test.c
473
&& TEST_true(BN_mul(n, p, q, ctx))
crypto/openssl/test/rsa_sp800_56b_test.c
475
&& TEST_true(BN_add_word(q, 2))
crypto/openssl/test/rsa_sp800_56b_test.c
476
&& TEST_true(BN_mul(n, p, q, ctx));
crypto/openssl/test/rsa_sp800_56b_test.c
494
&& TEST_true(ossl_rsa_sp800_56b_generate_key(key, sz, NULL, NULL))
crypto/openssl/test/rsa_sp800_56b_test.c
495
&& TEST_true(ossl_rsa_sp800_56b_check_public(key))
crypto/openssl/test/rsa_sp800_56b_test.c
496
&& TEST_true(ossl_rsa_sp800_56b_check_private(key))
crypto/openssl/test/rsa_sp800_56b_test.c
497
&& TEST_true(ossl_rsa_sp800_56b_check_keypair(key, NULL, -1, sz));
crypto/openssl/test/rsa_sp800_56b_test.c
516
&& TEST_true(RSA_set0_key(key, n, e, d));
crypto/openssl/test/rsa_sp800_56b_test.c
524
ret = TEST_true(ossl_rsa_sp800_56b_check_private(key))
crypto/openssl/test/rsa_sp800_56b_test.c
526
&& TEST_true(BN_set_word(d, 0))
crypto/openssl/test/rsa_sp800_56b_test.c
548
&& TEST_true(RSA_set0_key(key, n, e, NULL));
crypto/openssl/test/rsa_sp800_56b_test.c
555
ret = TEST_true(ossl_rsa_sp800_56b_check_public(key))
crypto/openssl/test/rsa_sp800_56b_test.c
557
&& TEST_true(BN_add_word(n, 1))
crypto/openssl/test/rsa_sp800_56b_test.c
559
&& TEST_true(BN_sub_word(n, 1))
crypto/openssl/test/rsa_sp800_56b_test.c
561
&& TEST_true(BN_lshift1(n, n))
crypto/openssl/test/rsa_sp800_56b_test.c
563
&& TEST_true(BN_rshift1(n, n))
crypto/openssl/test/rsa_sp800_56b_test.c
565
&& TEST_true(BN_add_word(e, 1))
crypto/openssl/test/rsa_sp800_56b_test.c
567
&& TEST_true(BN_sub_word(e, 1))
crypto/openssl/test/rsa_sp800_56b_test.c
569
&& TEST_true(BN_add_word(n, 2))
crypto/openssl/test/rsa_test.c
361
if (TEST_true(RSA_set0_key(key, BN_bin2bn(num, bytes, NULL),
crypto/openssl/test/rsa_test.c
478
&& TEST_true(RSA_set0_factors(rsa, p, q))
crypto/openssl/test/rsa_test.c
479
&& TEST_true(RSA_set0_key(rsa, n, e, d))
crypto/openssl/test/rsa_test.c
480
&& TEST_true(EVP_PKEY_assign_RSA(pkey, rsa))
crypto/openssl/test/rsa_test.c
481
&& TEST_true(EVP_DigestSignInit(ctx, NULL, md, NULL, pkey))
crypto/openssl/test/rsa_test.c
482
&& TEST_true(EVP_DigestSign(ctx, sigbuf, &buflen, msgbuf, msglen)));
crypto/openssl/test/rsa_test.c
647
if (!TEST_true(RSA_sign_ASN1_OCTET_STRING(0, in, inlen, sig, &siglen,
crypto/openssl/test/rsa_test.c
650
if (!TEST_true(RSA_verify_ASN1_OCTET_STRING(0, in, inlen, sig, siglen, rsa_pub)))
crypto/openssl/test/secmemtest.c
115
if (TEST_true(CRYPTO_secure_malloc_init((size_t)1<<34, 1<<4) != 0))
crypto/openssl/test/secmemtest.c
116
TEST_true(CRYPTO_secure_malloc_done());
crypto/openssl/test/secmemtest.c
142
if (!TEST_true(CRYPTO_secure_malloc_init(4096, 32))
crypto/openssl/test/secmemtest.c
31
|| !TEST_true(CRYPTO_secure_malloc_init(4096, 32))
crypto/openssl/test/secmemtest.c
37
|| !TEST_true(CRYPTO_secure_allocated(p))
crypto/openssl/test/secmemtest.c
51
|| !TEST_true(CRYPTO_secure_allocated(s))
crypto/openssl/test/secmemtest.c
64
|| !TEST_true(CRYPTO_secure_malloc_initialized()))
crypto/openssl/test/secmemtest.c
70
|| !TEST_true(CRYPTO_secure_malloc_done())
crypto/openssl/test/secmemtest.c
75
if (!TEST_true(CRYPTO_secure_malloc_init(32768, 16)))
crypto/openssl/test/secmemtest.c
78
TEST_true(CRYPTO_secure_malloc_done());
crypto/openssl/test/secmemtest.c
85
TEST_true(CRYPTO_secure_malloc_done());
crypto/openssl/test/servername_test.c
110
&& !TEST_true(SSL_CTX_set_max_proto_version(ctx, maxversion)))
crypto/openssl/test/servername_test.c
133
if (!TEST_true(get_sni_from_client_hello(wbio, &hostname)))
crypto/openssl/test/servername_test.c
162
&& !TEST_true(SSL_CTX_set_max_proto_version(ctx, maxversion)))
crypto/openssl/test/servername_test.c
186
if (!TEST_true(get_sni_from_client_hello(wbio, &hostname)))
crypto/openssl/test/servername_test.c
206
if (!TEST_true(create_ssl_ctx_pair(NULL, TLS_server_method(),
crypto/openssl/test/servername_test.c
210
|| !TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/servername_test.c
217
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/servername_test.c
55
|| !TEST_true(PACKET_buf_init(&pkt, data, len))
crypto/openssl/test/servername_test.c
59
|| !TEST_true(PACKET_forward(&pkt, SSL3_HM_HEADER_LENGTH))
crypto/openssl/test/servername_test.c
61
|| !TEST_true(PACKET_forward(&pkt, CLIENT_VERSION_LEN + SSL3_RANDOM_SIZE))
crypto/openssl/test/servername_test.c
63
|| !TEST_true(PACKET_get_length_prefixed_1(&pkt, &pkt2))
crypto/openssl/test/servername_test.c
65
|| !TEST_true(PACKET_get_length_prefixed_2(&pkt, &pkt2))
crypto/openssl/test/servername_test.c
67
|| !TEST_true(PACKET_get_length_prefixed_1(&pkt, &pkt2))
crypto/openssl/test/servername_test.c
69
|| !TEST_true(PACKET_as_length_prefixed_2(&pkt, &pkt2)))
crypto/openssl/test/servername_test.c
74
if (!TEST_true(PACKET_get_net_2(&pkt2, &type))
crypto/openssl/test/servername_test.c
75
|| !TEST_true(PACKET_get_length_prefixed_2(&pkt2, &pkt3)))
crypto/openssl/test/servername_test.c
78
if (!TEST_true(PACKET_get_length_prefixed_2(&pkt3, &pkt4))
crypto/openssl/test/servername_test.c
80
|| !TEST_true(PACKET_get_1(&pkt4, &servname_type))
crypto/openssl/test/servername_test.c
82
|| !TEST_true(PACKET_get_length_prefixed_2(&pkt4, &pkt5))
crypto/openssl/test/servername_test.c
85
|| !TEST_true(PACKET_strndup(&pkt5, sni)))
crypto/openssl/test/siphash_internal_test.c
199
if (!TEST_true(SipHash_set_hash_size(&siphash, expectedlen))
crypto/openssl/test/siphash_internal_test.c
200
|| !TEST_true(SipHash_Init(&siphash, key, 0, 0)))
crypto/openssl/test/siphash_internal_test.c
203
if (!TEST_true(SipHash_Final(&siphash, out, expectedlen))
crypto/openssl/test/siphash_internal_test.c
208
if (!TEST_true(SipHash_set_hash_size(&siphash, expectedlen))
crypto/openssl/test/siphash_internal_test.c
209
|| !TEST_true(SipHash_Init(&siphash, key, 0, 0)))
crypto/openssl/test/siphash_internal_test.c
213
if (!TEST_true(SipHash_Final(&siphash, out, expectedlen)))
crypto/openssl/test/siphash_internal_test.c
225
if (!TEST_true(SipHash_set_hash_size(&siphash, expectedlen))
crypto/openssl/test/siphash_internal_test.c
226
|| !TEST_true(SipHash_Init(&siphash, key, 0, 0)))
crypto/openssl/test/siphash_internal_test.c
230
if (!TEST_true(SipHash_Final(&siphash, out, expectedlen)))
crypto/openssl/test/siphash_internal_test.c
239
if (!TEST_true(SipHash_set_hash_size(&siphash, expectedlen))
crypto/openssl/test/siphash_internal_test.c
240
|| !TEST_true(SipHash_Init(&siphash, key, 0, 0)))
crypto/openssl/test/siphash_internal_test.c
244
if (!TEST_true(SipHash_Final(&siphash, out, expectedlen)))
crypto/openssl/test/siphash_internal_test.c
270
&& TEST_true(SipHash_set_hash_size(&siphash, 8))
crypto/openssl/test/siphash_internal_test.c
272
&& TEST_true(SipHash_Init(&siphash, key, 0, 0))
crypto/openssl/test/siphash_internal_test.c
273
&& TEST_true(SipHash_Final(&siphash, output, 8))
crypto/openssl/test/siphash_internal_test.c
277
&& TEST_true(SipHash_set_hash_size(&siphash, 16))
crypto/openssl/test/siphash_internal_test.c
278
&& TEST_true(SipHash_Init(&siphash, key, 0, 0))
crypto/openssl/test/siphash_internal_test.c
280
&& TEST_true(SipHash_Final(&siphash, output, 16))
crypto/openssl/test/siphash_internal_test.c
283
&& TEST_true(SipHash_set_hash_size(&siphash, 0))
crypto/openssl/test/siphash_internal_test.c
284
&& TEST_true(SipHash_Init(&siphash, key, 0, 0))
crypto/openssl/test/siphash_internal_test.c
286
&& TEST_true(SipHash_Final(&siphash, output, 16));
crypto/openssl/test/slh_dsa_test.c
281
|| !TEST_true(EVP_PKEY_get_size_t_param(pkey, OSSL_PKEY_PARAM_MAX_SIZE,
crypto/openssl/test/slh_dsa_test.c
342
if (!TEST_true(EVP_PKEY_get_octet_string_param(pkey, OSSL_PKEY_PARAM_PRIV_KEY,
crypto/openssl/test/slh_dsa_test.c
345
if (!TEST_true(EVP_PKEY_get_octet_string_param(pkey, OSSL_PKEY_PARAM_PUB_KEY,
crypto/openssl/test/slh_dsa_test.c
348
if (!TEST_true(EVP_PKEY_get_int_param(pkey, OSSL_PKEY_PARAM_BITS, &bits))
crypto/openssl/test/slh_dsa_test.c
350
|| !TEST_true(EVP_PKEY_get_int_param(pkey, OSSL_PKEY_PARAM_SECURITY_BITS,
crypto/openssl/test/slh_dsa_test.c
353
|| !TEST_true(EVP_PKEY_get_int_param(pkey, OSSL_PKEY_PARAM_MAX_SIZE,
crypto/openssl/test/slh_dsa_test.c
394
|| !TEST_true(PEM_write_bio_PUBKEY_ex(pub_bio, gkey, lib_ctx, NULL))
crypto/openssl/test/slh_dsa_test.c
395
|| !TEST_true(PEM_write_bio_PrivateKey_ex(priv_bio, gkey, cipher,
crypto/openssl/test/slh_dsa_test.c
411
if (!TEST_true(EVP_PKEY_pairwise_check(sctx))
crypto/openssl/test/slh_dsa_test.c
412
|| !TEST_true(EVP_PKEY_public_check(sctx))
crypto/openssl/test/slh_dsa_test.c
413
|| !TEST_true(EVP_PKEY_private_check(sctx)))
crypto/openssl/test/slh_dsa_test.c
467
|| !TEST_true(PEM_write_bio_PUBKEY_ex(pub_bio, gkey, lib_ctx, NULL))
crypto/openssl/test/slh_dsa_test.c
468
|| !TEST_true(PEM_write_bio_PrivateKey_ex(priv_bio, gkey, cipher,
crypto/openssl/test/slh_dsa_test.c
66
|| !TEST_true(OSSL_PARAM_BLD_push_octet_string(bld,
crypto/openssl/test/slh_dsa_test.c
70
|| !TEST_true(OSSL_PARAM_BLD_push_octet_string(bld,
crypto/openssl/test/sm2_internal_test.c
104
if (!TEST_true(BN_hex2bn(&g_x, x_hex))
crypto/openssl/test/sm2_internal_test.c
105
|| !TEST_true(BN_hex2bn(&g_y, y_hex))
crypto/openssl/test/sm2_internal_test.c
106
|| !TEST_true(EC_POINT_set_affine_coordinates(group, generator, g_x,
crypto/openssl/test/sm2_internal_test.c
110
if (!TEST_true(BN_hex2bn(&order, order_hex))
crypto/openssl/test/sm2_internal_test.c
111
|| !TEST_true(BN_hex2bn(&cof, cof_hex))
crypto/openssl/test/sm2_internal_test.c
112
|| !TEST_true(EC_GROUP_set_generator(group, generator, order, cof)))
crypto/openssl/test/sm2_internal_test.c
152
|| !TEST_true(BN_hex2bn(&priv, privkey_hex)))
crypto/openssl/test/sm2_internal_test.c
157
|| !TEST_true(EC_KEY_set_group(key, group))
crypto/openssl/test/sm2_internal_test.c
158
|| !TEST_true(EC_KEY_set_private_key(key, priv)))
crypto/openssl/test/sm2_internal_test.c
163
|| !TEST_true(EC_POINT_mul(group, pt, priv, NULL, NULL, NULL))
crypto/openssl/test/sm2_internal_test.c
164
|| !TEST_true(EC_KEY_set_public_key(key, pt))
crypto/openssl/test/sm2_internal_test.c
165
|| !TEST_true(ossl_sm2_ciphertext_size(key, digest, msg_len,
crypto/openssl/test/sm2_internal_test.c
174
if (!TEST_true(ossl_sm2_encrypt(key, digest,
crypto/openssl/test/sm2_internal_test.c
185
if (!TEST_true(ossl_sm2_plaintext_size(ctext, ctext_len, &ptext_len))
crypto/openssl/test/sm2_internal_test.c
191
|| !TEST_true(ossl_sm2_decrypt(key, digest, ctext, ctext_len,
crypto/openssl/test/sm2_internal_test.c
319
if (!TEST_true(BN_hex2bn(&priv, privkey_hex)))
crypto/openssl/test/sm2_internal_test.c
324
|| !TEST_true(EC_KEY_set_group(key, group))
crypto/openssl/test/sm2_internal_test.c
325
|| !TEST_true(EC_KEY_set_private_key(key, priv)))
crypto/openssl/test/sm2_internal_test.c
331
|| !TEST_true(EC_POINT_mul(group, pt, priv, NULL, NULL, NULL))
crypto/openssl/test/sm2_internal_test.c
332
|| !TEST_true(EC_KEY_set_public_key(key, pt)))
crypto/openssl/test/sm2_internal_test.c
347
if (!TEST_true(BN_hex2bn(&r, r_hex))
crypto/openssl/test/sm2_internal_test.c
348
|| !TEST_true(BN_hex2bn(&s, s_hex))
crypto/openssl/test/sm2_internal_test.c
357
TEST_true(ok);
crypto/openssl/test/sm2_internal_test.c
386
if (!TEST_true(test_sm2_sign(
crypto/openssl/test/sm2_internal_test.c
410
if (!TEST_true(test_sm2_sign(
crypto/openssl/test/sm2_internal_test.c
91
if (!TEST_true(BN_hex2bn(&p, p_hex))
crypto/openssl/test/sm2_internal_test.c
92
|| !TEST_true(BN_hex2bn(&a, a_hex))
crypto/openssl/test/sm2_internal_test.c
93
|| !TEST_true(BN_hex2bn(&b, b_hex)))
crypto/openssl/test/sm3_internal_test.c
62
if (!TEST_true(ossl_sm3_init(&ctx1))
crypto/openssl/test/sm3_internal_test.c
63
|| !TEST_true(ossl_sm3_update(&ctx1, input1, sizeof(input1)))
crypto/openssl/test/sm3_internal_test.c
64
|| !TEST_true(ossl_sm3_final(md1, &ctx1))
crypto/openssl/test/sm3_internal_test.c
68
if (!TEST_true(ossl_sm3_init(&ctx2))
crypto/openssl/test/sm3_internal_test.c
69
|| !TEST_true(ossl_sm3_update(&ctx2, input2, sizeof(input2)))
crypto/openssl/test/sm3_internal_test.c
70
|| !TEST_true(ossl_sm3_final(md2, &ctx2))
crypto/openssl/test/sparse_array_test.c
167
if (!TEST_true(ossl_sa_char_set(sa, cases[i].n, cases[i].v))) {
crypto/openssl/test/sparse_array_test.c
50
if (!TEST_true(ossl_sa_char_set(sa, cases[i].n, cases[i].v))) {
crypto/openssl/test/sparse_array_test.c
88
if (!TEST_true(ossl_sa_char_set(sa, cases[i].n, cases[i].v))
crypto/openssl/test/srptest.c
125
if (!TEST_true(BN_hex2bn(&tmp, hexbn)))
crypto/openssl/test/srptest.c
156
if (!TEST_true(SRP_create_verifier_BN("alice", "password123", &s, &v, GN->N,
crypto/openssl/test/srptest.c
161
if (!TEST_true(check_bn("v", v,
crypto/openssl/test/srptest.c
176
if (!TEST_true(SRP_Verify_B_mod_N(Bpub, GN->N)))
crypto/openssl/test/srptest.c
180
if (!TEST_true(check_bn("B", Bpub,
crypto/openssl/test/srptest.c
195
if (!TEST_true(SRP_Verify_A_mod_N(Apub, GN->N)))
crypto/openssl/test/srptest.c
199
if (!TEST_true(check_bn("A", Apub,
crypto/openssl/test/srptest.c
211
if (!TEST_true(check_bn("u", u,
crypto/openssl/test/srptest.c
219
if (!TEST_true(check_bn("Client's key", Kclient,
crypto/openssl/test/srptest.c
231
if (!TEST_true(check_bn("Server's key", Kserver,
crypto/openssl/test/srptest.c
266
if (!TEST_true(run_srp("alice", "password", "password")))
crypto/openssl/test/srptest.c
51
if (!TEST_true(SRP_create_verifier_BN(username, server_pass,
crypto/openssl/test/srptest.c
71
if (!TEST_true(SRP_Verify_B_mod_N(Bpub, GN->N)))
crypto/openssl/test/srptest.c
85
if (!TEST_true(SRP_Verify_A_mod_N(Apub, GN->N)))
crypto/openssl/test/ssl_handshake_rtt_test.c
64
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/ssl_handshake_rtt_test.c
70
|| !TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/ssl_test.c
419
if (!TEST_true(SSL_CTX_set_options(server_ctx,
crypto/openssl/test/ssl_test.c
421
|| !TEST_true(SSL_CTX_set_max_proto_version(server_ctx, 0)))
crypto/openssl/test/ssl_test.c
425
|| !TEST_true(SSL_CTX_set_options(server2_ctx,
crypto/openssl/test/ssl_test.c
430
if (!TEST_true(SSL_CTX_set_max_proto_version(client_ctx, 0)))
crypto/openssl/test/ssl_test.c
435
if (!TEST_true(SSL_CTX_set_max_proto_version(resume_server_ctx, 0))
crypto/openssl/test/ssl_test.c
436
|| !TEST_true(SSL_CTX_set_options(resume_server_ctx,
crypto/openssl/test/ssl_test.c
441
if (!TEST_true(SSL_CTX_set_max_proto_version(resume_client_ctx, 0)))
crypto/openssl/test/ssl_test.c
460
if (!TEST_true(SSL_CTX_set_max_proto_version(server_ctx, maxversion))
crypto/openssl/test/ssl_test.c
461
|| !TEST_true(SSL_CTX_set_options(server_ctx,
crypto/openssl/test/ssl_test.c
467
|| !TEST_true(SSL_CTX_set_options(server2_ctx,
crypto/openssl/test/ssl_test.c
470
if (!TEST_true(SSL_CTX_set_max_proto_version(server2_ctx,
crypto/openssl/test/ssl_test.c
475
if (!TEST_true(SSL_CTX_set_max_proto_version(client_ctx, maxversion)))
crypto/openssl/test/ssl_test.c
481
if (!TEST_true(SSL_CTX_set_max_proto_version(resume_server_ctx,
crypto/openssl/test/ssl_test.c
483
|| !TEST_true(SSL_CTX_set_options(resume_server_ctx,
crypto/openssl/test/ssl_test.c
488
if (!TEST_true(SSL_CTX_set_max_proto_version(resume_client_ctx,
crypto/openssl/test/ssl_test.c
498
if (!TEST_true(OPENSSL_init_ssl(OPENSSL_INIT_LOAD_CONFIG, NULL)))
crypto/openssl/test/ssl_test_ctx_test.c
67
if (!TEST_true(clientconf_eq(&extra->client, &extra2->client))
crypto/openssl/test/ssl_test_ctx_test.c
68
|| !TEST_true(serverconf_eq(&extra->server, &extra2->server))
crypto/openssl/test/ssl_test_ctx_test.c
69
|| !TEST_true(serverconf_eq(&extra->server2, &extra2->server2)))
crypto/openssl/test/sslapitest.c
1005
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
10063
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
10068
|| !TEST_true(SSL_CTX_set_options(sctx, SSL_OP_NO_TICKET)))
crypto/openssl/test/sslapitest.c
1007
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
10076
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
10080
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
10092
if (!TEST_true(SSL_SESSION_set_timeout(sess, LONG_MAX))) {
crypto/openssl/test/sslapitest.c
10110
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
10114
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
10130
if (!TEST_true(CRYPTO_GET_REF(&get_sess_val->references, &references))
crypto/openssl/test/sslapitest.c
10143
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
10147
if (!TEST_true(SSL_set_session(clientssl, sess)))
crypto/openssl/test/sslapitest.c
1015
if (!TEST_true(SSL_clear(serverssl)))
crypto/openssl/test/sslapitest.c
10150
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
10195
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
10201
|| !TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
10206
if (!TEST_true(SSL_CTX_set_tlsext_servername_callback(sctx,
crypto/openssl/test/sslapitest.c
10212
if (!TEST_true(SSL_set_tlsext_host_name(clientssl, "goodhost")))
crypto/openssl/test/sslapitest.c
10217
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
10231
|| !TEST_true(SSL_SESSION_is_resumable(sess))
crypto/openssl/test/sslapitest.c
10239
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, NULL,
crypto/openssl/test/sslapitest.c
10243
if (!TEST_true(SSL_set_session(clientssl, sess)))
crypto/openssl/test/sslapitest.c
10249
if (!TEST_true(SSL_set_tlsext_host_name(clientssl, "altgoodhost")))
crypto/openssl/test/sslapitest.c
10275
if (!TEST_true(SSL_set_tlsext_host_name(clientssl, "goodhost")))
crypto/openssl/test/sslapitest.c
10295
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
10298
if (!TEST_true(SSL_session_reused(clientssl))
crypto/openssl/test/sslapitest.c
10299
|| !TEST_true(SSL_session_reused(serverssl))
crypto/openssl/test/sslapitest.c
10445
if (!TEST_true(OSSL_PROVIDER_add_builtin(tmpctx, "filter",
crypto/openssl/test/sslapitest.c
10460
if (!TEST_true(filter_provider_set_filter(OSSL_OP_DIGEST,
crypto/openssl/test/sslapitest.c
10464
if (!TEST_true(filter_provider_set_filter(OSSL_OP_SIGNATURE,
crypto/openssl/test/sslapitest.c
10467
|| !TEST_true(filter_provider_set_filter(OSSL_OP_KEYMGMT, "EC"))
crypto/openssl/test/sslapitest.c
10469
|| !TEST_true(filter_provider_set_filter(OSSL_OP_KEYMGMT,
crypto/openssl/test/sslapitest.c
10488
if (!TEST_true(SSL_CTX_set1_groups_list(cctx,
crypto/openssl/test/sslapitest.c
10490
|| !TEST_true(SSL_CTX_set1_groups_list(sctx,
crypto/openssl/test/sslapitest.c
10496
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
10504
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
10514
if (!TEST_true(SSL_CTX_set_cipher_list(cctx,
crypto/openssl/test/sslapitest.c
10518
if (!TEST_true(SSL_CTX_set_cipher_list(cctx,
crypto/openssl/test/sslapitest.c
10550
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
10554
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
10581
|| !TEST_true(SSL_get0_peer_signature_name(clientssl, &sigalg_name))
crypto/openssl/test/sslapitest.c
10618
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
10623
|| !TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
10628
if (!TEST_true(SSL_set1_groups_list(serverssl, "xorgroup:xorkemgroup:dummy1:dummy2:dummy3:dummy4:dummy5:dummy6:dummy7:dummy8:dummy9:dummy10:dummy11:dummy12:dummy13:dummy14:dummy15:dummy16:dummy17:dummy18:dummy19:dummy20:dummy21:dummy22:dummy23:dummy24:dummy25:dummy26:dummy27:dummy28:dummy29:dummy30:dummy31:dummy32:dummy33:dummy34:dummy35:dummy36:dummy37:dummy38:dummy39:dummy40:dummy41:dummy42:dummy43"))
crypto/openssl/test/sslapitest.c
1063
if (!TEST_true(SSL_write(clientssl, cbuf, sizeof(cbuf)) == sizeof(cbuf)))
crypto/openssl/test/sslapitest.c
10630
|| !TEST_true(SSL_set1_groups_list(clientssl, group_name)))
crypto/openssl/test/sslapitest.c
10633
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
10674
|| !TEST_true(EVP_PKEY_generate(evpctx, &pkey))
crypto/openssl/test/sslapitest.c
10677
|| !TEST_true(ASN1_INTEGER_set(X509_get_serialNumber(x509), 1))
crypto/openssl/test/sslapitest.c
10678
|| !TEST_true(X509_gmtime_adj(X509_getm_notBefore(x509), 0))
crypto/openssl/test/sslapitest.c
10679
|| !TEST_true(X509_gmtime_adj(X509_getm_notAfter(x509), 31536000L))
crypto/openssl/test/sslapitest.c
10680
|| !TEST_true(X509_set_pubkey(x509, pkey))
crypto/openssl/test/sslapitest.c
10682
|| !TEST_true(X509_NAME_add_entry_by_txt(name, "C", MBSTRING_ASC,
crypto/openssl/test/sslapitest.c
10684
|| !TEST_true(X509_NAME_add_entry_by_txt(name, "O", MBSTRING_ASC,
crypto/openssl/test/sslapitest.c
10686
|| !TEST_true(X509_NAME_add_entry_by_txt(name, "CN", MBSTRING_ASC,
crypto/openssl/test/sslapitest.c
10688
|| !TEST_true(X509_set_issuer_name(x509, name))
crypto/openssl/test/sslapitest.c
10689
|| !TEST_true(X509_sign(x509, pkey, EVP_sha1()))
crypto/openssl/test/sslapitest.c
10691
|| !TEST_true(PEM_write_bio_PrivateKey(keybio, pkey, NULL, NULL, 0, NULL, NULL))
crypto/openssl/test/sslapitest.c
10693
|| !TEST_true(PEM_write_bio_X509(certbio, x509)))
crypto/openssl/test/sslapitest.c
1072
if (!TEST_true(SSL_write(serverssl, sbuf, sizeof(sbuf)) == sizeof(sbuf)))
crypto/openssl/test/sslapitest.c
10739
|| !TEST_true(create_cert_key(sigidx, certfilename, privkeyfilename)))
crypto/openssl/test/sslapitest.c
10742
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
10758
|| !TEST_true(SSL_CONF_CTX_finish(confctx))) {
crypto/openssl/test/sslapitest.c
10776
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
10782
if (!TEST_true(SSL_set1_server_cert_type(serverssl, cert_type_rpk, sizeof(cert_type_rpk)))
crypto/openssl/test/sslapitest.c
10783
|| !TEST_true(SSL_set1_server_cert_type(clientssl, cert_type_rpk, sizeof(cert_type_rpk))))
crypto/openssl/test/sslapitest.c
10788
if (!TEST_true(SSL_set1_groups_list(serverssl, "xorgroup"))
crypto/openssl/test/sslapitest.c
10789
|| !TEST_true(SSL_set1_groups_list(clientssl, "xorgroup")))
crypto/openssl/test/sslapitest.c
10797
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
10804
if (!TEST_true(SSL_get0_peer_signature_name(clientssl, &sigalg_name))
crypto/openssl/test/sslapitest.c
10831
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
10838
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
10842
if (!TEST_true(SSL_set_min_proto_version(clientssl, TLS1_2_VERSION))
crypto/openssl/test/sslapitest.c
10843
|| !TEST_true(SSL_set_max_proto_version(clientssl, TLS1_2_VERSION)))
crypto/openssl/test/sslapitest.c
10849
|| !TEST_true(BIO_up_ref(rbio)))
crypto/openssl/test/sslapitest.c
10855
if (!TEST_ptr(wbio) || !TEST_true(BIO_up_ref(wbio)))
crypto/openssl/test/sslapitest.c
10869
if (!TEST_true(create_ssl_connection(serverssl, client2ssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
10919
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
10927
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
10932
if (!TEST_true(SSL_set_min_proto_version(clientssl, TLS1_2_VERSION))
crypto/openssl/test/sslapitest.c
10933
|| !TEST_true(SSL_set_max_proto_version(serverssl, TLS1_2_VERSION)))
crypto/openssl/test/sslapitest.c
10936
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
10946
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
10954
if (!TEST_true(SSL_SESSION_set1_id(secret_sess, NULL, 0)))
crypto/openssl/test/sslapitest.c
10961
if (!TEST_true(SSL_SESSION_set1_id(secret_sess, (unsigned char *)"sessionid", 9)))
crypto/openssl/test/sslapitest.c
10965
if (!TEST_true(SSL_set_min_proto_version(clientssl, TLS1_2_VERSION))
crypto/openssl/test/sslapitest.c
10966
|| !TEST_true(SSL_set_max_proto_version(serverssl, TLS1_2_VERSION))
crypto/openssl/test/sslapitest.c
10967
|| !TEST_true(SSL_set_session_secret_cb(serverssl, secret_cb,
crypto/openssl/test/sslapitest.c
10969
|| !TEST_true(SSL_set_session_secret_cb(clientssl, secret_cb,
crypto/openssl/test/sslapitest.c
10971
|| !TEST_true(SSL_set_session(clientssl, secret_sess)))
crypto/openssl/test/sslapitest.c
10982
if (!TEST_true(SSL_SESSION_set1_id(secret_sess, NULL, 0)))
crypto/openssl/test/sslapitest.c
10985
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
10989
if (!TEST_true(SSL_session_reused(clientssl))
crypto/openssl/test/sslapitest.c
10990
|| !TEST_true(SSL_session_reused(serverssl)))
crypto/openssl/test/sslapitest.c
11040
|| !TEST_true(OSSL_PARAM_BLD_push_BN(tmpl,
crypto/openssl/test/sslapitest.c
11043
|| !TEST_true(OSSL_PARAM_BLD_push_uint(tmpl,
crypto/openssl/test/sslapitest.c
11141
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
11149
if (!TEST_true(SSL_CTX_set_dh_auto(sctx, dhauto)))
crypto/openssl/test/sslapitest.c
11154
if (!TEST_true(SSL_CTX_set0_tmp_dh_pkey(sctx, dhpkey)))
crypto/openssl/test/sslapitest.c
11160
if (!TEST_true(SSL_CTX_set_tmp_dh(sctx, dh)))
crypto/openssl/test/sslapitest.c
11167
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
11172
if (!TEST_true(SSL_set_dh_auto(serverssl, dhauto)))
crypto/openssl/test/sslapitest.c
11176
if (!TEST_true(SSL_set0_tmp_dh_pkey(serverssl, dhpkey)))
crypto/openssl/test/sslapitest.c
11182
if (!TEST_true(SSL_set_tmp_dh(serverssl, dh)))
crypto/openssl/test/sslapitest.c
11189
if (!TEST_true(SSL_set_min_proto_version(serverssl, TLS1_2_VERSION))
crypto/openssl/test/sslapitest.c
11190
|| !TEST_true(SSL_set_max_proto_version(serverssl, TLS1_2_VERSION))
crypto/openssl/test/sslapitest.c
11191
|| !TEST_true(SSL_set_cipher_list(serverssl, "DHE-RSA-AES128-SHA")))
crypto/openssl/test/sslapitest.c
11288
if (!TEST_true(create_ssl_ctx_pair(libctx, NULL,
crypto/openssl/test/sslapitest.c
11295
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
11299
if (!TEST_true(SSL_set_dh_auto(serverssl, 1))
crypto/openssl/test/sslapitest.c
11300
|| !TEST_true(SSL_set_min_proto_version(serverssl, TLS1_2_VERSION))
crypto/openssl/test/sslapitest.c
11301
|| !TEST_true(SSL_set_max_proto_version(serverssl, TLS1_2_VERSION))
crypto/openssl/test/sslapitest.c
11302
|| !TEST_true(SSL_set_cipher_list(serverssl, ciphersuite))
crypto/openssl/test/sslapitest.c
11303
|| !TEST_true(SSL_set_cipher_list(clientssl, ciphersuite)))
crypto/openssl/test/sslapitest.c
11320
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
11357
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
11363
if (!TEST_true(SSL_CTX_set_tlsext_servername_callback(sctx, sni_cb))
crypto/openssl/test/sslapitest.c
11364
|| !TEST_true(SSL_CTX_set_tlsext_servername_arg(sctx, sctx2)))
crypto/openssl/test/sslapitest.c
11371
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
11373
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
11415
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
11420
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
11432
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
11482
if (!TEST_true(SSL_CTX_set_alpn_protos(ctx, good, 1)))
crypto/openssl/test/sslapitest.c
11484
if (!TEST_true(SSL_CTX_set_alpn_protos(ctx, bad0, sizeof(bad0))))
crypto/openssl/test/sslapitest.c
11486
if (!TEST_true(SSL_CTX_set_alpn_protos(ctx, bad1, sizeof(bad1))))
crypto/openssl/test/sslapitest.c
11488
if (!TEST_true(SSL_CTX_set_alpn_protos(ctx, bad2, sizeof(bad2))))
crypto/openssl/test/sslapitest.c
11490
if (!TEST_true(SSL_CTX_set_alpn_protos(ctx, bad3, sizeof(bad3))))
crypto/openssl/test/sslapitest.c
11492
if (!TEST_true(SSL_CTX_set_alpn_protos(ctx, bad4, sizeof(bad4))))
crypto/openssl/test/sslapitest.c
11505
if (!TEST_true(SSL_set_alpn_protos(ssl, good, 1)))
crypto/openssl/test/sslapitest.c
11507
if (!TEST_true(SSL_set_alpn_protos(ssl, bad0, sizeof(bad0))))
crypto/openssl/test/sslapitest.c
11509
if (!TEST_true(SSL_set_alpn_protos(ssl, bad1, sizeof(bad1))))
crypto/openssl/test/sslapitest.c
11511
if (!TEST_true(SSL_set_alpn_protos(ssl, bad2, sizeof(bad2))))
crypto/openssl/test/sslapitest.c
11513
if (!TEST_true(SSL_set_alpn_protos(ssl, bad3, sizeof(bad3))))
crypto/openssl/test/sslapitest.c
11515
if (!TEST_true(SSL_set_alpn_protos(ssl, bad4, sizeof(bad4))))
crypto/openssl/test/sslapitest.c
1153
if (!TEST_true(create_test_sockets(&cfd, &sfd, SOCK_STREAM, NULL)))
crypto/openssl/test/sslapitest.c
11542
if (!TEST_true(SSL_CTX_get0_verify_cert_store(ctx, &store)))
crypto/openssl/test/sslapitest.c
11546
if (!TEST_true(SSL_CTX_get0_chain_cert_store(ctx, &cstore)))
crypto/openssl/test/sslapitest.c
11563
if (!TEST_true(SSL_CTX_set1_verify_cert_store(ctx, new_store)))
crypto/openssl/test/sslapitest.c
11566
if (!TEST_true(SSL_CTX_set1_chain_cert_store(ctx, new_cstore)))
crypto/openssl/test/sslapitest.c
11570
if (!TEST_true(SSL_CTX_get0_verify_cert_store(ctx, &store)))
crypto/openssl/test/sslapitest.c
11573
if (!TEST_true(SSL_CTX_get0_chain_cert_store(ctx, &cstore)))
crypto/openssl/test/sslapitest.c
11580
if (!TEST_true(SSL_CTX_set1_verify_cert_store(ctx, NULL)))
crypto/openssl/test/sslapitest.c
11583
if (!TEST_true(SSL_CTX_set1_chain_cert_store(ctx, NULL)))
crypto/openssl/test/sslapitest.c
11587
if (!TEST_true(SSL_CTX_get0_verify_cert_store(ctx, &store)))
crypto/openssl/test/sslapitest.c
11590
if (!TEST_true(SSL_CTX_get0_chain_cert_store(ctx, &cstore)))
crypto/openssl/test/sslapitest.c
11627
if (!TEST_true(SSL_get0_verify_cert_store(ssl, &store)))
crypto/openssl/test/sslapitest.c
11631
if (!TEST_true(SSL_get0_chain_cert_store(ssl, &cstore)))
crypto/openssl/test/sslapitest.c
11648
if (!TEST_true(SSL_set1_verify_cert_store(ssl, new_store)))
crypto/openssl/test/sslapitest.c
11651
if (!TEST_true(SSL_set1_chain_cert_store(ssl, new_cstore)))
crypto/openssl/test/sslapitest.c
11655
if (!TEST_true(SSL_get0_verify_cert_store(ssl, &store)))
crypto/openssl/test/sslapitest.c
11658
if (!TEST_true(SSL_get0_chain_cert_store(ssl, &cstore)))
crypto/openssl/test/sslapitest.c
11665
if (!TEST_true(SSL_set1_verify_cert_store(ssl, NULL)))
crypto/openssl/test/sslapitest.c
11668
if (!TEST_true(SSL_set1_chain_cert_store(ssl, NULL)))
crypto/openssl/test/sslapitest.c
11672
if (!TEST_true(SSL_get0_verify_cert_store(ssl, &store)))
crypto/openssl/test/sslapitest.c
11675
if (!TEST_true(SSL_get0_chain_cert_store(ssl, &cstore)))
crypto/openssl/test/sslapitest.c
1168
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
1175
if (!TEST_true(SSL_CTX_set_ciphersuites(cctx, cipher))
crypto/openssl/test/sslapitest.c
1176
|| !TEST_true(SSL_CTX_set_ciphersuites(sctx, cipher)))
crypto/openssl/test/sslapitest.c
11779
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
11786
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
1179
if (!TEST_true(SSL_CTX_set_cipher_list(cctx, cipher))
crypto/openssl/test/sslapitest.c
11790
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
11794
if (!TEST_true(SSL_write_ex(clientssl, msg, strlen(msg), &written))
crypto/openssl/test/sslapitest.c
11798
if (!TEST_true(SSL_key_update(clientssl, SSL_KEY_UPDATE_NOT_REQUESTED)))
crypto/openssl/test/sslapitest.c
1180
|| !TEST_true(SSL_CTX_set_cipher_list(sctx, cipher)))
crypto/openssl/test/sslapitest.c
11801
if (!TEST_true(SSL_write_ex(clientssl, msg, strlen(msg), &written))
crypto/openssl/test/sslapitest.c
11813
if (!TEST_true(SSL_read_ex(serverssl, buf, sizeof(buf) - 1,
crypto/openssl/test/sslapitest.c
1184
if (!TEST_true(create_ssl_objects2(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
11880
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
11895
if (!TEST_true(SSL_CTX_set_block_padding(cctx, 512)))
crypto/openssl/test/sslapitest.c
11899
if (!TEST_true(SSL_CTX_set_block_padding_ex(cctx, 0, 512)))
crypto/openssl/test/sslapitest.c
11903
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
11917
if (!TEST_true(SSL_set_block_padding(clientssl, 512)))
crypto/openssl/test/sslapitest.c
11925
if (!TEST_true(SSL_set_block_padding_ex(clientssl, 0, 512)))
crypto/openssl/test/sslapitest.c
11927
if (!TEST_true(SSL_set_block_padding_ex(serverssl, 0, 512)))
crypto/openssl/test/sslapitest.c
1193
if (!TEST_true(SSL_set_options(clientssl, SSL_OP_ENABLE_KTLS)))
crypto/openssl/test/sslapitest.c
11931
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
11943
if (!TEST_true(SSL_write_ex(clientssl, msg, strlen(msg), &written))
crypto/openssl/test/sslapitest.c
11947
if (!TEST_true(SSL_read_ex(serverssl, buf, sizeof(buf) - 1,
crypto/openssl/test/sslapitest.c
1198
if (!TEST_true(SSL_set_options(serverssl, SSL_OP_ENABLE_KTLS)))
crypto/openssl/test/sslapitest.c
12007
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
1202
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
12021
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
12025
if (!TEST_true(SSL_set_cipher_list(clientssl, "AES128-SHA")))
crypto/openssl/test/sslapitest.c
12076
if (!TEST_true(SSL_set_max_pipelines(peera, numpipes))
crypto/openssl/test/sslapitest.c
12077
|| !TEST_true(SSL_set_split_send_fragment(peera, fragsize)))
crypto/openssl/test/sslapitest.c
12080
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
12084
if (!TEST_true(SSL_write_ex(peera, msg, msglen, &written))
crypto/openssl/test/sslapitest.c
12100
if (!TEST_true(SSL_read_ex(peerb, buf + offset,
crypto/openssl/test/sslapitest.c
12120
if (!TEST_true(SSL_write_ex(peerb, msg + offset, sendlen, &written))
crypto/openssl/test/sslapitest.c
12132
if (!TEST_true(SSL_read_ex(peera, buf, msglen, &readbytes))
crypto/openssl/test/sslapitest.c
12139
if (!TEST_true(SSL_read_ex(peera, buf + readbytes,
crypto/openssl/test/sslapitest.c
12268
if (!TEST_true(create_ssl_ctx_pair(libctx, servmeth, clientmeth, version,
crypto/openssl/test/sslapitest.c
12272
if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "DEFAULT:@SECLEVEL=0"))
crypto/openssl/test/sslapitest.c
12273
|| !TEST_true(SSL_CTX_set_cipher_list(cctx,
crypto/openssl/test/sslapitest.c
12277
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
12281
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
12286
|| !TEST_true(check_version_string(serverssl, version))
crypto/openssl/test/sslapitest.c
12287
|| !TEST_true(check_version_string(clientssl, version)))
crypto/openssl/test/sslapitest.c
12291
if (!TEST_true(SSL_is_dtls(serverssl))
crypto/openssl/test/sslapitest.c
12292
|| !TEST_true(SSL_is_dtls(clientssl))
crypto/openssl/test/sslapitest.c
12299
if (!TEST_true(SSL_is_tls(serverssl))
crypto/openssl/test/sslapitest.c
12300
|| !TEST_true(SSL_is_tls(clientssl))
crypto/openssl/test/sslapitest.c
12337
if (!TEST_true(create_ssl_ctx_pair(libctx, servmeth, clientmeth, 0,
crypto/openssl/test/sslapitest.c
12341
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
12349
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
12366
if (!TEST_true(BIO_write_ex(SSL_get_rbio(serverssl), dummyheader,
crypto/openssl/test/sslapitest.c
12423
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
12445
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
12450
if (!TEST_ptr(tmp) || !TEST_true(BIO_up_ref(tmp))) {
crypto/openssl/test/sslapitest.c
12468
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
12504
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
12509
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, NULL,
crypto/openssl/test/sslapitest.c
12513
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
12517
if (!TEST_true(SSL_set_max_send_fragment(clientssl, 512)))
crypto/openssl/test/sslapitest.c
12523
if (!TEST_true(BIO_up_ref(tmp)))
crypto/openssl/test/sslapitest.c
1253
if (!TEST_true(ping_pong_query(clientssl, serverssl)))
crypto/openssl/test/sslapitest.c
12541
if (!TEST_true(BIO_ctrl(bretry, MAYBE_RETRY_CTRL_SET_RETRY_AFTER_CNT, 1,
crypto/openssl/test/sslapitest.c
12559
if (!TEST_true(SSL_write_ex(clientssl, inbuf, sizeof(inbuf), &written)))
crypto/openssl/test/sslapitest.c
12605
if (!TEST_true(create_ssl_objects(cbdata->sctx, cbdata->cctx, &serverssl,
crypto/openssl/test/sslapitest.c
12607
|| !TEST_true(SSL_set_session(clientssl, cbdata->sess)))
crypto/openssl/test/sslapitest.c
1265
if (!TEST_true(SSL_get_error(clientssl, ret) == SSL_ERROR_WANT_WRITE))
crypto/openssl/test/sslapitest.c
12657
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
12668
if (!TEST_true(SSL_CTX_set_max_early_data(sctx, 1024)))
crypto/openssl/test/sslapitest.c
12685
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
12687
|| !TEST_true(SSL_set_session(clientssl, sess)))
crypto/openssl/test/sslapitest.c
12709
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
12716
if (!TEST_true(SSL_session_reused(clientssl)))
crypto/openssl/test/sslapitest.c
1273
if (!TEST_true(SSL_get_error(serverssl, ret) == SSL_ERROR_WANT_READ))
crypto/openssl/test/sslapitest.c
1280
if (!TEST_true(offset == bufsz))
crypto/openssl/test/sslapitest.c
1283
if (!TEST_true(buf[i] == 0))
crypto/openssl/test/sslapitest.c
12898
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
12906
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, NULL,
crypto/openssl/test/sslapitest.c
12919
if (!TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
12998
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
13005
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, NULL,
crypto/openssl/test/sslapitest.c
13027
if (!TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
13086
if (!TEST_true(comparedata == data))
crypto/openssl/test/sslapitest.c
1328
|| !TEST_true(create_test_sockets(&cfd, &sfd, SOCK_STREAM, NULL)))
crypto/openssl/test/sslapitest.c
1343
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
13431
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
13439
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(), NULL,
crypto/openssl/test/sslapitest.c
13450
if (!TEST_true(SSL_CTX_add_client_custom_ext(cctx,
crypto/openssl/test/sslapitest.c
13454
if (!TEST_true(SSL_CTX_add_server_custom_ext(sctx,
crypto/openssl/test/sslapitest.c
13458
if (!TEST_true(SSL_CTX_add_server_custom_ext(sctx2,
crypto/openssl/test/sslapitest.c
13464
if (!TEST_true(SSL_CTX_set_tlsext_servername_callback(sctx, sni_cb))
crypto/openssl/test/sslapitest.c
13465
|| !TEST_true(SSL_CTX_set_tlsext_servername_arg(sctx, sctx2)))
crypto/openssl/test/sslapitest.c
13469
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, NULL,
crypto/openssl/test/sslapitest.c
13478
if (!TEST_true(SSL_set_ciphersuites(serverssl, "TLS_AES_128_CCM_SHA256"))
crypto/openssl/test/sslapitest.c
13479
|| !TEST_true(SSL_set_ciphersuites(clientssl, "TLS_AES_128_CCM_SHA256")))
crypto/openssl/test/sslapitest.c
13483
if (!TEST_true(SSL_set_app_data(clientssl, &clientquicdata))
crypto/openssl/test/sslapitest.c
13484
|| !TEST_true(SSL_set_app_data(serverssl, &serverquicdata)))
crypto/openssl/test/sslapitest.c
13487
if (!TEST_true(SSL_set_quic_tls_cbs(clientssl, qtdis, &cdata))
crypto/openssl/test/sslapitest.c
13488
|| !TEST_true(SSL_set_quic_tls_cbs(serverssl, qtdis, &sdata))
crypto/openssl/test/sslapitest.c
13489
|| !TEST_true(SSL_set_quic_tls_transport_params(clientssl, cparams,
crypto/openssl/test/sslapitest.c
13491
|| !TEST_true(SSL_set_quic_tls_transport_params(serverssl, sparams,
crypto/openssl/test/sslapitest.c
13496
if (!TEST_true(create_ssl_connection_ex(serverssl, clientssl, SSL_ERROR_NONE,
crypto/openssl/test/sslapitest.c
1350
if (!TEST_true(SSL_CTX_set_ciphersuites(cctx, cipher))
crypto/openssl/test/sslapitest.c
1351
|| !TEST_true(SSL_CTX_set_ciphersuites(sctx, cipher)))
crypto/openssl/test/sslapitest.c
1354
if (!TEST_true(SSL_CTX_set_cipher_list(cctx, cipher))
crypto/openssl/test/sslapitest.c
13546
if (!TEST_true(sdata.renc_level == OSSL_RECORD_PROTECTION_LEVEL_APPLICATION)
crypto/openssl/test/sslapitest.c
13547
|| !TEST_true(sdata.wenc_level == OSSL_RECORD_PROTECTION_LEVEL_APPLICATION)
crypto/openssl/test/sslapitest.c
13548
|| !TEST_true(cdata.renc_level == OSSL_RECORD_PROTECTION_LEVEL_APPLICATION)
crypto/openssl/test/sslapitest.c
13549
|| !TEST_true(cdata.wenc_level == OSSL_RECORD_PROTECTION_LEVEL_APPLICATION))
crypto/openssl/test/sslapitest.c
1355
|| !TEST_true(SSL_CTX_set_cipher_list(sctx, cipher)))
crypto/openssl/test/sslapitest.c
1359
if (!TEST_true(create_ssl_objects2(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
13624
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
13632
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, NULL,
crypto/openssl/test/sslapitest.c
13636
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
13646
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
13648
|| !TEST_true(SSL_set_session(clientssl, sess)))
crypto/openssl/test/sslapitest.c
13655
if (!TEST_true(SSL_set_app_data(clientssl, &clientquicdata))
crypto/openssl/test/sslapitest.c
13656
|| !TEST_true(SSL_set_app_data(serverssl, &serverquicdata)))
crypto/openssl/test/sslapitest.c
13659
if (!TEST_true(SSL_set_quic_tls_cbs(clientssl, qtdis, &cdata))
crypto/openssl/test/sslapitest.c
1366
if (!TEST_true(SSL_set_options(serverssl, SSL_OP_ENABLE_KTLS)))
crypto/openssl/test/sslapitest.c
13660
|| !TEST_true(SSL_set_quic_tls_cbs(serverssl, qtdis, &sdata))
crypto/openssl/test/sslapitest.c
13661
|| !TEST_true(SSL_set_quic_tls_transport_params(clientssl, cparams,
crypto/openssl/test/sslapitest.c
13663
|| !TEST_true(SSL_set_quic_tls_transport_params(serverssl, sparams,
crypto/openssl/test/sslapitest.c
13687
if (!TEST_true(sdata.renc_level == OSSL_RECORD_PROTECTION_LEVEL_HANDSHAKE)
crypto/openssl/test/sslapitest.c
13688
|| !TEST_true(sdata.wenc_level == OSSL_RECORD_PROTECTION_LEVEL_APPLICATION)
crypto/openssl/test/sslapitest.c
13689
|| !TEST_true(cdata.renc_level == OSSL_RECORD_PROTECTION_LEVEL_NONE)
crypto/openssl/test/sslapitest.c
13690
|| !TEST_true(cdata.wenc_level == OSSL_RECORD_PROTECTION_LEVEL_EARLY))
crypto/openssl/test/sslapitest.c
13695
if (!TEST_true(create_ssl_connection_ex(serverssl, clientssl, SSL_ERROR_NONE,
crypto/openssl/test/sslapitest.c
1370
if (!TEST_true(SSL_set_options(serverssl,
crypto/openssl/test/sslapitest.c
13727
if (!TEST_true(sdata.renc_level == OSSL_RECORD_PROTECTION_LEVEL_APPLICATION)
crypto/openssl/test/sslapitest.c
13728
|| !TEST_true(sdata.wenc_level == OSSL_RECORD_PROTECTION_LEVEL_APPLICATION)
crypto/openssl/test/sslapitest.c
13729
|| !TEST_true(cdata.renc_level == OSSL_RECORD_PROTECTION_LEVEL_APPLICATION)
crypto/openssl/test/sslapitest.c
13730
|| !TEST_true(cdata.wenc_level == OSSL_RECORD_PROTECTION_LEVEL_APPLICATION))
crypto/openssl/test/sslapitest.c
1375
if (!TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
13778
if (!TEST_true(create_ssl_ctx_pair(libctx, sm, cm, 0, max_proto,
crypto/openssl/test/sslapitest.c
13784
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, NULL,
crypto/openssl/test/sslapitest.c
13788
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
13791
if (!TEST_true(SSL_renegotiate(clientssl))
crypto/openssl/test/sslapitest.c
13842
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
13847
|| !TEST_true(SSL_CTX_set1_groups_list(sctx, grouplist))
crypto/openssl/test/sslapitest.c
13848
|| !TEST_true(SSL_CTX_set1_groups_list(cctx, grouplist))
crypto/openssl/test/sslapitest.c
13849
|| !TEST_true(SSL_CTX_set_ciphersuites(cctx,
crypto/openssl/test/sslapitest.c
13851
|| !TEST_true(SSL_CTX_set_ciphersuites(sctx,
crypto/openssl/test/sslapitest.c
13854
|| !TEST_true(SSL_CTX_set_options(cctx, SSL_OP_LEGACY_EC_POINT_FORMATS))
crypto/openssl/test/sslapitest.c
13855
|| !TEST_true(SSL_CTX_set_options(sctx, SSL_OP_LEGACY_EC_POINT_FORMATS))
crypto/openssl/test/sslapitest.c
13857
|| !TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
13864
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
13879
if (!TEST_true(compare_with_reference_file(bio, reffile)))
crypto/openssl/test/sslapitest.c
13923
if (!TEST_true(create_ssl_ctx_pair(libctx,
crypto/openssl/test/sslapitest.c
13933
if (!TEST_true(SSL_CTX_set1_groups(cctx,
crypto/openssl/test/sslapitest.c
13938
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, NULL,
crypto/openssl/test/sslapitest.c
13942
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
13971
if (!TEST_true((unsigned int)idx < OSSL_NELEM(verbs)))
crypto/openssl/test/sslapitest.c
13974
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
14040
if (!TEST_true(OSSL_LIB_CTX_load_config(libctx, configfile)))
crypto/openssl/test/sslapitest.c
14044
if (!TEST_true(OSSL_PROVIDER_available(libctx, modulename)))
crypto/openssl/test/sslapitest.c
14073
if (!TEST_true(OSSL_PROVIDER_add_builtin(libctx, "tls-provider",
crypto/openssl/test/sslapitest.c
1472
if (!TEST_true(create_test_sockets(&cfd, &sfd, SOCK_STREAM, NULL)))
crypto/openssl/test/sslapitest.c
1481
if (!TEST_true(create_ssl_ctx_pair(libctx,
crypto/openssl/test/sslapitest.c
1487
if (!TEST_true(SSL_CTX_set_ciphersuites(cctx, "TLS_AES_128_GCM_SHA256"))
crypto/openssl/test/sslapitest.c
1488
|| !TEST_true(SSL_CTX_set_ciphersuites(sctx, "TLS_AES_128_GCM_SHA256")))
crypto/openssl/test/sslapitest.c
1491
if (!TEST_true(create_ssl_objects2(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
1496
if (!TEST_true(SSL_set_options(clientssl, SSL_OP_ENABLE_KTLS)))
crypto/openssl/test/sslapitest.c
1502
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
1507
if (!TEST_ptr(bio_orig) || !TEST_true(BIO_up_ref(bio_orig))) {
crypto/openssl/test/sslapitest.c
1550
if (!TEST_true(SSL_write_ex(clientssl, buf_retry, bufsz, &written)))
crypto/openssl/test/sslapitest.c
1788
if (!TEST_true(create_ssl_ctx_pair(libctx, smeth, cmeth, prot, prot,
crypto/openssl/test/sslapitest.c
1794
if (!TEST_true(SSL_CTX_set_cipher_list(cctx, "DEFAULT:@SECLEVEL=0"))
crypto/openssl/test/sslapitest.c
1795
|| !TEST_true(SSL_CTX_set_cipher_list(sctx,
crypto/openssl/test/sslapitest.c
1800
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
1806
if (!TEST_true(SSL_set_options(serverssl,
crypto/openssl/test/sslapitest.c
1808
|| !TEST_true(SSL_set_options(clientssl,
crypto/openssl/test/sslapitest.c
1818
if (!TEST_true(SSL_set_options(serverssl, SSL_OP_NO_ENCRYPT_THEN_MAC))
crypto/openssl/test/sslapitest.c
1819
|| !TEST_true(SSL_set_options(clientssl,
crypto/openssl/test/sslapitest.c
1824
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
1827
if (!TEST_true(SSL_write_ex(clientssl, msg, SSL3_RT_MAX_PLAIN_LENGTH,
crypto/openssl/test/sslapitest.c
1833
if (!TEST_true(SSL_read_ex(serverssl, buf, SSL3_RT_MAX_PLAIN_LENGTH + 1,
crypto/openssl/test/sslapitest.c
1868
if (!TEST_true(create_ssl_ctx_pair(libctx,
crypto/openssl/test/sslapitest.c
1886
if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "DEFAULT:@SECLEVEL=0"))
crypto/openssl/test/sslapitest.c
1887
|| !TEST_true(SSL_CTX_set_cipher_list(cctx,
crypto/openssl/test/sslapitest.c
1893
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
1897
if (!TEST_true(SSL_set_options(serverssl, SSL_OP_CLEANSE_PLAINTEXT)))
crypto/openssl/test/sslapitest.c
1900
if (!TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
1966
if (!TEST_true(execute_cleanse_plaintext(TLS_server_method(),
crypto/openssl/test/sslapitest.c
1975
if (!TEST_true(execute_cleanse_plaintext(TLS_server_method(),
crypto/openssl/test/sslapitest.c
1984
if (!TEST_true(execute_cleanse_plaintext(DTLS_server_method(),
crypto/openssl/test/sslapitest.c
2017
if (!TEST_true(SSL_set_tlsext_status_ocsp_resp(s, copy,
crypto/openssl/test/sslapitest.c
2066
|| !TEST_true(SSL_set_tlsext_status_type(clientssl,
crypto/openssl/test/sslapitest.c
2095
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
2097
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
2099
|| !TEST_true(ocsp_client_called)
crypto/openssl/test/sslapitest.c
2100
|| !TEST_true(ocsp_server_called))
crypto/openssl/test/sslapitest.c
2111
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
2131
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
2144
|| !TEST_true(OCSP_RESPID_set_by_key_ex(id, ocspcert, libctx, NULL))
crypto/openssl/test/sslapitest.c
2145
|| !TEST_true(sk_OCSP_RESPID_push(ids, id)))
crypto/openssl/test/sslapitest.c
2155
if (!TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
2157
|| !TEST_true(ocsp_client_called)
crypto/openssl/test/sslapitest.c
2158
|| !TEST_true(ocsp_server_called))
crypto/openssl/test/sslapitest.c
2225
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
2255
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl1, &clientssl1,
crypto/openssl/test/sslapitest.c
2257
|| !TEST_true(create_ssl_connection(serverssl1, clientssl1,
crypto/openssl/test/sslapitest.c
2272
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl2,
crypto/openssl/test/sslapitest.c
2274
|| !TEST_true(SSL_set_session(clientssl2, sess1))
crypto/openssl/test/sslapitest.c
2275
|| !TEST_true(create_ssl_connection(serverssl2, clientssl2,
crypto/openssl/test/sslapitest.c
2277
|| !TEST_true(SSL_session_reused(clientssl2)))
crypto/openssl/test/sslapitest.c
2308
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl2,
crypto/openssl/test/sslapitest.c
2310
|| !TEST_true(create_ssl_connection(serverssl2, clientssl2,
crypto/openssl/test/sslapitest.c
2327
if (!TEST_true(SSL_set_session(clientssl2, sess1)))
crypto/openssl/test/sslapitest.c
2337
if (!TEST_true(SSL_CTX_add_session(cctx, sess2))
crypto/openssl/test/sslapitest.c
2338
|| !TEST_true(SSL_CTX_remove_session(cctx, sess2)))
crypto/openssl/test/sslapitest.c
2355
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl3,
crypto/openssl/test/sslapitest.c
2357
|| !TEST_true(SSL_set_session(clientssl3, sess1))
crypto/openssl/test/sslapitest.c
2369
if (use_int_cache && !TEST_true(SSL_CTX_add_session(cctx, sess2)))
crypto/openssl/test/sslapitest.c
2405
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl1, &clientssl1,
crypto/openssl/test/sslapitest.c
2407
|| !TEST_true(create_ssl_connection(serverssl1, clientssl1,
crypto/openssl/test/sslapitest.c
2444
|| !TEST_true(sess2->owner != NULL)
crypto/openssl/test/sslapitest.c
2445
|| !TEST_true(tmp->owner == NULL)
crypto/openssl/test/sslapitest.c
2446
|| !TEST_true(SSL_CTX_remove_session(sctx, sess2)))
crypto/openssl/test/sslapitest.c
2455
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl2,
crypto/openssl/test/sslapitest.c
2457
|| !TEST_true(SSL_set_session(clientssl2, sess1))
crypto/openssl/test/sslapitest.c
2458
|| !TEST_true(create_ssl_connection(serverssl2, clientssl2,
crypto/openssl/test/sslapitest.c
2460
|| !TEST_true(SSL_session_reused(clientssl2)))
crypto/openssl/test/sslapitest.c
2499
if (!TEST_true(SSL_CTX_add_session(sctx, sess1))
crypto/openssl/test/sslapitest.c
2600
if (!TEST_true(SSL_verify_client_post_handshake(sssl)))
crypto/openssl/test/sslapitest.c
2607
|| !TEST_true(create_ssl_connection(sssl, cssl,
crypto/openssl/test/sslapitest.c
2619
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
2622
|| !TEST_true(SSL_CTX_set_num_tickets(*sctx, idx))
crypto/openssl/test/sslapitest.c
2623
|| !TEST_true(SSL_CTX_set_session_id_context(*sctx,
crypto/openssl/test/sslapitest.c
2645
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
2647
|| !TEST_true(SSL_set_session(clientssl, sesscache[i])))
crypto/openssl/test/sslapitest.c
2652
if (!TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
2661
if (!TEST_true(SSL_session_reused(clientssl))
crypto/openssl/test/sslapitest.c
2709
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
2713
if (!TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
2753
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
2759
if (!TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
2818
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
2821
|| !TEST_true(SSL_CTX_set_session_id_context(sctx,
crypto/openssl/test/sslapitest.c
2835
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
2839
if (!TEST_ptr(clientpsk) || !TEST_true(SSL_SESSION_up_ref(clientpsk)))
crypto/openssl/test/sslapitest.c
2842
if (!TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
2889
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
2897
if (!TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
2901
|| !TEST_true(SSL_new_session_ticket(serverssl))
crypto/openssl/test/sslapitest.c
2902
|| !TEST_true(SSL_new_session_ticket(serverssl))
crypto/openssl/test/sslapitest.c
2908
if (!TEST_true(SSL_write_ex(serverssl, &c, 1, &nbytes))
crypto/openssl/test/sslapitest.c
2911
|| !TEST_true(SSL_read_ex(clientssl, buf, sizeof(buf), &nbytes))
crypto/openssl/test/sslapitest.c
2921
if (!TEST_true(SSL_new_session_ticket(serverssl))
crypto/openssl/test/sslapitest.c
2922
|| !TEST_true(SSL_write_ex(serverssl, &c, sizeof(c), &nbytes))
crypto/openssl/test/sslapitest.c
2925
|| !TEST_true(SSL_read_ex(clientssl, buf, sizeof(buf), &nbytes))
crypto/openssl/test/sslapitest.c
2934
if (!TEST_true(SSL_new_session_ticket(serverssl))
crypto/openssl/test/sslapitest.c
2935
|| !TEST_true(SSL_new_session_ticket(serverssl))
crypto/openssl/test/sslapitest.c
2936
|| !TEST_true(SSL_write_ex(serverssl, &c, 0, &nbytes))
crypto/openssl/test/sslapitest.c
2946
if (!TEST_true(SSL_new_session_ticket(serverssl))
crypto/openssl/test/sslapitest.c
2947
|| !TEST_true(SSL_new_session_ticket(serverssl))
crypto/openssl/test/sslapitest.c
2948
|| !TEST_true(SSL_do_handshake(serverssl))
crypto/openssl/test/sslapitest.c
2961
if (!TEST_ptr(tmp) || !TEST_true(BIO_up_ref(tmp))) {
crypto/openssl/test/sslapitest.c
2978
if (!TEST_true(SSL_new_session_ticket(serverssl))
crypto/openssl/test/sslapitest.c
2979
|| !TEST_true(SSL_new_session_ticket(serverssl))
crypto/openssl/test/sslapitest.c
2981
|| !TEST_true(SSL_do_handshake(serverssl))
crypto/openssl/test/sslapitest.c
2985
if (!TEST_true(SSL_write_ex(serverssl, &c, 1, &nbytes))
crypto/openssl/test/sslapitest.c
2988
|| !TEST_true(SSL_read_ex(clientssl, buf, sizeof(buf), &nbytes))
crypto/openssl/test/sslapitest.c
2995
if (!TEST_true(SSL_do_handshake(serverssl))
crypto/openssl/test/sslapitest.c
3000
if (!TEST_true(SSL_write_ex(serverssl, &c, 1, &nbytes))
crypto/openssl/test/sslapitest.c
3003
|| !TEST_true(SSL_read_ex(clientssl, buf, sizeof(buf), &nbytes))
crypto/openssl/test/sslapitest.c
3104
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
3120
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
3159
&& !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
3175
if (!TEST_true(BIO_up_ref(nrbio)))
crypto/openssl/test/sslapitest.c
3180
if (!TEST_true(BIO_up_ref(nwbio))) {
crypto/openssl/test/sslapitest.c
3386
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
3414
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
3624
&& !TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
3633
if (!TEST_true(SSL_CTX_set_max_early_data(*sctx, SSL3_RT_MAX_PLAIN_LENGTH)))
crypto/openssl/test/sslapitest.c
3649
if (!TEST_true(create_ssl_objects(*sctx, *cctx, serverssl, clientssl,
crypto/openssl/test/sslapitest.c
3660
&& !TEST_true(SSL_set_tlsext_host_name(*clientssl, "localhost")))
crypto/openssl/test/sslapitest.c
3670
|| !TEST_true(SSL_SESSION_set_max_early_data(clientpsk,
crypto/openssl/test/sslapitest.c
3672
|| !TEST_true(SSL_SESSION_up_ref(clientpsk))) {
crypto/openssl/test/sslapitest.c
3680
if (!TEST_true(SSL_SESSION_up_ref(clientpsk))) {
crypto/openssl/test/sslapitest.c
3694
if (!TEST_true(create_ssl_connection(*serverssl, *clientssl,
crypto/openssl/test/sslapitest.c
3710
&& !TEST_true(sub_session_time(*sess)))
crypto/openssl/test/sslapitest.c
3713
if (!TEST_true(create_ssl_objects(*sctx, *cctx, serverssl,
crypto/openssl/test/sslapitest.c
3715
|| !TEST_true(SSL_set_session(*clientssl, *sess)))
crypto/openssl/test/sslapitest.c
373
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
3754
if (!TEST_true(setupearly_data_test(&cctx, &sctx, &clientssl,
crypto/openssl/test/sslapitest.c
3764
if (!TEST_true(SSL_write_early_data(clientssl, MSG1, strlen(MSG1),
crypto/openssl/test/sslapitest.c
3785
if (!TEST_true(SSL_write_early_data(serverssl, MSG2, strlen(MSG2),
crypto/openssl/test/sslapitest.c
3788
|| !TEST_true(SSL_read_ex(clientssl, buf, sizeof(buf), &readbytes))
crypto/openssl/test/sslapitest.c
3793
if (!TEST_true(SSL_write_early_data(clientssl, MSG3, strlen(MSG3),
crypto/openssl/test/sslapitest.c
3806
if (!TEST_true(SSL_write_early_data(serverssl, MSG4, strlen(MSG4),
crypto/openssl/test/sslapitest.c
3809
|| !TEST_true(SSL_read_ex(clientssl, buf, sizeof(buf), &readbytes))
crypto/openssl/test/sslapitest.c
3817
if (!TEST_true(SSL_write_ex(clientssl, MSG5, strlen(MSG5), &written))
crypto/openssl/test/sslapitest.c
3830
if (!TEST_true(BIO_read_ex(rbio, data, sizeof(data), &rawread))
crypto/openssl/test/sslapitest.c
3837
if (!TEST_true(BIO_write_ex(rbio, data, eoedlen, &rawwritten))
crypto/openssl/test/sslapitest.c
384
if (!TEST_true(SSL_CTX_set_cipher_list(cctx, "RSA")))
crypto/openssl/test/sslapitest.c
3852
if (!TEST_true(SSL_write_early_data(serverssl, MSG6, strlen(MSG6),
crypto/openssl/test/sslapitest.c
3858
if (!TEST_true(BIO_write_ex(rbio, data + eoedlen, rawread - eoedlen,
crypto/openssl/test/sslapitest.c
3864
if (!TEST_true(SSL_read_ex(serverssl, buf, sizeof(buf), &readbytes))
crypto/openssl/test/sslapitest.c
387
if (!TEST_true(SSL_CTX_get_keylog_callback(cctx) == NULL)
crypto/openssl/test/sslapitest.c
388
|| !TEST_true(SSL_CTX_get_keylog_callback(sctx) == NULL))
crypto/openssl/test/sslapitest.c
3880
if (!TEST_true(SSL_read_ex(clientssl, buf, sizeof(buf), &readbytes))
crypto/openssl/test/sslapitest.c
3895
if (!TEST_true(SSL_write_ex(serverssl, MSG7, strlen(MSG7), &written))
crypto/openssl/test/sslapitest.c
3897
|| !TEST_true(SSL_read_ex(clientssl, buf, sizeof(buf), &readbytes))
crypto/openssl/test/sslapitest.c
391
if (!TEST_true(SSL_CTX_get_keylog_callback(cctx)
crypto/openssl/test/sslapitest.c
3911
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
3913
|| !TEST_true(SSL_set_session(clientssl, sess)))
crypto/openssl/test/sslapitest.c
3917
if (!TEST_true(SSL_write_early_data(clientssl, MSG1, strlen(MSG1),
crypto/openssl/test/sslapitest.c
3942
if (!TEST_true(SSL_write_ex(clientssl, MSG5, strlen(MSG5), &written))
crypto/openssl/test/sslapitest.c
3944
|| !TEST_true(SSL_read_ex(serverssl, buf, sizeof(buf), &readbytes))
crypto/openssl/test/sslapitest.c
395
if (!TEST_true(SSL_CTX_get_keylog_callback(sctx)
crypto/openssl/test/sslapitest.c
3997
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
400
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
402
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
4022
if (!TEST_true(setupearly_data_test(&cctx, &sctx, &clientssl,
crypto/openssl/test/sslapitest.c
4031
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE))
crypto/openssl/test/sslapitest.c
4032
|| !TEST_true(SSL_session_reused(clientssl)))
crypto/openssl/test/sslapitest.c
4041
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
4043
|| !TEST_true(SSL_set_session(clientssl, sess)))
crypto/openssl/test/sslapitest.c
4048
if (!TEST_true(SSL_write_early_data(clientssl, MSG1, strlen(MSG1),
crypto/openssl/test/sslapitest.c
4087
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE))
crypto/openssl/test/sslapitest.c
4157
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
4168
if (!TEST_true(SSL_CTX_set_ciphersuites(sctx, ciphersuites[cipher]))
crypto/openssl/test/sslapitest.c
4169
|| !TEST_true(SSL_CTX_set_ciphersuites(cctx, ciphersuites[cipher])))
crypto/openssl/test/sslapitest.c
417
if (!TEST_true(test_keylog_output(client_log_buffer, clientssl,
crypto/openssl/test/sslapitest.c
4172
if (!TEST_true(setupearly_data_test(&cctx, &sctx, &clientssl,
crypto/openssl/test/sslapitest.c
4182
if (!TEST_true(SSL_set1_groups_list(serverssl, "ffdhe3072")))
crypto/openssl/test/sslapitest.c
4185
if (!TEST_true(SSL_set1_groups_list(serverssl, "P-384")))
crypto/openssl/test/sslapitest.c
4200
if (!TEST_true(SSL_SESSION_set_time_ex(sess, time(NULL) - 20)))
crypto/openssl/test/sslapitest.c
4205
&& !TEST_true(SSL_set_recv_max_early_data(serverssl, 0)))
crypto/openssl/test/sslapitest.c
4209
if (!TEST_true(SSL_write_early_data(clientssl, MSG1, strlen(MSG1),
crypto/openssl/test/sslapitest.c
422
if (!TEST_true(test_keylog_output(server_log_buffer, serverssl,
crypto/openssl/test/sslapitest.c
4260
if (!TEST_true(BIO_write_ex(wbio, bad_early_data,
crypto/openssl/test/sslapitest.c
4290
if (!TEST_true(SSL_write_ex(clientssl, MSG2, strlen(MSG2), &written))
crypto/openssl/test/sslapitest.c
4294
|| !TEST_true(SSL_read_ex(serverssl, buf, sizeof(buf), &readbytes))
crypto/openssl/test/sslapitest.c
4377
if (!TEST_true(setupearly_data_test(&cctx, &sctx, &clientssl,
crypto/openssl/test/sslapitest.c
4399
if (!TEST_true(SSL_write_ex(clientssl, MSG1, strlen(MSG1), &written))
crypto/openssl/test/sslapitest.c
4401
|| !TEST_true(SSL_read_ex(serverssl, buf, sizeof(buf), &readbytes))
crypto/openssl/test/sslapitest.c
4407
if (!TEST_true(SSL_read_ex(clientssl, buf, sizeof(buf), &readbytes))
crypto/openssl/test/sslapitest.c
4472
if (!TEST_true(setupearly_data_test(&cctx, &sctx, &clientssl,
crypto/openssl/test/sslapitest.c
4489
if (!TEST_true(SSL_SESSION_set1_hostname(sess, "goodhost"))
crypto/openssl/test/sslapitest.c
4490
|| !TEST_true(SSL_set_tlsext_host_name(clientssl, "badhost")))
crypto/openssl/test/sslapitest.c
4498
if (!TEST_true(SSL_SESSION_set1_alpn_selected(sess, GOODALPN,
crypto/openssl/test/sslapitest.c
4512
if (!TEST_true(SSL_SESSION_set_protocol_version(sess, TLS1_2_VERSION)))
crypto/openssl/test/sslapitest.c
4526
|| !TEST_true(SSL_SESSION_set1_hostname(serverpsk, "badhost")))
crypto/openssl/test/sslapitest.c
4531
if (!TEST_true(SSL_SESSION_set1_hostname(sess, "goodhost"))
crypto/openssl/test/sslapitest.c
4532
|| !TEST_true(SSL_set_tlsext_host_name(clientssl, "goodhost"))
crypto/openssl/test/sslapitest.c
4533
|| !TEST_true(SSL_CTX_set_tlsext_servername_callback(sctx,
crypto/openssl/test/sslapitest.c
4555
if (!TEST_true(SSL_SESSION_set1_alpn_selected(sess, GOODALPN + 1,
crypto/openssl/test/sslapitest.c
4569
|| !TEST_true(SSL_SESSION_set1_alpn_selected(clientpsk,
crypto/openssl/test/sslapitest.c
457
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
4572
|| !TEST_true(SSL_SESSION_set1_alpn_selected(serverpsk,
crypto/openssl/test/sslapitest.c
460
|| !TEST_true(SSL_CTX_set_max_early_data(sctx,
crypto/openssl/test/sslapitest.c
4600
if (!TEST_true(SSL_write_early_data(clientssl, MSG1, strlen(MSG1),
crypto/openssl/test/sslapitest.c
464
if (!TEST_true(SSL_CTX_get_keylog_callback(cctx) == NULL)
crypto/openssl/test/sslapitest.c
465
|| !TEST_true(SSL_CTX_get_keylog_callback(sctx) == NULL))
crypto/openssl/test/sslapitest.c
469
if (!TEST_true(SSL_CTX_get_keylog_callback(cctx)
crypto/openssl/test/sslapitest.c
4699
if (!TEST_true(setupearly_data_test(&cctx, &sctx, &clientssl,
crypto/openssl/test/sslapitest.c
4713
if (!TEST_true(SSL_set_ciphersuites(clientssl, cipher_str[idx]))
crypto/openssl/test/sslapitest.c
4714
|| !TEST_true(SSL_set_ciphersuites(serverssl, cipher_str[idx])))
crypto/openssl/test/sslapitest.c
4725
if (!TEST_ptr(cipher) || !TEST_true(SSL_SESSION_set_cipher(sess, cipher)))
crypto/openssl/test/sslapitest.c
4730
if (!TEST_true(SSL_write_early_data(clientssl, MSG1, strlen(MSG1),
crypto/openssl/test/sslapitest.c
474
if (!TEST_true(SSL_CTX_get_keylog_callback(sctx)
crypto/openssl/test/sslapitest.c
4749
if (!TEST_true(SSL_write_ex(clientssl, MSG2, strlen(MSG2), &written))
crypto/openssl/test/sslapitest.c
4753
if (!TEST_true(SSL_read_ex(serverssl, buf, sizeof(buf), &readbytes))
crypto/openssl/test/sslapitest.c
4787
if (!TEST_true(setupearly_data_test(&cctx, &sctx, &clientssl,
crypto/openssl/test/sslapitest.c
479
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
4793
if (!TEST_true(SSL_write_early_data(clientssl, MSG1, strlen(MSG1),
crypto/openssl/test/sslapitest.c
481
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
4811
if (!TEST_true(SSL_write_ex(clientssl, MSG2, strlen(MSG2), &written))
crypto/openssl/test/sslapitest.c
4815
if (!TEST_true(SSL_read_ex(serverssl, buf, sizeof(buf), &readbytes))
crypto/openssl/test/sslapitest.c
4846
if (!TEST_true(setupearly_data_test(&cctx, &sctx, &clientssl,
crypto/openssl/test/sslapitest.c
4881
if (!TEST_true(SSL_write_ex(clientssl, MSG1, strlen(MSG1), &written))
crypto/openssl/test/sslapitest.c
4885
|| !TEST_true(SSL_read_ex(serverssl, buf, sizeof(buf), &readbytes))
crypto/openssl/test/sslapitest.c
4887
|| !TEST_true(SSL_write_ex(serverssl, MSG2, strlen(MSG2), &written))
crypto/openssl/test/sslapitest.c
4928
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
4931
|| !TEST_true(SSL_CTX_set_ciphersuites(sctx,
crypto/openssl/test/sslapitest.c
4937
if (!TEST_true(SSL_CTX_set_cipher_list(cctx, "AES256-GCM-SHA384")))
crypto/openssl/test/sslapitest.c
4943
if (!TEST_true(SSL_CTX_set_ciphersuites(cctx,
crypto/openssl/test/sslapitest.c
4948
if (!TEST_true(SSL_CTX_set_ciphersuites(cctx,
crypto/openssl/test/sslapitest.c
4953
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
4959
if (!TEST_true(SSL_set_cipher_list(clientssl, "AES256-GCM-SHA384")))
crypto/openssl/test/sslapitest.c
496
if (!TEST_true(test_keylog_output(client_log_buffer, clientssl,
crypto/openssl/test/sslapitest.c
4965
if (!TEST_true(SSL_set_ciphersuites(clientssl,
crypto/openssl/test/sslapitest.c
4970
if (!TEST_true(SSL_set_ciphersuites(clientssl,
crypto/openssl/test/sslapitest.c
4975
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
498
|| !TEST_true(test_keylog_output(server_log_buffer, serverssl,
crypto/openssl/test/sslapitest.c
4998
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
5001
|| !TEST_true(SSL_CTX_set_ciphersuites(sctx,
crypto/openssl/test/sslapitest.c
5005
|| !TEST_true(SSL_CTX_set_ciphersuites(cctx,
crypto/openssl/test/sslapitest.c
5009
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
5011
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
5025
if (!TEST_true(SSL_CTX_set_ciphersuites(cctx,
crypto/openssl/test/sslapitest.c
5027
|| !TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
5029
|| !TEST_true(SSL_set_session(clientssl, clntsess))
crypto/openssl/test/sslapitest.c
5030
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
5032
|| !TEST_true(SSL_session_reused(clientssl)))
crypto/openssl/test/sslapitest.c
5047
if (!TEST_true(SSL_CTX_set_ciphersuites(cctx, "TLS_AES_256_GCM_SHA384"))
crypto/openssl/test/sslapitest.c
5048
|| !TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
5050
|| !TEST_true(SSL_set_session(clientssl, clntsess))
crypto/openssl/test/sslapitest.c
5051
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
5065
if (!TEST_true(SSL_CTX_set_ciphersuites(cctx, "TLS_AES_256_GCM_SHA384"))
crypto/openssl/test/sslapitest.c
5066
|| !TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
5068
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
5079
if (!TEST_true(SSL_CTX_set_ciphersuites(cctx,
crypto/openssl/test/sslapitest.c
5081
|| !TEST_true(SSL_CTX_set_ciphersuites(sctx,
crypto/openssl/test/sslapitest.c
5083
|| !TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
5085
|| !TEST_true(SSL_set_session(clientssl, clntsess))
crypto/openssl/test/sslapitest.c
517
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
519
|| !TEST_true(SSL_set_session(clientssl, sess))
crypto/openssl/test/sslapitest.c
521
|| !TEST_true(SSL_write_early_data(clientssl, NULL, 0, &written))
crypto/openssl/test/sslapitest.c
527
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
529
|| !TEST_true(SSL_session_reused(clientssl)))
crypto/openssl/test/sslapitest.c
5309
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
5315
if (!TEST_true(SSL_CTX_set_ciphersuites(sctx,
crypto/openssl/test/sslapitest.c
5319
if (!TEST_true(SSL_CTX_set_ciphersuites(cctx,
crypto/openssl/test/sslapitest.c
5323
if (!TEST_true(SSL_CTX_set_cipher_list(sctx,
crypto/openssl/test/sslapitest.c
5325
|| !TEST_true(SSL_CTX_set_dh_auto(sctx, 1)))
crypto/openssl/test/sslapitest.c
5333
if (!TEST_true(SSL_CTX_set_cipher_list(cctx,
crypto/openssl/test/sslapitest.c
5338
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
5343
if (!TEST_true(SSL_set1_groups(serverssl, kexch_groups, kexch_groups_size))
crypto/openssl/test/sslapitest.c
5344
|| !TEST_true(SSL_set1_groups(clientssl, kexch_groups, kexch_groups_size)))
crypto/openssl/test/sslapitest.c
5347
if (!TEST_true(SSL_set1_groups_list(serverssl, kexch_names))
crypto/openssl/test/sslapitest.c
5348
|| !TEST_true(SSL_set1_groups_list(clientssl, kexch_names)))
crypto/openssl/test/sslapitest.c
535
if (!TEST_true(test_keylog_output(client_log_buffer, clientssl,
crypto/openssl/test/sslapitest.c
5352
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
537
|| !TEST_true(test_keylog_output(server_log_buffer, serverssl,
crypto/openssl/test/sslapitest.c
5419
if (!TEST_true(SSL_set1_groups(serverssl, kexch_groups, 1)))
crypto/openssl/test/sslapitest.c
5422
if (!TEST_true(SSL_set1_groups(clientssl, ecdhe_kexch_groups,
crypto/openssl/test/sslapitest.c
5426
if (!TEST_true(SSL_set1_groups(clientssl, ffdhe_kexch_groups,
crypto/openssl/test/sslapitest.c
5431
if (!TEST_true(SSL_set1_groups(clientssl, kexch_groups, 1)))
crypto/openssl/test/sslapitest.c
5434
if (!TEST_true(SSL_set1_groups(serverssl, ecdhe_kexch_groups,
crypto/openssl/test/sslapitest.c
5438
if (!TEST_true(SSL_set1_groups(serverssl, ffdhe_kexch_groups,
crypto/openssl/test/sslapitest.c
5507
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
5517
if (!TEST_true(SSL_CTX_set_cipher_list(sctx,
crypto/openssl/test/sslapitest.c
5519
|| !TEST_true(SSL_CTX_set_dh_auto(sctx, 1)))
crypto/openssl/test/sslapitest.c
5521
if (!TEST_true(SSL_CTX_set_cipher_list(cctx,
crypto/openssl/test/sslapitest.c
5525
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
5529
if (!TEST_true(set_ssl_groups(serverssl, clientssl, clientmulti, isecdhe,
crypto/openssl/test/sslapitest.c
5533
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
5551
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
5553
|| !TEST_true(SSL_set_session(clientssl, origsess))
crypto/openssl/test/sslapitest.c
5554
|| !TEST_true(set_ssl_groups(serverssl, clientssl, clientmulti,
crypto/openssl/test/sslapitest.c
5558
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE))
crypto/openssl/test/sslapitest.c
5559
|| !TEST_true(SSL_session_reused(clientssl)))
crypto/openssl/test/sslapitest.c
5597
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
5599
|| !TEST_true(SSL_set_session(clientssl, origsess))
crypto/openssl/test/sslapitest.c
5600
|| !TEST_true(set_ssl_groups(serverssl, clientssl, clientmulti,
crypto/openssl/test/sslapitest.c
5604
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE))
crypto/openssl/test/sslapitest.c
5605
|| !TEST_true(SSL_session_reused(clientssl)))
crypto/openssl/test/sslapitest.c
5695
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
5707
if (!TEST_true(SSL_CTX_set_ciphersuites(sctx, t13_cipher))
crypto/openssl/test/sslapitest.c
5708
|| !TEST_true(SSL_CTX_set_ciphersuites(cctx, t13_cipher)))
crypto/openssl/test/sslapitest.c
5711
if (!TEST_true(SSL_CTX_set_cipher_list(sctx, t12_cipher))
crypto/openssl/test/sslapitest.c
5712
|| !TEST_true(SSL_CTX_set_cipher_list(cctx,
crypto/openssl/test/sslapitest.c
5718
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
5723
if (!TEST_true(SSL_set_ciphersuites(serverssl, t13_cipher))
crypto/openssl/test/sslapitest.c
5724
|| !TEST_true(SSL_set_ciphersuites(clientssl, t13_cipher)))
crypto/openssl/test/sslapitest.c
5727
if (!TEST_true(SSL_set_cipher_list(serverssl, t12_cipher))
crypto/openssl/test/sslapitest.c
5728
|| !TEST_true(SSL_set_cipher_list(clientssl,
crypto/openssl/test/sslapitest.c
5734
if (!TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
5801
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
5814
if (!TEST_true(SSL_CTX_set_ciphersuites(cctx,
crypto/openssl/test/sslapitest.c
5823
if (!TEST_true(SSL_CTX_set_ciphersuites(cctx,
crypto/openssl/test/sslapitest.c
5855
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
5857
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
5864
if (!TEST_true(use_session_cb_cnt == 1)
crypto/openssl/test/sslapitest.c
5865
|| !TEST_true(find_session_cb_cnt == 0)
crypto/openssl/test/sslapitest.c
587
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
5870
|| !TEST_true(psk_client_cb_cnt == idx)
crypto/openssl/test/sslapitest.c
5871
|| !TEST_true(psk_server_cb_cnt == 0))
crypto/openssl/test/sslapitest.c
5874
if (!TEST_true(use_session_cb_cnt == 0)
crypto/openssl/test/sslapitest.c
5875
|| !TEST_true(find_session_cb_cnt == 0)
crypto/openssl/test/sslapitest.c
5876
|| !TEST_true(psk_client_cb_cnt == 1)
crypto/openssl/test/sslapitest.c
5877
|| !TEST_true(psk_server_cb_cnt == 0))
crypto/openssl/test/sslapitest.c
5886
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
5895
|| !TEST_true(SSL_SESSION_set1_master_key(clientpsk, key,
crypto/openssl/test/sslapitest.c
5897
|| !TEST_true(SSL_SESSION_set_cipher(clientpsk, cipher))
crypto/openssl/test/sslapitest.c
5898
|| !TEST_true(SSL_SESSION_set_protocol_version(clientpsk,
crypto/openssl/test/sslapitest.c
5900
|| !TEST_true(SSL_SESSION_up_ref(clientpsk)))
crypto/openssl/test/sslapitest.c
5905
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE))
crypto/openssl/test/sslapitest.c
5906
|| !TEST_true(SSL_session_reused(clientssl))
crypto/openssl/test/sslapitest.c
5907
|| !TEST_true(SSL_session_reused(serverssl)))
crypto/openssl/test/sslapitest.c
5911
if (!TEST_true(use_session_cb_cnt == 1)
crypto/openssl/test/sslapitest.c
5912
|| !TEST_true(find_session_cb_cnt == 1)
crypto/openssl/test/sslapitest.c
5913
|| !TEST_true(psk_client_cb_cnt == 0)
crypto/openssl/test/sslapitest.c
5914
|| !TEST_true(psk_server_cb_cnt == 0))
crypto/openssl/test/sslapitest.c
5917
if (!TEST_true(use_session_cb_cnt == 0)
crypto/openssl/test/sslapitest.c
5918
|| !TEST_true(find_session_cb_cnt == 0)
crypto/openssl/test/sslapitest.c
5919
|| !TEST_true(psk_client_cb_cnt == 1)
crypto/openssl/test/sslapitest.c
5920
|| !TEST_true(psk_server_cb_cnt == 1))
crypto/openssl/test/sslapitest.c
5929
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
5935
if (!TEST_true(SSL_set1_groups_list(serverssl, "ffdhe3072")))
crypto/openssl/test/sslapitest.c
5938
if (!TEST_true(SSL_set1_groups_list(serverssl, "P-384")))
crypto/openssl/test/sslapitest.c
5946
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE))
crypto/openssl/test/sslapitest.c
5947
|| !TEST_true(SSL_session_reused(clientssl))
crypto/openssl/test/sslapitest.c
5948
|| !TEST_true(SSL_session_reused(serverssl)))
crypto/openssl/test/sslapitest.c
5952
if (!TEST_true(use_session_cb_cnt == 2)
crypto/openssl/test/sslapitest.c
5953
|| !TEST_true(find_session_cb_cnt == 2)
crypto/openssl/test/sslapitest.c
5954
|| !TEST_true(psk_client_cb_cnt == 0)
crypto/openssl/test/sslapitest.c
5955
|| !TEST_true(psk_server_cb_cnt == 0))
crypto/openssl/test/sslapitest.c
5958
if (!TEST_true(use_session_cb_cnt == 0)
crypto/openssl/test/sslapitest.c
5959
|| !TEST_true(find_session_cb_cnt == 0)
crypto/openssl/test/sslapitest.c
5960
|| !TEST_true(psk_client_cb_cnt == 2)
crypto/openssl/test/sslapitest.c
5961
|| !TEST_true(psk_server_cb_cnt == 2))
crypto/openssl/test/sslapitest.c
597
if (!TEST_true(SSL_CTX_load_verify_locations(cctx, root, NULL)))
crypto/openssl/test/sslapitest.c
5976
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
5978
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
5985
if (!TEST_true(use_session_cb_cnt == 1)
crypto/openssl/test/sslapitest.c
5986
|| !TEST_true(find_session_cb_cnt == 1)
crypto/openssl/test/sslapitest.c
5987
|| !TEST_true(psk_client_cb_cnt == 0)
crypto/openssl/test/sslapitest.c
5992
|| !TEST_true(psk_server_cb_cnt == idx))
crypto/openssl/test/sslapitest.c
5995
if (!TEST_true(use_session_cb_cnt == 0)
crypto/openssl/test/sslapitest.c
5996
|| !TEST_true(find_session_cb_cnt == 0)
crypto/openssl/test/sslapitest.c
5997
|| !TEST_true(psk_client_cb_cnt == 1)
crypto/openssl/test/sslapitest.c
5998
|| !TEST_true(psk_server_cb_cnt == 1))
crypto/openssl/test/sslapitest.c
601
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
6051
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
6063
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
6067
if (!TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
6089
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
6096
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
6098
|| !TEST_true(SSL_set_session(clientssl, saved_session)))
crypto/openssl/test/sslapitest.c
6101
if (!TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
6108
if (!TEST_true(SSL_session_reused(clientssl)))
crypto/openssl/test/sslapitest.c
616
if (!TEST_true(sk_X509_push(server_chain, crt1)))
crypto/openssl/test/sslapitest.c
6176
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
6184
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
619
if (!TEST_true(sk_X509_push(server_chain, crt2)))
crypto/openssl/test/sslapitest.c
6208
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
6225
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
6238
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
624
if (!TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
6405
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
6411
&& !TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(), NULL,
crypto/openssl/test/sslapitest.c
6452
if (!TEST_true(SSL_CTX_add_client_custom_ext(cctx, TEST_EXT_TYPE1,
crypto/openssl/test/sslapitest.c
6458
if (!TEST_true(SSL_CTX_add_custom_ext(cctx, TEST_EXT_TYPE1, context,
crypto/openssl/test/sslapitest.c
6477
if (!TEST_true(SSL_CTX_add_server_custom_ext(sctx, TEST_EXT_TYPE1,
crypto/openssl/test/sslapitest.c
6483
if (!TEST_true(SSL_CTX_add_custom_ext(sctx, TEST_EXT_TYPE1, context,
crypto/openssl/test/sslapitest.c
6488
&& !TEST_true(SSL_CTX_add_custom_ext(sctx2, TEST_EXT_TYPE1,
crypto/openssl/test/sslapitest.c
6508
if (!TEST_true(SSL_CTX_set_tlsext_servername_callback(sctx, sni_cb))
crypto/openssl/test/sslapitest.c
6509
|| !TEST_true(SSL_CTX_set_tlsext_servername_arg(sctx, sctx2)))
crypto/openssl/test/sslapitest.c
6513
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
6515
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
6561
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
6563
|| !TEST_true(SSL_set_session(clientssl, sess))
crypto/openssl/test/sslapitest.c
6564
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
6699
if (!TEST_true(create_ssl_ctx_pair(libctx,
crypto/openssl/test/sslapitest.c
670
if (!TEST_true(SSL_build_cert_chain(ssl, SSL_BUILD_CHAIN_FLAG_NO_ROOT | SSL_BUILD_CHAIN_FLAG_CHECK)))
crypto/openssl/test/sslapitest.c
6708
if (!TEST_true(SSL_CTX_use_serverinfo_ex(sctx, serverinfo_version,
crypto/openssl/test/sslapitest.c
6712
if (!TEST_true(SSL_CTX_use_serverinfo(sctx, si, si_len)))
crypto/openssl/test/sslapitest.c
6716
if (!TEST_true(SSL_CTX_add_custom_ext(cctx, TLSEXT_TYPE_signed_certificate_timestamp,
crypto/openssl/test/sslapitest.c
6721
|| !TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
6723
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
6728
if (!TEST_true(cb_result))
crypto/openssl/test/sslapitest.c
6790
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
6801
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, NULL,
crypto/openssl/test/sslapitest.c
6815
if (!TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
6960
if (!TEST_true(setupearly_data_test(&cctx, &sctx, &clientssl, &serverssl,
crypto/openssl/test/sslapitest.c
6965
if (!TEST_true(SSL_write_early_data(clientssl, NULL, 0, &written))
crypto/openssl/test/sslapitest.c
7033
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
7038
|| !TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
7040
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
7047
if (!TEST_true(SSL_key_update(clientssl,
crypto/openssl/test/sslapitest.c
7051
|| !TEST_true(SSL_do_handshake(clientssl)))
crypto/openssl/test/sslapitest.c
709
if (!TEST_true(SSL_CTX_build_cert_chain(ctx, SSL_BUILD_CHAIN_FLAG_NO_ROOT | SSL_BUILD_CHAIN_FLAG_CHECK)))
crypto/openssl/test/sslapitest.c
7096
|| !TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
7101
|| !TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
7103
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
7110
if (!TEST_true(SSL_key_update(peerupdate, SSL_KEY_UPDATE_REQUESTED))
crypto/openssl/test/sslapitest.c
7116
if (!TEST_ptr(tmp) || !TEST_true(BIO_up_ref(tmp))) {
crypto/openssl/test/sslapitest.c
7126
|| !TEST_true(SSL_want_write(peerwrite))
crypto/openssl/test/sslapitest.c
7127
|| !TEST_true(SSL_net_write_desired(peerwrite)))
crypto/openssl/test/sslapitest.c
7137
|| !TEST_true(SSL_want_read(peerwrite))
crypto/openssl/test/sslapitest.c
7138
|| !TEST_true(SSL_net_read_desired(peerwrite)))
crypto/openssl/test/sslapitest.c
7189
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
7194
|| !TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
7196
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
7215
if (!TEST_true(SSL_key_update(local, SSL_KEY_UPDATE_REQUESTED))
crypto/openssl/test/sslapitest.c
7274
|| !TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
7279
|| !TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
7281
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
7290
if (!TEST_ptr(tmp) || !TEST_true(BIO_up_ref(tmp))) {
crypto/openssl/test/sslapitest.c
7317
if (!TEST_true(SSL_key_update(local, SSL_KEY_UPDATE_REQUESTED))
crypto/openssl/test/sslapitest.c
7363
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
7368
|| !TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
7370
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
7394
if (!TEST_true(SSL_key_update(local, SSL_KEY_UPDATE_REQUESTED))
crypto/openssl/test/sslapitest.c
7466
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
7470
&& !TEST_true(SSL_CTX_set_max_proto_version(cctx,
crypto/openssl/test/sslapitest.c
7472
|| !TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
7474
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
7487
if (!TEST_true(SSL_write_ex(writer, msg, strlen(msg), &written))
crypto/openssl/test/sslapitest.c
7495
if (!TEST_true(SSL_read_ex(reader, buf, sizeof(buf), &readbytes))
crypto/openssl/test/sslapitest.c
7505
if (!TEST_true(SSL_clear(serverssl)))
crypto/openssl/test/sslapitest.c
7514
if (!TEST_true(SSL_clear(clientssl)))
crypto/openssl/test/sslapitest.c
7523
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
7525
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
7527
|| !TEST_true(servertest || SSL_session_reused(clientssl)))
crypto/openssl/test/sslapitest.c
7560
|| !TEST_true(PACKET_buf_init(&pkt, data, len))
crypto/openssl/test/sslapitest.c
7564
|| !TEST_true(PACKET_forward(&pkt, SSL3_HM_HEADER_LENGTH))
crypto/openssl/test/sslapitest.c
7566
|| !TEST_true(PACKET_forward(&pkt, CLIENT_VERSION_LEN + SSL3_RANDOM_SIZE))
crypto/openssl/test/sslapitest.c
7568
|| !TEST_true(PACKET_get_length_prefixed_1(&pkt, &pkt2))
crypto/openssl/test/sslapitest.c
7570
|| !TEST_true(PACKET_get_length_prefixed_2(&pkt, &pkt2))
crypto/openssl/test/sslapitest.c
7572
|| !TEST_true(PACKET_get_length_prefixed_1(&pkt, &pkt2))
crypto/openssl/test/sslapitest.c
7574
|| !TEST_true(PACKET_as_length_prefixed_2(&pkt, &pkt2)))
crypto/openssl/test/sslapitest.c
7579
if (!TEST_true(PACKET_get_net_2(&pkt2, &type))
crypto/openssl/test/sslapitest.c
7580
|| !TEST_true(PACKET_get_length_prefixed_2(&pkt2, &pkt3)))
crypto/openssl/test/sslapitest.c
7585
|| !TEST_true(PACKET_get_1(&pkt3, &MFL_code)))
crypto/openssl/test/sslapitest.c
7612
if (!TEST_true(create_ssl_ctx_pair(libctx, NULL, TLS_client_method(),
crypto/openssl/test/sslapitest.c
7617
if (!TEST_true(SSL_CTX_set_tlsext_max_fragment_length(
crypto/openssl/test/sslapitest.c
7640
if (!TEST_true(get_MFL_from_client_hello(wbio, &MFL_mode)))
crypto/openssl/test/sslapitest.c
7643
if (!TEST_true(max_fragment_len_test[idx_tst] == MFL_mode))
crypto/openssl/test/sslapitest.c
7662
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
7667
if (!TEST_true(SSL_CTX_set_min_proto_version(sctx, TLS1_3_VERSION))
crypto/openssl/test/sslapitest.c
7668
|| !TEST_true(SSL_CTX_set_max_proto_version(sctx, TLS1_3_VERSION))
crypto/openssl/test/sslapitest.c
7669
|| !TEST_true(SSL_CTX_set_min_proto_version(cctx, TLS1_3_VERSION))
crypto/openssl/test/sslapitest.c
767
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
7670
|| !TEST_true(SSL_CTX_set_max_proto_version(cctx, TLS1_3_VERSION)))
crypto/openssl/test/sslapitest.c
7675
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
7679
if (!TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
7684
if (!TEST_true(SSL_verify_client_post_handshake(serverssl)))
crypto/openssl/test/sslapitest.c
7687
if (!TEST_true(SSL_key_update(clientssl, SSL_KEY_UPDATE_NOT_REQUESTED)))
crypto/openssl/test/sslapitest.c
7695
if (!TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
777
if (!TEST_true(SSL_CTX_set_cipher_list(cctx,
crypto/openssl/test/sslapitest.c
7785
|| !TEST_true(TXT_DB_insert(db, row)))
crypto/openssl/test/sslapitest.c
779
|| !TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
7818
if (!TEST_true(SRP_create_verifier_BN_ex(userid, password, &salt, &verifier,
crypto/openssl/test/sslapitest.c
7872
if (!TEST_true(create_new_vbase(userid, password)))
crypto/openssl/test/sslapitest.c
7876
if (!TEST_true(create_new_vfile(userid, password, tmpfilename)))
crypto/openssl/test/sslapitest.c
7886
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
789
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
7892
|| !TEST_true(SSL_CTX_set_cipher_list(cctx, "SRP-AES-128-CBC-SHA"))
crypto/openssl/test/sslapitest.c
7893
|| !TEST_true(SSL_CTX_set_max_proto_version(sctx, TLS1_2_VERSION))
crypto/openssl/test/sslapitest.c
7894
|| !TEST_true(SSL_CTX_set_max_proto_version(cctx, TLS1_2_VERSION))
crypto/openssl/test/sslapitest.c
7906
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
7912
if (!TEST_true(tst % 2 == 0))
crypto/openssl/test/sslapitest.c
7915
if (!TEST_true(tst % 2 == 1))
crypto/openssl/test/sslapitest.c
8249
if (!TEST_true((where & state[info_cb_this_state].where) != 0)) {
crypto/openssl/test/sslapitest.c
8319
if (!TEST_true(setupearly_data_test(&cctx, &sctx, &clientssl,
crypto/openssl/test/sslapitest.c
8332
if (!TEST_true(SSL_write_early_data(clientssl, MSG1, strlen(MSG1),
crypto/openssl/test/sslapitest.c
8347
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
8357
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
8363
if (!TEST_true(SSL_CTX_set_dh_auto(sctx, 1)))
crypto/openssl/test/sslapitest.c
8377
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl,
crypto/openssl/test/sslapitest.c
8379
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
8392
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, NULL,
crypto/openssl/test/sslapitest.c
8394
|| !TEST_true(SSL_set_session(clientssl, clntsess))
crypto/openssl/test/sslapitest.c
8395
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
8397
|| !TEST_true(SSL_session_reused(clientssl))
crypto/openssl/test/sslapitest.c
8422
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
8429
if (!TEST_true(create_ssl_ctx_pair(libctx, DTLS_server_method(),
crypto/openssl/test/sslapitest.c
8445
if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "DEFAULT:@SECLEVEL=0"))
crypto/openssl/test/sslapitest.c
8446
|| !TEST_true(SSL_CTX_set_cipher_list(cctx,
crypto/openssl/test/sslapitest.c
8455
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
8457
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
8465
|| !TEST_true(SSL_write_ex(serverssl, msg, sizeof(msg), &written))
crypto/openssl/test/sslapitest.c
8467
|| !TEST_true(SSL_read_ex(clientssl, buf, sizeof(buf), &readbytes))
crypto/openssl/test/sslapitest.c
8470
|| !TEST_true(SSL_has_pending(clientssl)))
crypto/openssl/test/sslapitest.c
8602
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
8609
if (!TEST_true(SSL_CTX_set_cipher_list(cctx,
crypto/openssl/test/sslapitest.c
8612
&& !TEST_true(SSL_CTX_set_ciphersuites(cctx,
crypto/openssl/test/sslapitest.c
8614
|| !TEST_true(SSL_CTX_set_cipher_list(sctx,
crypto/openssl/test/sslapitest.c
8617
&& !TEST_true(SSL_CTX_set_ciphersuites(sctx,
crypto/openssl/test/sslapitest.c
8621
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, NULL,
crypto/openssl/test/sslapitest.c
8626
if (!TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
8686
if (!TEST_true(status == SSL_TICKET_SUCCESS
crypto/openssl/test/sslapitest.c
8690
if (!TEST_true(SSL_SESSION_get0_ticket_appdata(ss, &tickdata,
crypto/openssl/test/sslapitest.c
875
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
879
|| !TEST_true(SSL_CTX_set_options(sctx, SSL_OP_NO_TICKET))
crypto/openssl/test/sslapitest.c
880
|| !TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
882
|| !TEST_true(SSL_set_cipher_list(clientssl, "AES128-GCM-SHA256"))
crypto/openssl/test/sslapitest.c
883
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
8875
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
8887
if (!TEST_true(SSL_CTX_set_session_cache_mode(sctx, SSL_SESS_CACHE_OFF)))
crypto/openssl/test/sslapitest.c
8890
if (!TEST_true(SSL_CTX_set_session_ticket_cb(sctx, gen_tick_cb, dec_tick_cb,
crypto/openssl/test/sslapitest.c
8895
if (!TEST_true(SSL_CTX_set_tlsext_ticket_key_evp_cb(sctx, tick_key_evp_cb)))
crypto/openssl/test/sslapitest.c
8899
if (!TEST_true(SSL_CTX_set_tlsext_ticket_key_cb(sctx, tick_key_cb)))
crypto/openssl/test/sslapitest.c
8904
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
8906
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
8931
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, NULL,
crypto/openssl/test/sslapitest.c
8933
|| !TEST_true(SSL_set_session(clientssl, clntsess))
crypto/openssl/test/sslapitest.c
8934
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
894
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
8944
if (!TEST_true(SSL_session_reused(clientssl)))
crypto/openssl/test/sslapitest.c
896
|| !TEST_true(SSL_set_session(clientssl, sess))
crypto/openssl/test/sslapitest.c
897
|| !TEST_true(SSL_set_cipher_list(clientssl, "AES256-GCM-SHA384:AES128-GCM-SHA256"))
crypto/openssl/test/sslapitest.c
898
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
900
|| !TEST_true(SSL_session_reused(clientssl))
crypto/openssl/test/sslapitest.c
9005
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
901
|| !TEST_true(SSL_session_reused(serverssl))
crypto/openssl/test/sslapitest.c
9011
if (!TEST_true(SSL_CTX_set_session_cache_mode(sctx, SSL_SESS_CACHE_OFF)))
crypto/openssl/test/sslapitest.c
9015
if (!TEST_true(SSL_CTX_set_session_ticket_cb(sctx, gen_tick_cb, dec_tick_cb,
crypto/openssl/test/sslapitest.c
9022
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
9024
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
9044
if (!TEST_true(SSL_CTX_set_session_ticket_cb(sctx, gen_tick_cb,
crypto/openssl/test/sslapitest.c
9048
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
9050
|| !TEST_true(SSL_set_session(clientssl, clntsess)))
crypto/openssl/test/sslapitest.c
9087
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
9095
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
9099
if (!TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
914
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
9157
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
916
|| !TEST_true(SSL_set_cipher_list(clientssl, "AES128-GCM-SHA256"))
crypto/openssl/test/sslapitest.c
9168
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
917
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
9173
if (!TEST_true(create_bare_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
9178
} else if (!TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
9181
|| !TEST_true(SSL_SESSION_is_resumable(sess))) {
crypto/openssl/test/sslapitest.c
920
|| !TEST_true(SSL_set_cipher_list(clientssl, "AES256-GCM-SHA384"))
crypto/openssl/test/sslapitest.c
9202
|| !TEST_true(SSL_write(serverssl, msg, sizeof(msg))))
crypto/openssl/test/sslapitest.c
9205
&& !TEST_true(SSL_key_update(serverssl,
crypto/openssl/test/sslapitest.c
921
|| !TEST_true(SSL_renegotiate(clientssl))
crypto/openssl/test/sslapitest.c
9210
if (!TEST_true(SSL_verify_client_post_handshake(serverssl)))
crypto/openssl/test/sslapitest.c
9214
&& !TEST_true(SSL_write(serverssl, msg, sizeof(msg))))
crypto/openssl/test/sslapitest.c
922
|| !TEST_true(SSL_renegotiate_pending(clientssl)))
crypto/openssl/test/sslapitest.c
9220
if (!TEST_true(SSL_read_ex(clientssl, buf, sizeof(buf),
crypto/openssl/test/sslapitest.c
9224
|| !TEST_true(SSL_read_ex(clientssl, buf, sizeof(buf),
crypto/openssl/test/sslapitest.c
9250
|| !TEST_true(SSL_SESSION_is_resumable(sess))
crypto/openssl/test/sslapitest.c
9261
|| !TEST_true(SSL_SESSION_is_resumable(sess)))
crypto/openssl/test/sslapitest.c
9301
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
9307
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, NULL,
crypto/openssl/test/sslapitest.c
9311
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
9319
if (!TEST_true(BIO_up_ref(tmp))) {
crypto/openssl/test/sslapitest.c
9422
if (!TEST_true(SSL_use_certificate_file(s, cert, SSL_FILETYPE_PEM))
crypto/openssl/test/sslapitest.c
9423
|| !TEST_true(SSL_use_PrivateKey_file(s, privkey,
crypto/openssl/test/sslapitest.c
9425
|| !TEST_true(SSL_check_private_key(s)))
crypto/openssl/test/sslapitest.c
9437
|| !TEST_true(load_chain("root-ml-dsa-44-cert.pem", NULL, NULL, chain))
crypto/openssl/test/sslapitest.c
9438
|| !TEST_true(load_chain("server-ml-dsa-44-cert.pem", NULL, &x509, NULL))
crypto/openssl/test/sslapitest.c
9439
|| !TEST_true(load_chain("server-ml-dsa-44-key.pem", &pkey, NULL, NULL)))
crypto/openssl/test/sslapitest.c
9445
|| !TEST_true(load_chain("ca-cert.pem", NULL, NULL, chain))
crypto/openssl/test/sslapitest.c
9446
|| !TEST_true(load_chain("root-cert.pem", NULL, NULL, chain))
crypto/openssl/test/sslapitest.c
9447
|| !TEST_true(load_chain("p256-ee-rsa-ca-cert.pem", NULL,
crypto/openssl/test/sslapitest.c
9449
|| !TEST_true(load_chain("p256-ee-rsa-ca-key.pem", &pkey,
crypto/openssl/test/sslapitest.c
9503
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
9525
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
9530
if (!TEST_true(SSL_set1_sigalgs_list(clientssl,
crypto/openssl/test/sslapitest.c
9533
|| !TEST_true(SSL_set1_sigalgs_list(serverssl,
crypto/openssl/test/sslapitest.c
9542
if (!TEST_true(SSL_set1_sigalgs_list(clientssl,
crypto/openssl/test/sslapitest.c
9544
|| !TEST_true(SSL_set1_sigalgs_list(serverssl,
crypto/openssl/test/sslapitest.c
9552
if (!TEST_true(SSL_set1_sigalgs_list(clientssl,
crypto/openssl/test/sslapitest.c
9554
|| !TEST_true(SSL_set1_sigalgs_list(serverssl,
crypto/openssl/test/sslapitest.c
9561
if (!TEST_true(tst == 0 || tst == 4 || tst == 5 ? !ret : ret)
crypto/openssl/test/sslapitest.c
9645
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
9662
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
9664
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
9701
|| !TEST_true(X509_NAME_add_entry_by_txt(name[i], "CN",
crypto/openssl/test/sslapitest.c
9709
if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
crypto/openssl/test/sslapitest.c
9720
|| !TEST_true(sk_X509_NAME_push(sk1, X509_NAME_dup(name[0])))
crypto/openssl/test/sslapitest.c
9721
|| !TEST_true(sk_X509_NAME_push(sk1, X509_NAME_dup(name[1])))
crypto/openssl/test/sslapitest.c
9723
|| !TEST_true(sk_X509_NAME_push(sk2, X509_NAME_dup(name[0])))
crypto/openssl/test/sslapitest.c
9724
|| !TEST_true(sk_X509_NAME_push(sk2, X509_NAME_dup(name[1]))))
crypto/openssl/test/sslapitest.c
9733
|| !TEST_true(sk_X509_NAME_push(sk1, X509_NAME_dup(name[2])))
crypto/openssl/test/sslapitest.c
9734
|| !TEST_true(sk_X509_NAME_push(sk1, X509_NAME_dup(name[3])))
crypto/openssl/test/sslapitest.c
9736
|| !TEST_true(sk_X509_NAME_push(sk2, X509_NAME_dup(name[2])))
crypto/openssl/test/sslapitest.c
9737
|| !TEST_true(sk_X509_NAME_push(sk2, X509_NAME_dup(name[3]))))
crypto/openssl/test/sslapitest.c
9745
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
9747
|| !TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslapitest.c
976
if (!TEST_true(create_ssl_ctx_pair(libctx, smeth, cmeth, min_version,
crypto/openssl/test/sslapitest.c
9869
if (!TEST_true(create_ssl_ctx_pair(libctx, smeth, cmeth, min_version,
crypto/openssl/test/sslapitest.c
987
if (!TEST_true(SSL_CTX_set_cipher_list(sctx, "DEFAULT:@SECLEVEL=0"))
crypto/openssl/test/sslapitest.c
9874
if (!TEST_true(SSL_CTX_set_max_send_fragment(sctx, MULTIBLOCK_FRAGSIZE)))
crypto/openssl/test/sslapitest.c
9877
if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl,
crypto/openssl/test/sslapitest.c
988
|| !TEST_true(SSL_CTX_set_cipher_list(cctx,
crypto/openssl/test/sslapitest.c
9883
if (!TEST_true(SSL_CTX_set_cipher_list(cctx, cipherlist)))
crypto/openssl/test/sslapitest.c
9886
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))
crypto/openssl/test/sslapitest.c
9889
if (!TEST_true(SSL_write_ex(serverssl, msg, sizeof(msg), &written))
crypto/openssl/test/sslapitest.c
9895
if (!TEST_true(SSL_read_ex(clientssl, p, MULTIBLOCK_FRAGSIZE, &readbytes)))
crypto/openssl/test/sslbuffertest.c
113
if (test >= 1 && (!TEST_true(SSL_free_buffers(clientssl)) || !TEST_true(checkbuffers(clientssl, 0))))
crypto/openssl/test/sslbuffertest.c
115
if (test >= 2 && (!TEST_true(SSL_alloc_buffers(clientssl)) || !TEST_true(checkbuffers(clientssl, 1))))
crypto/openssl/test/sslbuffertest.c
118
if (test >= 3 && (!TEST_true(SSL_alloc_buffers(clientssl)) || !TEST_true(checkbuffers(clientssl, 1))))
crypto/openssl/test/sslbuffertest.c
120
if (test >= 4 && (!TEST_true(SSL_free_buffers(clientssl)) || !TEST_true(checkbuffers(clientssl, 0))))
crypto/openssl/test/sslbuffertest.c
144
if (test >= 5 && (!TEST_true(SSL_free_buffers(serverssl)) || !TEST_true(checkbuffers(serverssl, 0))))
crypto/openssl/test/sslbuffertest.c
147
if (test >= 6 && (!TEST_true(SSL_free_buffers(serverssl)) || !TEST_true(checkbuffers(serverssl, 0))))
crypto/openssl/test/sslbuffertest.c
149
if (test >= 7 && (!TEST_true(SSL_alloc_buffers(serverssl)) || !TEST_true(checkbuffers(serverssl, 1))))
crypto/openssl/test/sslbuffertest.c
151
if (test >= 8 && (!TEST_true(SSL_free_buffers(serverssl)) || !TEST_true(checkbuffers(serverssl, 0))))
crypto/openssl/test/sslbuffertest.c
211
if (!TEST_true(create_ssl_objects(serverctx, clientctx, &serverssl,
crypto/openssl/test/sslbuffertest.c
216
if (!TEST_true(SSL_set_cipher_list(serverssl, "AES128-SHA"))
crypto/openssl/test/sslbuffertest.c
217
|| !TEST_true(SSL_set_max_proto_version(serverssl,
crypto/openssl/test/sslbuffertest.c
219
|| !TEST_true(SSL_set_max_pipelines(serverssl, 2)))
crypto/openssl/test/sslbuffertest.c
223
if (!TEST_true(create_ssl_connection(serverssl, clientssl,
crypto/openssl/test/sslbuffertest.c
232
if (!TEST_true(SSL_write_ex(clientssl, testdata, strlen(testdata),
crypto/openssl/test/sslbuffertest.c
248
if (!TEST_true(SSL_read_ex(serverssl, buf, readlen, &readbytes))
crypto/openssl/test/sslbuffertest.c
257
if (!TEST_true(BIO_read_ex(tmp, buf, sizeof(buf), &readbytes))
crypto/openssl/test/sslbuffertest.c
296
if (!TEST_true(BIO_write_ex(tmp, buf, partial_len, &written)))
crypto/openssl/test/sslbuffertest.c
305
if (!TEST_true(SSL_read_ex(serverssl, buf, sizeof(buf),
crypto/openssl/test/sslbuffertest.c
87
if (!TEST_true(create_ssl_objects(serverctx, clientctx, &serverssl, &clientssl,
crypto/openssl/test/sslbuffertest.c
93
if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE))) {
crypto/openssl/test/sslcorrupttest.c
196
if (!TEST_true(create_ssl_ctx_pair(NULL, TLS_server_method(),
crypto/openssl/test/sslcorrupttest.c
202
if (!TEST_true(SSL_CTX_set_dh_auto(sctx, 1))
crypto/openssl/test/sslcorrupttest.c
203
|| !TEST_true(SSL_CTX_set_cipher_list(cctx, cipher_list[testidx]))
crypto/openssl/test/sslcorrupttest.c
204
|| !TEST_true(SSL_CTX_set_ciphersuites(cctx, ""))
crypto/openssl/test/sslcorrupttest.c
214
if (!TEST_true(SSL_CTX_set_max_proto_version(cctx, TLS1_2_VERSION)))
crypto/openssl/test/sslcorrupttest.c
221
if (!TEST_true(create_ssl_objects(sctx, cctx, &server, &client, NULL,
crypto/openssl/test/sslcorrupttest.c
225
if (!TEST_true(create_ssl_connection(server, client, SSL_ERROR_NONE)))
crypto/openssl/test/stack_test.c
136
if (!TEST_true(sk_sint_is_sorted(s)))
crypto/openssl/test/stack_test.c
183
|| (reserve > 0 && !TEST_true(sk_uchar_reserve(s, 5 * reserve))))
crypto/openssl/test/stack_test.c
88
|| (reserve > 0 && !TEST_true(sk_sint_reserve(s, 5 * reserve))))
crypto/openssl/test/test_test.c
245
if (!TEST(0, TEST_true(0))
crypto/openssl/test/test_test.c
246
|| !TEST(1, TEST_true(1))
crypto/openssl/test/test_test.c
424
r = TEST_true(BN_hex2bn(&a, as))
crypto/openssl/test/test_test.c
425
&& TEST_true(BN_hex2bn(&b, bs))
crypto/openssl/test/test_test.c
426
&& TEST_true(BN_hex2bn(&c, cs))
crypto/openssl/test/test_test.c
427
&& TEST_true(BN_hex2bn(&d, ds))
crypto/openssl/test/test_test.c
527
&& !TEST_true(BN_hex2bn(&b, bn_output_tests[n])))
crypto/openssl/test/testutil/compare.c
80
if (!TEST_true(BIO_eof(file))
crypto/openssl/test/testutil/compare.c
81
|| !TEST_true(BIO_eof(membio)))
crypto/openssl/test/testutil/fake_random.c
192
if (!TEST_true(OSSL_PROVIDER_add_builtin(libctx, "fake-rand",
crypto/openssl/test/testutil/fake_random.c
194
|| !TEST_true(RAND_set_DRBG_type(libctx, "fake", NULL, NULL, NULL))
crypto/openssl/test/testutil/fake_random.c
199
if (!TEST_true(check_rng(RAND_get0_primary(libctx), "primary"))
crypto/openssl/test/testutil/fake_random.c
200
|| !TEST_true(check_rng(RAND_get0_private(libctx), "private"))
crypto/openssl/test/testutil/fake_random.c
201
|| !TEST_true(check_rng(RAND_get0_public(libctx), "public"))) {
crypto/openssl/test/threadstest.c
100
&& TEST_true(CRYPTO_THREAD_unlock(lock));
crypto/openssl/test/threadstest.c
1024
|| !TEST_true(multi_success))
crypto/openssl/test/threadstest.c
1072
if (!TEST_true(EVP_PKEY_up_ref(shared_evp_pkey)))
crypto/openssl/test/threadstest.c
1081
|| !TEST_true(multi_success))
crypto/openssl/test/threadstest.c
1103
|| !TEST_true(OSSL_PROVIDER_unload(prov)))
crypto/openssl/test/threadstest.c
1113
|| !TEST_true(multi_success))
crypto/openssl/test/threadstest.c
1134
|| !TEST_true(OSSL_PROVIDER_unload(prov)))
crypto/openssl/test/threadstest.c
1190
|| !TEST_true(id = OBJ_create(oid, sn, ln))
crypto/openssl/test/threadstest.c
1191
|| !TEST_true(OBJ_add_sigid(id, NID_sha3_256, NID_rsa)))
crypto/openssl/test/threadstest.c
1322
if (!TEST_true(X509_STORE_CTX_init(ctx, store, NULL, NULL)))
crypto/openssl/test/threadstest.c
1328
if (!TEST_true(X509_NAME_add_entry_by_txt(name, "CN", MBSTRING_ASC,
crypto/openssl/test/threadstest.c
1353
if (!TEST_true(X509_STORE_load_store(store, storedir)))
crypto/openssl/test/threadstest.c
253
if (!TEST_true(run_thread(&rwreader1, rwreader1_fn))
crypto/openssl/test/threadstest.c
254
|| !TEST_true(run_thread(&rwreader2, rwreader2_fn))
crypto/openssl/test/threadstest.c
255
|| !TEST_true(run_thread(&rwwriter1, rwwriter1_fn))
crypto/openssl/test/threadstest.c
256
|| !TEST_true(run_thread(&rwwriter2, rwwriter2_fn))
crypto/openssl/test/threadstest.c
257
|| !TEST_true(wait_for_thread(rwwriter1))
crypto/openssl/test/threadstest.c
258
|| !TEST_true(wait_for_thread(rwwriter2))
crypto/openssl/test/threadstest.c
259
|| !TEST_true(wait_for_thread(rwreader1))
crypto/openssl/test/threadstest.c
260
|| !TEST_true(wait_for_thread(rwreader2)))
crypto/openssl/test/threadstest.c
456
if (!TEST_true(run_thread(&reader1, reader1_fn))
crypto/openssl/test/threadstest.c
457
|| !TEST_true(run_thread(&reader2, reader2_fn))
crypto/openssl/test/threadstest.c
458
|| !TEST_true(run_thread(&writer1, writer1_fn))
crypto/openssl/test/threadstest.c
459
|| !TEST_true(run_thread(&writer2, writer2_fn))
crypto/openssl/test/threadstest.c
460
|| !TEST_true(wait_for_thread(writer1))
crypto/openssl/test/threadstest.c
461
|| !TEST_true(wait_for_thread(writer2))
crypto/openssl/test/threadstest.c
462
|| !TEST_true(wait_for_thread(reader1))
crypto/openssl/test/threadstest.c
463
|| !TEST_true(wait_for_thread(reader2)))
crypto/openssl/test/threadstest.c
532
if (!TEST_true(run_thread(&thread, once_run_thread_cb))
crypto/openssl/test/threadstest.c
533
|| !TEST_true(wait_for_thread(thread))
crypto/openssl/test/threadstest.c
562
|| !TEST_true(CRYPTO_THREAD_set_local(&thread_local_key,
crypto/openssl/test/threadstest.c
578
if (!TEST_true(CRYPTO_THREAD_init_local(&thread_local_key,
crypto/openssl/test/threadstest.c
584
|| !TEST_true(run_thread(&thread, thread_local_thread_cb))
crypto/openssl/test/threadstest.c
585
|| !TEST_true(wait_for_thread(thread))
crypto/openssl/test/threadstest.c
601
if (!TEST_true(CRYPTO_THREAD_cleanup_local(&thread_local_key)))
crypto/openssl/test/threadstest.c
616
if (!TEST_true(CRYPTO_THREAD_init_local(&thread_local_key,
crypto/openssl/test/threadstest.c
620
if (!TEST_true(CRYPTO_THREAD_set_local(&thread_local_key, &dummy)))
crypto/openssl/test/threadstest.c
623
if (!TEST_true(CRYPTO_THREAD_cleanup_local(&thread_local_key)))
crypto/openssl/test/threadstest.c
650
if (!TEST_true(CRYPTO_atomic_add(&val, 1, &ret, lock)))
crypto/openssl/test/threadstest.c
669
if (!TEST_true(CRYPTO_atomic_or(&val64, 2, &ret64, lock)))
crypto/openssl/test/threadstest.c
690
if (!TEST_true(CRYPTO_atomic_load(&val64, &ret64, lock)))
crypto/openssl/test/threadstest.c
713
if (!TEST_true(CRYPTO_atomic_and(&val64, 5, &ret64, lock)))
crypto/openssl/test/threadstest.c
736
if (!TEST_true(CRYPTO_atomic_add64(&val64, 2, &ret64, lock)))
crypto/openssl/test/threadstest.c
77
if (!TEST_true(CRYPTO_THREAD_write_lock(tsan_lock)))
crypto/openssl/test/threadstest.c
791
if (libctx && !TEST_true(test_get_libctx(&multi_libctx, NULL, config_file, NULL, NULL)))
crypto/openssl/test/threadstest.c
80
if (!TEST_true(CRYPTO_THREAD_unlock(tsan_lock)))
crypto/openssl/test/threadstest.c
810
if (!TEST_true(wait_for_thread(multi_threads[i])))
crypto/openssl/test/threadstest.c
823
if (!TEST_true(run_thread(multi_threads + multi_num_threads++, thread_func)))
crypto/openssl/test/threadstest.c
844
|| !TEST_true(multi_success))
crypto/openssl/test/threadstest.c
886
if (!TEST_true(EVP_DigestInit_ex(mdctx, md, NULL))
crypto/openssl/test/threadstest.c
887
|| !TEST_true(EVP_DigestUpdate(mdctx, message, messlen))
crypto/openssl/test/threadstest.c
888
|| !TEST_true(EVP_DigestFinal(mdctx, out, &mdoutl)))
crypto/openssl/test/threadstest.c
892
if (!TEST_true(EVP_EncryptInit_ex(cipherctx, ciph, NULL, key, iv))
crypto/openssl/test/threadstest.c
893
|| !TEST_true(EVP_EncryptUpdate(cipherctx, out, &ciphoutl,
crypto/openssl/test/threadstest.c
896
|| !TEST_true(EVP_EncryptFinal(cipherctx, out, &ciphoutl)))
crypto/openssl/test/threadstest.c
97
res = TEST_true(CRYPTO_THREAD_read_lock(lock))
crypto/openssl/test/threadstest.c
98
&& TEST_true(CRYPTO_THREAD_unlock(lock))
crypto/openssl/test/threadstest.c
984
|| !TEST_true(OSSL_PROVIDER_available(multi_libctx, "default")))
crypto/openssl/test/threadstest.c
99
&& TEST_true(CRYPTO_THREAD_write_lock(lock))
crypto/openssl/test/threadstest_fips.c
23
if (!TEST_true(md = EVP_MD_fetch(NULL, "SHA2-256", NULL)))
crypto/openssl/test/threadstest_fips.c
34
if (!TEST_true(run_thread(&thread, thread_fips_rand_fetch)))
crypto/openssl/test/threadstest_fips.c
36
if (!TEST_true(wait_for_thread(thread)))
crypto/openssl/test/threadstest_fips.c
38
return TEST_true(success);
crypto/openssl/test/time_offset_test.c
78
if (!TEST_true(ASN1_TIME_diff(&day, &sec, &the_asn1_time, &at))) {
crypto/openssl/test/time_test.c
25
if (!TEST_true(ossl_time_is_zero(ossl_time_from_timeval(tv))))
crypto/openssl/test/tls13ccstest.c
259
if (!TEST_true(create_ssl_ctx_pair(NULL, TLS_server_method(),
crypto/openssl/test/tls13ccstest.c
262
|| !TEST_true(SSL_CTX_set_max_early_data(sctx,
crypto/openssl/test/tls13ccstest.c
305
if (!TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl, NULL, NULL))
crypto/openssl/test/tls13ccstest.c
306
|| !TEST_true(create_ssl_connection(sssl, cssl, SSL_ERROR_NONE)))
crypto/openssl/test/tls13ccstest.c
322
if (!TEST_true(SSL_CTX_set1_groups_list(sctx, "ffdhe3072")))
crypto/openssl/test/tls13ccstest.c
326
if (!TEST_true(SSL_CTX_set1_groups_list(sctx, "P-384")))
crypto/openssl/test/tls13ccstest.c
341
if (!TEST_true(create_ssl_objects(sctx, cctx, &sssl, &cssl, s_to_c_fbio,
crypto/openssl/test/tls13ccstest.c
347
if (!TEST_true(SSL_set_session(cssl, sess))
crypto/openssl/test/tls13ccstest.c
348
|| !TEST_true(SSL_write_early_data(cssl, msg, strlen(msg),
crypto/openssl/test/tls13ccstest.c
369
if (!TEST_true(create_ssl_connection(sssl, cssl, SSL_ERROR_NONE)))
crypto/openssl/test/tls13ccstest.c
382
if (!TEST_true(sccsseen)
crypto/openssl/test/tls13ccstest.c
383
|| !TEST_true(ccsaftersh)
crypto/openssl/test/tls13ccstest.c
390
if (!TEST_true(sccsseen)
crypto/openssl/test/tls13ccstest.c
399
|| !TEST_true(ccsaftersh)
crypto/openssl/test/tls13ccstest.c
406
if (!TEST_true(sccsseen)
crypto/openssl/test/tls13ccstest.c
407
|| !TEST_true(ccsaftersh)
crypto/openssl/test/tls13ccstest.c
414
if (!TEST_true(sccsseen)
crypto/openssl/test/tls13ccstest.c
423
|| !TEST_true(ccsaftersh)
crypto/openssl/test/tls13ccstest.c
430
if (!TEST_true(sccsseen)
crypto/openssl/test/tls13ccstest.c
432
|| !TEST_true(ccsbeforesh)
crypto/openssl/test/tls13ccstest.c
438
if (!TEST_true(sccsseen)
crypto/openssl/test/tls13ccstest.c
448
|| !TEST_true(ccsbeforesh)
crypto/openssl/test/tls13ccstest.c
454
if (!TEST_true(sccsseen)
crypto/openssl/test/tls13ccstest.c
456
|| !TEST_true(ccsbeforesh)
crypto/openssl/test/tls13ccstest.c
462
if (!TEST_true(sccsseen)
crypto/openssl/test/tls13ccstest.c
472
|| !TEST_true(ccsbeforesh)
crypto/openssl/test/tls13encryptiontest.c
309
if (!TEST_true(ossl_tls_record_method.new_record_layer(
crypto/openssl/test/tls13encryptiontest.c
326
if (!TEST_true(test_record(&rec, &refdata[ctr], 1))) {
crypto/openssl/test/tls13encryptiontest.c
332
if (!TEST_true(ossl_tls_record_method.new_record_layer(
crypto/openssl/test/tls13encryptiontest.c
349
if (!TEST_true(test_record(&rec, &refdata[ctr], 0))) {
crypto/openssl/test/tls13groupselection_test.c
15
if (!TEST_true(a)) \
crypto/openssl/test/tls13groupselection_test.c
438
if (!TEST_true(create_ssl_objects(server_ctx, client_ctx,
crypto/openssl/test/tls13secretstest.c
309
if (!TEST_true(tls13_generate_secret(s, ssl_handshake_md(s), NULL, NULL, 0,
crypto/openssl/test/tls13secretstest.c
321
if (!TEST_true(tls13_generate_handshake_secret(s, ecdhe_secret,
crypto/openssl/test/tls13secretstest.c
339
if (!TEST_true(test_secret(s, s->handshake_secret,
crypto/openssl/test/tls13secretstest.c
354
if (!TEST_true(test_secret(s, s->handshake_secret,
crypto/openssl/test/tls13secretstest.c
368
if (!TEST_true(tls13_generate_master_secret(s, out_master_secret,
crypto/openssl/test/tls13secretstest.c
388
if (!TEST_true(test_secret(s, out_master_secret,
crypto/openssl/test/tls13secretstest.c
403
if (!TEST_true(test_secret(s, out_master_secret,
crypto/openssl/test/tls13tickettest.c
106
&& TEST_true(SSL_CTX_set_ciphersuites(s_ctx, "TLS_AES_128_GCM_SHA256"))
crypto/openssl/test/tls13tickettest.c
107
&& TEST_true(SSL_CTX_set_ciphersuites(c_ctx, "TLS_AES_128_GCM_SHA256"))
crypto/openssl/test/tls13tickettest.c
108
&& TEST_true(enable_tickets(s_ctx, c_ctx))
crypto/openssl/test/tls13tickettest.c
109
&& TEST_true(create_ssl_objects(s_ctx, c_ctx, &s, &c, NULL, NULL))
crypto/openssl/test/tls13tickettest.c
110
&& TEST_true(set_callbacks(c))
crypto/openssl/test/tls13tickettest.c
111
&& TEST_true(set_callbacks(s))
crypto/openssl/test/tls13tickettest.c
112
&& TEST_true(stats_init(&stats1))
crypto/openssl/test/tls13tickettest.c
113
&& TEST_true(SSL_set_ex_data(c, stats_idx, &stats1))
crypto/openssl/test/tls13tickettest.c
114
&& TEST_true(create_ssl_connection(s, c, SSL_ERROR_NONE))
crypto/openssl/test/tls13tickettest.c
116
&& TEST_true(set_shutdown(c, s))
crypto/openssl/test/tls13tickettest.c
118
&& TEST_true(SSL_CTX_set_ciphersuites(s_ctx, "TLS_AES_256_GCM_SHA384"))
crypto/openssl/test/tls13tickettest.c
119
&& TEST_true(SSL_CTX_set_ciphersuites(c_ctx, "TLS_AES_256_GCM_SHA384"))
crypto/openssl/test/tls13tickettest.c
120
&& TEST_true(create_ssl_objects(s_ctx, c_ctx, &s_ssl, &c_ssl, NULL, NULL))
crypto/openssl/test/tls13tickettest.c
121
&& TEST_true(SSL_set_session(c_ssl, sess))
crypto/openssl/test/tls13tickettest.c
122
&& TEST_true(set_callbacks(c_ssl))
crypto/openssl/test/tls13tickettest.c
123
&& TEST_true(set_callbacks(s_ssl))
crypto/openssl/test/tls13tickettest.c
124
&& TEST_true(stats_init(&stats2))
crypto/openssl/test/tls13tickettest.c
125
&& TEST_true(SSL_set_ex_data(c_ssl, stats_idx, &stats2))
crypto/openssl/test/tls13tickettest.c
126
&& TEST_true(create_ssl_connection(s_ssl, c_ssl, SSL_ERROR_NONE))
crypto/openssl/test/trace_api_test.c
140
if (!TEST_true(OSSL_trace_enabled(OSSL_TRACE_CATEGORY_HTTP)))
crypto/openssl/test/trace_api_test.c
170
if (!TEST_true(category == OSSL_TRACE_CATEGORY_TRACE))
crypto/openssl/test/trace_api_test.c
179
if (!TEST_true(OSSL_trace_set_callback(OSSL_TRACE_CATEGORY_TRACE, trace_cb,
crypto/openssl/test/trace_api_test.c
185
if (!TEST_false(trace_cb_failure) || !TEST_true(trace_cb_called))
crypto/openssl/test/upcallstest.c
104
if (!TEST_true(OSSL_PROVIDER_add_builtin(libctx, "obj-prov",
crypto/openssl/test/upcallstest.c
112
|| !TEST_true(OBJ_find_sigid_algs(sigalgnid, &digestnid, &signid))
crypto/openssl/test/upcallstest.c
122
|| !TEST_true(OBJ_find_sigid_algs(sigalgnid, &digestnid, &signid))
crypto/openssl/test/user_property_test.c
106
&& !TEST_true(EVP_set_default_properties(libctx, MYPROPERTIES)))
crypto/openssl/test/user_property_test.c
113
if (!TEST_true(EVP_set_default_properties(libctx, MYPROPERTIES)))
crypto/openssl/test/user_property_test.c
94
|| !TEST_true(OSSL_PROVIDER_add_builtin(libctx, "testprov",
crypto/openssl/test/user_property_test.c
99
&& !TEST_true(EVP_set_default_properties(libctx, MYPROPERTIES)))
crypto/openssl/test/v3ext.c
189
if (!TEST_true(X509v3_addr_canonize(addr)))
crypto/openssl/test/v3ext.c
195
if (!TEST_true(ip1->length == 4 || ip1->length == 16))
crypto/openssl/test/v3ext.c
202
if (!TEST_true(memcmp(ip1->data, ip2->data, ip1->length) <= 0))
crypto/openssl/test/v3ext.c
205
if (!TEST_true(X509v3_addr_add_range(addr, ranges[i].afi, NULL, ip1->data, ip2->data)))
crypto/openssl/test/v3ext.c
208
if (!TEST_true(X509v3_addr_is_canonical(addr)))
crypto/openssl/test/v3ext.c
249
if (!TEST_true(X509v3_addr_add_range(addr, ranges[0].afi, NULL, ip1->data, ip2->data)))
crypto/openssl/test/v3ext.c
251
if (!TEST_true(X509v3_addr_is_canonical(addr)))
crypto/openssl/test/v3ext.c
306
if (!TEST_true(X509v3_addr_canonize(addr)))
crypto/openssl/test/v3ext.c
394
if (!TEST_true(X509V3_EXT_add_nconf(conf, &ctx, "default",
crypto/openssl/test/v3ext.c
433
|| !TEST_true(X509v3_addr_add_range(addr[i], ranges[i].afi, NULL,
crypto/openssl/test/v3ext.c
439
&& TEST_true(X509v3_addr_subset(NULL, NULL))
crypto/openssl/test/v3ext.c
440
&& TEST_true(X509v3_addr_subset(NULL, addr[0]))
crypto/openssl/test/v3ext.c
441
&& TEST_true(X509v3_addr_subset(addrEmpty, addr[0]))
crypto/openssl/test/v3ext.c
442
&& TEST_true(X509v3_addr_subset(addr[0], addr[0]))
crypto/openssl/test/v3ext.c
443
&& TEST_true(X509v3_addr_subset(addr[0], addr[1]))
crypto/openssl/test/v3ext.c
444
&& TEST_true(X509v3_addr_subset(addr[0], addr[2]))
crypto/openssl/test/v3ext.c
445
&& TEST_true(X509v3_addr_subset(addr[1], addr[2]))
crypto/openssl/test/v3ext.c
56
|| !TEST_true(ASN1_INTEGER_set_int64(val1, 64496)))
crypto/openssl/test/v3ext.c
59
if (!TEST_true(X509v3_asid_add_id_or_range(asid1, V3_ASID_ASNUM, val1, NULL)))
crypto/openssl/test/v3ext.c
64
|| !TEST_true(ASN1_INTEGER_set_int64(val2, 64497)))
crypto/openssl/test/v3ext.c
67
if (!TEST_true(X509v3_asid_add_id_or_range(asid2, V3_ASID_ASNUM, val2, NULL)))
crypto/openssl/test/v3ext.c
72
|| !TEST_true(ASN1_INTEGER_set_int64(val1, 64496))
crypto/openssl/test/v3ext.c
74
|| !TEST_true(ASN1_INTEGER_set_int64(val2, 64497)))
crypto/openssl/test/v3ext.c
81
if (!TEST_true(X509v3_asid_add_id_or_range(asid3, V3_ASID_ASNUM, val1, val2)))
crypto/openssl/test/v3ext.c
86
if (!TEST_true(X509v3_asid_subset(NULL, NULL))
crypto/openssl/test/v3ext.c
87
|| !TEST_true(X509v3_asid_subset(NULL, asid1))
crypto/openssl/test/v3ext.c
88
|| !TEST_true(X509v3_asid_subset(asid1, asid1))
crypto/openssl/test/v3ext.c
89
|| !TEST_true(X509v3_asid_subset(asid2, asid2))
crypto/openssl/test/v3ext.c
90
|| !TEST_true(X509v3_asid_subset(asid1, asid3))
crypto/openssl/test/v3ext.c
91
|| !TEST_true(X509v3_asid_subset(asid2, asid3))
crypto/openssl/test/v3ext.c
92
|| !TEST_true(X509v3_asid_subset(asid3, asid3))
crypto/openssl/test/v3ext.c
93
|| !TEST_true(X509v3_asid_subset(asid4, asid1))
crypto/openssl/test/v3ext.c
94
|| !TEST_true(X509v3_asid_subset(asid4, asid2))
crypto/openssl/test/v3ext.c
95
|| !TEST_true(X509v3_asid_subset(asid4, asid3)))
crypto/openssl/test/v3nametest.c
257
if (!TEST_true(X509_set_version(crt, X509_VERSION_3))) {
crypto/openssl/test/v3nametest.c
307
if (!TEST_true(check_message(fn, "host", nameincert, match, *pname)))
crypto/openssl/test/v3nametest.c
323
if (!TEST_true(check_message(fn, "host-no-wildcards",
crypto/openssl/test/v3nametest.c
336
if (!TEST_true(check_message(fn, "email", nameincert, match, *pname)))
crypto/openssl/test/v3nametest.c
354
|| !TEST_true(pfn->fn(crt, *pname))
crypto/openssl/test/verify_extra_test.c
192
ret = ret && TEST_true(sk_X509_push(trusted, cert));
crypto/openssl/test/verify_extra_test.c
193
ret = ret && TEST_true(X509_STORE_CTX_init(ctx, NULL, cert, NULL));
crypto/openssl/test/verify_extra_test.c
243
if (!TEST_true(sk_X509_push(trusted, trcert)))
crypto/openssl/test/verify_extra_test.c
246
if (!TEST_true(sk_X509_push(untrusted, untrcert)))
crypto/openssl/test/verify_extra_test.c
250
if (!TEST_true(X509_STORE_CTX_init(ctx, NULL, eecert, untrusted)))
crypto/openssl/test/verify_extra_test.c
253
if (!TEST_true(X509_STORE_CTX_set_purpose(ctx, purpose)))
crypto/openssl/test/wpackettest.c
100
|| !TEST_true(WPACKET_get_total_written(&pkt, &written))
crypto/openssl/test/wpackettest.c
104
if (!TEST_true(WPACKET_init_len(&pkt, buf, 1)))
crypto/openssl/test/wpackettest.c
114
if (!TEST_true(WPACKET_finish(&pkt)))
crypto/openssl/test/wpackettest.c
118
if (!TEST_true(WPACKET_init_static_len(&pkt, sbuf, sizeof(sbuf), 0))
crypto/openssl/test/wpackettest.c
120
|| !TEST_true(WPACKET_put_bytes_u24(&pkt, 0xffffff))
crypto/openssl/test/wpackettest.c
124
|| !TEST_true(WPACKET_finish(&pkt))
crypto/openssl/test/wpackettest.c
125
|| !TEST_true(WPACKET_get_total_written(&pkt, &written))
crypto/openssl/test/wpackettest.c
128
|| !TEST_true(WPACKET_init_static_len(&pkt, sbuf, sizeof(sbuf), 1))
crypto/openssl/test/wpackettest.c
130
|| !TEST_true(WPACKET_put_bytes_u16(&pkt, 0xfeff))
crypto/openssl/test/wpackettest.c
133
|| !TEST_true(WPACKET_finish(&pkt))
crypto/openssl/test/wpackettest.c
134
|| !TEST_true(WPACKET_get_total_written(&pkt, &written))
crypto/openssl/test/wpackettest.c
146
if (!TEST_true(WPACKET_init(&pkt, buf))
crypto/openssl/test/wpackettest.c
151
|| !TEST_true(WPACKET_set_max_size(&pkt, SIZE_MAX))
crypto/openssl/test/wpackettest.c
153
|| !TEST_true(WPACKET_set_max_size(&pkt, SIZE_MAX - 1))
crypto/openssl/test/wpackettest.c
155
|| !TEST_true(WPACKET_set_max_size(&pkt, SIZE_MAX))
crypto/openssl/test/wpackettest.c
156
|| !TEST_true(WPACKET_finish(&pkt)))
crypto/openssl/test/wpackettest.c
159
if (!TEST_true(WPACKET_init_len(&pkt, buf, 1))
crypto/openssl/test/wpackettest.c
171
|| !TEST_true(WPACKET_set_max_size(&pkt, 0x0100))
crypto/openssl/test/wpackettest.c
173
|| !TEST_true(WPACKET_set_max_size(&pkt, 0x01))
crypto/openssl/test/wpackettest.c
177
|| !TEST_true(WPACKET_set_max_size(&pkt, 0x02))
crypto/openssl/test/wpackettest.c
178
|| !TEST_true(WPACKET_put_bytes_u8(&pkt, 0xff))
crypto/openssl/test/wpackettest.c
180
|| !TEST_true(WPACKET_finish(&pkt))
crypto/openssl/test/wpackettest.c
181
|| !TEST_true(WPACKET_get_total_written(&pkt, &written))
crypto/openssl/test/wpackettest.c
194
if (!TEST_true(WPACKET_init(&pkt, buf))
crypto/openssl/test/wpackettest.c
195
|| !TEST_true(WPACKET_start_sub_packet(&pkt))
crypto/openssl/test/wpackettest.c
196
|| !TEST_true(WPACKET_put_bytes_u8(&pkt, 0xff))
crypto/openssl/test/wpackettest.c
199
|| !TEST_true(WPACKET_close(&pkt))
crypto/openssl/test/wpackettest.c
203
|| !TEST_true(WPACKET_finish(&pkt))
crypto/openssl/test/wpackettest.c
204
|| !TEST_true(WPACKET_get_total_written(&pkt, &written))
crypto/openssl/test/wpackettest.c
209
if (!TEST_true(WPACKET_init(&pkt, buf))
crypto/openssl/test/wpackettest.c
210
|| !TEST_true(WPACKET_start_sub_packet_u8(&pkt))
crypto/openssl/test/wpackettest.c
211
|| !TEST_true(WPACKET_put_bytes_u8(&pkt, 0xff))
crypto/openssl/test/wpackettest.c
212
|| !TEST_true(WPACKET_close(&pkt))
crypto/openssl/test/wpackettest.c
213
|| !TEST_true(WPACKET_finish(&pkt))
crypto/openssl/test/wpackettest.c
214
|| !TEST_true(WPACKET_get_total_written(&pkt, &written))
crypto/openssl/test/wpackettest.c
219
if (!TEST_true(WPACKET_init(&pkt, buf))
crypto/openssl/test/wpackettest.c
220
|| !TEST_true(WPACKET_start_sub_packet_u8(&pkt))
crypto/openssl/test/wpackettest.c
221
|| !TEST_true(WPACKET_put_bytes_u8(&pkt, 0xff))
crypto/openssl/test/wpackettest.c
222
|| !TEST_true(WPACKET_start_sub_packet_u8(&pkt))
crypto/openssl/test/wpackettest.c
223
|| !TEST_true(WPACKET_put_bytes_u8(&pkt, 0xff))
crypto/openssl/test/wpackettest.c
224
|| !TEST_true(WPACKET_get_length(&pkt, &len))
crypto/openssl/test/wpackettest.c
226
|| !TEST_true(WPACKET_close(&pkt))
crypto/openssl/test/wpackettest.c
227
|| !TEST_true(WPACKET_get_length(&pkt, &len))
crypto/openssl/test/wpackettest.c
229
|| !TEST_true(WPACKET_close(&pkt))
crypto/openssl/test/wpackettest.c
230
|| !TEST_true(WPACKET_finish(&pkt))
crypto/openssl/test/wpackettest.c
231
|| !TEST_true(WPACKET_get_total_written(&pkt, &written))
crypto/openssl/test/wpackettest.c
236
if (!TEST_true(WPACKET_init(&pkt, buf))
crypto/openssl/test/wpackettest.c
237
|| !TEST_true(WPACKET_start_sub_packet_u8(&pkt))
crypto/openssl/test/wpackettest.c
238
|| !TEST_true(WPACKET_put_bytes_u8(&pkt, 0xff))
crypto/openssl/test/wpackettest.c
239
|| !TEST_true(WPACKET_close(&pkt))
crypto/openssl/test/wpackettest.c
240
|| !TEST_true(WPACKET_start_sub_packet_u8(&pkt))
crypto/openssl/test/wpackettest.c
241
|| !TEST_true(WPACKET_put_bytes_u8(&pkt, 0xff))
crypto/openssl/test/wpackettest.c
242
|| !TEST_true(WPACKET_close(&pkt))
crypto/openssl/test/wpackettest.c
243
|| !TEST_true(WPACKET_finish(&pkt))
crypto/openssl/test/wpackettest.c
244
|| !TEST_true(WPACKET_get_total_written(&pkt, &written))
crypto/openssl/test/wpackettest.c
249
if (!TEST_true(WPACKET_init(&pkt, buf))
crypto/openssl/test/wpackettest.c
250
|| !TEST_true(WPACKET_start_sub_packet_u8(&pkt))
crypto/openssl/test/wpackettest.c
251
|| !TEST_true(WPACKET_put_bytes_u8(&pkt, 0xff))
crypto/openssl/test/wpackettest.c
252
|| !TEST_true(WPACKET_start_sub_packet_u8(&pkt))
crypto/openssl/test/wpackettest.c
253
|| !TEST_true(WPACKET_put_bytes_u8(&pkt, 0xff))
crypto/openssl/test/wpackettest.c
254
|| !TEST_true(WPACKET_get_length(&pkt, &len))
crypto/openssl/test/wpackettest.c
256
|| !TEST_true(WPACKET_close(&pkt))
crypto/openssl/test/wpackettest.c
257
|| !TEST_true(WPACKET_get_length(&pkt, &len))
crypto/openssl/test/wpackettest.c
259
|| !TEST_true(WPACKET_close(&pkt))
crypto/openssl/test/wpackettest.c
260
|| !TEST_true(WPACKET_fill_lengths(&pkt))
crypto/openssl/test/wpackettest.c
261
|| !TEST_true(WPACKET_get_total_written(&pkt, &written))
crypto/openssl/test/wpackettest.c
263
|| !TEST_true(WPACKET_finish(&pkt)))
crypto/openssl/test/wpackettest.c
275
if (!TEST_true(WPACKET_init(&pkt, buf))
crypto/openssl/test/wpackettest.c
276
|| !TEST_true(WPACKET_set_flags(&pkt, WPACKET_FLAGS_NON_ZERO_LENGTH))
crypto/openssl/test/wpackettest.c
279
|| !TEST_true(WPACKET_put_bytes_u8(&pkt, 0xff))
crypto/openssl/test/wpackettest.c
280
|| !TEST_true(WPACKET_finish(&pkt))
crypto/openssl/test/wpackettest.c
281
|| !TEST_true(WPACKET_get_total_written(&pkt, &written))
crypto/openssl/test/wpackettest.c
286
if (!TEST_true(WPACKET_init(&pkt, buf))
crypto/openssl/test/wpackettest.c
287
|| !TEST_true(WPACKET_start_sub_packet(&pkt))
crypto/openssl/test/wpackettest.c
288
|| !TEST_true(WPACKET_set_flags(&pkt, WPACKET_FLAGS_NON_ZERO_LENGTH))
crypto/openssl/test/wpackettest.c
291
|| !TEST_true(WPACKET_put_bytes_u8(&pkt, 0xff))
crypto/openssl/test/wpackettest.c
292
|| !TEST_true(WPACKET_close(&pkt))
crypto/openssl/test/wpackettest.c
293
|| !TEST_true(WPACKET_finish(&pkt))
crypto/openssl/test/wpackettest.c
294
|| !TEST_true(WPACKET_get_total_written(&pkt, &written))
crypto/openssl/test/wpackettest.c
299
if (!TEST_true(WPACKET_init_len(&pkt, buf, 1))
crypto/openssl/test/wpackettest.c
300
|| !TEST_true(WPACKET_set_flags(&pkt, WPACKET_FLAGS_ABANDON_ON_ZERO_LENGTH))
crypto/openssl/test/wpackettest.c
301
|| !TEST_true(WPACKET_finish(&pkt))
crypto/openssl/test/wpackettest.c
302
|| !TEST_true(WPACKET_get_total_written(&pkt, &written))
crypto/openssl/test/wpackettest.c
307
if (!TEST_true(WPACKET_init_len(&pkt, buf, 1))
crypto/openssl/test/wpackettest.c
308
|| !TEST_true(WPACKET_start_sub_packet_u8(&pkt))
crypto/openssl/test/wpackettest.c
309
|| !TEST_true(WPACKET_set_flags(&pkt, WPACKET_FLAGS_ABANDON_ON_ZERO_LENGTH))
crypto/openssl/test/wpackettest.c
310
|| !TEST_true(WPACKET_close(&pkt))
crypto/openssl/test/wpackettest.c
311
|| !TEST_true(WPACKET_finish(&pkt))
crypto/openssl/test/wpackettest.c
312
|| !TEST_true(WPACKET_get_total_written(&pkt, &written))
crypto/openssl/test/wpackettest.c
317
if (!TEST_true(WPACKET_init(&pkt, buf))
crypto/openssl/test/wpackettest.c
318
|| !TEST_true(WPACKET_start_sub_packet_u8(&pkt))
crypto/openssl/test/wpackettest.c
319
|| !TEST_true(WPACKET_set_flags(&pkt, WPACKET_FLAGS_ABANDON_ON_ZERO_LENGTH))
crypto/openssl/test/wpackettest.c
320
|| !TEST_true(WPACKET_put_bytes_u8(&pkt, 0xff))
crypto/openssl/test/wpackettest.c
321
|| !TEST_true(WPACKET_close(&pkt))
crypto/openssl/test/wpackettest.c
322
|| !TEST_true(WPACKET_finish(&pkt))
crypto/openssl/test/wpackettest.c
323
|| !TEST_true(WPACKET_get_total_written(&pkt, &written))
crypto/openssl/test/wpackettest.c
335
if (!TEST_true(WPACKET_init_len(&pkt, buf, 1))
crypto/openssl/test/wpackettest.c
336
|| !TEST_true(WPACKET_allocate_bytes(&pkt, 2, &bytes)))
crypto/openssl/test/wpackettest.c
340
if (!TEST_true(WPACKET_finish(&pkt))
crypto/openssl/test/wpackettest.c
341
|| !TEST_true(WPACKET_get_total_written(&pkt, &written))
crypto/openssl/test/wpackettest.c
346
if (!TEST_true(WPACKET_init_len(&pkt, buf, 1))
crypto/openssl/test/wpackettest.c
347
|| !TEST_true(WPACKET_sub_allocate_bytes_u8(&pkt, 2, &bytes)))
crypto/openssl/test/wpackettest.c
351
if (!TEST_true(WPACKET_finish(&pkt))
crypto/openssl/test/wpackettest.c
352
|| !TEST_true(WPACKET_get_total_written(&pkt, &written))
crypto/openssl/test/wpackettest.c
365
if (!TEST_true(WPACKET_init_len(&pkt, buf, 1))
crypto/openssl/test/wpackettest.c
366
|| !TEST_true(WPACKET_memcpy(&pkt, bytes, sizeof(bytes)))
crypto/openssl/test/wpackettest.c
367
|| !TEST_true(WPACKET_finish(&pkt))
crypto/openssl/test/wpackettest.c
368
|| !TEST_true(WPACKET_get_total_written(&pkt, &written))
crypto/openssl/test/wpackettest.c
373
if (!TEST_true(WPACKET_init_len(&pkt, buf, 1))
crypto/openssl/test/wpackettest.c
374
|| !TEST_true(WPACKET_sub_memcpy_u8(&pkt, bytes, sizeof(bytes)))
crypto/openssl/test/wpackettest.c
375
|| !TEST_true(WPACKET_finish(&pkt))
crypto/openssl/test/wpackettest.c
376
|| !TEST_true(WPACKET_get_total_written(&pkt, &written))
crypto/openssl/test/wpackettest.c
395
if (!TEST_true(WPACKET_init_der(&pkt, sbuf, sizeof(sbuf)))
crypto/openssl/test/wpackettest.c
396
|| !TEST_true(WPACKET_put_bytes_u24(&pkt, 0xfffefd))
crypto/openssl/test/wpackettest.c
398
|| !TEST_true(WPACKET_start_sub_packet(&pkt))
crypto/openssl/test/wpackettest.c
399
|| !TEST_true(WPACKET_memcpy(&pkt, testdata, sizeof(testdata)))
crypto/openssl/test/wpackettest.c
400
|| !TEST_true(WPACKET_close(&pkt))
crypto/openssl/test/wpackettest.c
401
|| !TEST_true(WPACKET_put_bytes_u8(&pkt, 0xfc))
crypto/openssl/test/wpackettest.c
403
|| (!TEST_true(WPACKET_start_sub_packet(&pkt))
crypto/openssl/test/wpackettest.c
404
|| !TEST_true(WPACKET_set_flags(&pkt, flags))
crypto/openssl/test/wpackettest.c
405
|| !TEST_true(WPACKET_get_total_written(&pkt, &size1))
crypto/openssl/test/wpackettest.c
406
|| !TEST_true(WPACKET_close(&pkt))
crypto/openssl/test/wpackettest.c
407
|| !TEST_true(WPACKET_get_total_written(&pkt, &size2))
crypto/openssl/test/wpackettest.c
409
|| !TEST_true(WPACKET_finish(&pkt))
crypto/openssl/test/wpackettest.c
410
|| !TEST_true(WPACKET_get_total_written(&pkt, &written[0]))
crypto/openssl/test/wpackettest.c
426
if (!TEST_true(WPACKET_init_null_der(&pkt)))
crypto/openssl/test/wpackettest.c
429
if (!TEST_true(WPACKET_init_der(&pkt, sbuf, sizeof(sbuf))))
crypto/openssl/test/wpackettest.c
432
if (!TEST_true(WPACKET_start_sub_packet(&pkt))
crypto/openssl/test/wpackettest.c
433
|| !TEST_true(WPACKET_memcpy(&pkt, &testdata2[3],
crypto/openssl/test/wpackettest.c
435
|| !TEST_true(WPACKET_close(&pkt))
crypto/openssl/test/wpackettest.c
436
|| !TEST_true(WPACKET_finish(&pkt))
crypto/openssl/test/wpackettest.c
437
|| !TEST_true(WPACKET_get_total_written(&pkt, &written[i])))
crypto/openssl/test/wpackettest.c
463
if (!TEST_true(WPACKET_init(&pkt, buf))
crypto/openssl/test/wpackettest.c
464
|| !TEST_true(WPACKET_start_quic_sub_packet(&pkt))
crypto/openssl/test/wpackettest.c
465
|| !TEST_true(WPACKET_quic_write_vlint(&pkt, 0x09))
crypto/openssl/test/wpackettest.c
468
|| !TEST_true(WPACKET_close(&pkt))
crypto/openssl/test/wpackettest.c
472
|| !TEST_true(WPACKET_finish(&pkt))
crypto/openssl/test/wpackettest.c
473
|| !TEST_true(WPACKET_get_total_written(&pkt, &written))
crypto/openssl/test/wpackettest.c
478
if (!TEST_true(WPACKET_init(&pkt, buf))
crypto/openssl/test/wpackettest.c
479
|| !TEST_true(WPACKET_start_quic_sub_packet_bound(&pkt, OSSL_QUIC_VLINT_1B_MAX))
crypto/openssl/test/wpackettest.c
480
|| !TEST_true(WPACKET_quic_write_vlint(&pkt, 0x09))
crypto/openssl/test/wpackettest.c
482
|| !TEST_true(WPACKET_close(&pkt))
crypto/openssl/test/wpackettest.c
484
|| !TEST_true(WPACKET_finish(&pkt))
crypto/openssl/test/wpackettest.c
485
|| !TEST_true(WPACKET_get_total_written(&pkt, &written))
crypto/openssl/test/wpackettest.c
490
if (!TEST_true(WPACKET_init(&pkt, buf))
crypto/openssl/test/wpackettest.c
491
|| !TEST_true(WPACKET_start_quic_sub_packet_bound(&pkt, OSSL_QUIC_VLINT_2B_MIN))
crypto/openssl/test/wpackettest.c
492
|| !TEST_true(WPACKET_quic_write_vlint(&pkt, 0x41))
crypto/openssl/test/wpackettest.c
494
|| !TEST_true(WPACKET_close(&pkt))
crypto/openssl/test/wpackettest.c
496
|| !TEST_true(WPACKET_finish(&pkt))
crypto/openssl/test/wpackettest.c
497
|| !TEST_true(WPACKET_get_total_written(&pkt, &written))
crypto/openssl/test/wpackettest.c
502
if (!TEST_true(WPACKET_init(&pkt, buf))
crypto/openssl/test/wpackettest.c
503
|| !TEST_true(WPACKET_start_quic_sub_packet_bound(&pkt, OSSL_QUIC_VLINT_8B_MIN))
crypto/openssl/test/wpackettest.c
504
|| !TEST_true(WPACKET_quic_write_vlint(&pkt, 0x13c6a))
crypto/openssl/test/wpackettest.c
506
|| !TEST_true(WPACKET_close(&pkt))
crypto/openssl/test/wpackettest.c
508
|| !TEST_true(WPACKET_finish(&pkt))
crypto/openssl/test/wpackettest.c
509
|| !TEST_true(WPACKET_get_total_written(&pkt, &written))
crypto/openssl/test/wpackettest.c
514
if (!TEST_true(WPACKET_init(&pkt, buf))
crypto/openssl/test/wpackettest.c
515
|| !TEST_true(WPACKET_start_quic_sub_packet_bound(&pkt, OSSL_QUIC_VLINT_8B_MIN))
crypto/openssl/test/wpackettest.c
516
|| !TEST_true(WPACKET_quic_write_vlint(&pkt, 0x2f77213f3f505ba5ULL))
crypto/openssl/test/wpackettest.c
518
|| !TEST_true(WPACKET_close(&pkt))
crypto/openssl/test/wpackettest.c
520
|| !TEST_true(WPACKET_finish(&pkt))
crypto/openssl/test/wpackettest.c
521
|| !TEST_true(WPACKET_get_total_written(&pkt, &written))
crypto/openssl/test/wpackettest.c
526
if (!TEST_true(WPACKET_init(&pkt, buf))
crypto/openssl/test/wpackettest.c
527
|| !TEST_true(WPACKET_quic_sub_allocate_bytes(&pkt, 3, &bytes)))
crypto/openssl/test/wpackettest.c
534
if (!TEST_true(WPACKET_finish(&pkt))
crypto/openssl/test/wpackettest.c
535
|| !TEST_true(WPACKET_get_total_written(&pkt, &written))
crypto/openssl/test/wpackettest.c
540
if (!TEST_true(WPACKET_init(&pkt, buf))
crypto/openssl/test/wpackettest.c
541
|| !TEST_true(WPACKET_quic_write_vlint(&pkt, 0x07))
crypto/openssl/test/wpackettest.c
542
|| !TEST_true(WPACKET_get_length(&pkt, &len))
crypto/openssl/test/wpackettest.c
544
|| !TEST_true(WPACKET_start_quic_sub_packet_bound(&pkt, OSSL_QUIC_VLINT_4B_MIN))
crypto/openssl/test/wpackettest.c
545
|| !TEST_true(WPACKET_quic_write_vlint(&pkt, 0x2514))
crypto/openssl/test/wpackettest.c
546
|| !TEST_true(WPACKET_get_length(&pkt, &len))
crypto/openssl/test/wpackettest.c
548
|| !TEST_true(WPACKET_start_quic_sub_packet_bound(&pkt, OSSL_QUIC_VLINT_2B_MIN))
crypto/openssl/test/wpackettest.c
549
|| !TEST_true(WPACKET_quic_write_vlint(&pkt, 0x05))
crypto/openssl/test/wpackettest.c
550
|| !TEST_true(WPACKET_get_length(&pkt, &len))
crypto/openssl/test/wpackettest.c
552
|| !TEST_true(WPACKET_close(&pkt))
crypto/openssl/test/wpackettest.c
553
|| !TEST_true(WPACKET_start_quic_sub_packet_bound(&pkt, OSSL_QUIC_VLINT_2B_MIN))
crypto/openssl/test/wpackettest.c
554
|| !TEST_true(WPACKET_quic_write_vlint(&pkt, 0x11))
crypto/openssl/test/wpackettest.c
555
|| !TEST_true(WPACKET_close(&pkt))
crypto/openssl/test/wpackettest.c
556
|| !TEST_true(WPACKET_get_length(&pkt, &len))
crypto/openssl/test/wpackettest.c
558
|| !TEST_true(WPACKET_close(&pkt))
crypto/openssl/test/wpackettest.c
559
|| !TEST_true(WPACKET_start_quic_sub_packet_bound(&pkt, OSSL_QUIC_VLINT_2B_MIN))
crypto/openssl/test/wpackettest.c
560
|| !TEST_true(WPACKET_quic_write_vlint(&pkt, 0x12))
crypto/openssl/test/wpackettest.c
561
|| !TEST_true(WPACKET_close(&pkt))
crypto/openssl/test/wpackettest.c
562
|| !TEST_true(WPACKET_start_quic_sub_packet_bound(&pkt, OSSL_QUIC_VLINT_2B_MIN))
crypto/openssl/test/wpackettest.c
563
|| !TEST_true(WPACKET_quic_write_vlint(&pkt, 0x13))
crypto/openssl/test/wpackettest.c
564
|| !TEST_true(WPACKET_close(&pkt))
crypto/openssl/test/wpackettest.c
565
|| !TEST_true(WPACKET_finish(&pkt))
crypto/openssl/test/wpackettest.c
566
|| !TEST_true(WPACKET_get_total_written(&pkt, &written))
crypto/openssl/test/wpackettest.c
571
if (!TEST_true(WPACKET_init(&pkt, buf))
crypto/openssl/test/wpackettest.c
573
|| !TEST_true(WPACKET_quic_write_vlint(&pkt, OSSL_QUIC_VLINT_MAX)))
crypto/openssl/test/wpackettest.c
612
if (!TEST_true(WPACKET_init(&pkt, buf))
crypto/openssl/test/wpackettest.c
613
|| !TEST_true(WPACKET_quic_write_vlint(&pkt, expected))
crypto/openssl/test/wpackettest.c
614
|| !TEST_true(WPACKET_get_total_written(&pkt, &written)))
crypto/openssl/test/wpackettest.c
617
if (!TEST_true(PACKET_buf_init(&read_pkt, (unsigned char *)buf->data, written))
crypto/openssl/test/wpackettest.c
618
|| !TEST_true(PACKET_get_quic_vlint(&read_pkt, &actual))
crypto/openssl/test/wpackettest.c
72
if (!TEST_true(WPACKET_init(&pkt, buf))
crypto/openssl/test/wpackettest.c
73
|| !TEST_true(WPACKET_put_bytes_u8(&pkt, 0xff))
crypto/openssl/test/wpackettest.c
77
|| !TEST_true(WPACKET_finish(&pkt))
crypto/openssl/test/wpackettest.c
84
|| !TEST_true(WPACKET_get_total_written(&pkt, &written))
crypto/openssl/test/wpackettest.c
89
if (!TEST_true(WPACKET_init_len(&pkt, buf, 1))
crypto/openssl/test/wpackettest.c
90
|| !TEST_true(WPACKET_put_bytes_u8(&pkt, 0xff))
crypto/openssl/test/wpackettest.c
91
|| !TEST_true(WPACKET_finish(&pkt))
crypto/openssl/test/wpackettest.c
92
|| !TEST_true(WPACKET_get_total_written(&pkt, &written))
crypto/openssl/test/wpackettest.c
97
if (!TEST_true(WPACKET_init_len(&pkt, buf, 4))
crypto/openssl/test/wpackettest.c
98
|| !TEST_true(WPACKET_put_bytes_u8(&pkt, 0xff))
crypto/openssl/test/wpackettest.c
99
|| !TEST_true(WPACKET_finish(&pkt))
crypto/openssl/test/x509_dup_cert_test.c
26
&& TEST_true(X509_load_cert_file(lookup, cert_f, X509_FILETYPE_PEM))
crypto/openssl/test/x509_dup_cert_test.c
27
&& TEST_true(X509_load_cert_file(lookup, cert_f, X509_FILETYPE_PEM)))
crypto/openssl/test/x509_load_cert_file_test.c
27
|| !TEST_true(X509_load_cert_file(lookup, chain, X509_FILETYPE_PEM))
crypto/openssl/test/x509_load_cert_file_test.c
40
if (crl != NULL && !TEST_true(X509_load_crl_file(lookup, crl, X509_FILETYPE_PEM)))
crypto/openssl/test/x509_time_test.c
621
r = TEST_true(ASN1_TIME_set_string(a, d))
crypto/openssl/test/x509_time_test.c
622
&& TEST_true(ASN1_TIME_to_tm(a, &t))