/external/wpa_supplicant_8/src/crypto/ |
D | aes-eax.c | 29 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()
|
D | aes_wrap.h | 35 const u8 *hdr, size_t hdr_len, 39 const u8 *hdr, size_t hdr_len,
|
/external/tcpdump/ |
D | print-token.c | 107 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()
|
D | print-fr.c | 239 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 …]
|
D | print-ppp.c | 1401 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/ |
D | q_atm.c | 59 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/bluetooth/bluedroid/stack/avct/ |
D | avct_lcb_act.c | 521 UINT8 hdr_len; in avct_lcb_send_msg() local 550 hdr_len = avct_lcb_pkt_type_len[pkt_type]; in avct_lcb_send_msg() 553 if (p_data->ul_msg.p_buf->len > (p_lcb->peer_mtu - hdr_len)) in avct_lcb_send_msg() 565 p_buf->offset = L2CAP_MIN_OFFSET + hdr_len; in avct_lcb_send_msg() 566 p_buf->len = p_lcb->peer_mtu - hdr_len; in avct_lcb_send_msg() 582 p_buf->len += hdr_len; in avct_lcb_send_msg() 583 p_buf->offset -= hdr_len; in avct_lcb_send_msg()
|
/external/bluetooth/bluedroid/stack/avdt/ |
D | avdt_msg.c | 1200 UINT8 hdr_len; in avdt_msg_send() local 1233 hdr_len = AVDT_LEN_TYPE_SINGLE; in avdt_msg_send() 1241 hdr_len = AVDT_LEN_TYPE_START; in avdt_msg_send() 1254 p_buf->offset = L2CAP_MIN_OFFSET + hdr_len; in avdt_msg_send() 1255 p_buf->len = p_tbl->peer_mtu - hdr_len; in avdt_msg_send() 1264 hdr_len = AVDT_LEN_TYPE_CONT; in avdt_msg_send() 1275 p_buf->offset = L2CAP_MIN_OFFSET + hdr_len; in avdt_msg_send() 1276 p_buf->len = p_tbl->peer_mtu - hdr_len; in avdt_msg_send() 1284 hdr_len = AVDT_LEN_TYPE_END; in avdt_msg_send() 1324 p_buf->len += hdr_len; in avdt_msg_send() [all …]
|
/external/openssl/crypto/asn1/ |
D | asn1_gen.c | 148 long hdr_len; in ASN1_generate_v3() local 190 r = ASN1_get_object(&cpy_start, &hdr_len, &hdr_tag, &hdr_class, cpy_len); in ASN1_generate_v3() 203 hdr_len = 0; in ASN1_generate_v3() 211 len = ASN1_object_size(0, hdr_len, asn1_tags.imp_tag); in ASN1_generate_v3() 255 ASN1_put_object(&p, hdr_constructed, hdr_len, in ASN1_generate_v3()
|
/external/chromium_org/third_party/boringssl/src/crypto/x509/ |
D | asn1_gen.c | 151 long hdr_len; in ASN1_generate_v3() local 193 r = ASN1_get_object(&cpy_start, &hdr_len, &hdr_tag, &hdr_class, cpy_len); in ASN1_generate_v3() 206 hdr_len = 0; in ASN1_generate_v3() 214 len = ASN1_object_size(0, hdr_len, asn1_tags.imp_tag); in ASN1_generate_v3() 258 ASN1_put_object(&p, hdr_constructed, hdr_len, in ASN1_generate_v3()
|
/external/kernel-headers/original/uapi/linux/ |
D | virtio_net.h | 87 __u16 hdr_len; /* Ethernet + IP + tcp/udp hdrs */ member
|
/external/bluetooth/bluedroid/stack/bnep/ |
D | bnep_utils.c | 38 static UINT8 *bnepu_init_hdr (BT_HDR *p_buf, UINT16 hdr_len, UINT8 pkt_type); 554 static UINT8 *bnepu_init_hdr (BT_HDR *p_buf, UINT16 hdr_len, UINT8 pkt_type) in bnepu_init_hdr() argument 559 if (p_buf->offset < (hdr_len + L2CAP_MIN_OFFSET)) in bnepu_init_hdr() 570 p_buf->len += hdr_len; in bnepu_init_hdr() 571 p_buf->offset -= hdr_len; in bnepu_init_hdr() 572 p -= hdr_len; in bnepu_init_hdr()
|
/external/bluetooth/bluedroid/bta/jv/ |
D | bta_jv_api.c | 725 UINT32 hdr_len; in BTA_JvGetServicesResult() 752 hdr_len = np - op; in BTA_JvGetServicesResult() 753 memcpy(TLVs[num_services++], op, len+hdr_len); in BTA_JvGetServicesResult()
|
/external/sonivox/jet_tools/JetCreator/ |
D | midifile.py | 1282 …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
|