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

@@ -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;