Home
last modified time | relevance | path

Searched refs:test_ctx (Results 1 – 8 of 8) sorted by relevance

/freebsd-14.2/crypto/openssl/test/
H A Dssl_test.c75 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-14.2/crypto/openssl/test/helpers/
H A Dssl_test_ctx.c108 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 Dhandshake.c959 || test_ctx->handshake_mode in do_reneg_setup_step()
962 != (test_ctx->handshake_mode in do_reneg_setup_step()
1078 switch (test_ctx->handshake_mode) { in renegotiate_op()
1088 switch (test_ctx->handshake_mode) { in post_handshake_op()
1103 if (renegotiate_op(test_ctx) || post_handshake_op(test_ctx)) in next_phase()
1109 if (post_handshake_op(test_ctx)) in next_phase()
1479 if (test_ctx->use_sctp) { in do_handshake_internal()
1505 if (test_ctx->use_sctp) { in do_handshake_internal()
1579 if (test_ctx->use_sctp) { in do_handshake_internal()
1735 test_ctx, &test_ctx->extra, in do_handshake()
[all …]
H A Dpkcs12.c29 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 Dhandshake.h89 const SSL_TEST_CTX *test_ctx);
/freebsd-14.2/tools/regression/sockets/udp_pingpong/
H A Dudp_pingpong.c79 struct test_ctx { struct
226 setup_udp(struct test_ctx *tcp) in setup_udp()
271 setup_udp6(struct test_ctx *tcp) in setup_udp6()
521 struct test_ctx test_ctx; in test_run() local
527 bzero(&test_ctx, sizeof(test_ctx)); in test_run()
528 test_ctx.name = name; in test_run()
532 setup_udp(&test_ctx); in test_run()
534 setup_udp6(&test_ctx); in test_run()
551 test_server(&test_ctx); in test_run()
572 test_ctx.nrecvd, test_ctx.nsent, MIN_NRECV); in test_run()
[all …]
/freebsd-14.2/crypto/openssl/apps/
H A Dspeed.c2830 EVP_PKEY_CTX *test_ctx = NULL; in speed_main() local
2887 EVP_PKEY_CTX_free(test_ctx); in speed_main()
2888 test_ctx = NULL; in speed_main()
3173 EVP_PKEY_CTX *test_ctx = NULL; in speed_main() local
3286 test_ctx = EVP_PKEY_CTX_new(pkey_B, NULL); in speed_main()
3287 if (!test_ctx) { in speed_main()
3294 if (EVP_PKEY_derive_init(test_ctx) <= 0 || in speed_main()
3295 EVP_PKEY_derive_set_peer(test_ctx, pkey_A) <= 0 || in speed_main()
3296 EVP_PKEY_derive(test_ctx, NULL, &test_out) <= 0 || in speed_main()
3321 EVP_PKEY_CTX_free(test_ctx); in speed_main()
[all …]
/freebsd-14.2/tests/sys/file/
H A Dflock_helper.c1413 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()