Home
last modified time | relevance | path

Searched refs:hdr_len (Results 1 – 10 of 10) 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.c239 u_int hdr_len; in fr_print() local
248 hdr_len = fr_hdrlen(p, addr_len); in fr_print()
249 TCHECK2(*p,hdr_len); in fr_print()
266 return hdr_len; in fr_print()
275 nlpid = p[hdr_len - 1]; in fr_print()
279 p += hdr_len; in fr_print()
280 length -= hdr_len; in fr_print()
302 fr_hdr_print(length + hdr_len, hdr_len, in fr_print()
305 default_print(p - hdr_len, length + hdr_len); in fr_print()
323 fr_hdr_print(length + hdr_len, addr_len, in fr_print()
[all …]
Dprint-token.c107 u_int route_len = 0, hdr_len = TOKEN_HDRLEN; in token_print() local
114 return hdr_len; in token_print()
132 return hdr_len; in token_print()
135 hdr_len += route_len; in token_print()
136 if (caplen < hdr_len) { in token_print()
138 return hdr_len; in token_print()
160 length -= hdr_len; in token_print()
161 p += hdr_len; in token_print()
162 caplen -= hdr_len; in token_print()
190 return (hdr_len); in token_print()
Dprint-ppp.c1401 u_int hdr_len = 0; in ppp_print() local
1417 hdr_len += 2; in ppp_print()
1423 hdr_len += 2; in ppp_print()
1428 hdr_len += 2; in ppp_print()
1442 hdr_len++; in ppp_print()
1448 hdr_len += 2; in ppp_print()
1458 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/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/kernel-headers/original/uapi/linux/
Dvirtio_net.h87 __u16 hdr_len; /* Ethernet + IP + tcp/udp hdrs */ member
/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