mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-22 00:00:07 +01:00
Add keyslot check code.
This patch adds keyslot randomness analysis to cryptsetup repair command to check for a detectable corruption of binary area. It uses Chi2 analysis. This check basically replaces external keyslot checker program.
This commit is contained in:
@@ -66,4 +66,6 @@ int luks_init_keyslot_contexts_by_volume_keys(struct crypt_device *cd,
|
||||
struct crypt_keyslot_context **r_kc1,
|
||||
struct crypt_keyslot_context **r_kc2);
|
||||
|
||||
void luks_check_keyslots(struct crypt_device *cd, const char *device);
|
||||
|
||||
#endif /* UTILS_LUKS_H */
|
||||
|
||||
Reference in New Issue
Block a user