Home
last modified time | relevance | path

Searched refs:MBEDTLS_SSL_IS_SERVER (Results 1 – 16 of 16) sorted by relevance

/mbedtls-3.5.0/tests/suites/
Dtest_suite_ssl.data105 mbedtls_endpoint_sanity:MBEDTLS_SSL_IS_SERVER
173 move_handshake_to_state:MBEDTLS_SSL_IS_SERVER:MBEDTLS_SSL_HELLO_REQUEST:1
176 move_handshake_to_state:MBEDTLS_SSL_IS_SERVER:MBEDTLS_SSL_CLIENT_HELLO:1
180 move_handshake_to_state:MBEDTLS_SSL_IS_SERVER:MBEDTLS_SSL_SERVER_HELLO:1
184 move_handshake_to_state:MBEDTLS_SSL_IS_SERVER:MBEDTLS_SSL_SERVER_CERTIFICATE:1
188 move_handshake_to_state:MBEDTLS_SSL_IS_SERVER:MBEDTLS_SSL_SERVER_KEY_EXCHANGE:1
192 move_handshake_to_state:MBEDTLS_SSL_IS_SERVER:MBEDTLS_SSL_CERTIFICATE_REQUEST:1
196 move_handshake_to_state:MBEDTLS_SSL_IS_SERVER:MBEDTLS_SSL_SERVER_HELLO_DONE:1
200 move_handshake_to_state:MBEDTLS_SSL_IS_SERVER:MBEDTLS_SSL_CLIENT_CERTIFICATE:1
204 move_handshake_to_state:MBEDTLS_SSL_IS_SERVER:MBEDTLS_SSL_CLIENT_KEY_EXCHANGE:1
[all …]
Dtest_suite_ssl.function1974 endpoint == MBEDTLS_SSL_IS_SERVER);
1976 if (endpoint == MBEDTLS_SSL_IS_SERVER) {
1980 other_endpoint = MBEDTLS_SSL_IS_SERVER;
2220 if (endpoint_type == MBEDTLS_SSL_IS_SERVER) {
2536 (endpoint_type == MBEDTLS_SSL_IS_SERVER) ?
2537 MBEDTLS_SSL_IS_CLIENT : MBEDTLS_SSL_IS_SERVER,
3068 TEST_ASSERT(mbedtls_test_ssl_endpoint_init(&server, MBEDTLS_SSL_IS_SERVER,
3115 TEST_EQUAL(mbedtls_ssl_config_defaults(&conf, MBEDTLS_SSL_IS_SERVER,
3252 TEST_EQUAL(mbedtls_test_ssl_endpoint_init(&server, MBEDTLS_SSL_IS_SERVER,
3324 ret = mbedtls_test_ssl_endpoint_init(&server_ep, MBEDTLS_SSL_IS_SERVER,
/mbedtls-3.5.0/tests/src/test_helpers/
Dssl_helpers.c646 if (ep->conf.endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_test_ssl_endpoint_certificate_init()
762 ep->name = (endpoint_type == MBEDTLS_SSL_IS_SERVER) ? "Server" : "Client"; in mbedtls_test_ssl_endpoint_init()
814 if (endpoint_type == MBEDTLS_SSL_IS_SERVER && options->cache != NULL) { in mbedtls_test_ssl_endpoint_init()
825 if (endpoint_type == MBEDTLS_SSL_IS_SERVER && dtls_context != NULL) { in mbedtls_test_ssl_endpoint_init()
1545 MBEDTLS_SSL_IS_CLIENT : MBEDTLS_SSL_IS_SERVER; in mbedtls_test_ssl_tls13_populate_session()
1554 if (session->endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_test_ssl_tls13_populate_session()
1812 MBEDTLS_SSL_IS_SERVER, in mbedtls_test_ssl_perform_handshake()
1823 MBEDTLS_SSL_IS_SERVER, in mbedtls_test_ssl_perform_handshake()
/mbedtls-3.5.0/library/
Dssl_tls13_generic.c324 MBEDTLS_SSL_IS_SERVER : in mbedtls_ssl_tls13_process_certificate_verify()
584 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER) { in ssl_tls13_validate_certificate()
605 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER) { in ssl_tls13_validate_certificate()
1117 MBEDTLS_SSL_IS_SERVER : MBEDTLS_SSL_IS_CLIENT); in ssl_tls13_preprocess_finished_message()
Dssl_tls.c1329 if (conf->endpoint == MBEDTLS_SSL_IS_SERVER) { in ssl_conf_version_check()
1978 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_ssl_set_hs_ecjpake_password_common()
2084 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_ssl_set_hs_ecjpake_password()
2548 if (session->endpoint == MBEDTLS_SSL_IS_SERVER) { in ssl_tls13_session_save()
2616 if (session->endpoint == MBEDTLS_SSL_IS_SERVER) { in ssl_tls13_session_load()
3888 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_ssl_handshake_step()
4006 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_ssl_start_renegotiation()
4041 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_ssl_renegotiate()
5265 if (endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_ssl_config_defaults()
5707 if (cert_endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_ssl_check_cert_usage()
[all …]
Dssl_msg.c2045 else if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER && in mbedtls_ssl_fetch_input()
3718 ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER && in ssl_check_client_reconnect()
5351 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER && in ssl_tls12_handle_hs_message_post_handshake()
5587 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER && in mbedtls_ssl_read()
Dssl_tls13_keys.c977 if (endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_ssl_tls13_populate_transform()
Dssl_tls12_server.c56 if (ssl->conf->endpoint != MBEDTLS_SSL_IS_SERVER) { in mbedtls_ssl_set_client_transport_id()
763 MBEDTLS_SSL_IS_SERVER, &flags) != 0) { in ssl_pick_cert()
/mbedtls-3.5.0/programs/fuzz/
Dfuzz_dtlsserver.c87 MBEDTLS_SSL_IS_SERVER, in LLVMFuzzerTestOneInput()
Dfuzz_server.c102 MBEDTLS_SSL_IS_SERVER, in LLVMFuzzerTestOneInput()
/mbedtls-3.5.0/programs/ssl/
Dssl_server.c181 MBEDTLS_SSL_IS_SERVER, in main()
Dssl_fork_server.c167 MBEDTLS_SSL_IS_SERVER, in main()
Ddtls_server.c200 MBEDTLS_SSL_IS_SERVER, in main()
Dssl_pthread_server.c392 MBEDTLS_SSL_IS_SERVER, in main()
Dssl_server2.c2769 MBEDTLS_SSL_IS_SERVER, in main()
/mbedtls-3.5.0/include/mbedtls/
Dssl.h289 #define MBEDTLS_SSL_IS_SERVER 1 macro