Home
last modified time | relevance | path

Searched refs:uint8_t (Results 1 – 25 of 784) sorted by relevance

12345678910>>...32

/xnu-11215.61.5/EXTERNAL_HEADERS/corecrypto/
H A Dccder.h144 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);
170 uint8_t *ccder_encode_implicit_integer(ccder_tag implicit_tag, cc_size n, const cc_unit *s, const u…
173 uint8_t *ccder_encode_integer(cc_size n, const cc_unit *s, const uint8_t *der, uint8_t *der_end);
176 uint8_t *ccder_encode_implicit_uint64(ccder_tag implicit_tag, uint64_t value, const uint8_t *der, u…
179 uint8_t *ccder_encode_uint64(uint64_t value, const uint8_t *der, uint8_t *der_end);
[all …]
H A Dccrsa.h181 size_t e_nbytes, const uint8_t *cc_counted_by(e_nbytes) e_bytes,
182 size_t p_nbytes, const uint8_t *cc_counted_by(p_nbytes) p_bytes,
183 size_t q_nbytes, const uint8_t *cc_counted_by(q_nbytes) q_bytes);
204 size_t m_nbytes, const uint8_t *cc_counted_by(m_nbytes) m_bytes,
205 size_t e_nbytes, const uint8_t *cc_counted_by(e_nbytes) e_bytes,
206 size_t d_nbytes, const uint8_t *cc_counted_by(d_nbytes) d_bytes,
226 size_t exp_nbytes, const uint8_t *cc_counted_by(exp_nbytes) exp,
227 size_t mod_nbytes, const uint8_t *cc_counted_by(mod_nbytes) mod);
285 size_t e_nbytes, const uint8_t *cc_sized_by(e_nbytes) e,
286 … size_t entropy_nbytes, const uint8_t *cc_sized_by(entropy_nbytes) entropy,
[all …]
H A Dcc_priv.h98 CC_INLINE void cc_store64_be(uint64_t x, uint8_t cc_sized_by(8) * y)
106 CC_INLINE uint64_t cc_load64_be(const uint8_t cc_sized_by(8) * y)
116 CC_INLINE void cc_store64_be(uint64_t x, uint8_t cc_sized_by(8) * y)
118 y[0] = (uint8_t)(x >> 56);
119 y[1] = (uint8_t)(x >> 48);
120 y[2] = (uint8_t)(x >> 40);
121 y[3] = (uint8_t)(x >> 32);
122 y[4] = (uint8_t)(x >> 24);
123 y[5] = (uint8_t)(x >> 16);
124 y[6] = (uint8_t)(x >> 8);
[all …]
H A Dccchacha20poly1305.h26 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…
270uint8_t *cc_counted_by(CCCHACHA20POLY1305_KEY_NBYTES) key, const uint8_t *cc_counted_by(CCCHACHA20…
[all …]
H A Dccmode_siv.h92 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 Dccmode_siv_hmac.h81 …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.61.5/bsd/netinet/
H A Dmptcp.h72 uint8_t mmco_kind;
73 uint8_t mmco_len;
75 uint8_t mmco_version:4,
78 uint8_t mmco_subtype:4,
89 uint8_t mmco_flags;
117 uint8_t mmjo_kind;
118 uint8_t mmjo_len;
120 uint8_t mmjo_subtype_bkp;
121 uint8_t mmjo_addr_id;
128 uint8_t mmjo_kind;
[all …]
/xnu-11215.61.5/bsd/net/
H A Dbridgestp.h233 uint8_t cbu_dsap; /* LLC: destination sap */
234 uint8_t cbu_ssap; /* LLC: source sap */
235 uint8_t cbu_ctl; /* LLC: control */
237 uint8_t cbu_protover; /* protocol version */
238 uint8_t cbu_bpdutype; /* message type */
239 uint8_t cbu_flags; /* flags (below) */
243 uint8_t cbu_rootaddr[6]; /* root address */
249 uint8_t cbu_bridgeaddr[6]; /* bridge address */
256 uint8_t cbu_versionlen; /* version 1 length */
263 uint8_t tbu_dsap; /* LLC: destination sap */
[all …]
H A Dif_var_status.h235 enum ifnet_interface_advisory_version : uint8_t {
254 enum ifnet_interface_advisory_direction : uint8_t {
259 enum ifnet_interface_advisory_interface_type : uint8_t {
272 enum ifnet_interface_advisory_notification_type_cell : uint8_t {
292 enum ifnet_interface_advisory_notification_type_wifi : uint8_t {
371 enum ifnet_interface_advisory_wifi_freq_band : uint8_t {
390 uint8_t intermittent_state;
404 uint8_t bt_coex;
408 uint8_t quality_score_delay;
412 uint8_t quality_score_loss;
[all …]
H A Dif_bridgevar.h168 uint8_t ifbr_portno; /* member if port number */
169 uint8_t ifbr_priority; /* member if STP priority */
170 uint8_t ifbr_proto; /* member if STP protocol */
171 uint8_t ifbr_role; /* member if STP role */
172 uint8_t ifbr_state; /* member if STP state */
176 uint8_t pad[32];
274 uint8_t ifba_flags; /* address flags */
275 uint8_t ifba_dst[ETHER_ADDR_LEN];/* destination address */
284 uint8_t ifba_flags; /* address flags */
285 uint8_t ifba_dst[ETHER_ADDR_LEN];/* destination address */
[all …]
H A Dpktap.h100 uint8_t pth_ipproto;
107 uint8_t pth_pad2;
133 uint8_t llhdr[16];
147 uint8_t pth_length; /* length of this header */
148 uint8_t pth_uuid_offset; /* max size: sizeof(uuid_t) */
149 uint8_t pth_e_uuid_offset; /* max size: sizeof(uuid_t) */
150 uint8_t pth_ifname_offset; /* max size: PKTAP_IFXNAMESIZE*/
151 uint8_t pth_comm_offset; /* max size: PKTAP_MAX_COMM_SIZE */
152 uint8_t pth_e_comm_offset; /* max size: PKTAP_MAX_COMM_SIZE */
168 uint8_t pth_uuid[sizeof(uuid_t)];
[all …]
H A Dnat464_utils.h89 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.61.5/osfmk/vm/
H A Dlz4.c38 lz4raw_decode_buffer(uint8_t * __restrict dst_buffer, size_t dst_size, in lz4raw_decode_buffer()
39 const uint8_t * __restrict src_buffer, size_t src_size, in lz4raw_decode_buffer()
42 const uint8_t * src = src_buffer; in lz4raw_decode_buffer()
43 uint8_t * dst = dst_buffer; in lz4raw_decode_buffer()
89 lz4_fill16(uint8_t * ptr) in lz4_fill16()
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()
[all …]
H A Dlz4.h59 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);
78 size_t lz4raw_encode_buffer(uint8_t * __restrict dst_buffer, size_t dst_size,
79 const uint8_t * __restrict src_buffer, size_t src_size,
82 size_t lz4raw_decode_buffer(uint8_t * __restrict dst_buffer, size_t dst_size,
83 const uint8_t * __restrict src_buffer, size_t src_size,
[all …]
H A Dpmap_cs.h109 uint8_t img4_payload[0];
133 const uint8_t check_uuid[kUUIDSize]);
160 const uint8_t cdhash[kTCEntryHashSize],
171 const uint8_t cdhash[kTCEntryHashSize],
249 uint8_t profile_blob[0];
378 uint8_t first_cdhash[CS_HASH_MAX_SIZE];
379 const uint8_t *first_cd;
381 const uint8_t *cms_blob;
428 uint8_t cdhash[CS_CDHASH_LEN];
438 const uint8_t *profile;
[all …]
/xnu-11215.61.5/libkern/libkern/coretrust/
H A Dcoretrust.h46 const uint8_t *cms_data,
48 const uint8_t *detached_data,
51 const uint8_t **leaf_certificate,
56 const uint8_t **digest_data,
62 const uint8_t *cms_data,
64 const uint8_t *detached_data,
66 const uint8_t *anchor_public_key,
70 const uint8_t **digest_data,
76 const uint8_t *provisioning_profile_data,
79 const uint8_t **profile_content,
[all …]
/xnu-11215.61.5/osfmk/arm/
H A Dcpu_x86_64_capabilities.h88 /* 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;
106 /* 4C */ uint8_t cp_dtrace_dof_enabled;
107 /* 4D */ uint8_t cp_kernel_page_shift; /* _COMM_PAGE_VERSION >= 14 */
108 /* 4E */ uint8_t cp_user_page_shift; /* _COMM_PAGE_VERSION >= 14 */
[all …]
/xnu-11215.61.5/bsd/i386/
H A Dfasttrap_isa.h45 typedef uint8_t fasttrap_instr_t;
48 uint8_t ftmt_instr[FASTTRAP_MAX_INSTR_SIZE]; /* orig. instr. */
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 */
[all …]
/xnu-11215.61.5/bsd/netinet6/
H A Desp_rijndael.h71 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.61.5/san/memory/
H A Dkasan-tbi.c50 uintptr_t kasan_tbi_tag_range(uintptr_t, size_t, uint8_t);
89 static uint8_t kasan_tbi_full_tags[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14};
209 vm_size_t rightrz, uint8_t flags) in kasan_poison()
220 uint8_t tag = flags ? flags : KASAN_TBI_DEFAULT_TAG; in kasan_poison()
241 static inline uint8_t
249 kasan_tbi_tag_range(uintptr_t addr, size_t sz, uint8_t tag) in kasan_tbi_tag_range()
266 uint8_t *shadow_first = SHADOW_FOR_ADDRESS(addr); in kasan_tbi_tag_range()
267 uint8_t *shadow_last = SHADOW_FOR_ADDRESS(addr + P2ROUNDUP(sz, 16)); in kasan_tbi_tag_range()
280 uint8_t *new_shadow = SHADOW_FOR_ADDRESS(new_addr); in kasan_tbi_copy_tags()
281 uint8_t *old_shadow = SHADOW_FOR_ADDRESS(old_addr); in kasan_tbi_copy_tags()
[all …]
/xnu-11215.61.5/bsd/dev/dtrace/scripts/
H A Dip.d40 uint8_t ip_ver;
45 uint8_t protocol;
65 uint8_t ip_ver; /* IP version (4, 6) */
79 ip_ver = (ip != NULL) ? ((*(uint8_t *) ip) & 0xf0) >> 4 : 0;
81 (ntohs(ip->ip_len) - (((*(uint8_t *) ip) & 0x0f) << 2)) : 0;
101 ip_ver = (i != NULL) ? (*(uint8_t *)i >> 4) : 0;
102 ip_plength = (i != NULL) ? (((*(uint8_t *)i) >> 4 == 4) ?
104 (((*(uint8_t *)i) & 0x0f) << 2):
105 (((*(uint8_t *)i) >> 4 == 6) ?
107 ip_saddr = (i != NULL) ? ((((*(uint8_t *)i)) >> 4 == 4) ?
[all …]
/xnu-11215.61.5/libkern/libkern/crypto/
H A Daesxts.h57 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.61.5/bsd/vfs/
H A Dvfs_unicode.c31 uint8_t combClass[kNFCSingleCharDecompMax]);
34 int32_t* unorm, uint8_t* unormcc, int32_t* unormlenP, int32_t* unormstartP,
35 int32_t* buf, uint8_t* bufcc, int32_t* buflenP,
37 void doReorder(int32_t* buf, uint8_t* bufcc, int32_t buflen);
38 int32_t u32CharToUTF8Bytes(uint32_t u32char, uint8_t utf8Bytes[kMaxUTF8BytesPerChar]);
93 uint8_t unormcc[kNFCSingleCharDecompMax]; in utf8_normalizeOptCaseFoldAndHash()
132 uint8_t bufcc[kNCFStreamSafeBufMax]; in utf8_normalizeOptCaseFoldAndHash()
197uint8_t unormAcc[kNFCSingleCharDecompMaxPlusPushback], unormBcc[kNFCSingleCharDecompMaxPlusPushbac… in utf8_normalizeOptCaseFoldAndCompare()
216 uint8_t bufAcc[kNCFStreamSafeBufMax], bufBcc[kNCFStreamSafeBufMax]; in utf8_normalizeOptCaseFoldAndCompare()
327 uint8_t unormcc[kNFCSingleCharDecompMax]; in utf8_normalizeOptCaseFold()
[all …]
/xnu-11215.61.5/bsd/sys/
H A Dtrust_caches.h106 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.61.5/libkern/os/
H A Dlog_encode_types.h43 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;

12345678910>>...32