Home
last modified time | relevance | path

Searched refs:server_ctx (Results 1 – 7 of 7) sorted by relevance

/src/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()
362 TEST_true_or_end(create_ssl_objects(server_ctx, client_ctx, in test_invalidsyntax()
375 SSL_CTX_free(server_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()
405 TEST_true_or_end(SSL_CTX_set1_groups_list(server_ctx, in test_groupnegotiation()
409 TEST_true_or_end(SSL_CTX_set_min_proto_version(server_ctx, TLS1_3_VERSION)); in test_groupnegotiation()
411 SSL_CTX_set_options(server_ctx, SSL_OP_CIPHER_SERVER_PREFERENCE); in test_groupnegotiation()
414 if (!TEST_true(create_ssl_objects(server_ctx, client_ctx, in test_groupnegotiation()
[all …]
H A Dssl_test.c397 SSL_CTX *server_ctx = NULL, *server2_ctx = NULL, *client_ctx = NULL, in test_handshake() local
418 server_ctx = SSL_CTX_new_ex(libctx, NULL, DTLS_server_method()); in test_handshake()
419 if (!TEST_true(SSL_CTX_set_options(server_ctx, in test_handshake()
421 || !TEST_true(SSL_CTX_set_max_proto_version(server_ctx, 0))) in test_handshake()
459 server_ctx = SSL_CTX_new_ex(libctx, NULL, TLS_server_method()); in test_handshake()
460 if (!TEST_true(SSL_CTX_set_max_proto_version(server_ctx, maxversion)) in test_handshake()
461 || !TEST_true(SSL_CTX_set_options(server_ctx, in test_handshake()
502 if (!TEST_ptr(server_ctx) in test_handshake()
507 if (!SSL_CTX_config(server_ctx, "server") in test_handshake()
508 || !SSL_CTX_set_dh_auto(server_ctx, 1) in test_handshake()
[all …]
/src/crypto/openssl/test/helpers/
H A Dhandshake.c488 static int configure_handshake_ctx(SSL_CTX *server_ctx, SSL_CTX *server2_ctx, in configure_handshake_ctx() argument
499 if (!TEST_int_eq(SSL_CTX_set_max_send_fragment(server_ctx, in configure_handshake_ctx()
547 SSL_CTX_set_tlsext_servername_callback(server_ctx, servername_ignore_cb); in configure_handshake_ctx()
548 SSL_CTX_set_tlsext_servername_arg(server_ctx, server2_ctx); in configure_handshake_ctx()
551 SSL_CTX_set_tlsext_servername_callback(server_ctx, servername_reject_cb); in configure_handshake_ctx()
552 SSL_CTX_set_tlsext_servername_arg(server_ctx, server2_ctx); in configure_handshake_ctx()
557 SSL_CTX_set_client_hello_cb(server_ctx, client_hello_ignore_cb, server2_ctx); in configure_handshake_ctx()
560 SSL_CTX_set_client_hello_cb(server_ctx, client_hello_reject_cb, server2_ctx); in configure_handshake_ctx()
563 SSL_CTX_set_client_hello_cb(server_ctx, client_hello_nov12_cb, server2_ctx); in configure_handshake_ctx()
570 SSL_CTX_set_tlsext_status_cb(server_ctx, server_ocsp_cb); in configure_handshake_ctx()
[all …]
H A Dhandshake_srp.c43 int configure_handshake_ctx_for_srp(SSL_CTX *server_ctx, SSL_CTX *server2_ctx, in configure_handshake_ctx_for_srp() argument
51 SSL_CTX_set_srp_username_callback(server_ctx, server_srp_cb); in configure_handshake_ctx_for_srp()
61 SSL_CTX_set_srp_cb_arg(server_ctx, server_ctx_data); in configure_handshake_ctx_for_srp()
H A Dhandshake.h86 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,
/src/contrib/bearssl/src/ssl/
H A Dssl_lru.c323 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()
/src/contrib/bearssl/inc/
H A Dbearssl_ssl.h3318 br_ssl_server_context *server_ctx,
3336 br_ssl_server_context *server_ctx,