Home
last modified time | relevance | path

Searched refs:payload_length (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/contrib/wpa/src/wps/
H A Dndef.c28 u32 payload_length; member
46 record->payload_length = *pos++; in ndef_parse_record()
55 record->payload_length = len; in ndef_parse_record()
76 if (record->payload_length > (size_t) (data + size - pos)) in ndef_parse_record()
78 record->payload = record->payload_length == 0 ? NULL : pos; in ndef_parse_record()
79 pos += record->payload_length; in ndef_parse_record()
83 record->total_length < record->payload_length) in ndef_parse_record()
103 record.payload_length); in ndef_parse_records()
121 size_t payload_length = wpabuf_len(payload); in ndef_build_record() local
123 short_record = payload_length < 256 ? 1 : 0; in ndef_build_record()
[all …]
/freebsd/sys/dev/oce/
H A Doce_mbox.c111 mbx->payload_length = in oce_reset_fun()
304 mbx.payload_length = sizeof(struct mbx_get_common_fw_version); in oce_get_fw_version()
305 DW_SWAP(u32ptr(&mbx), mbx.payload_length + OCE_BMBX_RHDR_SZ); in oce_get_fw_version()
349 mbx->payload_length = sizeof(struct mbx_get_common_fw_version); in oce_first_mcc_cmd()
460 mbx.payload_length = sizeof(struct mbx_query_common_iface_mac); in oce_read_mac_addr()
461 DW_SWAP(u32ptr(&mbx), mbx.payload_length + OCE_BMBX_RHDR_SZ); in oce_read_mac_addr()
505 mbx.payload_length = sizeof(struct mbx_common_query_fw_config); in oce_get_fw_config()
506 DW_SWAP(u32ptr(&mbx), mbx.payload_length + OCE_BMBX_RHDR_SZ); in oce_get_fw_config()
591 mbx.payload_length = sizeof(struct mbx_create_common_iface); in oce_if_create()
639 mbx.payload_length in oce_if_del()
[all...]
H A Doce_queue.c697 mbx.payload_length = sizeof(struct mbx_create_common_mq_ex); in oce_mq_create()
698 DW_SWAP(u32ptr(&mbx), mbx.payload_length + OCE_BMBX_RHDR_SZ); in oce_mq_create()
814 mbx->payload_length = (uint32_t) req_size; in oce_destroy_q()
815 DW_SWAP(u32ptr(mbx), mbx->payload_length + OCE_BMBX_RHDR_SZ); in oce_destroy_q()
/freebsd/crypto/openssl/crypto/evp/
H A De_rc4_hmac_md5.c34 size_t payload_length; member
60 key->payload_length = NO_PAYLOAD_LENGTH; in rc4_hmac_md5_init_key()
86 size_t plen = key->payload_length; in rc4_hmac_md5_cipher()
181 key->payload_length = NO_PAYLOAD_LENGTH; in rc4_hmac_md5_cipher()
238 key->payload_length = len; in rc4_hmac_md5_ctrl()
H A De_aes_cbc_hmac_sha1.c34 size_t payload_length; /* AAD length in decrypt case */ member
89 key->payload_length = NO_PAYLOAD_LENGTH; in aesni_cbc_hmac_sha1_init_key()
413 size_t plen = key->payload_length, iv = 0, /* explicit IV in TLS 1.1 and in aesni_cbc_hmac_sha1_cipher()
422 key->payload_length = NO_PAYLOAD_LENGTH; in aesni_cbc_hmac_sha1_cipher()
817 key->payload_length = len; in aesni_cbc_hmac_sha1_ctrl()
834 key->payload_length = arg; in aesni_cbc_hmac_sha1_ctrl()
H A De_aes_cbc_hmac_sha256.c34 size_t payload_length; /* AAD length in decrypt case */ member
85 key->payload_length = NO_PAYLOAD_LENGTH; in aesni_cbc_hmac_sha256_init_key()
428 size_t plen = key->payload_length, iv = 0, /* explicit IV in TLS 1.1 and in aesni_cbc_hmac_sha256_cipher()
437 key->payload_length = NO_PAYLOAD_LENGTH; in aesni_cbc_hmac_sha256_cipher()
798 key->payload_length = len; in aesni_cbc_hmac_sha256_ctrl()
815 key->payload_length = arg; in aesni_cbc_hmac_sha256_ctrl()
/freebsd/contrib/libpcap/
H A Dpcap-util.c156 …plen < (u_int) (offsetof(pcap_can_socketcan_xl_hdr, payload_length) + sizeof xl_hdrp->payload_leng… in swap_socketcan_header()
157 …ngth < (u_int) (offsetof(pcap_can_socketcan_xl_hdr, payload_length) + sizeof xl_hdrp->payload_leng… in swap_socketcan_header()
161 xl_hdrp->payload_length = SWAPSHORT(xl_hdrp->payload_length); in swap_socketcan_header()
/freebsd/contrib/libpcap/pcap/
H A Dcan_socketcan.h50 uint8_t payload_length; member
74 uint16_t payload_length; member
/freebsd/contrib/tcpdump/
H A Dprint-geonet.c102 uint16_t payload_length; in geonet_print() local
124 payload_length = GET_BE_U_2(bp + 4); in geonet_print()
166 ND_PRINT("Payload:%u ", payload_length); in geonet_print()
/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_rc4_hmac_md5_hw.c44 ctx->payload_length = NO_PAYLOAD_LENGTH; in cipher_hw_rc4_hmac_md5_initkey()
61 size_t plen = ctx->payload_length; in cipher_hw_rc4_hmac_md5_cipher()
160 ctx->payload_length = NO_PAYLOAD_LENGTH; in cipher_hw_rc4_hmac_md5_cipher()
183 ctx->payload_length = len; in cipher_hw_rc4_hmac_md5_tls_init()
H A Dcipher_rc4_hmac_md5.h21 size_t payload_length; member
H A Dcipher_aes_cbc_hmac_sha.h39 size_t payload_length; /* AAD length in decrypt case */ member
H A Dcipher_aes_cbc_hmac_sha1_hw.c61 ctx->payload_length = NO_PAYLOAD_LENGTH; in aesni_cbc_hmac_sha1_init_key()
379 size_t plen = ctx->payload_length; in aesni_cbc_hmac_sha1_cipher()
384 ctx->payload_length = NO_PAYLOAD_LENGTH; in aesni_cbc_hmac_sha1_cipher()
677 ctx->payload_length = len; in aesni_cbc_hmac_sha1_set_tls1_aad()
694 ctx->payload_length = aad_len; in aesni_cbc_hmac_sha1_set_tls1_aad()
H A Dcipher_aes_cbc_hmac_sha256_hw.c63 ctx->payload_length = NO_PAYLOAD_LENGTH; in aesni_cbc_hmac_sha256_init_key()
402 size_t plen = ctx->payload_length; in aesni_cbc_hmac_sha256_cipher()
407 ctx->payload_length = NO_PAYLOAD_LENGTH; in aesni_cbc_hmac_sha256_cipher()
730 ctx->payload_length = len; in aesni_cbc_hmac_sha256_set_tls1_aad()
747 ctx->payload_length = aad_len; in aesni_cbc_hmac_sha256_set_tls1_aad()
/freebsd/sys/dev/ocs_fc/
H A Docs_fcp.h331 payload_length:16; member
344 payload_length:16; member
356 payload_length:16; member
369 payload_length:24; member
422 payload_length:16; member
H A Docs_els.c808 prli->payload_length = ocs_htobe16(sizeof(fc_prli_payload_t)); in ocs_send_prli()
870 prlo->payload_length = ocs_htobe16(sizeof(fc_prlo_payload_t)); in ocs_send_prlo()
1175 uint32_t payload_length = sizeof(fc_rscn_affected_port_id_page_t)*(port_ids_count - 1) + in ocs_send_rscn() local
1180 els = ocs_els_io_alloc(node, payload_length, OCS_ELS_ROLE_ORIGINATOR); in ocs_send_rscn()
1194 req->payload_length = ocs_htobe16(sizeof(*req) + in ocs_send_rscn()
1465 prli->payload_length = ocs_htobe16(sizeof(fc_prli_payload_t)); in ocs_send_prli_acc()
1522 prlo_acc->payload_length = ocs_htobe16(sizeof(fc_prlo_acc_payload_t)); in ocs_send_prlo_acc()
H A Docs_ioctl.h157 uint32_t payload_length; /**< payload length for command */ member
/freebsd/crypto/openssl/engines/
H A De_ossltest.c277 size_t payload_length; /* AAD length in decrypt case */ member
786 key->payload_length = NO_PAYLOAD_LENGTH; in ossltest_aes128_cbc_hmac_sha1_init_key()
797 size_t plen = key->payload_length; in ossltest_aes128_cbc_hmac_sha1_cipher()
799 key->payload_length = NO_PAYLOAD_LENGTH; in ossltest_aes128_cbc_hmac_sha1_cipher()
876 key->payload_length = len; in ossltest_aes128_cbc_hmac_sha1_ctrl()
889 key->payload_length = arg; in ossltest_aes128_cbc_hmac_sha1_ctrl()
/freebsd/sys/arm64/intel/
H A Dstratix10-svc.h44 int payload_length; member
H A Dstratix10-svc.c117 a2 = (uint64_t)msg->payload_length; in s10_svc_send()
/freebsd/contrib/wpa/src/eap_peer/
H A Dikev2.c894 WPA_PUT_BE16(phdr->payload_length, plen); in ikev2_build_sar1()
931 WPA_PUT_BE16(phdr->payload_length, plen); in ikev2_build_ker()
950 WPA_PUT_BE16(phdr->payload_length, plen); in ikev2_build_nr()
976 WPA_PUT_BE16(phdr->payload_length, plen); in ikev2_build_idr()
1016 WPA_PUT_BE16(phdr->payload_length, plen); in ikev2_build_auth()
1064 WPA_PUT_BE16(phdr->payload_length, plen); in ikev2_build_notification()
/freebsd/contrib/wpa/src/eap_server/
H A Dikev2.c957 WPA_PUT_BE16(phdr->payload_length, plen); in ikev2_build_sai()
995 WPA_PUT_BE16(phdr->payload_length, plen); in ikev2_build_kei()
1014 WPA_PUT_BE16(phdr->payload_length, plen); in ikev2_build_ni()
1040 WPA_PUT_BE16(phdr->payload_length, plen); in ikev2_build_idi()
1080 WPA_PUT_BE16(phdr->payload_length, plen); in ikev2_build_auth()
/freebsd/sys/dev/qlxgbe/
H A Dql_isr.c215 pkt_length = sgc->payload_length + sgc->l4_offset; in qla_lro_intr()
310 sgc->payload_length; in qla_lro_intr()
321 iplen = (th->th_off << 2) + sgc->payload_length; in qla_lro_intr()
610 sgc.lro.payload_length = in ql_rcv_isr()
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_ud_header.c202 { STRUCT_FIELD(grh, payload_length),
364 header->grh.payload_length = in ib_ud_header_init()
/freebsd/contrib/wpa/src/eap_common/
H A Dikev2_common.h40 u8 payload_length[2]; /* this payload, including the payload header */ member

12