Home
last modified time | relevance | path

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

/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_ssl.data105 mbedtls_endpoint_sanity:MBEDTLS_SSL_IS_SERVER
233 move_handshake_to_state:MBEDTLS_SSL_IS_SERVER:MBEDTLS_SSL_VERSION_TLS1_2:MBEDTLS_SSL_HELLO_REQUEST:1
237 move_handshake_to_state:MBEDTLS_SSL_IS_SERVER:MBEDTLS_SSL_VERSION_TLS1_2:MBEDTLS_SSL_CLIENT_HELLO:1
241 move_handshake_to_state:MBEDTLS_SSL_IS_SERVER:MBEDTLS_SSL_VERSION_TLS1_2:MBEDTLS_SSL_SERVER_HELLO:1
245 move_handshake_to_state:MBEDTLS_SSL_IS_SERVER:MBEDTLS_SSL_VERSION_TLS1_2:MBEDTLS_SSL_SERVER_CERTIFI…
249 move_handshake_to_state:MBEDTLS_SSL_IS_SERVER:MBEDTLS_SSL_VERSION_TLS1_2:MBEDTLS_SSL_SERVER_KEY_EXC…
253 move_handshake_to_state:MBEDTLS_SSL_IS_SERVER:MBEDTLS_SSL_VERSION_TLS1_2:MBEDTLS_SSL_CERTIFICATE_RE…
257 move_handshake_to_state:MBEDTLS_SSL_IS_SERVER:MBEDTLS_SSL_VERSION_TLS1_2:MBEDTLS_SSL_SERVER_HELLO_D…
261 move_handshake_to_state:MBEDTLS_SSL_IS_SERVER:MBEDTLS_SSL_VERSION_TLS1_2:MBEDTLS_SSL_CLIENT_CERTIFI…
265 move_handshake_to_state:MBEDTLS_SSL_IS_SERVER:MBEDTLS_SSL_VERSION_TLS1_2:MBEDTLS_SSL_CLIENT_KEY_EXC…
[all …]
Dtest_suite_ssl.function1851 endpoint == MBEDTLS_SSL_IS_SERVER);
1853 if (endpoint == MBEDTLS_SSL_IS_SERVER) {
1857 other_endpoint = MBEDTLS_SSL_IS_SERVER;
2112 if (endpoint_type == MBEDTLS_SSL_IS_SERVER) {
2452 &session, 0, MBEDTLS_SSL_IS_SERVER) == 0);
2459 &session, 0, MBEDTLS_SSL_IS_SERVER, NULL) == 0);
2555 (endpoint_type == MBEDTLS_SSL_IS_SERVER) ?
2556 MBEDTLS_SSL_IS_CLIENT : MBEDTLS_SSL_IS_SERVER,
3116 TEST_ASSERT(mbedtls_test_ssl_endpoint_init(&server, MBEDTLS_SSL_IS_SERVER,
3165 TEST_EQUAL(mbedtls_ssl_config_defaults(&conf, MBEDTLS_SSL_IS_SERVER,
[all …]
/openthread-latest/third_party/mbedtls/repo/tests/src/test_helpers/
Dssl_helpers.c628 if (ep->conf.endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_test_ssl_endpoint_certificate_init()
754 ep->name = (endpoint_type == MBEDTLS_SSL_IS_SERVER) ? "Server" : "Client"; in mbedtls_test_ssl_endpoint_init()
830 if (endpoint_type == MBEDTLS_SSL_IS_SERVER && in mbedtls_test_ssl_endpoint_init()
845 if (endpoint_type == MBEDTLS_SSL_IS_SERVER && options->cache != NULL) { in mbedtls_test_ssl_endpoint_init()
856 if (endpoint_type == MBEDTLS_SSL_IS_SERVER && dtls_context != NULL) { in mbedtls_test_ssl_endpoint_init()
863 if (endpoint_type == MBEDTLS_SSL_IS_SERVER && in mbedtls_test_ssl_endpoint_init()
1684 endpoint_type == MBEDTLS_SSL_IS_SERVER); in mbedtls_test_ssl_tls12_populate_session()
1766 if (session->endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_test_ssl_tls12_populate_session()
1792 MBEDTLS_SSL_IS_CLIENT : MBEDTLS_SSL_IS_SERVER; in mbedtls_test_ssl_tls13_populate_session()
1811 if (session->endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_test_ssl_tls13_populate_session()
[all …]
/openthread-latest/third_party/mbedtls/repo/programs/fuzz/
Dfuzz_dtlsserver.c94 MBEDTLS_SSL_IS_SERVER, in LLVMFuzzerTestOneInput()
Dfuzz_server.c108 MBEDTLS_SSL_IS_SERVER, in LLVMFuzzerTestOneInput()
/openthread-latest/third_party/mbedtls/repo/library/
Dssl_tls13_generic.c378 MBEDTLS_SSL_IS_SERVER : in mbedtls_ssl_tls13_process_certificate_verify()
639 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER) { in ssl_tls13_validate_certificate()
660 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER) { in ssl_tls13_validate_certificate()
1175 MBEDTLS_SSL_IS_SERVER : MBEDTLS_SSL_IS_CLIENT); in ssl_tls13_preprocess_finished_message()
Dssl_tls.c1989 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_ssl_set_hs_ecjpake_password_common()
2095 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_ssl_set_hs_ecjpake_password()
3508 if (session->endpoint == MBEDTLS_SSL_IS_SERVER) { in ssl_tls12_session_save()
3712 if (session->endpoint == MBEDTLS_SSL_IS_SERVER) { in ssl_tls12_session_load()
3798 if (session->endpoint == MBEDTLS_SSL_IS_SERVER) { in ssl_tls13_session_save()
3849 if (session->endpoint == MBEDTLS_SSL_IS_SERVER) { in ssl_tls13_session_save()
3943 if (session->endpoint == MBEDTLS_SSL_IS_SERVER) { in ssl_tls13_session_load()
4555 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_ssl_handshake_step()
4673 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_ssl_start_renegotiation()
4708 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_ssl_renegotiate()
[all …]
Dssl_msg.c2274 else if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER && in mbedtls_ssl_fetch_input()
3941 ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER && in ssl_check_client_reconnect()
5651 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER && in ssl_tls12_handle_hs_message_post_handshake()
5928 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER && in mbedtls_ssl_read()
Dssl_tls13_keys.c985 if (endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_ssl_tls13_populate_transform()
Dssl_tls12_server.c52 if (ssl->conf->endpoint != MBEDTLS_SSL_IS_SERVER) { in mbedtls_ssl_set_client_transport_id()
759 MBEDTLS_SSL_IS_SERVER, &flags) != 0) { in ssl_pick_cert()
/openthread-latest/third_party/mbedtls/repo/programs/ssl/
Dssl_fork_server.c164 MBEDTLS_SSL_IS_SERVER, in main()
Dssl_server.c179 MBEDTLS_SSL_IS_SERVER, in main()
Ddtls_server.c198 MBEDTLS_SSL_IS_SERVER, in main()
Dssl_pthread_server.c390 MBEDTLS_SSL_IS_SERVER, in main()
Dssl_server2.c2788 MBEDTLS_SSL_IS_SERVER, in main()
/openthread-latest/third_party/mbedtls/repo/include/mbedtls/
Dssl.h286 #define MBEDTLS_SSL_IS_SERVER 1 macro
2681 session->MBEDTLS_PRIVATE(endpoint) != MBEDTLS_SSL_IS_SERVER) { in mbedtls_ssl_session_get_ticket_creation_time()
/openthread-latest/src/cli/
Dcli_tcp.cpp1071 … rv = mbedtls_ssl_config_defaults(&mSslConfig, MBEDTLS_SSL_IS_SERVER, MBEDTLS_SSL_TRANSPORT_STREAM, in HandleTcpAcceptReady()
/openthread-latest/src/core/meshcop/
Dsecure_transport.cpp302 &mConf, aClient ? MBEDTLS_SSL_IS_CLIENT : MBEDTLS_SSL_IS_SERVER, in Setup()