[][src]Function hactool_sys::mbedtls_cipher_info_from_values

pub unsafe extern "C" fn mbedtls_cipher_info_from_values(
    cipher_id: mbedtls_cipher_id_t,
    key_bitlen: c_int,
    mode: mbedtls_cipher_mode_t
) -> *const mbedtls_cipher_info_t

\brief Returns the cipher information structure associated with the given cipher id, key size and mode.

\param cipher_id Id of the cipher to search for (e.g. MBEDTLS_CIPHER_ID_AES) \param key_bitlen Length of the key in bits \param mode Cipher mode (e.g. MBEDTLS_MODE_CBC)

\return the cipher information structure associated with the given cipher_type, or NULL if not found.