Home
last modified time | relevance | path

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

/xnu-11215/bsd/kern/code_signing/
H A Dxnu.c114 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 Dppl.c235 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 Dtxm.c928 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 Dtrustcache.h41 typedef uint8_t trust_cache_hash0[CS_CDHASH_LEN];
55 uint8_t cdhash[CS_CDHASH_LEN];
H A Dcs_blobs.h142CS_CDHASH_LEN = 20, /* always - larger hashes are trun… enumerator
H A Dbsd_kern.c1430 get_task_cdhash(task_t task, char cdhash[static CS_CDHASH_LEN]) in get_task_cdhash() argument
H A Dtask.h1339 extern int get_task_cdhash(task_t task, char cdhash[CS_CDHASH_LEN]);
/xnu-11215/osfmk/vm/
H A Dpmap_cs.h428 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 Dpmap.h847 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 Dcode_signing_internal.h85 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 Dubc_internal.h124 unsigned char csb_cdhash[CS_CDHASH_LEN];
127 unsigned char csb_linkage[CS_CDHASH_LEN];
H A Dcodesign.h104 uint8_t *__counted_by_or_null(CS_CDHASH_LEN) cs_get_cdhash(struct proc *);
/xnu-11215/libkern/libkern/amfi/
H A Damfi.h56 typedef CEError_t (*amfi_OSEntitlements_query)(void* osentitlements, uint8_t cdhash[CS_CDHASH_LEN],…
/xnu-11215/bsd/kern/
H A Dkern_codesigning.c874 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 Dkern_cs.c1122 *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 Dubc_subr.c4104 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 Dkern_exec.c4872 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 Daudit_arg.c1001 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 Dpmap.c14201 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 Dpmap.c11555 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