mbedtls_cipher_info_from_psa() function
Get Mbed TLS cipher information given the cipher algorithm PSA identifier as well as the PSA type and size of the key to be used with the cipher algorithm.
Arguments
alg
PSA cipher algorithm identifier
key_bits
Size of the key in bits
cipher_id
Mbed TLS cipher algorithm identifier
Return value
The Mbed TLS cipher information of the cipher algorithm. \c NULL if the PSA cipher algorithm is not supported.