Searched refs:zero_digest (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/include/linux/ |
D | tpm_eventlog.h | 176 const u8 zero_digest[sizeof(event_header->digest)] = {0}; in __calc_tpm2_event_size() local 207 memcmp(event_header->digest, zero_digest, sizeof(zero_digest))) { in __calc_tpm2_event_size()
|
/linux-6.1.9/drivers/crypto/ux500/hash/ |
D | hash_core.c | 219 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()
|
/linux-6.1.9/drivers/md/ |
D | dm-verity-target.c | 387 if (!r && v->zero_digest) in verity_hash_for_block() 388 *is_zero = !memcmp(v->zero_digest, digest, v->digest_size); in verity_hash_for_block() 826 if (v->zero_digest) in verity_status() 853 if (v->zero_digest) in verity_status() 884 DMEMIT(",ignore_zero_blocks=%c", v->zero_digest ? 'y' : 'n'); in verity_status() 955 kfree(v->zero_digest); in verity_dtr() 1005 v->zero_digest = kmalloc(v->digest_size, GFP_KERNEL); in verity_alloc_zero_digest() 1007 if (!v->zero_digest) in verity_alloc_zero_digest() 1021 v->zero_digest); in verity_alloc_zero_digest()
|
D | dm-verity.h | 44 u8 *zero_digest; /* digest for a zero block */ member
|