mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-22 00:00:07 +01:00
Move try_token_unlock to luks utils.
and rename it to luks_try_token_unlock.
This commit is contained in:
committed by
Milan Broz
parent
4493d9ad3e
commit
5f48657f4d
@@ -43,4 +43,14 @@ int luks_init_keyslot_context(struct crypt_device *cd,
|
||||
bool verify, bool pwquality,
|
||||
struct crypt_keyslot_context **r_kc);
|
||||
|
||||
int luks_try_token_unlock(struct crypt_device *cd,
|
||||
int keyslot,
|
||||
int token_id,
|
||||
const char *activated_name,
|
||||
const char *token_type,
|
||||
uint32_t activate_flags,
|
||||
int tries,
|
||||
bool activation,
|
||||
bool token_only);
|
||||
|
||||
#endif /* UTILS_LUKS_H */
|
||||
|
||||
Reference in New Issue
Block a user