cryptsetup: support for hw-opal in luksErase

Wipe and disable the segment. Also support the factory reset ioctl for
a complete wipe of the entire drive with a specific argument.

Signed-off-by: Luca Boccassi <bluca@debian.org>
This commit is contained in:
Luca Boccassi
2022-12-27 00:14:23 +01:00
parent 5716f959a7
commit decbe09fb3
7 changed files with 140 additions and 3 deletions

View File

@@ -170,4 +170,5 @@ CRYPTSETUP_2.7 {
global:
crypt_format_luks2_opal;
crypt_get_hw_encryption_type;
crypt_wipe_hw_opal;
} CRYPTSETUP_2.6;