Better name routine verifying any available digest.

also drop unused parameter from internal routine.
This commit is contained in:
Ondrej Kozina
2024-11-08 14:07:31 +01:00
parent a93921c226
commit 6506d324ee
3 changed files with 4 additions and 6 deletions

View File

@@ -314,8 +314,7 @@ void crypt_token_unload_external_all(struct crypt_device *cd);
/*
* Generic LUKS2 digest
*/
int LUKS2_digest_any_matching(struct crypt_device *cd,
struct luks2_hdr *hdr,
int LUKS2_digest_verify_by_any_matching(struct crypt_device *cd,
const struct volume_key *vk);
int LUKS2_digest_verify_by_segment(struct crypt_device *cd,

View File

@@ -143,8 +143,7 @@ int LUKS2_digest_dump(struct crypt_device *cd, int digest)
return h->dump(cd, digest);
}
int LUKS2_digest_any_matching(struct crypt_device *cd,
struct luks2_hdr *hdr __attribute__((unused)),
int LUKS2_digest_verify_by_any_matching(struct crypt_device *cd,
const struct volume_key *vk)
{
int digest;