Searched refs:test_ctx (Results 1 – 9 of 9) sorted by relevance
/freebsd/crypto/openssl/test/ |
H A D | ssl_test.c | 75 if (test_ctx->expected_client_alert in check_alerts() 88 if (test_ctx->expected_server_alert in check_alerts() 112 if (test_ctx->expected_protocol) { in check_protocol() 347 if (test_ctx->expected_cipher == NULL) in check_cipher() 365 ret &= check_result(result, test_ctx); in check_test() 366 ret &= check_alerts(result, test_ctx); in check_test() 375 ret &= check_npn(result, test_ctx); in check_test() 399 SSL_TEST_CTX *test_ctx = NULL; in test_handshake() local 406 if (!TEST_ptr(test_ctx)) in test_handshake() 522 ret = check_test(result, test_ctx); in test_handshake() [all …]
|
/freebsd/crypto/openssl/test/helpers/ |
H A D | ssl_test_ctx.c | 108 test_ctx->expected_result = ret_value; in parse_expected_result() 164 &test_ctx->expected_protocol, value); in parse_protocol() 229 test_ctx->expected_servername = ret_value; in parse_expected_servername() 285 test_ctx->session_ticket_expected = ret_value; in parse_session_ticket() 315 test_ctx->session_id_expected = ret_value; in parse_session_id() 340 test_ctx->method = ret_value; in parse_test_method() 387 test_ctx->handshake_mode = ret_value; in parse_handshake_mode() 415 test_ctx->key_update_type = ret_value; in parse_key_update_type() 623 test_ctx->libctx); in parse_expected_server_ca_names() 629 test_ctx->libctx); in parse_expected_client_ca_names() [all …]
|
H A D | handshake.c | 953 || test_ctx->handshake_mode in do_reneg_setup_step() 956 != (test_ctx->handshake_mode in do_reneg_setup_step() 1072 switch (test_ctx->handshake_mode) { in renegotiate_op() 1082 switch (test_ctx->handshake_mode) { in post_handshake_op() 1097 if (renegotiate_op(test_ctx) || post_handshake_op(test_ctx)) in next_phase() 1103 if (post_handshake_op(test_ctx)) in next_phase() 1473 if (test_ctx->use_sctp) { in do_handshake_internal() 1499 if (test_ctx->use_sctp) { in do_handshake_internal() 1573 if (test_ctx->use_sctp) { in do_handshake_internal() 1729 test_ctx, &test_ctx->extra, in do_handshake() [all …]
|
H A D | pkcs12.c | 29 static OSSL_LIB_CTX *test_ctx = NULL; variable 64 test_ctx = libctx; in PKCS12_helper_set_libctx() 162 p12 = PKCS12_add_safes_ex(pb->safes, 0, test_ctx, test_propq); in generate_p12() 173 md = EVP_MD_fetch(test_ctx, OBJ_nid2sn(mac->nid), test_propq); in generate_p12() 215 p12 = PKCS12_init_ex(NID_pkcs7_data, test_ctx, test_propq); in from_bio_p12() 299 enc->iter, enc->pass, test_ctx, in end_contentinfo_encrypted() 430 test_ctx, test_propq); in add_keybag() 612 p8 = PKCS12_decrypt_skey_ex(bag, enc->pass, strlen(enc->pass), test_ctx, test_propq); in check_keybag()
|
H A D | handshake.h | 89 const SSL_TEST_CTX *test_ctx);
|
/freebsd/tools/regression/sockets/udp_pingpong/ |
H A D | udp_pingpong.c | 78 struct test_ctx { struct 225 setup_udp(struct test_ctx *tcp) in setup_udp() 270 setup_udp6(struct test_ctx *tcp) in setup_udp6() 520 struct test_ctx test_ctx; in test_run() local 526 bzero(&test_ctx, sizeof(test_ctx)); in test_run() 527 test_ctx.name = name; in test_run() 531 setup_udp(&test_ctx); in test_run() 533 setup_udp6(&test_ctx); in test_run() 550 test_server(&test_ctx); in test_run() 571 test_ctx.nrecvd, test_ctx.nsent, MIN_NRECV); in test_run() [all …]
|
/freebsd/tests/sys/kern/ |
H A D | listener_wakeup.c | 207 struct test_ctx { struct 215 struct test_ctx *ctx = data; in sleep_syscall_thread() argument 231 struct test_ctx ctx = { in run_tests()
|
/freebsd/crypto/openssl/apps/ |
H A D | speed.c | 2612 EVP_PKEY_CTX *test_ctx = NULL; in speed_main() local 2669 EVP_PKEY_CTX_free(test_ctx); in speed_main() 2670 test_ctx = NULL; in speed_main() 2955 EVP_PKEY_CTX *test_ctx = NULL; in speed_main() local 3068 test_ctx = EVP_PKEY_CTX_new(pkey_B, NULL); in speed_main() 3069 if (!test_ctx) { in speed_main() 3076 if (EVP_PKEY_derive_init(test_ctx) <= 0 || in speed_main() 3077 EVP_PKEY_derive_set_peer(test_ctx, pkey_A) <= 0 || in speed_main() 3078 EVP_PKEY_derive(test_ctx, NULL, &test_out) <= 0 || in speed_main() 3103 EVP_PKEY_CTX_free(test_ctx); in speed_main() [all …]
|
/freebsd/tests/sys/file/ |
H A D | flock_helper.c | 1413 struct test_ctx { struct 1422 struct test_ctx *tc = tc_in; in test16_func() argument 1446 struct test_ctx tc = { .tc_fd = fd }; in test16()
|