mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-22 00:00:07 +01:00
Refactor activation by volume key(s) in helper routine.
This commit is contained in:
committed by
Milan Broz
parent
8fcd8a78d8
commit
cf29d51589
@@ -54,4 +54,14 @@ int luks_try_token_unlock(struct crypt_device *cd,
|
||||
bool retry_with_pin,
|
||||
struct crypt_keyslot_context **r_kc);
|
||||
|
||||
int luks_init_keyslot_contexts_by_volume_keys(struct crypt_device *cd,
|
||||
const char *vk_file1,
|
||||
const char *vk_file2,
|
||||
int keysize1_bytes,
|
||||
int keysize2_bytes,
|
||||
const char *vk_in_keyring1,
|
||||
const char *vk_in_keyring2,
|
||||
struct crypt_keyslot_context **r_kc1,
|
||||
struct crypt_keyslot_context **r_kc2);
|
||||
|
||||
#endif /* UTILS_LUKS_H */
|
||||
|
||||
Reference in New Issue
Block a user