Aff info function for integrity device and print info ion status.

This commit is contained in:
Milan Broz
2017-07-31 16:48:29 +02:00
parent cf9428fba1
commit 01598028c4
5 changed files with 74 additions and 9 deletions

View File

@@ -1041,6 +1041,18 @@ int crypt_get_sector_size(struct crypt_device *cd);
*/
int crypt_get_verity_info(struct crypt_device *cd,
struct crypt_params_verity *vp);
/**
* Get device parameters for INTEGRITY device.
*
* @param cd crypt device handle
* @param vp verity device info
*
* @e 0 on success or negative errno value otherwise.
*
*/
int crypt_get_integrity_info(struct crypt_device *cd,
struct crypt_params_integrity *ip);
/** @} */
/**