/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | aes-eax.c | 22 * @hdr_len: Length of the header data bytes 29 const u8 *hdr, size_t hdr_len, in aes_128_eax_encrypt() 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() 86 * @hdr_len: Length of the header data bytes 93 const u8 *hdr, size_t hdr_len, in aes_128_eax_decrypt() 106 if (hdr_len > buf_len) in aes_128_eax_decrypt() 107 buf_len = hdr_len; in aes_128_eax_decrypt() 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) aes_128_eax_encrypt() 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) aes_128_eax_decrypt() argument [all...] |
H A D | aes_wrap.h | 42 const u8 *hdr, size_t hdr_len, 46 const u8 *hdr, size_t hdr_len,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | aes-eax.c | 22 * @hdr_len: Length of the header data bytes 29 const u8 *hdr, size_t hdr_len, in aes_128_eax_encrypt() 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() 86 * @hdr_len: Length of the header data bytes 93 const u8 *hdr, size_t hdr_len, in aes_128_eax_decrypt() 106 if (hdr_len > buf_len) in aes_128_eax_decrypt() 107 buf_len = hdr_len; in aes_128_eax_decrypt() 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) aes_128_eax_encrypt() 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) aes_128_eax_decrypt() argument [all...] |
H A D | aes_wrap.h | 42 const u8 *hdr, size_t hdr_len, 46 const u8 *hdr, size_t hdr_len,
|
/third_party/lwip/src/apps/http/makefsdata/ |
H A D | makefsdata.c | 655 u16_t hdr_len, u16_t hdr_chksum, const u8_t *file_data, size_t file_size) in write_checksums() 669 if (hdr_len > 0) { in write_checksums() 671 fprintf(struct_file, "{%d, 0x%04x, %d}," NEWLINE, 0, hdr_chksum, hdr_len); in write_checksums() 675 for (offset = hdr_len; ; offset += len) { in write_checksums() 1032 size_t hdr_len = 0; in file_write_http_header() local 1067 memcpy(&hdr_buf[hdr_len], cur_string, cur_len); in file_write_http_header() 1068 hdr_len += cur_len; in file_write_http_header() 1077 memcpy(&hdr_buf[hdr_len], cur_string, cur_len); in file_write_http_header() 1078 hdr_len += cur_len; in file_write_http_header() 1117 memcpy(&hdr_buf[hdr_len], cur_strin in file_write_http_header() 654 write_checksums(FILE *struct_file, const char *varname, u16_t hdr_len, u16_t hdr_chksum, const u8_t *file_data, size_t file_size) write_checksums() argument [all...] |
/third_party/libcoap/src/ |
H A D | coap_ws.c | 207 ssize_t hdr_len = 2; in coap_ws_write() local 234 hdr_len += 2; in coap_ws_write() 245 hdr_len += 8; in coap_ws_write() 251 coap_prng(&ws_header[hdr_len], 4); in coap_ws_write() 252 memcpy(session->ws->mask_key, &ws_header[hdr_len], 4); in coap_ws_write() 253 hdr_len += 4; in coap_ws_write() 256 ret = session->sock.lfunc[COAP_LAYER_WS].l_write(session, ws_header, hdr_len); in coap_ws_write() 257 if (ret != hdr_len) { in coap_ws_write() 865 size_t hdr_len = 2; in coap_ws_close() local 874 coap_prng(&ws_header[hdr_len], in coap_ws_close() [all...] |
/third_party/libwebsockets/lib/roles/h2/ |
H A D | hpack.c | 360 uint32_t *hdr_len) in lws_token_from_index() 382 if (hdr_len) in lws_token_from_index() 383 *hdr_len = static_hdr_len[index]; in lws_token_from_index() 414 if (hdr_len) in lws_token_from_index() 415 *hdr_len = dyn->entries[index].hdr_len; in lws_token_from_index() 450 dyn->entries[m].hdr_len, dyn->entries[m].value ? in lws_h2_dynamic_table_dump() 462 dyn->entries[idx].hdr_len)); in lws_dynamic_free() 466 dyn->entries[idx].hdr_len = 0; in lws_dynamic_free() 486 lws_dynamic_token_insert(struct lws *wsi, int hdr_len, in lws_dynamic_token_insert() argument 359 lws_token_from_index(struct lws *wsi, int index, const char **arg, int *len, uint32_t *hdr_len) lws_token_from_index() argument [all...] |
H A D | private-lib-roles-h2.h | 184 uint16_t hdr_len; /* virtual, for accounting */ member
|
/third_party/libbpf/src/ |
H A D | libbpf_probes.c | 227 .hdr_len = sizeof(struct btf_header), in libbpf__load_raw_btf() 235 btf_len = hdr.hdr_len + hdr.type_len + hdr.str_len; in libbpf__load_raw_btf() 241 memcpy(raw_btf + hdr.hdr_len, raw_types, hdr.type_len); in libbpf__load_raw_btf() 242 memcpy(raw_btf + hdr.hdr_len + hdr.type_len, str_sec, hdr.str_len); in libbpf__load_raw_btf()
|
H A D | btf.c | 217 h->hdr_len = bswap_32(h->hdr_len); in btf_bswap_hdr() 236 if (bswap_32(hdr->hdr_len) != sizeof(struct btf_header)) { in btf_parse_hdr() 238 bswap_32(hdr->hdr_len)); in btf_parse_hdr() 247 if (btf->raw_size < hdr->hdr_len) { in btf_parse_hdr() 249 hdr->hdr_len, btf->raw_size); in btf_parse_hdr() 253 meta_left = btf->raw_size - hdr->hdr_len; in btf_parse_hdr() 1009 btf->hdr->hdr_len = sizeof(struct btf_header); in btf_new_empty() 1013 btf->types_data = btf->raw_data + btf->hdr->hdr_len; in btf_new_empty() 1014 btf->strs_data = btf->raw_data + btf->hdr->hdr_len; in btf_new_empty() [all...] |
H A D | libbpf_internal.h | 475 __u32 hdr_len; member
|
H A D | linker.c | 2832 hdr->hdr_len = sizeof(struct btf_ext_header); in finalize_btf_ext()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | gas_server.c | 95 size_t hdr_len = 24 + 2 + 5 + 3 + handler->adv_proto_id_len + 2; in gas_server_send_resp() local 112 } else if (hdr_len + wpabuf_len(query_resp) > max_len) { in gas_server_send_resp() 261 size_t hdr_len = 24 + 2 + 6 + 3 + handler->adv_proto_id_len + 2; in gas_server_handle_rx_comeback_req() local 291 if (hdr_len + remaining > max_len) in gas_server_handle_rx_comeback_req() 292 resp_frag_len = max_len - hdr_len; in gas_server_handle_rx_comeback_req()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
H A D | gas_server.c | 90 size_t hdr_len = 24 + 2 + 5 + 3 + handler->adv_proto_id_len + 2; in gas_server_send_resp() local 109 if (hdr_len + wpabuf_len(query_resp) > max_len) { in gas_server_send_resp() 243 size_t hdr_len = 24 + 2 + 6 + 3 + handler->adv_proto_id_len + 2; in gas_server_handle_rx_comeback_req() local 248 if (hdr_len + remaining > max_len) in gas_server_handle_rx_comeback_req() 249 resp_frag_len = max_len - hdr_len; in gas_server_handle_rx_comeback_req()
|
/third_party/node/deps/openssl/openssl/crypto/asn1/ |
H A D | asn1_gen.c | 112 long hdr_len = 0; in generate_v3() local 157 r = ASN1_get_object(&cpy_start, &hdr_len, &hdr_tag, &hdr_class, in generate_v3() 170 hdr_len = 0; in generate_v3() 178 len = ASN1_object_size(0, hdr_len, asn1_tags.imp_tag); in generate_v3() 220 ASN1_put_object(&p, hdr_constructed, hdr_len, in generate_v3()
|
/third_party/openssl/crypto/asn1/ |
H A D | asn1_gen.c | 112 long hdr_len = 0; in generate_v3() local 157 r = ASN1_get_object(&cpy_start, &hdr_len, &hdr_tag, &hdr_class, in generate_v3() 170 hdr_len = 0; in generate_v3() 178 len = ASN1_object_size(0, hdr_len, asn1_tags.imp_tag); in generate_v3() 220 ASN1_put_object(&p, hdr_constructed, hdr_len, in generate_v3()
|
/third_party/lwip/src/include/lwip/apps/ |
H A D | http_client.h | 119 * @param hdr_len length of the heders in 'hdr' 123 typedef err_t (*httpc_headers_done_fn)(httpc_state_t *connection, void *arg, struct pbuf *hdr, u16_t hdr_len, u32_t content_len);
|
/third_party/libbpf/include/uapi/linux/ |
H A D | btf.h | 15 __u32 hdr_len; member
|
/third_party/libwebsockets/lib/roles/http/server/ |
H A D | lws-spa.c | 47 uint8_t hdr_len; member 306 if (s->mp >= mp_hdrs[n].hdr_len) { in lws_urldecode_s_process() 318 if (s->mp + 1 == mp_hdrs[n].hdr_len) { in lws_urldecode_s_process()
|
/third_party/mesa3d/src/gallium/drivers/virgl/ |
H A D | virgl_encode.c | 582 int hdr_len = base_hdr_size + (first_pass ? strm_hdr_size : 0); in virgl_encode_shader_state() local 583 if (ctx->cbuf->cdw + hdr_len + 1 >= VIRGL_ENCODE_MAX_DWORDS) in virgl_encode_shader_state() 586 thispass = (VIRGL_ENCODE_MAX_DWORDS - ctx->cbuf->cdw - hdr_len - 1) * 4; in virgl_encode_shader_state() 589 len = ((length + 3) / 4) + hdr_len; in virgl_encode_shader_state()
|
/third_party/mesa3d/src/egl/drivers/dri2/ |
H A D | platform_x11.c | 156 size_t hdr_len = sizeof(xcb_put_image_request_t); in swrastPutImage() local 158 size_t size = (hdr_len + stride_b * h) >> 2; in swrastPutImage() 180 int num_lines = ((max_req_len << 2) - hdr_len) / stride_b; in swrastPutImage()
|
/third_party/mesa3d/src/vulkan/wsi/ |
H A D | wsi_common_x11.c | 1300 size_t hdr_len = sizeof(xcb_put_image_request_t); in x11_present_to_x11_sw() local 1302 size_t size = (hdr_len + stride_b * chain->extent.height) >> 2; in x11_present_to_x11_sw() 1317 int num_lines = ((max_req_len << 2) - hdr_len) / stride_b; in x11_present_to_x11_sw()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | wpa_supplicant.c | 2461 size_t rem_len, hdr_len, hlp_len, len, ie_len = 0; in wpas_add_fils_hlp_req() local 2469 hdr_len = 1 + 2 * ETH_ALEN + 6; in wpas_add_fils_hlp_req() 2472 if (rem_len < 2 + hdr_len + hlp_len) { in wpas_add_fils_hlp_req() 2476 (unsigned long) (2 + hdr_len + hlp_len)); in wpas_add_fils_hlp_req() 2480 len = (hdr_len + hlp_len) > 255 ? 255 : hdr_len + hlp_len; in wpas_add_fils_hlp_req() 2497 os_memcpy(buf, pos, len - hdr_len); in wpas_add_fils_hlp_req() 2498 buf += len - hdr_len; in wpas_add_fils_hlp_req() 2499 pos += len - hdr_len; in wpas_add_fils_hlp_req() 2501 hlp_len -= len - hdr_len; in wpas_add_fils_hlp_req() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | wpa_supplicant.c | 2927 size_t rem_len, hdr_len, hlp_len, len, ie_len = 0; local 2935 hdr_len = 1 + 2 * ETH_ALEN + 6; 2938 if (rem_len < 2 + hdr_len + hlp_len) { 2942 (unsigned long) (2 + hdr_len + hlp_len)); 2946 len = (hdr_len + hlp_len) > 255 ? 255 : hdr_len + hlp_len; 2963 os_memcpy(buf, pos, len - hdr_len); 2964 buf += len - hdr_len; 2965 pos += len - hdr_len; 2967 hlp_len -= len - hdr_len; [all...] |
/third_party/lwip/src/apps/http/ |
H A D | httpd.c | 1829 u16_t hdr_len = (u16_t)LWIP_MIN(data_len, crlfcrlf + 4 - data); local 1840 u16_t start_offset = hdr_len;
|