/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 | 33 const u8 *hdr, size_t hdr_len, 37 const u8 *hdr, size_t hdr_len,
|
/external/tcpdump/ |
D | print-fr.c | 228 u_int hdr_len; in fr_print() local 237 hdr_len = fr_hdrlen(p, addr_len); in fr_print() 238 TCHECK2(*p,hdr_len); in fr_print() 256 return hdr_len; in fr_print() 265 nlpid = p[hdr_len - 1]; in fr_print() 269 p += hdr_len; in fr_print() 270 length -= hdr_len; in fr_print() 292 fr_hdr_print(length + hdr_len, hdr_len, in fr_print() 295 default_print(p - hdr_len, length + hdr_len); in fr_print() 313 fr_hdr_print(length + hdr_len, addr_len, in fr_print() [all …]
|
D | print-token.c | 106 u_int route_len = 0, hdr_len = TOKEN_HDRLEN; in token_print() local 113 return hdr_len; in token_print() 150 hdr_len += route_len; in token_print() 151 length -= hdr_len; in token_print() 152 p += hdr_len; in token_print() 153 caplen -= hdr_len; in token_print() 181 return (hdr_len); in token_print()
|
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 | 510 UINT8 hdr_len; in avct_lcb_send_msg() local 539 hdr_len = avct_lcb_pkt_type_len[pkt_type]; in avct_lcb_send_msg() 542 if (p_data->ul_msg.p_buf->len > (p_lcb->peer_mtu - hdr_len)) in avct_lcb_send_msg() 554 p_buf->offset = L2CAP_MIN_OFFSET + hdr_len; in avct_lcb_send_msg() 555 p_buf->len = p_lcb->peer_mtu - hdr_len; in avct_lcb_send_msg() 571 p_buf->len += hdr_len; in avct_lcb_send_msg() 572 p_buf->offset -= hdr_len; in avct_lcb_send_msg()
|
/external/bluetooth/bluedroid/stack/avdt/ |
D | avdt_msg.c | 1190 UINT8 hdr_len; in avdt_msg_send() local 1223 hdr_len = AVDT_LEN_TYPE_SINGLE; in avdt_msg_send() 1231 hdr_len = AVDT_LEN_TYPE_START; in avdt_msg_send() 1244 p_buf->offset = L2CAP_MIN_OFFSET + hdr_len; in avdt_msg_send() 1245 p_buf->len = p_tbl->peer_mtu - hdr_len; in avdt_msg_send() 1254 hdr_len = AVDT_LEN_TYPE_CONT; in avdt_msg_send() 1265 p_buf->offset = L2CAP_MIN_OFFSET + hdr_len; in avdt_msg_send() 1266 p_buf->len = p_tbl->peer_mtu - hdr_len; in avdt_msg_send() 1274 hdr_len = AVDT_LEN_TYPE_END; in avdt_msg_send() 1314 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/wpa_supplicant_8/wpa_supplicant/ |
D | ap.c | 322 size_t hdr_len; in ap_public_action_rx() local 325 hdr_len = (const u8 *) &mgmt->u.action.u.vs_public_action.action - buf; in ap_public_action_rx() 326 if (hdr_len > len) in ap_public_action_rx() 331 len - hdr_len, freq); in ap_public_action_rx() 374 size_t hdr_len; in ap_vendor_action_rx() local 377 hdr_len = (const u8 *) &mgmt->u.action.u.vs_public_action.action - buf; in ap_vendor_action_rx() 378 if (hdr_len > len) in ap_vendor_action_rx() 383 len - hdr_len, freq); in ap_vendor_action_rx()
|
/external/bluetooth/bluedroid/stack/bnep/ |
D | bnep_utils.c | 37 static UINT8 *bnepu_init_hdr (BT_HDR *p_buf, UINT16 hdr_len, UINT8 pkt_type); 547 static UINT8 *bnepu_init_hdr (BT_HDR *p_buf, UINT16 hdr_len, UINT8 pkt_type) in bnepu_init_hdr() argument 552 if (p_buf->offset < (hdr_len + L2CAP_MIN_OFFSET)) in bnepu_init_hdr() 563 p_buf->len += hdr_len; in bnepu_init_hdr() 564 p_buf->offset -= hdr_len; in bnepu_init_hdr() 565 p -= hdr_len; in bnepu_init_hdr()
|
/external/wpa_supplicant_8/src/ap/ |
D | gas_serv.c | 1136 size_t hdr_len; in gas_serv_rx_public_action() local 1140 hdr_len = (const u8 *) &mgmt->u.action.u.vs_public_action.action - buf; in gas_serv_rx_public_action() 1141 if (hdr_len > len) in gas_serv_rx_public_action() 1146 len -= hdr_len; in gas_serv_rx_public_action()
|
/external/bluetooth/bluedroid/bta/jv/ |
D | bta_jv_api.c | 722 UINT32 hdr_len; in BTA_JvGetServicesResult() 749 hdr_len = np - op; in BTA_JvGetServicesResult() 750 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
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_test.c | 1966 size_t hdr_len; in wpa_driver_test_mlme() local 1967 hdr_len = (const u8 *) in wpa_driver_test_mlme() 1972 data_len - hdr_len, freq); in wpa_driver_test_mlme()
|