mbedtls_ecc_group_from_psa() function
Convert an ECC curve identifier from the PSA encoding to Mbed TLS.
Arguments
family
A PSA elliptic curve family identifier (`PSA_ECC_FAMILY_xxx`).
bits
The bit-length of a private key on \p curve.
Return value
If the curve is supported in the PSA API, this function returns the corresponding Mbed TLS elliptic curve identifier (`MBEDTLS_ECP_DP_xxx`). #MBEDTLS_ECP_DP_NONE if the combination of \c curve and \p bits is not supported.