| /xnu-11215/EXTERNAL_HEADERS/corecrypto/ |
| H A D | ccder.h | 144 uint8_t *ccder_encode_tag(ccder_tag tag, const uint8_t *der, uint8_t *der_end); 149 uint8_t *ccder_encode_len(size_t len, const uint8_t *der, uint8_t *der_end); 153 uint8_t *ccder_encode_tl(ccder_tag tag, size_t len, const uint8_t *der, uint8_t *der_end); 156 uint8_t *ccder_encode_body_nocopy(size_t size, const uint8_t *der, uint8_t *der_end); 163 uint8_t *ccder_encode_constructed_tl(ccder_tag tag, const uint8_t *body_end, const uint8_t *der, ui… 167 uint8_t *ccder_encode_oid(ccoid_t oid, const uint8_t *der, uint8_t *der_end); 179 uint8_t *ccder_encode_uint64(uint64_t value, const uint8_t *der, uint8_t *der_end); 195 uint8_t *ccder_encode_raw_octet_string(size_t s_size, const uint8_t *s, const uint8_t *der, uint8_t… 211 uint8_t *ccder_encode_body(size_t size, const uint8_t *body, const uint8_t *der, uint8_t *der_end); 275 const uint8_t *ccder_decode_sequence_tl(const uint8_t **body_end, const uint8_t *der, const uint8_t… [all …]
|
| H A D | ccrsa.h | 350 size_t *sig_nbytes, uint8_t *cc_unsafe_indexable sig); 470 int ccrsa_sign_pkcs1v15(ccrsa_full_ctx_t key, const uint8_t *oid, 519 int ccrsa_verify_pkcs1v15(ccrsa_pub_ctx_t key, const uint8_t *oid, 598 uint8_t *ccder_encode_rsa_pub(const ccrsa_pub_ctx_t key, uint8_t *cc_ended_by(der_end) der, uint8_t… 623 uint8_t *ccder_encode_rsa_priv(const ccrsa_full_ctx_t key, const uint8_t *cc_ended_by(der_end) der,… 638 cc_size ccder_decode_rsa_pub_n(const uint8_t *cc_ended_by(der_end) der, const uint8_t *der_end); 653 const uint8_t *ccder_decode_rsa_pub(const ccrsa_pub_ctx_t key, const uint8_t *cc_ended_by(der_end) … 667 cc_size ccder_decode_rsa_pub_x509_n(const uint8_t *cc_ended_by(der_end) der, const uint8_t *der_end… 681 const uint8_t *ccder_decode_rsa_pub_x509(const ccrsa_pub_ctx_t key, const uint8_t *cc_ended_by(der_… 696 cc_size ccder_decode_rsa_priv_n(const uint8_t *cc_ended_by(der_end) der, const uint8_t *der_end); [all …]
|
| H A D | cc_priv.h | 118 y[0] = (uint8_t)(x >> 56); 124 y[6] = (uint8_t)(x >> 8); 125 y[7] = (uint8_t)(x); 158 y[2] = (uint8_t)(x >> 8); 159 y[3] = (uint8_t)(x); 169 y[0] = (uint8_t)(x >> 8); 170 y[1] = (uint8_t)(x); 186 y[1] = (uint8_t)(x >> 8); 187 y[0] = (uint8_t)(x); 200 y[1] = (uint8_t)(x >> 8); [all …]
|
| H A D | ccchacha20poly1305.h | 26 uint8_t buffer[CCCHACHA20_BLOCK_NBYTES]; 37 uint8_t buf[16]; 39 uint8_t key[16]; 106 uint8_t state; 131 …struct ccchacha20poly1305_info *info, ccchacha20poly1305_ctx *ctx, const uint8_t *cc_counted_by(CC… 158 …struct ccchacha20poly1305_info *info, ccchacha20poly1305_ctx *ctx, const uint8_t *cc_counted_by(CC… 159 …const struct ccchacha20poly1305_info *info, ccchacha20poly1305_ctx *ctx, uint8_t *cc_counted_by(CC… 208 …const struct ccchacha20poly1305_info *info, ccchacha20poly1305_ctx *ctx, uint8_t *cc_counted_by(CC… 240 …struct ccchacha20poly1305_info *info, ccchacha20poly1305_ctx *ctx, const uint8_t *cc_counted_by(CC… 270 …uint8_t *cc_counted_by(CCCHACHA20POLY1305_KEY_NBYTES) key, const uint8_t *cc_counted_by(CCCHACHA20… [all …]
|
| H A D | ccmode_siv.h | 92 size_t key_byte_len, const uint8_t *key); 109 size_t nbytes, const uint8_t *in); 122 size_t nbytes, const uint8_t *in); 152 size_t nbytes, const uint8_t *in, uint8_t *out); 196 size_t key_len, const uint8_t *key, 197 unsigned nonce_nbytes, const uint8_t* nonce, 198 unsigned adata_nbytes, const uint8_t* adata, 199 size_t in_nbytes, const uint8_t *in, uint8_t *out);
|
| H A D | ccmode_siv_hmac.h | 81 …t ccmode_siv_hmac *mode, ccsiv_hmac_ctx *ctx, size_t key_byte_len, const uint8_t *key, size_t tag_… 98 …mac_aad(const struct ccmode_siv_hmac *mode, ccsiv_hmac_ctx *ctx, size_t nbytes, const uint8_t *in); 113 …t_nonce(const struct ccmode_siv_hmac *mode, ccsiv_hmac_ctx *ctx, size_t nbytes, const uint8_t *in); 137 …struct ccmode_siv_hmac *mode, ccsiv_hmac_ctx *ctx, size_t nbytes, const uint8_t *in, uint8_t *out); 169 const uint8_t *key, 172 const uint8_t *nonce, 174 const uint8_t *adata, 176 const uint8_t *in, 177 uint8_t *out);
|
| /xnu-11215/bsd/netinet/ |
| H A D | mptcp.h | 72 uint8_t mmco_kind; 73 uint8_t mmco_len; 117 uint8_t mmjo_kind; 118 uint8_t mmjo_len; 128 uint8_t mmjo_kind; 129 uint8_t mmjo_len; 139 uint8_t mmjo_kind; 140 uint8_t mmjo_len; 154 uint8_t mr_kind; 155 uint8_t mr_len; [all …]
|
| /xnu-11215/bsd/net/ |
| H A D | bridgestp.h | 304 uint8_t cu_message_type; 307 uint8_t cu_proposal; 308 uint8_t cu_agree; 309 uint8_t cu_learning; 310 uint8_t cu_forwarding; 311 uint8_t cu_role; 315 uint8_t tu_message_type; 346 uint8_t bp_state; 348 uint8_t bp_role; 355 uint8_t bp_agree; [all …]
|
| H A D | if_var_status.h | 404 uint8_t bt_coex; 490 uint8_t __pad; 497 uint8_t version; 573 uint8_t bt_coex; 614 uint8_t itd_type; 615 uint8_t _reserved; 629 uint8_t addr8[16]; 638 uint8_t inet_mask; 641 uint8_t _reserved; 650 uint8_t ra_type; [all …]
|
| H A D | if_bridgevar.h | 176 uint8_t pad[32]; 358 uint8_t ifbrpu_int8; 386 uint8_t ifbop_maxage; 388 uint8_t ifbop_fwddelay; 389 uint8_t ifbop_protocol; 410 uint8_t ifbop_maxage; 412 uint8_t ifbop_fwddelay; 413 uint8_t ifbop_protocol; 425 uint8_t ifbop_maxage; 427 uint8_t ifbop_fwddelay; [all …]
|
| H A D | pktap.h | 100 uint8_t pth_ipproto; 107 uint8_t pth_pad2; 133 uint8_t llhdr[16]; 147 uint8_t pth_length; /* length of this header */ 168 uint8_t pth_uuid[sizeof(uuid_t)]; 169 uint8_t pth_e_uuid[sizeof(uuid_t)]; 170 uint8_t pth_ifname[PKTAP_IFXNAMESIZE]; 171 uint8_t pth_comm[PKTAP_MAX_COMM_SIZE]; 172 uint8_t pth_e_comm[PKTAP_MAX_COMM_SIZE]; 246 uint8_t, uint32_t, uint32_t); [all …]
|
| H A D | nat464_utils.h | 89 uint8_t _addr8[16]; 105 uint8_t, uint8_t, uint16_t, struct nat464_addr *, 115 nat464_translate_64(pbuf_t *, int, uint8_t, uint8_t *, uint8_t, struct in_addr, 119 nat464_translate_46(pbuf_t *, uint16_t, uint8_t, uint8_t, uint8_t, struct in6_addr, 124 uint8_t, protocol_family_t, protocol_family_t, int, boolean_t); 133 nat464_cksum_fixup(uint16_t, uint16_t, uint16_t, uint8_t);
|
| /xnu-11215/osfmk/vm/ |
| H A D | lz4.c | 97 lz4_nmatch4(const uint8_t * a, const uint8_t * b) in lz4_nmatch4() 105 lz4_nmatch8(const uint8_t * a, const uint8_t * b) in lz4_nmatch8() 113 lz4_nmatch16(const uint8_t * a, const uint8_t * b) in lz4_nmatch16() 121 lz4_nmatch32(const uint8_t * a, const uint8_t * b) in lz4_nmatch32() 129 lz4_nmatch64(const uint8_t * a, const uint8_t * b) in lz4_nmatch64() 137 lz4_nmatch(int N, const uint8_t * a, const uint8_t * b) in lz4_nmatch() 153 lz4_store_length(uint8_t * dst, const uint8_t * const end, uint32_t L) in lz4_store_length() 176 copy_literal(uint8_t *dst, const uint8_t * restrict src, uint32_t L) in copy_literal() 186 static uint8_t * 490 uint8_t s; in lz4_decode() [all …]
|
| H A D | lz4.h | 59 extern void lz4_encode_2gb(uint8_t **dst_ptr, size_t dst_size, 60 const uint8_t **src_ptr, const uint8_t *src_begin, size_t src_size, 63 extern int lz4_decode(uint8_t **dst_ptr, uint8_t *dst_begin, uint8_t *dst_end, 64 const uint8_t **src_ptr, const uint8_t *src_end); 67 extern int lz4_decode_asm(uint8_t **dst_ptr, uint8_t *dst_begin, uint8_t *dst_end, 68 const uint8_t **src_ptr, const uint8_t *src_end); 79 const uint8_t * __restrict src_buffer, size_t src_size, 83 const uint8_t * __restrict src_buffer, size_t src_size, 86 typedef __attribute__((__ext_vector_type__(8))) uint8_t vector_uchar8; 87 typedef __attribute__((__ext_vector_type__(16))) uint8_t vector_uchar16; [all …]
|
| H A D | pmap_cs.h | 109 uint8_t img4_payload[0]; 133 const uint8_t check_uuid[kUUIDSize]); 160 const uint8_t cdhash[kTCEntryHashSize], 249 uint8_t profile_blob[0]; 379 const uint8_t *first_cd; 381 const uint8_t *cms_blob; 428 uint8_t cdhash[CS_CDHASH_LEN]; 438 const uint8_t *profile; 455 const uint8_t *cms_leaf; 510 uint8_t buffer[0]; [all …]
|
| /xnu-11215/libkern/libkern/coretrust/ |
| H A D | coretrust.h | 46 const uint8_t *cms_data, 48 const uint8_t *detached_data, 56 const uint8_t **digest_data, 62 const uint8_t *cms_data, 70 const uint8_t **digest_data, 86 const uint8_t *cert_data, 88 const uint8_t **key_data, 93 const uint8_t *cms_data, 103 const uint8_t *cms_data, 105 const uint8_t *digest_data, [all …]
|
| /xnu-11215/osfmk/arm/ |
| H A D | cpu_x86_64_capabilities.h | 88 /* 0 */ uint8_t signature[16]; 90 /* 18 */ uint8_t _unused[6]; 93 /* 24 */ uint8_t _unused0[2]; 98 /* 34 */ volatile uint8_t active_cpus; 99 /* 35 */ uint8_t physical_cpus; 100 /* 36 */ uint8_t logical_cpus; 101 /* 37 */ uint8_t cpu_clusters; 109 /* 4F */ uint8_t _unused2; 125 uint8_t _fill[64]; 142 /* 0x208 */ uint8_t unused2[3536]; [all …]
|
| /xnu-11215/bsd/i386/ |
| H A D | fasttrap_isa.h | 45 typedef uint8_t fasttrap_instr_t; 49 uint8_t ftmt_size; /* instruction size */ 50 uint8_t ftmt_ripmode; /* %rip-relative handling mode */ 51 uint8_t ftmt_modrm; /* saved modrm byte */ 52 uint8_t ftmt_type; /* emulation type */ 53 uint8_t ftmt_code; /* branch condition */ 54 uint8_t ftmt_base; /* branch base */ 55 uint8_t ftmt_index; /* branch index */ 56 uint8_t ftmt_scale; /* branch scale */ 59 uint8_t ftmt_installed:1; [all …]
|
| /xnu-11215/bsd/netinet6/ |
| H A D | esp_rijndael.h | 71 uint8_t *__sized_by(input_data_len), size_t input_data_len, 73 uint8_t *__sized_by(out_ivlen), size_t out_ivlen, 74 uint8_t *__sized_by(output_data_len), size_t output_data_len); 76 uint8_t *__sized_by(input_data_len), size_t input_data_len, 78 uint8_t *__sized_by(ivlen), size_t ivlen, 79 uint8_t *__sized_by(output_data_len), size_t output_data_len); 90 uint8_t *__sized_by(input_data_len), size_t input_data_len, 92 uint8_t *__sized_by(ivlen), size_t ivlen, 93 uint8_t *__sized_by(output_data_len), size_t output_data_len); 95 uint8_t *__sized_by(input_data_len), size_t input_data_len, [all …]
|
| /xnu-11215/san/memory/ |
| H A D | kasan-tbi.c | 209 vm_size_t rightrz, uint8_t flags) in kasan_poison() 241 static inline uint8_t 266 uint8_t *shadow_first = SHADOW_FOR_ADDRESS(addr); in kasan_tbi_tag_range() 304 uint8_t tag = KASAN_TBI_DEFAULT_TAG; in __hwasan_generate_tag() 316 uint8_t * 322 static inline uint8_t 330 kasan_tbi_estimate_reason(uint8_t __unused access_tag, uint8_t stored_tag) in kasan_tbi_estimate_reason() 367 uint8_t tag = vm_memtag_extract_tag(addr) | 0xF0; in kasan_check_range() 437 uint8_t 454 uint8_t tag = vm_memtag_extract_tag(address); in vm_memtag_set_tag() [all …]
|
| /xnu-11215/bsd/dev/dtrace/scripts/ |
| H A D | ip.d | 40 uint8_t ip_ver; 45 uint8_t protocol; 65 uint8_t ip_ver; /* IP version (4, 6) */ 104 (((*(uint8_t *)i) & 0x0f) << 2): 105 (((*(uint8_t *)i) >> 4 == 6) ? 109 ((((*(uint8_t *)i) >> 4) == 6) ? 139 uint8_t ipv4_ver; /* IP version (4) */ 144 uint8_t ipv4_flags; /* IP flags */ 146 uint8_t ipv4_ttl; /* time to live */ 187 uint8_t ipv6_ver; /* IP version (6) */ [all …]
|
| /xnu-11215/libkern/libkern/crypto/ |
| H A D | aesxts.h | 57 const uint8_t *IV, // ignored 58 const uint8_t *key1, int keylen, 59 const uint8_t *key2, int tweaklen, // both keys are the same size for xts 64 int xts_encrypt(const uint8_t *pt, unsigned long ptlen, 65 uint8_t *ct, 66 …const uint8_t *tweak, // this can be considered the sector IV for this… 69 int xts_decrypt(const uint8_t *ct, unsigned long ptlen, 70 uint8_t *pt, 71 …const uint8_t *tweak, // this can be considered the sector IV for this…
|
| /xnu-11215/bsd/vfs/ |
| H A D | vfs_unicode.c | 132 uint8_t bufcc[kNCFStreamSafeBufMax]; in utf8_normalizeOptCaseFoldAndHash() 337 uint8_t bufcc[kNCFStreamSafeBufMax]; in utf8_normalizeOptCaseFold() 393 uint8_t bufcc[kNCFStreamSafeBufMax]; in utf8_normalizeOptCaseFoldToUTF8_internal() 743 uint8_t bufccval = bufcc[jdx]; in swapBufCharCCWithPrevious() 761 utf8Bytes[idx++] = (uint8_t)u32char; in u32CharToUTF8Bytes() 781 ((uint8_t)(leadByte)<0XF0 ? \ 782 ((uint8_t)(leadByte)>=0XC0)+((uint8_t)(leadByte)>=0XE0) : \ 783 (uint8_t)(leadByte)<0XFE ? 3+((uint8_t)(leadByte)>=0XF8)+((uint8_t)(leadByte)>=0XFC) : 0) 821 uint8_t pt1, pt2; in utf8ToU32Code() 835 uint8_t trail; in utf8ToU32Code() [all …]
|
| /xnu-11215/bsd/sys/ |
| H A D | trust_caches.h | 106 const uint8_t check_uuid[kUUIDSize]); 118 const uint8_t *img4_object, const size_t img4_object_len, 119 const uint8_t *img4_ext_manifest, const size_t img4_ext_manifest_len); 134 const uint8_t *img4_object, const size_t img4_object_len, 135 const uint8_t *img4_ext_manifest, const size_t img4_ext_manifest_len, 136 const uint8_t *img4_aux_manifest, const size_t img4_aux_manifest_len); 145 const uint8_t *module_data, const size_t module_size); 156 const uint8_t cdhash[kTCEntryHashSize], 168 const uint8_t cdhash[kTCEntryHashSize], 169 uint8_t *rem_perms);
|
| /xnu-11215/libkern/os/ |
| H A D | log_encode_types.h | 43 OS_ENUM(os_log_fmt_hdr_flags, uint8_t, 48 OS_ENUM(os_log_fmt_cmd_type, uint8_t, 59 OS_ENUM(os_log_fmt_cmd_flags, uint8_t, 94 uint8_t hdr_cmd_cnt; 95 uint8_t hdr_data[]; 101 uint8_t cmd_size; 102 uint8_t cmd_data[]; 115 uint8_t *ctx_buffer; 123 uint8_t ctx_truncated : 1; 124 uint8_t ctx_allocated : 1;
|