Home
last modified time | relevance | path

Searched refs:want_digest (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/md/
Ddm-verity-fec.c184 u8 *want_digest, u8 *data) in fec_is_erasure() argument
191 return memcmp(verity_io_real_digest(v, io), want_digest, in fec_is_erasure()
210 u8 want_digest[HASH_MAX_DIGESTSIZE]; in fec_read_bufs() local
216 if (WARN_ON(v->digest_size > sizeof(want_digest))) in fec_read_bufs()
266 verity_hash_for_block(v, io, block, want_digest, in fec_read_bufs()
277 fec_is_erasure(v, io, want_digest, bbuf)) in fec_read_bufs()
Ddm-verity-target.c283 u8 *want_digest) in verity_verify_level() argument
324 if (likely(memcmp(verity_io_real_digest(v, io), want_digest, in verity_verify_level()
349 memcpy(want_digest, data, v->digest_size); in verity_verify_level()