Function esp_idf_hal::sys::mbedtls_cipher_info_from_values
source ยท pub unsafe extern "C" fn mbedtls_cipher_info_from_values(
cipher_id: u32,
key_bitlen: i32,
mode: u32,
) -> *const mbedtls_cipher_info_t
Expand description
\brief This function retrieves the cipher-information structure associated with the given cipher ID, key size and mode.
\param cipher_id The ID of the cipher to search for. For example, #MBEDTLS_CIPHER_ID_AES. \param key_bitlen The length of the key in bits. \param mode The cipher mode. For example, #MBEDTLS_MODE_CBC.
\return The cipher information structure associated with the given \p cipher_id. \return \c NULL if the associated cipher information is not found.