Home
last modified time | relevance | path

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

/drivers/crypto/ux500/hash/
Dhash_core.c219 u8 *zero_hash, u32 *zero_hash_size, bool *zero_digest) in get_empty_message_digest() argument
223 *zero_digest = false; in get_empty_message_digest()
234 *zero_digest = true; in get_empty_message_digest()
240 *zero_digest = true; in get_empty_message_digest()
253 *zero_digest = true; in get_empty_message_digest()
258 *zero_digest = true; in get_empty_message_digest()
987 bool zero_digest = false; in hash_hw_final() local
993 &zero_hash_size, &zero_digest); in hash_hw_final()
995 zero_digest) { in hash_hw_final()
998 } else if (!ret && !zero_digest) { in hash_hw_final()
/drivers/md/
Ddm-verity-target.c388 if (!r && v->zero_digest) in verity_hash_for_block()
389 *is_zero = !memcmp(v->zero_digest, digest, v->digest_size); in verity_hash_for_block()
864 if (v->zero_digest) in verity_status()
891 if (v->zero_digest) in verity_status()
922 DMEMIT(",ignore_zero_blocks=%c", v->zero_digest ? 'y' : 'n'); in verity_status()
997 kfree(v->zero_digest); in verity_dtr()
1047 v->zero_digest = kmalloc(v->digest_size, GFP_KERNEL); in verity_alloc_zero_digest()
1049 if (!v->zero_digest) in verity_alloc_zero_digest()
1063 v->zero_digest, true); in verity_alloc_zero_digest()
Ddm-verity.h45 u8 *zero_digest; /* digest for a zero block */ member