Unify crypt_resume_by internal code.

This commit is contained in:
Ondrej Kozina
2021-02-19 18:49:07 +01:00
parent 28603e4de7
commit 3367b78958
3 changed files with 44 additions and 51 deletions

View File

@@ -324,6 +324,8 @@ int LUKS2_digest_segment_assign(struct crypt_device *cd,
int LUKS2_digest_by_keyslot(struct luks2_hdr *hdr, int keyslot);
int LUKS2_digest_by_segment(struct luks2_hdr *hdr, int segment);
int LUKS2_digest_create(struct crypt_device *cd,
const char *type,
struct luks2_hdr *hdr,