Home
last modified time | relevance | path

Searched refs:tls_id (Results 1 – 5 of 5) sorted by relevance

/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Decp.h163 uint16_t tls_id; /*!< The TLS NamedCurve identifier. */ member
579 const mbedtls_ecp_curve_info *mbedtls_ecp_curve_info_from_tls_id( uint16_t tls_id );
A Dssl_internal.h1136 int mbedtls_ssl_check_curve_tls_id( const mbedtls_ssl_context *ssl, uint16_t tls_id );
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Decp.c625 const mbedtls_ecp_curve_info *mbedtls_ecp_curve_info_from_tls_id( uint16_t tls_id ) in mbedtls_ecp_curve_info_from_tls_id() argument
633 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() local
1126 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()
A Dssl_cli.c364 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() local
2745 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()
A Dssl_tls.c7365 int mbedtls_ssl_check_curve_tls_id( const mbedtls_ssl_context *ssl, uint16_t tls_id ) in mbedtls_ssl_check_curve_tls_id() argument
7368 mbedtls_ecp_curve_info_from_tls_id( tls_id ); in mbedtls_ssl_check_curve_tls_id()

Completed in 28 milliseconds