mbedtls_ecc_group_to_psa() function
Convert an ECC curve identifier from the Mbed TLS encoding to PSA.
Arguments
grpid
An Mbed TLS elliptic curve identifier (`MBEDTLS_ECP_DP_xxx`).
bits
On success, the bit size of the curve.
Return value
The corresponding PSA elliptic curve identifier (`PSA_ECC_FAMILY_xxx`). \c 0 on failure (\p grpid is not recognized).
Notes
This function is provided solely for the convenience of Mbed TLS and may be removed at any time without notice.