mbedtls_cipher_info_get_mode() function
Retrieve the operation mode for a cipher info structure.
Arguments
info
The cipher info structure to query. This may be \c NULL.
Return value
The cipher mode (\c MBEDTLS_MODE_xxx). #MBEDTLS_MODE_NONE if \p info is \c NULL.