Home
last modified time | relevance | path

Searched refs:client_ctx (Results 1 – 11 of 11) sorted by relevance

/freebsd/crypto/openssl/test/
H A Dtls13groupselection_test.c343 SSL_CTX *client_ctx = NULL, *server_ctx = NULL; in test_invalidsyntax() local
354 &server_ctx, &client_ctx, in test_invalidsyntax()
359 TEST_false_or_end(SSL_CTX_set1_groups_list(client_ctx, in test_invalidsyntax()
362 TEST_true_or_end(create_ssl_objects(server_ctx, client_ctx, in test_invalidsyntax()
376 SSL_CTX_free(client_ctx); in test_invalidsyntax()
387 SSL_CTX *client_ctx = NULL, *server_ctx = NULL; in test_groupnegotiation() local
395 &server_ctx, &client_ctx, in test_groupnegotiation()
401 TEST_true_or_end(SSL_CTX_set1_groups_list(client_ctx, in test_groupnegotiation()
408 TEST_true_or_end(SSL_CTX_set_min_proto_version(client_ctx, TLS1_3_VERSION)); in test_groupnegotiation()
414 if (!TEST_true(create_ssl_objects(server_ctx, client_ctx, in test_groupnegotiation()
[all …]
H A Dcmp_server_test.c65 OSSL_CMP_CTX *client_ctx; in execute_test_handle_request() local
72 if (!TEST_ptr(client_ctx = OSSL_CMP_CTX_new(libctx, NULL)) in execute_test_handle_request()
73 || !TEST_true(OSSL_CMP_CTX_set_transfer_cb_arg(client_ctx, ctx))) in execute_test_handle_request()
97 if (!TEST_ptr(rsp = OSSL_CMP_CTX_server_perform(client_ctx, fixture->req)) in execute_test_handle_request()
109 OSSL_CMP_CTX_free(client_ctx); in execute_test_handle_request()
H A Dssl_test.c397 SSL_CTX *server_ctx = NULL, *server2_ctx = NULL, *client_ctx = NULL, in test_handshake() local
429 client_ctx = SSL_CTX_new_ex(libctx, NULL, DTLS_client_method()); in test_handshake()
430 if (!TEST_true(SSL_CTX_set_max_proto_version(client_ctx, 0))) in test_handshake()
474 client_ctx = SSL_CTX_new_ex(libctx, NULL, TLS_client_method()); in test_handshake()
475 if (!TEST_true(SSL_CTX_set_max_proto_version(client_ctx, maxversion))) in test_handshake()
503 || !TEST_ptr(client_ctx) in test_handshake()
509 || !SSL_CTX_config(client_ctx, "client")) { in test_handshake()
525 result = do_handshake(server_ctx, server2_ctx, client_ctx, in test_handshake()
535 SSL_CTX_free(client_ctx); in test_handshake()
/freebsd/crypto/openssl/test/helpers/
H A Dhandshake_srp.c44 SSL_CTX *client_ctx, in configure_handshake_ctx_for_srp() argument
79 if (!TEST_true(SSL_CTX_set_srp_username(client_ctx, in configure_handshake_ctx_for_srp()
82 SSL_CTX_set_srp_client_pwd_callback(client_ctx, client_srp_cb); in configure_handshake_ctx_for_srp()
86 SSL_CTX_set_srp_cb_arg(client_ctx, client_ctx_data); in configure_handshake_ctx_for_srp()
H A Dhandshake.c489 SSL_CTX *client_ctx, in configure_handshake_ctx() argument
509 if (!TEST_int_eq(SSL_CTX_set_max_send_fragment(client_ctx, in configure_handshake_ctx()
516 SSL_CTX_set_cert_verify_callback(client_ctx, &verify_accept_cb, NULL); in configure_handshake_ctx()
520 SSL_CTX_set_cert_verify_callback(client_ctx, &verify_retry_cb, NULL); in configure_handshake_ctx()
523 SSL_CTX_set_cert_verify_callback(client_ctx, &verify_reject_cb, NULL); in configure_handshake_ctx()
536 client_ctx, extra->client.max_fragment_len_mode); in configure_handshake_ctx()
567 SSL_CTX_set_tlsext_status_type(client_ctx, TLSEXT_STATUSTYPE_ocsp); in configure_handshake_ctx()
568 SSL_CTX_set_tlsext_status_cb(client_ctx, client_ocsp_cb); in configure_handshake_ctx()
569 SSL_CTX_set_tlsext_status_arg(client_ctx, NULL); in configure_handshake_ctx()
613 SSL_CTX_set_next_proto_select_cb(client_ctx, client_npn_cb, in configure_handshake_ctx()
[all …]
H A Dhandshake.h87 SSL_CTX *client_ctx, SSL_CTX *resume_server_ctx,
92 SSL_CTX *client_ctx,
/freebsd/crypto/openssl/fuzz/
H A Dcmp.c184 OSSL_CMP_CTX *client_ctx = OSSL_CMP_CTX_new(NULL, NULL); in FuzzerTestOneInput() local
191 if (client_ctx != NULL) in FuzzerTestOneInput()
192 cmp_client_process_response(client_ctx, msg); in FuzzerTestOneInput()
203 OSSL_CMP_CTX_free(client_ctx); in FuzzerTestOneInput()
/freebsd/crypto/openssl/doc/man3/
H A DOSSL_CMP_SRV_CTX_new.pod33 OSSL_CMP_MSG *OSSL_CMP_CTX_server_perform(OSSL_CMP_CTX *client_ctx,
110 In particular, the first parameter I<client_ctx> is the B<OSSL_CMP_CTX> of the client.
111 The B<OSSL_CMP_SRV_CTX> must be set as I<transfer_cb_arg> of I<client_ctx>.
/freebsd/crypto/openssl/crypto/cmp/
H A Dcmp_server.c764 OSSL_CMP_MSG *OSSL_CMP_CTX_server_perform(OSSL_CMP_CTX *client_ctx, in OSSL_CMP_CTX_server_perform() argument
769 if (client_ctx == NULL || req == NULL) { in OSSL_CMP_CTX_server_perform()
774 if ((srv_ctx = OSSL_CMP_CTX_get_transfer_cb_arg(client_ctx)) == NULL) { in OSSL_CMP_CTX_server_perform()
/freebsd/crypto/openssl/include/openssl/
H A Dcmp.h.in506 OSSL_CMP_MSG *OSSL_CMP_CTX_server_perform(OSSL_CMP_CTX *client_ctx,
H A Dcmp.h649 OSSL_CMP_MSG *OSSL_CMP_CTX_server_perform(OSSL_CMP_CTX *client_ctx,