Searched defs:hdr_len (Results 1 - 19 of 19) sorted by relevance

/external/wpa_supplicant_8/hostapd/src/crypto/
H A Daes-eax.c22 * @hdr_len: Length of the header data bytes
29 const u8 *hdr, size_t hdr_len,
42 if (hdr_len > buf_len)
43 buf_len = hdr_len;
58 os_memcpy(buf + 16, hdr, hdr_len);
59 if (omac1_aes_128(key, buf, 16 + hdr_len, hdr_mac))
86 * @hdr_len: Length of the header data bytes
93 const u8 *hdr, size_t hdr_len,
106 if (hdr_len > buf_len)
107 buf_len = hdr_len;
28 aes_128_eax_encrypt(const u8 *key, const u8 *nonce, size_t nonce_len, const u8 *hdr, size_t hdr_len, u8 *data, size_t data_len, u8 *tag) argument
92 aes_128_eax_decrypt(const u8 *key, const u8 *nonce, size_t nonce_len, const u8 *hdr, size_t hdr_len, u8 *data, size_t data_len, const u8 *tag) argument
[all...]
/external/wpa_supplicant_8/src/crypto/
H A Daes-eax.c22 * @hdr_len: Length of the header data bytes
29 const u8 *hdr, size_t hdr_len,
42 if (hdr_len > buf_len)
43 buf_len = hdr_len;
58 os_memcpy(buf + 16, hdr, hdr_len);
59 if (omac1_aes_128(key, buf, 16 + hdr_len, hdr_mac))
86 * @hdr_len: Length of the header data bytes
93 const u8 *hdr, size_t hdr_len,
106 if (hdr_len > buf_len)
107 buf_len = hdr_len;
28 aes_128_eax_encrypt(const u8 *key, const u8 *nonce, size_t nonce_len, const u8 *hdr, size_t hdr_len, u8 *data, size_t data_len, u8 *tag) argument
92 aes_128_eax_decrypt(const u8 *key, const u8 *nonce, size_t nonce_len, const u8 *hdr, size_t hdr_len, u8 *data, size_t data_len, const u8 *tag) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Daes-eax.c22 * @hdr_len: Length of the header data bytes
29 const u8 *hdr, size_t hdr_len,
42 if (hdr_len > buf_len)
43 buf_len = hdr_len;
58 os_memcpy(buf + 16, hdr, hdr_len);
59 if (omac1_aes_128(key, buf, 16 + hdr_len, hdr_mac))
86 * @hdr_len: Length of the header data bytes
93 const u8 *hdr, size_t hdr_len,
106 if (hdr_len > buf_len)
107 buf_len = hdr_len;
28 aes_128_eax_encrypt(const u8 *key, const u8 *nonce, size_t nonce_len, const u8 *hdr, size_t hdr_len, u8 *data, size_t data_len, u8 *tag) argument
92 aes_128_eax_decrypt(const u8 *key, const u8 *nonce, size_t nonce_len, const u8 *hdr, size_t hdr_len, u8 *data, size_t data_len, const u8 *tag) argument
[all...]
/external/tcpdump/
H A Dprint-token.c106 u_int route_len = 0, hdr_len = TOKEN_HDRLEN; local
113 return hdr_len;
150 hdr_len += route_len;
151 length -= hdr_len;
152 p += hdr_len;
153 caplen -= hdr_len;
181 return (hdr_len);
H A Dprint-fr.c228 u_int hdr_len; local
237 hdr_len = fr_hdrlen(p, addr_len);
238 TCHECK2(*p,hdr_len);
256 return hdr_len;
265 nlpid = p[hdr_len - 1];
269 p += hdr_len;
270 length -= hdr_len;
292 fr_hdr_print(length + hdr_len, hdr_len,
295 default_print(p - hdr_len, lengt
391 u_int tlen,idx,hdr_len = 0; local
[all...]
H A Dprint-ppp.c1401 u_int hdr_len = 0; local
1417 hdr_len += 2;
1423 hdr_len += 2;
1428 hdr_len += 2;
1442 hdr_len++;
1448 hdr_len += 2;
1458 return (hdr_len);
/external/iproute2/tc/
H A Dq_atm.c59 int hdr_len = -1; local
131 hdr_len = ptr-hdr;
184 if (hdr_len != -1) addattr_l(n,1024,TCA_ATM_HDR,hdr,hdr_len);
/external/bluetooth/bluedroid/stack/avct/
H A Davct_lcb_act.c510 UINT8 hdr_len; local
539 hdr_len = avct_lcb_pkt_type_len[pkt_type];
542 if (p_data->ul_msg.p_buf->len > (p_lcb->peer_mtu - hdr_len))
554 p_buf->offset = L2CAP_MIN_OFFSET + hdr_len;
555 p_buf->len = p_lcb->peer_mtu - hdr_len;
571 p_buf->len += hdr_len;
572 p_buf->offset -= hdr_len;
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/
H A Daes_wrap.c339 * @hdr_len: Length of the header data bytes
346 const u8 *hdr, size_t hdr_len,
358 if (hdr_len > buf_len)
359 buf_len = hdr_len;
374 os_memcpy(buf + 16, hdr, hdr_len);
375 if (omac1_aes_128(key, buf, 16 + hdr_len, hdr_mac))
402 * @hdr_len: Length of the header data bytes
409 const u8 *hdr, size_t hdr_len,
421 if (hdr_len > buf_len)
422 buf_len = hdr_len;
345 aes_128_eax_encrypt(const u8 *key, const u8 *nonce, size_t nonce_len, const u8 *hdr, size_t hdr_len, u8 *data, size_t data_len, u8 *tag) argument
408 aes_128_eax_decrypt(const u8 *key, const u8 *nonce, size_t nonce_len, const u8 *hdr, size_t hdr_len, u8 *data, size_t data_len, const u8 *tag) argument
[all...]
/external/bluetooth/bluedroid/stack/avdt/
H A Davdt_msg.c1190 UINT8 hdr_len; local
1223 hdr_len = AVDT_LEN_TYPE_SINGLE;
1231 hdr_len = AVDT_LEN_TYPE_START;
1244 p_buf->offset = L2CAP_MIN_OFFSET + hdr_len;
1245 p_buf->len = p_tbl->peer_mtu - hdr_len;
1254 hdr_len = AVDT_LEN_TYPE_CONT;
1265 p_buf->offset = L2CAP_MIN_OFFSET + hdr_len;
1266 p_buf->len = p_tbl->peer_mtu - hdr_len;
1274 hdr_len = AVDT_LEN_TYPE_END;
1314 p_buf->len += hdr_len;
[all...]
/external/bluetooth/bluedroid/stack/bnep/
H A Dbnep_utils.c37 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) argument
552 if (p_buf->offset < (hdr_len + L2CAP_MIN_OFFSET))
563 p_buf->len += hdr_len;
564 p_buf->offset -= hdr_len;
565 p -= hdr_len;
/external/openssl/crypto/asn1/
H A Dasn1_gen.c148 long hdr_len; local
190 r = ASN1_get_object(&cpy_start, &hdr_len, &hdr_tag, &hdr_class, cpy_len);
203 hdr_len = 0;
211 len = ASN1_object_size(0, hdr_len, asn1_tags.imp_tag);
255 ASN1_put_object(&p, hdr_constructed, hdr_len,
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dgas_serv.c1136 size_t hdr_len; local
1140 hdr_len = (const u8 *) &mgmt->u.action.u.vs_public_action.action - buf;
1141 if (hdr_len > len)
1146 len -= hdr_len;
/external/wpa_supplicant_8/src/ap/
H A Dgas_serv.c1136 size_t hdr_len; local
1140 hdr_len = (const u8 *) &mgmt->u.action.u.vs_public_action.action - buf;
1141 if (hdr_len > len)
1146 len -= hdr_len;
/external/wpa_supplicant_8/wpa_supplicant/
H A Dap.c319 size_t hdr_len; local
322 hdr_len = (const u8 *) &mgmt->u.action.u.vs_public_action.action - buf;
323 if (hdr_len > len)
328 len - hdr_len, freq);
371 size_t hdr_len; local
374 hdr_len = (const u8 *) &mgmt->u.action.u.vs_public_action.action - buf;
375 if (hdr_len > len)
380 len - hdr_len, freq);
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dgas_serv.c1136 size_t hdr_len; local
1140 hdr_len = (const u8 *) &mgmt->u.action.u.vs_public_action.action - buf;
1141 if (hdr_len > len)
1146 len -= hdr_len;
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_test.c1978 size_t hdr_len; local
1979 hdr_len = (const u8 *)
1984 data_len - hdr_len, freq);
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_test.c1978 size_t hdr_len; local
1979 hdr_len = (const u8 *)
1984 data_len - hdr_len, freq);
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_test.c1978 size_t hdr_len; local
1979 hdr_len = (const u8 *)
1984 data_len - hdr_len, freq);

Completed in 491 milliseconds