| /xnu-11215/bsd/kern/code_signing/ |
| H A D | xnu.c | 114 static uint8_t compilation_service_cdhash[CS_CDHASH_LEN] = {0}; 118 const uint8_t cdhash[CS_CDHASH_LEN]) in xnu_set_compilation_service_cdhash() argument 121 memcpy(compilation_service_cdhash, cdhash, CS_CDHASH_LEN); in xnu_set_compilation_service_cdhash() 127 const uint8_t cdhash[CS_CDHASH_LEN]) in xnu_match_compilation_service_cdhash() argument 132 if (bcmp(compilation_service_cdhash, cdhash, CS_CDHASH_LEN) == 0) { in xnu_match_compilation_service_cdhash()
|
| H A D | ppl.c | 235 const uint8_t cdhash[CS_CDHASH_LEN]) in ppl_set_compilation_service_cdhash() argument 242 const uint8_t cdhash[CS_CDHASH_LEN]) in ppl_match_compilation_service_cdhash() argument 262 const uint8_t cdhash[CS_CDHASH_LEN]) in ppl_unrestrict_local_signing_cdhash() argument
|
| H A D | txm.c | 928 const uint8_t cdhash[CS_CDHASH_LEN]) in txm_set_compilation_service_cdhash() argument 942 const uint8_t cdhash[CS_CDHASH_LEN]) in txm_match_compilation_service_cdhash() argument 994 const uint8_t cdhash[CS_CDHASH_LEN]) in txm_unrestrict_local_signing_cdhash() argument
|
| /xnu-11215/osfmk/kern/ |
| H A D | trustcache.h | 41 typedef uint8_t trust_cache_hash0[CS_CDHASH_LEN]; 55 uint8_t cdhash[CS_CDHASH_LEN];
|
| H A D | cs_blobs.h | 142 …CS_CDHASH_LEN = 20, /* always - larger hashes are trun… enumerator
|
| H A D | bsd_kern.c | 1430 get_task_cdhash(task_t task, char cdhash[static CS_CDHASH_LEN]) in get_task_cdhash() argument
|
| H A D | task.h | 1339 extern int get_task_cdhash(task_t task, char cdhash[CS_CDHASH_LEN]);
|
| /xnu-11215/osfmk/vm/ |
| H A D | pmap_cs.h | 428 uint8_t cdhash[CS_CDHASH_LEN]; 588 pmap_set_compilation_service_cdhash(const uint8_t cdhash[CS_CDHASH_LEN]); 596 pmap_match_compilation_service_cdhash(const uint8_t cdhash[CS_CDHASH_LEN]); 625 const uint8_t cdhash[CS_CDHASH_LEN]);
|
| H A D | pmap.h | 847 extern uint32_t pmap_lookup_in_static_trust_cache(const uint8_t cdhash[CS_CDHASH_LEN]); 848 extern bool pmap_lookup_in_loaded_trust_caches(const uint8_t cdhash[CS_CDHASH_LEN]);
|
| /xnu-11215/bsd/sys/ |
| H A D | code_signing_internal.h | 85 const uint8_t cdhash[CS_CDHASH_LEN]); 88 const uint8_t cdhash[CS_CDHASH_LEN]); 152 const uint8_t cdhash[CS_CDHASH_LEN]);
|
| H A D | ubc_internal.h | 124 unsigned char csb_cdhash[CS_CDHASH_LEN]; 127 unsigned char csb_linkage[CS_CDHASH_LEN];
|
| H A D | codesign.h | 104 uint8_t *__counted_by_or_null(CS_CDHASH_LEN) cs_get_cdhash(struct proc *);
|
| /xnu-11215/libkern/libkern/amfi/ |
| H A D | amfi.h | 56 typedef CEError_t (*amfi_OSEntitlements_query)(void* osentitlements, uint8_t cdhash[CS_CDHASH_LEN],…
|
| /xnu-11215/bsd/kern/ |
| H A D | kern_codesigning.c | 874 const uint8_t cdhash[CS_CDHASH_LEN]) in set_compilation_service_cdhash() argument 881 const uint8_t cdhash[CS_CDHASH_LEN]) in match_compilation_service_cdhash() argument 901 __unused const uint8_t cdhash[CS_CDHASH_LEN]) in unrestrict_local_signing_cdhash() argument
|
| H A D | kern_cs.c | 1122 *cdhash_size = CS_CDHASH_LEN; in csfg_get_cdhash() 1148 *cdhash_size = CS_CDHASH_LEN; in csfg_get_supplement_cdhash() 1179 *cdhash_size = CS_CDHASH_LEN; in csfg_get_supplement_linkage_cdhash()
|
| H A D | ubc_subr.c | 4104 memcpy(blob->csb_cdhash, hash, CS_CDHASH_LEN); in cs_blob_init_validated() 4109 ntohl(cd->linkageSize) >= CS_CDHASH_LEN) { in cs_blob_init_validated() 4114 CS_CDHASH_LEN); in cs_blob_init_validated() 5008 CS_CDHASH_LEN)) { in ubc_cs_blob_add() 5226 memcmp(orig_blob->csb_cdhash, tmp_blob.csb_linkage, CS_CDHASH_LEN) == 0) { in ubc_cs_blob_add_supplement() 5314 memcmp(tmp_blob.csb_cdhash, existing->csb_cdhash, CS_CDHASH_LEN) == 0) { in ubc_cs_blob_add_supplement()
|
| H A D | kern_exec.c | 4872 AUDIT_ARG(data, cdhash, sizeof(uint8_t), CS_CDHASH_LEN); in posix_spawn() 5481 AUDIT_ARG(data, cdhash, sizeof(uint8_t), CS_CDHASH_LEN); in __mac_execve() 7587 static const size_t CS_CDHASH_STRING_SIZE = CS_CDHASH_LEN * 2 + 1; 7599 for (int i = 0; i < CS_CDHASH_LEN; ++i) { in cdhash_to_string() 7850 uint8_t cdhash[CS_CDHASH_LEN]; in process_signature() 7891 uint8_t cdhash[CS_CDHASH_LEN]; in process_signature()
|
| /xnu-11215/bsd/security/audit/ |
| H A D | audit_arg.c | 1001 id_info->cdhash = kalloc_data(CS_CDHASH_LEN, Z_WAITOK | Z_NOFAIL); in audit_identity_info_construct() 1002 memcpy(id_info->cdhash, cdhash, CS_CDHASH_LEN); in audit_identity_info_construct() 1003 id_info->cdhash_len = CS_CDHASH_LEN; in audit_identity_info_construct()
|
| /xnu-11215/osfmk/arm/pmap/ |
| H A D | pmap.c | 14201 const uint8_t cdhash[CS_CDHASH_LEN]) argument 14211 uint8_t cdhash_safe[CS_CDHASH_LEN]; 14212 memcpy(cdhash_safe, cdhash, CS_CDHASH_LEN); 14233 const uint8_t cdhash[CS_CDHASH_LEN]) argument 14244 const uint8_t cdhash[CS_CDHASH_LEN]) argument 14257 uint8_t cdhash_safe[CS_CDHASH_LEN]; 14258 memcpy(cdhash_safe, cdhash, CS_CDHASH_LEN); 14303 memcpy(pmap_compilation_service_cdhash, cdhash, CS_CDHASH_LEN); 14414 const uint8_t cdhash[CS_CDHASH_LEN]) argument 14427 const uint8_t cdhash[CS_CDHASH_LEN]) argument [all …]
|
| /xnu-11215/osfmk/arm64/sptm/pmap/ |
| H A D | pmap.c | 11555 pmap_lookup_in_loaded_trust_caches(__unused const uint8_t cdhash[CS_CDHASH_LEN]) argument 11569 pmap_lookup_in_static_trust_cache(__unused const uint8_t cdhash[CS_CDHASH_LEN]) argument
|