mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-11 10:50:01 +01:00
Add keyslot encryption params.
This patch makes available LUKS2 per-keyslot encryption settings to user. In LUKS2, keyslot can use different encryption that data. We can use new crypt_keyslot_get_encryption and crypt_keyslot_set_encryption API calls to set/get this encryption. For cryptsetup new --keyslot-cipher and --keyslot-key-size options are added. The default keyslot encryption algorithm (if cannot be derived from data encryption) is now available as configure options (default is aes-xts-plain64 with 512-bits key). NOTE: default was increased from 256-bits.
This commit is contained in:
committed by
Ondrej Kozina
parent
0039834bb9
commit
307a7ad077
@@ -97,6 +97,8 @@ CRYPTSETUP_2.0 {
|
||||
crypt_keyslot_area;
|
||||
crypt_keyslot_status;
|
||||
crypt_keyslot_get_key_size;
|
||||
crypt_keyslot_set_encryption;
|
||||
crypt_keyslot_get_encryption;
|
||||
crypt_get_dir;
|
||||
crypt_set_debug_level;
|
||||
crypt_log;
|
||||
|
||||
Reference in New Issue
Block a user