Searched refs:endpoint (Results 1 – 12 of 12) sorted by relevance
/mbedtls-3.6.0/library/ |
D | ssl_tls.c | 289 if (src->endpoint == MBEDTLS_SSL_IS_CLIENT) { in mbedtls_ssl_session_copy() 409 unsigned endpoint, 1126 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT) { in ssl_handshake_init() 1347 ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT && in ssl_conf_check() 1599 void mbedtls_ssl_conf_endpoint(mbedtls_ssl_config *conf, int endpoint) in mbedtls_ssl_conf_endpoint() argument 1601 conf->endpoint = endpoint; in mbedtls_ssl_conf_endpoint() 1725 ssl->conf->endpoint != MBEDTLS_SSL_IS_CLIENT) { in mbedtls_ssl_set_session() 1961 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_ssl_set_hs_ecjpake_password_common() 2067 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_ssl_set_hs_ecjpake_password() 2493 if (session->endpoint == MBEDTLS_SSL_IS_CLIENT) { in ssl_tls13_session_save() [all …]
|
D | ssl_tls13_generic.c | 377 (ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT) ? 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() 678 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT) { in ssl_tls13_validate_certificate() 715 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT) { in ssl_tls13_validate_certificate() 1038 ssl->conf->endpoint); in ssl_tls13_write_certificate_verify_body() 1174 ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT ? in ssl_tls13_preprocess_finished_message() 1272 ssl->conf->endpoint); in ssl_tls13_prepare_finished_message()
|
D | ssl_tls13_keys.c | 938 int endpoint, int ciphersuite, in mbedtls_ssl_tls13_populate_transform() argument 997 if (endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_ssl_tls13_populate_transform() 1005 if (endpoint == MBEDTLS_SSL_IS_CLIENT) { in mbedtls_ssl_tls13_populate_transform() 1268 ssl->conf->endpoint, in mbedtls_ssl_tls13_compute_early_transform() 1740 ssl->conf->endpoint, in mbedtls_ssl_tls13_compute_handshake_transform() 1831 ssl->conf->endpoint, in mbedtls_ssl_tls13_compute_application_transform()
|
D | ssl_tls13_keys.h | 516 int endpoint,
|
D | ssl_msg.c | 2279 else if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER && in mbedtls_ssl_fetch_input() 3953 ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER && in ssl_check_client_reconnect() 5535 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT) { in ssl_tls13_handle_hs_message_post_handshake() 5570 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT && in ssl_tls12_handle_hs_message_post_handshake() 5586 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER && in ssl_tls12_handle_hs_message_post_handshake() 5613 ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT) { in ssl_tls12_handle_hs_message_post_handshake() 5822 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER && in mbedtls_ssl_read()
|
D | ssl_tls13_client.c | 1485 ssl->session_negotiate->endpoint = ssl->conf->endpoint; in ssl_tls13_preprocess_server_hello()
|
D | ssl_tls13_server.c | 1397 ssl->session_negotiate->endpoint = ssl->conf->endpoint; in ssl_tls13_parse_client_hello()
|
D | ssl_tls12_server.c | 52 if (ssl->conf->endpoint != MBEDTLS_SSL_IS_SERVER) { in mbedtls_ssl_set_client_transport_id()
|
/mbedtls-3.6.0/include/mbedtls/ |
D | ssl.h | 1227 uint8_t MBEDTLS_PRIVATE(endpoint); /*!< 0: client, 1: server */ 1347 uint8_t MBEDTLS_PRIVATE(endpoint); /*!< 0: client, 1: server */ 1924 void mbedtls_ssl_conf_endpoint(mbedtls_ssl_config *conf, int endpoint); 1936 return conf->MBEDTLS_PRIVATE(endpoint); in mbedtls_ssl_conf_get_endpoint() 5317 int endpoint, int transport, int preset);
|
/mbedtls-3.6.0/tests/suites/ |
D | test_suite_ssl.function | 1778 int endpoint, 1796 TEST_ASSERT(endpoint == MBEDTLS_SSL_IS_CLIENT || 1797 endpoint == MBEDTLS_SSL_IS_SERVER); 1799 if (endpoint == MBEDTLS_SSL_IS_SERVER) { 1802 if (endpoint == MBEDTLS_SSL_IS_CLIENT) { 1826 &transform_send, endpoint, 2033 TEST_ASSERT(original.endpoint == restored.endpoint); 2366 * handshake, force the TLS 1.2 version on endpoint under test. 2805 void conf_version(int endpoint, int transport, 2816 mbedtls_ssl_conf_endpoint(&conf, endpoint); [all …]
|
/mbedtls-3.6.0/tests/src/test_helpers/ |
D | ssl_helpers.c | 638 if (ep->conf.endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_test_ssl_endpoint_certificate_init() 1620 session->endpoint = endpoint_type == MBEDTLS_SSL_IS_CLIENT ? in mbedtls_test_ssl_tls13_populate_session() 1630 if (session->endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_test_ssl_tls13_populate_session() 1636 if (session->endpoint == MBEDTLS_SSL_IS_CLIENT) { in mbedtls_test_ssl_tls13_populate_session()
|
/mbedtls-3.6.0/ |
D | ChangeLog | 151 `mbedtls_ssl_config.endpoint`.
|