mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Use default segment alias in LUKS2 activatation.
This commit is contained in:
committed by
Milan Broz
parent
865b1dc66e
commit
9504d866b6
@@ -1748,7 +1748,7 @@ int LUKS2_activate(struct crypt_device *cd,
|
||||
.u.crypt = {
|
||||
.vk = vk,
|
||||
.offset = crypt_get_data_offset(cd),
|
||||
.cipher = LUKS2_get_cipher(hdr, 0),
|
||||
.cipher = LUKS2_get_cipher(hdr, CRYPT_DEFAULT_SEGMENT),
|
||||
.integrity = crypt_get_integrity(cd),
|
||||
.iv_offset = 0,
|
||||
.tag_size = crypt_get_integrity_tag_size(cd),
|
||||
|
||||
Reference in New Issue
Block a user