Move init_keyslot_context in luks utils.

and rename it to luks_init_keyslot_context.
This commit is contained in:
Ondrej Kozina
2025-04-25 17:23:05 +02:00
committed by Milan Broz
parent 261bef3409
commit 9f0dd9cc4c
3 changed files with 50 additions and 41 deletions

View File

@@ -38,4 +38,10 @@ int reencrypt_luks1(const char *device);
int reencrypt_luks1_in_progress(const char *device);
int luks_init_keyslot_context(struct crypt_device *cd,
const char *msg,
char **password, size_t *passwordLen, bool verify,
bool pwquality, bool reencrypt, /* tmp hack to use old get_key */
struct crypt_keyslot_context **kc);
#endif /* UTILS_LUKS_H */