Lines Matching refs:endpoint
773 if( ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT ) in mbedtls_ssl_derive_keys()
793 if( ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER ) in mbedtls_ssl_derive_keys()
2343 else if( ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER && in mbedtls_ssl_fetch_input()
3618 if( ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER && in ssl_parse_record_header()
3992 ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER && in mbedtls_ssl_handle_message_type()
4120 if( ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT ) in mbedtls_ssl_write_certificate()
4149 if( ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER ) in mbedtls_ssl_write_certificate()
4236 if( ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER && in mbedtls_ssl_parse_certificate()
4249 if( ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER && in mbedtls_ssl_parse_certificate()
4272 if( ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER && in mbedtls_ssl_parse_certificate()
4293 if( ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER && in mbedtls_ssl_parse_certificate()
4396 if( ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT && in mbedtls_ssl_parse_certificate()
4478 ! ssl->conf->endpoint, in mbedtls_ssl_parse_certificate()
5044 ssl->handshake->calc_finished( ssl, ssl->out_msg + 4, ssl->conf->endpoint ); in mbedtls_ssl_write_finished()
5070 if( ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT ) in mbedtls_ssl_write_finished()
5074 if( ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER ) in mbedtls_ssl_write_finished()
5159 ssl->handshake->calc_finished( ssl, buf, ssl->conf->endpoint ^ 1 ); in mbedtls_ssl_parse_finished()
5203 if( ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT ) in mbedtls_ssl_parse_finished()
5207 if( ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER ) in mbedtls_ssl_parse_finished()
5341 if( ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT ) in ssl_handshake_init()
5568 void mbedtls_ssl_conf_endpoint( mbedtls_ssl_config *conf, int endpoint ) in mbedtls_ssl_conf_endpoint() argument
5570 conf->endpoint = endpoint; in mbedtls_ssl_conf_endpoint()
5681 ssl->conf->endpoint != MBEDTLS_SSL_IS_CLIENT ) in mbedtls_ssl_set_session()
5808 if( ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER ) in mbedtls_ssl_set_hs_ecjpake_password()
6294 ssl->conf->endpoint != MBEDTLS_SSL_IS_CLIENT ) in mbedtls_ssl_get_session()
6314 if( ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT ) in mbedtls_ssl_handshake_step()
6318 if( ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER ) in mbedtls_ssl_handshake_step()
6401 if( ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER ) in ssl_start_renegotiation()
6435 if( ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER ) in mbedtls_ssl_renegotiate()
6595 if( ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT && in mbedtls_ssl_read()
6609 if( ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER && in mbedtls_ssl_read()
6665 ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT ) in mbedtls_ssl_read()
6727 if( ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER && in mbedtls_ssl_read()
7177 int endpoint, int transport, int preset ) in mbedtls_ssl_config_defaults() argument
7185 mbedtls_ssl_conf_endpoint( conf, endpoint ); in mbedtls_ssl_config_defaults()
7192 if( endpoint == MBEDTLS_SSL_IS_CLIENT ) in mbedtls_ssl_config_defaults()
7238 if( endpoint == MBEDTLS_SSL_IS_SERVER ) in mbedtls_ssl_config_defaults()