Home
last modified time | relevance | path

Searched refs:zero_digest (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/md/
Ddm-verity-target.c356 if (!r && v->zero_digest) in verity_hash_for_block()
357 *is_zero = !memcmp(v->zero_digest, digest, v->digest_size); in verity_hash_for_block()
713 if (v->zero_digest) in verity_status()
733 if (v->zero_digest) in verity_status()
788 kfree(v->zero_digest); in verity_dtr()
833 v->zero_digest = kmalloc(v->digest_size, GFP_KERNEL); in verity_alloc_zero_digest()
835 if (!v->zero_digest) in verity_alloc_zero_digest()
849 v->zero_digest); in verity_alloc_zero_digest()
Ddm-verity.h43 u8 *zero_digest; /* digest for a zero block */ member
/Linux-v4.19/drivers/crypto/ux500/hash/
Dhash_core.c218 u8 *zero_hash, u32 *zero_hash_size, bool *zero_digest) in get_empty_message_digest() argument
222 *zero_digest = false; in get_empty_message_digest()
233 *zero_digest = true; in get_empty_message_digest()
239 *zero_digest = true; in get_empty_message_digest()
252 *zero_digest = true; in get_empty_message_digest()
257 *zero_digest = true; in get_empty_message_digest()
985 bool zero_digest = false; in hash_hw_final() local
991 &zero_hash_size, &zero_digest); in hash_hw_final()
993 zero_digest) { in hash_hw_final()
996 } else if (!ret && !zero_digest) { in hash_hw_final()