Searched refs:new_cd (Results 1 – 1 of 1) sorted by relevance
3837 CS_CodeDirectory *new_cd; in ubc_cs_convert_to_multilevel_hash() local3858 …or = ubc_cs_reconstitute_code_signature(blob, &new_blob_addr, &new_blob_size, new_cdsize, &new_cd); in ubc_cs_convert_to_multilevel_hash()3866 memcpy(new_cd, old_cd, ntohl(old_cd->hashOffset)); in ubc_cs_convert_to_multilevel_hash()3869 new_cd->length = htonl((uint32_t)new_cdsize); in ubc_cs_convert_to_multilevel_hash()3871 uint32_t nCodeSlots = ntohl(new_cd->nCodeSlots); in ubc_cs_convert_to_multilevel_hash()3873 new_cd->nCodeSlots = htonl(nCodeSlots); in ubc_cs_convert_to_multilevel_hash()3875 new_cd->pageSize = (uint8_t)PAGE_SHIFT; /* Not byte-swapped */ in ubc_cs_convert_to_multilevel_hash()3877 if ((ntohl(new_cd->version) >= CS_SUPPORTSSCATTER) && (ntohl(new_cd->scatterOffset))) { in ubc_cs_convert_to_multilevel_hash()3879 ((char *)new_cd + ntohl(new_cd->scatterOffset)); in ubc_cs_convert_to_multilevel_hash()3902 unsigned char *dst_base = (unsigned char *)new_cd + ntohl(new_cd->hashOffset); in ubc_cs_convert_to_multilevel_hash()[all …]