Home
last modified time | relevance | path

Searched refs:list_size (Results 1 – 3 of 3) sorted by relevance

/mbedtls-3.7.0/library/
Dssl_tls12_server.c185 size_t list_size, our_size; in ssl_parse_supported_groups_ext() local
195 list_size = MBEDTLS_GET_UINT16_BE(buf, 0); in ssl_parse_supported_groups_ext()
196 if (list_size + 2 != len || in ssl_parse_supported_groups_ext()
197 list_size % 2 != 0) { in ssl_parse_supported_groups_ext()
214 our_size = list_size / 2 + 1; in ssl_parse_supported_groups_ext()
229 while (list_size > 0 && our_size > 1) { in ssl_parse_supported_groups_ext()
238 list_size -= 2; in ssl_parse_supported_groups_ext()
250 size_t list_size; in ssl_parse_supported_point_formats() local
259 list_size = buf[0]; in ssl_parse_supported_point_formats()
262 while (list_size > 0) { in ssl_parse_supported_point_formats()
[all …]
Dssl_tls12_client.c817 size_t list_size; in ssl_parse_supported_point_formats_ext() local
826 list_size = buf[0]; in ssl_parse_supported_point_formats_ext()
829 while (list_size > 0) { in ssl_parse_supported_point_formats_ext()
845 list_size--; in ssl_parse_supported_point_formats_ext()
Dssl_tls.c2887 size_t list_size = 0; in mbedtls_ssl_conf_dtls_srtp_protection_profiles() local
2892 list_size <= MBEDTLS_TLS_SRTP_MAX_PROFILE_LIST_LENGTH; in mbedtls_ssl_conf_dtls_srtp_protection_profiles()
2895 list_size++; in mbedtls_ssl_conf_dtls_srtp_protection_profiles()
2898 list_size = MBEDTLS_TLS_SRTP_MAX_PROFILE_LIST_LENGTH + 1; in mbedtls_ssl_conf_dtls_srtp_protection_profiles()
2902 if (list_size > MBEDTLS_TLS_SRTP_MAX_PROFILE_LIST_LENGTH) { in mbedtls_ssl_conf_dtls_srtp_protection_profiles()
2909 conf->dtls_srtp_profile_list_len = list_size; in mbedtls_ssl_conf_dtls_srtp_protection_profiles()