Lines Matching refs:tls_id
1180 uint16_t tls_id = mbedtls_ssl_get_tls_id_from_ecp_group_id( in ssl_handshake_init() local
1182 if (tls_id == 0) { in ssl_handshake_init()
1186 group_list[i] = tls_id; in ssl_handshake_init()
6189 int mbedtls_ssl_check_curve_tls_id(const mbedtls_ssl_context *ssl, uint16_t tls_id) in mbedtls_ssl_check_curve_tls_id() argument
6198 if (*group_list == tls_id) { in mbedtls_ssl_check_curve_tls_id()
6212 uint16_t tls_id = mbedtls_ssl_get_tls_id_from_ecp_group_id(grp_id); in mbedtls_ssl_check_curve() local
6214 if (tls_id == 0) { in mbedtls_ssl_check_curve()
6218 return mbedtls_ssl_check_curve_tls_id(ssl, tls_id); in mbedtls_ssl_check_curve()
6223 uint16_t tls_id; member
6271 int mbedtls_ssl_get_psa_curve_info_from_tls_id(uint16_t tls_id, in mbedtls_ssl_get_psa_curve_info_from_tls_id() argument
6275 for (int i = 0; tls_id_match_table[i].tls_id != 0; i++) { in mbedtls_ssl_get_psa_curve_info_from_tls_id()
6276 if (tls_id_match_table[i].tls_id == tls_id) { in mbedtls_ssl_get_psa_curve_info_from_tls_id()
6290 mbedtls_ecp_group_id mbedtls_ssl_get_ecp_group_id_from_tls_id(uint16_t tls_id) in mbedtls_ssl_get_ecp_group_id_from_tls_id() argument
6292 for (int i = 0; tls_id_match_table[i].tls_id != 0; i++) { in mbedtls_ssl_get_ecp_group_id_from_tls_id()
6293 if (tls_id_match_table[i].tls_id == tls_id) { in mbedtls_ssl_get_ecp_group_id_from_tls_id()
6306 return tls_id_match_table[i].tls_id; in mbedtls_ssl_get_tls_id_from_ecp_group_id()
6315 uint16_t tls_id; member
6335 const char *mbedtls_ssl_get_curve_name_from_tls_id(uint16_t tls_id) in mbedtls_ssl_get_curve_name_from_tls_id() argument
6337 for (int i = 0; tls_id_curve_name_table[i].tls_id != 0; i++) { in mbedtls_ssl_get_curve_name_from_tls_id()
6338 if (tls_id_curve_name_table[i].tls_id == tls_id) { in mbedtls_ssl_get_curve_name_from_tls_id()