Searched refs:zero_digest (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/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-5.19.10/drivers/md/ |
D | dm-verity-target.c | 361 if (!r && v->zero_digest) in verity_hash_for_block() 362 *is_zero = !memcmp(v->zero_digest, digest, v->digest_size); in verity_hash_for_block() 751 if (v->zero_digest) in verity_status() 776 if (v->zero_digest) in verity_status() 805 DMEMIT(",ignore_zero_blocks=%c", v->zero_digest ? 'y' : 'n'); in verity_status() 876 kfree(v->zero_digest); in verity_dtr() 923 v->zero_digest = kmalloc(v->digest_size, GFP_KERNEL); in verity_alloc_zero_digest() 925 if (!v->zero_digest) in verity_alloc_zero_digest() 939 v->zero_digest); in verity_alloc_zero_digest()
|
D | dm-verity.h | 43 u8 *zero_digest; /* digest for a zero block */ member
|
/linux-5.19.10/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()
|