Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/test/
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()
96 if (!TEST_ptr(rsp = OSSL_CMP_CTX_server_perform(client_ctx, fixture->req)) in execute_test_handle_request()
108 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
424 client_ctx = SSL_CTX_new_ex(libctx, NULL, DTLS_client_method()); in test_handshake()
425 if (!TEST_true(SSL_CTX_set_max_proto_version(client_ctx, 0))) in test_handshake()
471 client_ctx = SSL_CTX_new_ex(libctx, NULL, TLS_client_method()); in test_handshake()
472 if (!TEST_true(SSL_CTX_set_max_proto_version(client_ctx, maxversion))) in test_handshake()
500 || !TEST_ptr(client_ctx) in test_handshake()
505 || !SSL_CTX_config(client_ctx, "client")) { in test_handshake()
518 result = do_handshake(server_ctx, server2_ctx, client_ctx, in test_handshake()
528 SSL_CTX_free(client_ctx); in test_handshake()
/freebsd/crypto/openssl/test/helpers/
H A Dhandshake_srp.c42 SSL_CTX *client_ctx, in configure_handshake_ctx_for_srp() argument
77 if (!TEST_true(SSL_CTX_set_srp_username(client_ctx, in configure_handshake_ctx_for_srp()
80 SSL_CTX_set_srp_client_pwd_callback(client_ctx, client_srp_cb); in configure_handshake_ctx_for_srp()
84 SSL_CTX_set_srp_cb_arg(client_ctx, client_ctx_data); in configure_handshake_ctx_for_srp()
H A Dhandshake.c492 SSL_CTX *client_ctx, in configure_handshake_ctx() argument
511 if (!TEST_int_eq(SSL_CTX_set_max_send_fragment(client_ctx, in configure_handshake_ctx()
517 SSL_CTX_set_cert_verify_callback(client_ctx, &verify_accept_cb, NULL); in configure_handshake_ctx()
521 SSL_CTX_set_cert_verify_callback(client_ctx, &verify_retry_cb, NULL); in configure_handshake_ctx()
524 SSL_CTX_set_cert_verify_callback(client_ctx, &verify_reject_cb, NULL); in configure_handshake_ctx()
537 client_ctx, extra->client.max_fragment_len_mode); in configure_handshake_ctx()
568 SSL_CTX_set_tlsext_status_type(client_ctx, TLSEXT_STATUSTYPE_ocsp); in configure_handshake_ctx()
569 SSL_CTX_set_tlsext_status_cb(client_ctx, client_ocsp_cb); in configure_handshake_ctx()
570 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.c172 OSSL_CMP_CTX *client_ctx = OSSL_CMP_CTX_new(NULL, NULL); in FuzzerTestOneInput() local
179 if (client_ctx != NULL) in FuzzerTestOneInput()
180 cmp_client_process_response(client_ctx, msg); in FuzzerTestOneInput()
189 OSSL_CMP_CTX_free(client_ctx); in FuzzerTestOneInput()
/freebsd/crypto/openssl/crypto/cmp/
H A Dcmp_server.c649 OSSL_CMP_MSG *OSSL_CMP_CTX_server_perform(OSSL_CMP_CTX *client_ctx, in OSSL_CMP_CTX_server_perform() argument
654 if (client_ctx == NULL || req == NULL) { in OSSL_CMP_CTX_server_perform()
659 if ((srv_ctx = OSSL_CMP_CTX_get_transfer_cb_arg(client_ctx)) == NULL) { in OSSL_CMP_CTX_server_perform()
/freebsd/crypto/openssl/doc/man3/
H A DOSSL_CMP_SRV_CTX_new.pod30 OSSL_CMP_MSG *OSSL_CMP_CTX_server_perform(OSSL_CMP_CTX *client_ctx,
100 The B<OSSL_CMP_SRV_CTX> must be set as I<transfer_cb_arg> of I<client_ctx>.
/freebsd/crypto/openssl/include/openssl/
H A Dcmp.h.in408 OSSL_CMP_MSG * OSSL_CMP_CTX_server_perform(OSSL_CMP_CTX *client_ctx,
H A Dcmp.h527 OSSL_CMP_MSG * OSSL_CMP_CTX_server_perform(OSSL_CMP_CTX *client_ctx,