Add support for querying journal active devices for integrity and encryption keys.

This commit is contained in:
daniel.zatovic
2022-02-16 11:58:46 +01:00
committed by Milan Broz
parent f5724a30f9
commit f6c1445c6b
2 changed files with 56 additions and 0 deletions

View File

@@ -94,6 +94,12 @@ int dm_flags(struct crypt_device *cd, dm_target_type target, uint32_t *flags);
#define DM_ACTIVE_INTEGRITY_PARAMS (1 << 9)
#define DM_ACTIVE_JOURNAL_CRYPT_KEY (1 << 10)
#define DM_ACTIVE_JOURNAL_CRYPT_KEYSIZE (1 << 11)
#define DM_ACTIVE_JOURNAL_MAC_KEY (1 << 12)
#define DM_ACTIVE_JOURNAL_MAC_KEYSIZE (1 << 13)
struct dm_target {
dm_target_type type;
enum tdirection direction;