Searched refs:csb_hashtype (Results 1 – 4 of 4) sorted by relevance
| /xnu-10002.41.9/bsd/kern/ |
| H A D | ubc_subr.c | 814 if (csblob->csb_hashtype == NULL || csblob->csb_hashtype->cs_digest_size > sizeof(computed_hash)) { in csblob_find_special_slot_blob() 822 embedded_hash = find_special_slot(code_dir, csblob->csb_hashtype->cs_size, slot); in csblob_find_special_slot_blob() 830 if (memcmp(embedded_hash, cshash_zero, csblob->csb_hashtype->cs_size) != 0) { in csblob_find_special_slot_blob() 837 csblob->csb_hashtype->cs_init(&context); in csblob_find_special_slot_blob() 838 csblob->csb_hashtype->cs_update(&context, blob, ntohl(blob->length)); in csblob_find_special_slot_blob() 839 csblob->csb_hashtype->cs_final(computed_hash, &context); in csblob_find_special_slot_blob() 841 if (memcmp(computed_hash, embedded_hash, csblob->csb_hashtype->cs_size) != 0) { in csblob_find_special_slot_blob() 866 if (csblob->csb_hashtype == NULL || csblob->csb_hashtype->cs_digest_size > sizeof(computed_hash)) { in csblob_get_entitlements() 877 embedded_hash = find_special_slot(code_dir, csblob->csb_hashtype->cs_size, CSSLOT_ENTITLEMENTS); in csblob_get_entitlements() 885 if (memcmp(embedded_hash, cshash_zero, csblob->csb_hashtype->cs_size) != 0) { in csblob_get_entitlements() [all …]
|
| H A D | kern_cs.c | 569 return blob->csb_hashtype != NULL ? cs_hash_type(blob->csb_hashtype) : 0; in csblob_get_hashtype()
|
| H A D | kern_descrip.c | 4072 int hashtype = cs_hash_type(blob->csb_hashtype); in sys_fcntl_nocancel()
|
| /xnu-10002.41.9/bsd/sys/ |
| H A D | ubc_internal.h | 122 const struct cs_hash *csb_hashtype; member
|