Searched refs:want_digest (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/md/ |
H A D | dm-verity-fec.c | 185 u8 *want_digest, u8 *data) in fec_is_erasure() argument 192 return memcmp(verity_io_real_digest(v, io), want_digest, in fec_is_erasure() 211 u8 want_digest[HASH_MAX_DIGESTSIZE]; in fec_read_bufs() local 217 if (WARN_ON(v->digest_size > sizeof(want_digest))) in fec_read_bufs() 267 verity_hash_for_block(v, io, block, want_digest, in fec_read_bufs() 278 fec_is_erasure(v, io, want_digest, bbuf)) in fec_read_bufs()
|
H A D | dm-verity-target.c | 289 u8 *want_digest) in verity_verify_level() argument 330 if (likely(memcmp(verity_io_real_digest(v, io), want_digest, in verity_verify_level() 358 memcpy(want_digest, data, v->digest_size); in verity_verify_level()
|