/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/ |
H A D | tlsv1_client_read.c | 728 int hlen; in tlsv1_process_diffie_hellman() local 753 hlen = tlsv12_key_x_server_params_hash( in tlsv1_process_diffie_hellman() 763 hlen = tls_key_x_server_params_hash( in tlsv1_process_diffie_hellman() 769 if (hlen < 0) in tlsv1_process_diffie_hellman() 772 hash, hlen); in tlsv1_process_diffie_hellman() 776 hash, hlen, pos, end - pos, in tlsv1_process_diffie_hellman() 1315 size_t left, len, hlen; in tls_process_server_finished() local 1374 hlen = SHA256_MAC_LEN; in tls_process_server_finished() 1376 crypto_hash_finish(conn->verify.sha256_server, hash, &hlen) in tls_process_server_finished() 1387 hlen in tls_process_server_finished() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/ |
H A D | tlsv1_client_read.c | 736 int hlen; in tlsv1_process_diffie_hellman() local 761 hlen = tlsv12_key_x_server_params_hash( in tlsv1_process_diffie_hellman() 771 hlen = tls_key_x_server_params_hash( in tlsv1_process_diffie_hellman() 777 if (hlen < 0) in tlsv1_process_diffie_hellman() 780 hash, hlen); in tlsv1_process_diffie_hellman() 784 hash, hlen, pos, end - pos, in tlsv1_process_diffie_hellman() 1323 size_t left, len, hlen; in tls_process_server_finished() local 1382 hlen = SHA256_MAC_LEN; in tls_process_server_finished() 1384 crypto_hash_finish(conn->verify.sha256_server, hash, &hlen) in tls_process_server_finished() 1395 hlen in tls_process_server_finished() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | test_cls_redirect.h | 31 uint8_t hlen : 5, control : 1, variant : 2; member 33 uint8_t variant : 2, control : 1, hlen : 5;
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_cls_redirect.h | 31 uint8_t hlen : 5, control : 1, variant : 2; member 33 uint8_t variant : 2, control : 1, hlen : 5;
|
/kernel/linux/linux-5.10/net/tipc/ |
H A D | msg.c | 629 int hlen, dlen; in tipc_msg_reverse() local 635 hlen = msg_hdr_sz(_hdr); in tipc_msg_reverse() 643 if (hlen == SHORT_H_SIZE) in tipc_msg_reverse() 644 hlen = BASIC_H_SIZE; in tipc_msg_reverse() 651 *skb = tipc_buf_acquire(hlen + dlen, GFP_ATOMIC); in tipc_msg_reverse() 655 memcpy((*skb)->data + hlen, msg_data(_hdr), dlen); in tipc_msg_reverse() 659 msg_set_hdr_sz(hdr, hlen); in tipc_msg_reverse() 667 msg_set_size(hdr, hlen + dlen); in tipc_msg_reverse()
|
/kernel/linux/linux-6.6/net/core/ |
H A D | gro.c | 696 unsigned int hlen = sizeof(*eth); in napi_frags_skb() local 701 skb_gro_reset_offset(skb, hlen); in napi_frags_skb() 703 if (unlikely(skb_gro_header_hard(skb, hlen))) { in napi_frags_skb() 704 eth = skb_gro_header_slow(skb, hlen, 0); in napi_frags_skb() 713 gro_pull_from_frag0(skb, hlen); in napi_frags_skb() 714 NAPI_GRO_CB(skb)->frag0 += hlen; in napi_frags_skb() 715 NAPI_GRO_CB(skb)->frag0_len -= hlen; in napi_frags_skb() 717 __skb_pull(skb, hlen); in napi_frags_skb()
|
/kernel/linux/linux-6.6/net/tipc/ |
H A D | msg.c | 625 int hlen, dlen; in tipc_msg_reverse() local 631 hlen = msg_hdr_sz(_hdr); in tipc_msg_reverse() 639 if (hlen == SHORT_H_SIZE) in tipc_msg_reverse() 640 hlen = BASIC_H_SIZE; in tipc_msg_reverse() 647 *skb = tipc_buf_acquire(hlen + dlen, GFP_ATOMIC); in tipc_msg_reverse() 651 memcpy((*skb)->data + hlen, msg_data(_hdr), dlen); in tipc_msg_reverse() 655 msg_set_hdr_sz(hdr, hlen); in tipc_msg_reverse() 663 msg_set_size(hdr, hlen + dlen); in tipc_msg_reverse()
|
/third_party/lwip/src/core/ipv4/ |
H A D | ip4_frag.c | 369 u8_t hlen; in ip_reass_chain_frag_into_datagram_and_validate() local 376 hlen = IPH_HL_BYTES(fraghdr); in ip_reass_chain_frag_into_datagram_and_validate() 377 if (hlen > len) { in ip_reass_chain_frag_into_datagram_and_validate() 381 len = (u16_t)(len - hlen); in ip_reass_chain_frag_into_datagram_and_validate() 530 u8_t hlen; in ip4_reass() local 547 hlen = IPH_HL_BYTES(fraghdr); in ip4_reass() 548 if (hlen > len) { in ip4_reass() 552 len = (u16_t)(len - hlen); in ip4_reass()
|
/third_party/curl/lib/ |
H A D | urlapi.c | 574 size_t hlen) /* length of hostname */ in ipv6_parse() 578 if(hlen < 4) /* '[::]' is the shortest possible valid string */ in ipv6_parse() 581 hlen -= 2; in ipv6_parse() 586 if(hlen != len) { in ipv6_parse() 587 hlen = len; in ipv6_parse() 616 hostname[hlen] = 0; /* end the address there */ in ipv6_parse() 622 (strlen(norm) < hlen)) { in ipv6_parse() 624 hlen = strlen(norm); in ipv6_parse() 625 hostname[hlen + 1] = 0; in ipv6_parse() 627 hostname[hlen] in ipv6_parse() 573 ipv6_parse(struct Curl_URL *u, char *hostname, size_t hlen) ipv6_parse() argument 632 hostname_check(struct Curl_URL *u, char *hostname, size_t hlen) hostname_check() argument [all...] |
H A D | content_encoding.c | 492 ssize_t hlen; in gzip_do_write() 494 switch(check_gzip_header((unsigned char *) buf, nbytes, &hlen)) { in gzip_do_write() 496 z->next_in = (Bytef *) buf + hlen; in gzip_do_write() 497 z->avail_in = (uInt) (nbytes - hlen); in gzip_do_write() 530 ssize_t hlen; in gzip_do_write() 539 switch(check_gzip_header(z->next_in, z->avail_in, &hlen)) { in gzip_do_write() 544 z->next_in = (Bytef *) buf + hlen + nbytes - z->avail_in; in gzip_do_write() 545 z->avail_in = (uInt) (z->avail_in - hlen); in gzip_do_write()
|
/kernel/linux/linux-5.10/drivers/net/wan/ |
H A D | dlci.c | 70 unsigned int hlen; in dlci_header() local 78 hlen = sizeof(hdr.control) + sizeof(hdr.IP_NLPID); in dlci_header() 88 hlen = sizeof(hdr); in dlci_header() 92 dest = skb_push(skb, hlen); in dlci_header() 96 memcpy(dest, &hdr, hlen); in dlci_header() 98 return hlen; in dlci_header()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tcp_offload.c | 191 unsigned int hlen; in tcp_gro_receive() local 197 hlen = off + sizeof(*th); in tcp_gro_receive() 198 th = skb_gro_header(skb, hlen, off); in tcp_gro_receive() 206 hlen = off + thlen; in tcp_gro_receive() 207 if (skb_gro_header_hard(skb, hlen)) { in tcp_gro_receive() 208 th = skb_gro_header_slow(skb, hlen, off); in tcp_gro_receive()
|
/third_party/popt/src/ |
H A D | lookup3.c | 802 uint32_t hlen; in driver2() local 805 for (hlen=0; hlen < MAXLEN; ++hlen) { in driver2() 807 for (i=0; i<hlen; ++i) { /*-------------- for each input byte, */ in driver2() 817 for (l=0; l<hlen+1; ++l) {a[l] = b[l] = (uint8_t)0;} in driver2() 821 c[0] = jlu32l(m, a, hlen); in driver2() 824 d[0] = jlu32l(m, b, hlen); in driver2() 842 printf("i %u j %u m %u len %u\n", i, j, m, hlen); in driver2()
|
/kernel/linux/linux-5.10/net/ieee802154/ |
H A D | header_ops.c | 309 int hlen = ieee802154_hdr_minlen(hdr); in ieee802154_max_payload() local 312 hlen += ieee802154_sechdr_lengths[hdr->sec.key_id_mode] - 1; in ieee802154_max_payload() 313 hlen += ieee802154_sechdr_authtag_len(&hdr->sec); in ieee802154_max_payload() 316 return IEEE802154_MTU - hlen - IEEE802154_MFR_SIZE; in ieee802154_max_payload()
|
H A D | socket.c | 247 int hlen, tlen; in raw_sendmsg() local 281 hlen = LL_RESERVED_SPACE(dev); in raw_sendmsg() 283 skb = sock_alloc_send_skb(sk, hlen + tlen + size, in raw_sendmsg() 288 skb_reserve(skb, hlen); in raw_sendmsg() 618 int hlen, tlen; in dgram_sendmsg() local 660 hlen = LL_RESERVED_SPACE(dev); in dgram_sendmsg() 662 skb = sock_alloc_send_skb(sk, hlen + tlen + size, in dgram_sendmsg() 668 skb_reserve(skb, hlen); in dgram_sendmsg()
|
/kernel/linux/linux-5.10/net/llc/ |
H A D | llc_sap.c | 51 int hlen = type == LLC_PDU_TYPE_U ? 3 : 4; in llc_alloc_frame() local 54 hlen += llc_mac_header_len(dev->type); in llc_alloc_frame() 55 skb = alloc_skb(hlen + data_size, GFP_ATOMIC); in llc_alloc_frame() 59 skb_reserve(skb, hlen); in llc_alloc_frame()
|
/kernel/linux/linux-5.10/net/mac802154/ |
H A D | rx.c | 134 int hlen; in ieee802154_parse_frame_start() local 139 hlen = ieee802154_hdr_pull(skb, hdr); in ieee802154_parse_frame_start() 140 if (hlen < 0) in ieee802154_parse_frame_start() 143 skb->mac_len = hlen; in ieee802154_parse_frame_start()
|
/kernel/linux/linux-5.10/drivers/rpmsg/ |
H A D | qcom_glink_rpm.c | 150 const void *hdr, size_t hlen, in glink_rpm_tx_write() 154 size_t tlen = hlen + dlen; in glink_rpm_tx_write() 161 if (WARN(hlen % 4, "Glink Header length must be 4 bytes aligned\n")) in glink_rpm_tx_write() 173 head = glink_rpm_tx_write_one(pipe, head, hdr, hlen); in glink_rpm_tx_write() 149 glink_rpm_tx_write(struct qcom_glink_pipe *glink_pipe, const void *hdr, size_t hlen, const void *data, size_t dlen) glink_rpm_tx_write() argument
|
/kernel/linux/linux-6.6/net/ieee802154/ |
H A D | header_ops.c | 369 int hlen = ieee802154_hdr_minlen(hdr); in ieee802154_max_payload() local 372 hlen += ieee802154_sechdr_lengths[hdr->sec.key_id_mode] - 1; in ieee802154_max_payload() 373 hlen += ieee802154_sechdr_authtag_len(&hdr->sec); in ieee802154_max_payload() 376 return IEEE802154_MTU - hlen - IEEE802154_MFR_SIZE; in ieee802154_max_payload()
|
H A D | socket.c | 246 int hlen, tlen; in raw_sendmsg() local 280 hlen = LL_RESERVED_SPACE(dev); in raw_sendmsg() 282 skb = sock_alloc_send_skb(sk, hlen + tlen + size, in raw_sendmsg() 287 skb_reserve(skb, hlen); in raw_sendmsg() 615 int hlen, tlen; in dgram_sendmsg() local 657 hlen = LL_RESERVED_SPACE(dev); in dgram_sendmsg() 659 skb = sock_alloc_send_skb(sk, hlen + tlen + size, in dgram_sendmsg() 665 skb_reserve(skb, hlen); in dgram_sendmsg()
|
/kernel/linux/linux-6.6/net/llc/ |
H A D | llc_sap.c | 51 int hlen = type == LLC_PDU_TYPE_U ? 3 : 4; in llc_alloc_frame() local 54 hlen += llc_mac_header_len(dev->type); in llc_alloc_frame() 55 skb = alloc_skb(hlen + data_size, GFP_ATOMIC); in llc_alloc_frame() 59 skb_reserve(skb, hlen); in llc_alloc_frame()
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | raw.c | 632 int hlen = LL_RESERVED_SPACE(rt->dst.dev); in rawv6_send_hdrinc() local 645 length + hlen + tlen + 15, in rawv6_send_hdrinc() 649 skb_reserve(skb, hlen); in rawv6_send_hdrinc() 714 int hlen; member 723 rfv->hlen = 2; in rawv6_probe_proto_opt() 724 err = memcpy_from_msg(rfv->c, rfv->msg, rfv->hlen); in rawv6_probe_proto_opt() 731 rfv->hlen = 4; in rawv6_probe_proto_opt() 732 err = memcpy_from_msg(rfv->c, rfv->msg, rfv->hlen); in rawv6_probe_proto_opt() 744 if (offset < rfv->hlen) { in raw6_getfrag() 745 int copy = min(rfv->hlen in raw6_getfrag() [all...] |
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | raw.c | 596 int hlen = LL_RESERVED_SPACE(rt->dst.dev); in rawv6_send_hdrinc() local 609 length + hlen + tlen + 15, in rawv6_send_hdrinc() 613 skb_reserve(skb, hlen); in rawv6_send_hdrinc() 678 int hlen; member 687 rfv->hlen = 2; in rawv6_probe_proto_opt() 688 err = memcpy_from_msg(rfv->c, rfv->msg, rfv->hlen); in rawv6_probe_proto_opt() 695 rfv->hlen = 4; in rawv6_probe_proto_opt() 696 err = memcpy_from_msg(rfv->c, rfv->msg, rfv->hlen); in rawv6_probe_proto_opt() 708 if (offset < rfv->hlen) { in raw6_getfrag() 709 int copy = min(rfv->hlen in raw6_getfrag() [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | digsig.c | 69 const char *h, int hlen) in digsig_verify_rsa() 169 if (!m || len != hlen || memcmp(m, h, hlen)) in digsig_verify_rsa() 67 digsig_verify_rsa(struct key *key, const char *sig, int siglen, const char *h, int hlen) digsig_verify_rsa() argument
|
/kernel/linux/linux-6.6/lib/ |
H A D | digsig.c | 69 const char *h, int hlen) in digsig_verify_rsa() 169 if (!m || len != hlen || memcmp(m, h, hlen)) in digsig_verify_rsa() 67 digsig_verify_rsa(struct key *key, const char *sig, int siglen, const char *h, int hlen) digsig_verify_rsa() argument
|