mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Print better metadata dump and status info for OPAL segment.
This commit is contained in:
committed by
Luca Boccassi
parent
4d487d5dcf
commit
928061f1f0
@@ -464,13 +464,20 @@ const char *crypt_get_default_type(void);
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* Get OPAL HW encryption type
|
||||
* Get HW encryption type
|
||||
*
|
||||
* @return HW encryption type (see @link crypt-hw-encryption-types @endlink)
|
||||
* or negative errno otherwise.
|
||||
*/
|
||||
int crypt_get_hw_encryption_type(struct crypt_device *cd);
|
||||
|
||||
/**
|
||||
* Get HW encryption (like OPAL) key size (in bytes)
|
||||
*
|
||||
* @return key size or 0 if no HW encryption is used.
|
||||
*/
|
||||
int crypt_get_hw_encryption_key_size(struct crypt_device *cd);
|
||||
|
||||
/**
|
||||
*
|
||||
* Structure used as parameter for PLAIN device type.
|
||||
|
||||
Reference in New Issue
Block a user