mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-10 18:30:00 +01:00
TCRYPT: add dump command
This commit is contained in:
@@ -2334,6 +2334,8 @@ int crypt_dump(struct crypt_device *cd)
|
||||
return _luks_dump(cd);
|
||||
else if (isVERITY(cd->type))
|
||||
return _verity_dump(cd);
|
||||
else if (isTCRYPT(cd->type))
|
||||
return TCRYPT_dump(cd, &cd->tcrypt_hdr, &cd->tcrypt_params);
|
||||
|
||||
log_err(cd, _("Dump operation is not supported for this device type.\n"));
|
||||
return -EINVAL;
|
||||
|
||||
Reference in New Issue
Block a user