Home
last modified time | relevance | path

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

/xnu-8019.80.24/bsd/kern/
H A Dubc_subr.c771 if (csblob->csb_hashtype == NULL || csblob->csb_hashtype->cs_digest_size > sizeof(computed_hash)) { in csblob_get_entitlements()
782 embedded_hash = find_special_slot(code_dir, csblob->csb_hashtype->cs_size, CSSLOT_ENTITLEMENTS); in csblob_get_entitlements()
790 if (memcmp(embedded_hash, cshash_zero, csblob->csb_hashtype->cs_size) != 0) { in csblob_get_entitlements()
797 csblob->csb_hashtype->cs_init(&context); in csblob_get_entitlements()
798 csblob->csb_hashtype->cs_update(&context, entitlements, ntohl(entitlements->length)); in csblob_get_entitlements()
799 csblob->csb_hashtype->cs_final(computed_hash, &context); in csblob_get_entitlements()
801 if (memcmp(computed_hash, embedded_hash, csblob->csb_hashtype->cs_size) != 0) { in csblob_get_entitlements()
823 if (csblob->csb_hashtype == NULL || csblob->csb_hashtype->cs_digest_size > sizeof(computed_hash)) { in csblob_get_der_entitlements()
834 …embedded_hash = find_special_slot(code_dir, csblob->csb_hashtype->cs_size, CSSLOT_DER_ENTITLEMENTS… in csblob_get_der_entitlements()
842 if (memcmp(embedded_hash, cshash_zero, csblob->csb_hashtype->cs_size) != 0) { in csblob_get_der_entitlements()
[all …]
H A Dkern_cs.c513 return blob->csb_hashtype != NULL ? cs_hash_type(blob->csb_hashtype) : 0; in csblob_get_hashtype()
H A Dkern_descrip.c4021 int hashtype = cs_hash_type(blob->csb_hashtype); in sys_fcntl_nocancel()
/xnu-8019.80.24/bsd/sys/
H A Dubc_internal.h121 const struct cs_hash *csb_hashtype; member