mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Split volume key verification and device activation.
It makes key verification easier and also allows digest verification for keys not assigned to device segment (unbound keys) for more keyslot context types (tokens).
This commit is contained in:
committed by
Daniel Zatovic
parent
1aab3afcba
commit
e5bd99665e
@@ -263,4 +263,8 @@ static inline bool uint64_mult_overflow(uint64_t *u, uint64_t b, size_t size)
|
||||
return false;
|
||||
}
|
||||
|
||||
#define KEY_NOT_VERIFIED -2
|
||||
#define KEY_EXTERNAL_VERIFICATION -1
|
||||
#define KEY_VERIFIED 0
|
||||
|
||||
#endif /* INTERNAL_H */
|
||||
|
||||
Reference in New Issue
Block a user