Home
last modified time | relevance | path

Searched refs:hdr_len (Results 1 – 12 of 12) sorted by relevance

/external/wpa_supplicant_8/src/crypto/
Daes-eax.c29 const u8 *hdr, size_t hdr_len, in aes_128_eax_encrypt() argument
42 if (hdr_len > buf_len) in aes_128_eax_encrypt()
43 buf_len = hdr_len; in aes_128_eax_encrypt()
58 os_memcpy(buf + 16, hdr, hdr_len); in aes_128_eax_encrypt()
59 if (omac1_aes_128(key, buf, 16 + hdr_len, hdr_mac)) in aes_128_eax_encrypt()
93 const u8 *hdr, size_t hdr_len, in aes_128_eax_decrypt() argument
106 if (hdr_len > buf_len) in aes_128_eax_decrypt()
107 buf_len = hdr_len; in aes_128_eax_decrypt()
124 os_memcpy(buf + 16, hdr, hdr_len); in aes_128_eax_decrypt()
125 if (omac1_aes_128(key, buf, 16 + hdr_len, hdr_mac)) { in aes_128_eax_decrypt()
Daes_wrap.h40 const u8 *hdr, size_t hdr_len,
44 const u8 *hdr, size_t hdr_len,
/external/tcpdump/
Dprint-fr.c244 u_int hdr_len; in fr_print() local
297 hdr_len = addr_len + 1 /* UI */ + 1 /* pad */ + 1 /* NLPID */; in fr_print()
305 hdr_len = addr_len + 1 /* UI */ + 1 /* NLPID */; in fr_print()
308 ND_TCHECK(p[hdr_len - 1]); in fr_print()
309 if (length < hdr_len) in fr_print()
311 nlpid = p[hdr_len - 1]; in fr_print()
315 p += hdr_len; in fr_print()
316 length -= hdr_len; in fr_print()
337 fr_hdr_print(ndo, length + hdr_len, hdr_len, in fr_print()
340 ND_DEFAULTPRINT(p - hdr_len, length + hdr_len); in fr_print()
[all …]
Dprint-token.c154 u_int route_len = 0, hdr_len = TOKEN_HDRLEN; in token_print() local
161 return hdr_len; in token_print()
179 return hdr_len; in token_print()
182 hdr_len += route_len; in token_print()
183 if (caplen < hdr_len) { in token_print()
185 return hdr_len; in token_print()
207 length -= hdr_len; in token_print()
208 p += hdr_len; in token_print()
209 caplen -= hdr_len; in token_print()
237 return (hdr_len); in token_print()
Dprint-m3ua.c258 uint16_t hdr_len; in m3ua_tags_print() local
268 hdr_len = EXTRACT_16BITS(p + 2); in m3ua_tags_print()
269 if (hdr_len < sizeof(struct m3ua_param_header)) in m3ua_tags_print()
272 align = (p + hdr_len - buf) % 4; in m3ua_tags_print()
274 ND_TCHECK2(*p, hdr_len + align); in m3ua_tags_print()
275 tag_value_print(ndo, p, hdr_tag, hdr_len - sizeof(struct m3ua_param_header)); in m3ua_tags_print()
276 p += hdr_len + align; in m3ua_tags_print()
Dprint-ppp.c1499 u_int hdr_len = 0; in ppp_print() local
1515 hdr_len += 2; in ppp_print()
1521 hdr_len += 2; in ppp_print()
1526 hdr_len += 2; in ppp_print()
1540 hdr_len++; in ppp_print()
1546 hdr_len += 2; in ppp_print()
1556 return (hdr_len); in ppp_print()
/external/iproute2/tc/
Dq_atm.c59 int hdr_len = -1; in atm_parse_class_opt() local
131 hdr_len = ptr-hdr; in atm_parse_class_opt()
184 if (hdr_len != -1) addattr_l(n,1024,TCA_ATM_HDR,hdr,hdr_len); in atm_parse_class_opt()
/external/kernel-headers/original/uapi/linux/
Dvirtio_net.h95 __virtio16 hdr_len; /* Ethernet + IP + tcp/udp hdrs */ member
112 __virtio16 hdr_len; /* Ethernet + IP + tcp/udp hdrs */ member
/external/libbrillo/brillo/http/
Dhttp_connection_curl.cc242 size_t hdr_len = size * num; in header_callback() local
243 std::string header(ptr, hdr_len); in header_callback()
263 return hdr_len; in header_callback()
/external/boringssl/src/crypto/x509/
Dasn1_gen.c159 long hdr_len; in ASN1_generate_v3() local
201 r = ASN1_get_object(&cpy_start, &hdr_len, &hdr_tag, &hdr_class, cpy_len); in ASN1_generate_v3()
214 hdr_len = 0; in ASN1_generate_v3()
222 len = ASN1_object_size(0, hdr_len, asn1_tags.imp_tag); in ASN1_generate_v3()
266 ASN1_put_object(&p, hdr_constructed, hdr_len, in ASN1_generate_v3()
/external/fio/
Dverify.c704 unsigned int hdr_num, unsigned int hdr_len) in verify_header() argument
714 if (hdr->len != hdr_len) { in verify_header()
716 hdr->len, hdr_len); in verify_header()
737 io_u->offset + hdr_num * hdr_len, hdr_len); in verify_header()
/external/sonivox/jet_tools/JetCreator/
Dmidifile.py1282 …riff_tag, self.hdr_len, self.format, self.num_tracks, self.timebase.ppqn = struct.unpack(SMF_HEADE…
1284 (riff_tag, self.hdr_len, self.format, self.num_tracks, self.timebase.ppqn))
1291 if self.hdr_len + 8 != struct.calcsize(SMF_HEADER_FMT):
1292 self.Warning('SMF file has unusual header size: %d bytes' % self.hdr_len)
1295 offset = start_offset + self.hdr_len + 8