mbedtls_ssl_get_psa_curve_info_from_tls_id() function
Return PSA EC info for the specified TLS ID.
Arguments
tls_id
The TLS ID to look for
type
If the TLD ID is supported, then proper \c psa_key_type_t value is returned here. Can be NULL.
bits
If the TLD ID is supported, then proper bit size is returned here. Can be NULL.
Return value
PSA_SUCCESS if the TLS ID is supported, PSA_ERROR_NOT_SUPPORTED otherwise
Notes
If either \c family or \c bits parameters are NULL, then the corresponding value is not returned. The function can be called with both parameters as NULL simply to check if a specific TLS ID is supported.