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

@@ -309,8 +309,6 @@ int LUKS2_reencrypt_data_offset(struct luks2_hdr *hdr, bool blockwise);
/*
* Generic LUKS2 digest
*/
int LUKS2_digest_by_segment(struct luks2_hdr *hdr, int segment);
int LUKS2_digest_verify_by_digest(struct crypt_device *cd,
struct luks2_hdr *hdr,
int digest,