Home
last modified time | relevance | path

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

/xnu-12377.41.6/bsd/kern/
H A Dubc_subr.c149 size_t cs_size; /* size of effective hash (may be truncated) */ member
165 .cs_size = CS_SHA1_LEN,
174 .cs_size = SHA256_DIGEST_LENGTH,
182 .cs_size = CS_SHA256_TRUNCATED_LEN,
190 .cs_size = SHA384_DIGEST_LENGTH,
378 if (cd->hashSize != hashtype->cs_size) { in cs_validate_codedirectory()
387 if (ntohl(cd->hashOffset) / hashtype->cs_size < ntohl(cd->nSpecialSlots)) { in cs_validate_codedirectory()
392 if ((length - ntohl(cd->hashOffset)) / hashtype->cs_size < ntohl(cd->nCodeSlots)) { in cs_validate_codedirectory()
774 embedded_hash = find_special_slot(code_dir, csblob->csb_hashtype->cs_size, slot); in csblob_find_special_slot_blob()
782 if (memcmp(embedded_hash, cshash_zero, csblob->csb_hashtype->cs_size) != 0) { in csblob_find_special_slot_blob()
[all …]