mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Do not try to activate BitLocker devices with diffuser
The CBC mode with Elephant Diffuser is currently not supported by DM crypt.
This commit is contained in:
committed by
Milan Broz
parent
966ba44a33
commit
9932b5fc5c
@@ -891,6 +891,13 @@ int BITLK_activate(struct crypt_device *cd,
|
||||
return r;
|
||||
}
|
||||
|
||||
if (strcmp(params->cipher_mode, "cbc-elephant") == 0) {
|
||||
log_err(cd, _("Activation of BitLocker devices encrypted using AES-CBC with " \
|
||||
"the Elephant Diffuser is currently not supported"));
|
||||
crypt_free_volume_key(open_fvek_key);
|
||||
return -ENOTSUP;
|
||||
}
|
||||
|
||||
r = device_block_adjust(cd, crypt_data_device(cd), DEV_EXCL,
|
||||
crypt_get_data_offset(cd), &dmd.size, &dmd.flags);
|
||||
if (r) {
|
||||
|
||||
Reference in New Issue
Block a user