]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/cryptenroll/cryptenroll.h
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
4 typedef enum EnrollType
{
11 _ENROLL_TYPE_INVALID
= -1,
14 typedef enum WipeScope
{
15 WIPE_EXPLICIT
, /* only wipe the listed slots */
16 WIPE_ALL
, /* wipe all slots */
17 WIPE_EMPTY_PASSPHRASE
, /* wipe slots with empty passphrases plus listed slots */
19 _WIPE_SCOPE_INVALID
= -1,
22 const char* enroll_type_to_string(EnrollType t
);
23 EnrollType
enroll_type_from_string(const char *s
);
25 const char* luks2_token_type_to_string(EnrollType t
);
26 EnrollType
luks2_token_type_from_string(const char *s
);