Searched refs:tls_id (Results 1 – 5 of 5) sorted by relevance
163 uint16_t tls_id; /*!< The TLS NamedCurve identifier. */ member579 const mbedtls_ecp_curve_info *mbedtls_ecp_curve_info_from_tls_id( uint16_t tls_id );
1136 int mbedtls_ssl_check_curve_tls_id( const mbedtls_ssl_context *ssl, uint16_t tls_id );
625 const mbedtls_ecp_curve_info *mbedtls_ecp_curve_info_from_tls_id( uint16_t tls_id ) in mbedtls_ecp_curve_info_from_tls_id() argument633 if( curve_info->tls_id == tls_id ) in mbedtls_ecp_curve_info_from_tls_id()1105 uint16_t tls_id; in mbedtls_ecp_tls_read_group_id() local1126 tls_id = *(*buf)++; in mbedtls_ecp_tls_read_group_id()1127 tls_id <<= 8; in mbedtls_ecp_tls_read_group_id()1128 tls_id |= *(*buf)++; in mbedtls_ecp_tls_read_group_id()1130 if( ( curve_info = mbedtls_ecp_curve_info_from_tls_id( tls_id ) ) == NULL ) in mbedtls_ecp_tls_read_group_id()1167 MBEDTLS_PUT_UINT16_BE( curve_info->tls_id, buf, 0 ); in mbedtls_ecp_tls_write_group()
364 elliptic_curve_list[elliptic_curve_len++] = MBEDTLS_BYTE_1( info->tls_id ); in ssl_write_supported_elliptic_curves_ext()365 elliptic_curve_list[elliptic_curve_len++] = MBEDTLS_BYTE_0( info->tls_id ); in ssl_write_supported_elliptic_curves_ext()2728 uint16_t tls_id; in ssl_parse_server_ecdh_params_psa() local2745 tls_id = *(*p)++; in ssl_parse_server_ecdh_params_psa()2746 tls_id <<= 8; in ssl_parse_server_ecdh_params_psa()2747 tls_id |= *(*p)++; in ssl_parse_server_ecdh_params_psa()2750 if( mbedtls_ssl_check_curve_tls_id( ssl, tls_id ) != 0 ) in ssl_parse_server_ecdh_params_psa()2755 mbedtls_psa_parse_tls_ecc_group( tls_id, &ecdh_bits ) ) == 0 ) in ssl_parse_server_ecdh_params_psa()
7365 int mbedtls_ssl_check_curve_tls_id( const mbedtls_ssl_context *ssl, uint16_t tls_id ) in mbedtls_ssl_check_curve_tls_id() argument7368 mbedtls_ecp_curve_info_from_tls_id( tls_id ); in mbedtls_ssl_check_curve_tls_id()
Completed in 28 milliseconds