Searched defs:hdr_len (Results 1 - 13 of 13) 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.c107 u_int route_len = 0, hdr_len = TOKEN_HDRLEN; local
114 return hdr_len;
132 return hdr_len;
135 hdr_len += route_len;
136 if (caplen < hdr_len) {
138 return hdr_len;
160 length -= hdr_len;
161 p += hdr_len;
162 caplen -= hdr_len;
190 return (hdr_len);
[all...]
H A Dprint-fr.c239 u_int hdr_len; local
248 hdr_len = fr_hdrlen(p, addr_len);
249 TCHECK2(*p,hdr_len);
266 return hdr_len;
275 nlpid = p[hdr_len - 1];
279 p += hdr_len;
280 length -= hdr_len;
302 fr_hdr_print(length + hdr_len, hdr_len,
305 default_print(p - hdr_len, lengt
401 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.c521 UINT8 hdr_len; local
550 hdr_len = avct_lcb_pkt_type_len[pkt_type];
553 if (p_data->ul_msg.p_buf->len > (p_lcb->peer_mtu - hdr_len))
565 p_buf->offset = L2CAP_MIN_OFFSET + hdr_len;
566 p_buf->len = p_lcb->peer_mtu - hdr_len;
582 p_buf->len += hdr_len;
583 p_buf->offset -= hdr_len;
/external/bluetooth/bluedroid/stack/avdt/
H A Davdt_msg.c1200 UINT8 hdr_len; local
1233 hdr_len = AVDT_LEN_TYPE_SINGLE;
1241 hdr_len = AVDT_LEN_TYPE_START;
1254 p_buf->offset = L2CAP_MIN_OFFSET + hdr_len;
1255 p_buf->len = p_tbl->peer_mtu - hdr_len;
1264 hdr_len = AVDT_LEN_TYPE_CONT;
1275 p_buf->offset = L2CAP_MIN_OFFSET + hdr_len;
1276 p_buf->len = p_tbl->peer_mtu - hdr_len;
1284 hdr_len = AVDT_LEN_TYPE_END;
1324 p_buf->len += hdr_len;
[all...]
/external/bluetooth/bluedroid/stack/bnep/
H A Dbnep_utils.c38 static UINT8 *bnepu_init_hdr (BT_HDR *p_buf, UINT16 hdr_len, UINT8 pkt_type);
548 static UINT8 *bnepu_init_hdr (BT_HDR *p_buf, UINT16 hdr_len, UINT8 pkt_type) argument
553 if (p_buf->offset < (hdr_len + L2CAP_MIN_OFFSET))
564 p_buf->len += hdr_len;
565 p_buf->offset -= hdr_len;
566 p -= hdr_len;
/external/kernel-headers/original/uapi/linux/
H A Dvirtio_net.h87 __u16 hdr_len; /* Ethernet + IP + tcp/udp hdrs */ member in struct:virtio_net_hdr
88 __u16 gso_size; /* Bytes to append to hdr_len per frame */
/external/chromium_org/third_party/boringssl/src/crypto/x509/
H A Dasn1_gen.c151 long hdr_len; local
193 r = ASN1_get_object(&cpy_start, &hdr_len, &hdr_tag, &hdr_class, cpy_len);
206 hdr_len = 0;
214 len = ASN1_object_size(0, hdr_len, asn1_tags.imp_tag);
258 ASN1_put_object(&p, hdr_constructed, 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,

Completed in 1196 milliseconds