Searched refs:server_ctx (Results 1 – 6 of 6) sorted by relevance
/freebsd/crypto/openssl/test/ |
H A D | ssl_test.c | 397 SSL_CTX *server_ctx = NULL, *server2_ctx = NULL, *client_ctx = NULL, in test_handshake() local 411 server_ctx = SSL_CTX_new_ex(libctx, NULL, DTLS_server_method()); in test_handshake() 412 if (!TEST_true(SSL_CTX_set_options(server_ctx, in test_handshake() 414 || !TEST_true(SSL_CTX_set_max_proto_version(server_ctx, 0))) in test_handshake() 454 server_ctx = SSL_CTX_new_ex(libctx, NULL, TLS_server_method()); in test_handshake() 455 if (!TEST_true(SSL_CTX_set_max_proto_version(server_ctx, maxversion)) in test_handshake() 456 || !TEST_true(SSL_CTX_set_options(server_ctx, in test_handshake() 499 if (!TEST_ptr(server_ctx) in test_handshake() 504 if (!SSL_CTX_config(server_ctx, "server") in test_handshake() 518 result = do_handshake(server_ctx, server2_ctx, client_ctx, in test_handshake() [all …]
|
/freebsd/crypto/openssl/test/helpers/ |
H A D | handshake.c | 491 static int configure_handshake_ctx(SSL_CTX *server_ctx, SSL_CTX *server2_ctx, in configure_handshake_ctx() argument 502 if (!TEST_int_eq(SSL_CTX_set_max_send_fragment(server_ctx, in configure_handshake_ctx() 548 SSL_CTX_set_tlsext_servername_callback(server_ctx, servername_ignore_cb); in configure_handshake_ctx() 549 SSL_CTX_set_tlsext_servername_arg(server_ctx, server2_ctx); in configure_handshake_ctx() 552 SSL_CTX_set_tlsext_servername_callback(server_ctx, servername_reject_cb); in configure_handshake_ctx() 553 SSL_CTX_set_tlsext_servername_arg(server_ctx, server2_ctx); in configure_handshake_ctx() 558 SSL_CTX_set_client_hello_cb(server_ctx, client_hello_ignore_cb, server2_ctx); in configure_handshake_ctx() 561 SSL_CTX_set_client_hello_cb(server_ctx, client_hello_reject_cb, server2_ctx); in configure_handshake_ctx() 564 SSL_CTX_set_client_hello_cb(server_ctx, client_hello_nov12_cb, server2_ctx); in configure_handshake_ctx() 571 SSL_CTX_set_tlsext_status_cb(server_ctx, server_ocsp_cb); in configure_handshake_ctx() [all …]
|
H A D | handshake_srp.c | 41 int configure_handshake_ctx_for_srp(SSL_CTX *server_ctx, SSL_CTX *server2_ctx, in configure_handshake_ctx_for_srp() argument 49 SSL_CTX_set_srp_username_callback(server_ctx, server_srp_cb); in configure_handshake_ctx_for_srp() 59 SSL_CTX_set_srp_cb_arg(server_ctx, server_ctx_data); in configure_handshake_ctx_for_srp()
|
H A D | handshake.h | 86 HANDSHAKE_RESULT *do_handshake(SSL_CTX *server_ctx, SSL_CTX *server2_ctx, 91 int configure_handshake_ctx_for_srp(SSL_CTX *server_ctx, SSL_CTX *server2_ctx,
|
/freebsd/contrib/bearssl/src/ssl/ |
H A D | ssl_lru.c | 323 br_ssl_server_context *server_ctx, in lru_save() argument 345 br_hmac_drbg_generate(&server_ctx->eng.rng, in lru_save() 347 cc->hash = br_hmac_drbg_get_hash(&server_ctx->eng.rng); in lru_save() 429 br_ssl_server_context *server_ctx, in lru_load() argument 436 (void)server_ctx; in lru_load()
|
/freebsd/contrib/bearssl/inc/ |
H A D | bearssl_ssl.h | 3318 br_ssl_server_context *server_ctx, 3336 br_ssl_server_context *server_ctx,
|