Home
last modified time | relevance | path

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

12

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dndef.c28 u32 payload_length; member
46 record->payload_length = *pos++; in ndef_parse_record()
55 record->payload_length = len; in ndef_parse_record()
72 record->payload = record->payload_length == 0 ? NULL : pos; in ndef_parse_record()
73 pos += record->payload_length; in ndef_parse_record()
77 record->total_length < record->payload_length) in ndef_parse_record()
97 record.payload_length); in ndef_parse_records()
115 size_t payload_length = wpabuf_len(payload); in ndef_build_record() local
117 short_record = payload_length < 256 ? 1 : 0; in ndef_build_record()
124 total_len += type_length + id_length + payload_length; in ndef_build_record()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dndef.c28 u32 payload_length; member
46 record->payload_length = *pos++; in ndef_parse_record()
55 record->payload_length = len; in ndef_parse_record()
72 record->payload = record->payload_length == 0 ? NULL : pos; in ndef_parse_record()
73 pos += record->payload_length; in ndef_parse_record()
77 record->total_length < record->payload_length) in ndef_parse_record()
97 record.payload_length); in ndef_parse_records()
115 size_t payload_length = wpabuf_len(payload); in ndef_build_record() local
117 short_record = payload_length < 256 ? 1 : 0; in ndef_build_record()
124 total_len += type_length + id_length + payload_length; in ndef_build_record()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/gdp/
Dgstgdpdepay.c311 this->payload_length = gst_dp_header_payload_length (header); in gst_gdp_depay_chain()
319 this->payload_length, this->payload_type); in gst_gdp_depay_chain()
329 if (available < this->payload_length) in gst_gdp_depay_chain()
346 if (this->payload_length) { in gst_gdp_depay_chain()
350 data = gst_adapter_map (this->adapter, this->payload_length); in gst_gdp_depay_chain()
375 if (this->payload_length > 0) { in gst_gdp_depay_chain()
379 gst_adapter_copy (this->adapter, map.data, 0, this->payload_length); in gst_gdp_depay_chain()
382 gst_adapter_flush (this->adapter, this->payload_length); in gst_gdp_depay_chain()
419 payload = gst_adapter_take (this->adapter, this->payload_length); in gst_gdp_depay_chain()
444 if (this->payload_length > 0) in gst_gdp_depay_chain()
[all …]
Ddataprotocol.c235 guint payload_length; in gst_dp_payload_caps() local
246 payload_length = strlen ((gchar *) string) + 1; /* include trailing 0 */ in gst_dp_payload_caps()
252 GST_WRITE_UINT32_BE (h + 6, payload_length); in gst_dp_payload_caps()
258 GST_DP_SET_CRC (h, flags, string, payload_length); in gst_dp_payload_caps()
268 gst_memory_new_wrapped (0, string, payload_length, 0, payload_length, in gst_dp_payload_caps()
Dgstgdpdepay.h67 guint32 payload_length; member
/third_party/openssl/crypto/evp/
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()
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()
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()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtpsbcpay.c148 guint payload_length; in gst_rtp_sbc_pay_drain_buffers() local
165 payload_length = frame_count * sbcpay->frame_length; in gst_rtp_sbc_pay_drain_buffers()
166 if (payload_length == 0) /* Nothing to send */ in gst_rtp_sbc_pay_drain_buffers()
185 paybuf = gst_adapter_take_buffer_fast (sbcpay->adapter, payload_length); in gst_rtp_sbc_pay_drain_buffers()
192 payload_length, GST_TIME_ARGS (GST_BUFFER_PTS (outbuf))); in gst_rtp_sbc_pay_drain_buffers()
/third_party/openssl/providers/implementations/ciphers/
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()
Dcipher_rc4_hmac_md5.h21 size_t payload_length; member
Dcipher_aes_cbc_hmac_sha.h39 size_t payload_length; /* AAD length in decrypt case */ member
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()
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()
/third_party/lwip/src/apps/mqtt/
Dmqtt.c713 u16_t payload_length = length; in mqtt_message_received() local
759 payload_length = length - after_topic; in mqtt_message_received()
763 qos, topic, remaining_length + payload_length)); in mqtt_message_received()
765 client->pub_cb(client->inpub_arg, (const char *)topic, remaining_length + payload_length); in mqtt_message_received()
770 if (payload_length > 0 || remaining_length == 0) { in mqtt_message_received()
771 if (length < (size_t)(payload_offset + payload_length)) { in mqtt_message_received()
776 …client->data_cb(client->inpub_arg, var_hdr_payload + payload_offset, payload_length, remaining_len… in mqtt_message_received()
1096 mqtt_publish(mqtt_client_t *client, const char *topic, const void *payload, u16_t payload_length, u… in mqtt_publish() argument
1114 total_len = 2 + topic_len + payload_length; in mqtt_publish()
1127 …_TRACE, ("mqtt_publish: Publish with payload length %d to topic \"%s\"\n", payload_length, topic)); in mqtt_publish()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/ipcpipeline/
Dgstipcpipelinecomm.c1831 memcpy (&comm->payload_length, payload + 4, sizeof (guint32)); in read_many()
1836 comm->id, type, comm->payload_length); in read_many()
1863 if (available < comm->payload_length) in read_many()
1890 if (available < comm->payload_length) in read_many()
1894 gst_ipc_pipeline_comm_read_query_result (comm, comm->payload_length, in read_many()
1916 if (available < comm->payload_length) in read_many()
1919 buf = gst_ipc_pipeline_comm_read_buffer (comm, comm->payload_length); in read_many()
1949 if (available < comm->payload_length) in read_many()
1952 event = gst_ipc_pipeline_comm_read_event (comm, comm->payload_length, in read_many()
1975 if (available < comm->payload_length) in read_many()
[all …]
/third_party/openssl/engines/
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()
/third_party/mbedtls/library/
Dpsa_crypto_aead.c247 size_t payload_length; in psa_aead_unpadded_locate_tag() local
250 payload_length = ciphertext_length - tag_length; in psa_aead_unpadded_locate_tag()
251 if( payload_length > plaintext_size ) in psa_aead_unpadded_locate_tag()
253 *p_tag = ciphertext + payload_length; in psa_aead_unpadded_locate_tag()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Dikev2.c892 WPA_PUT_BE16(phdr->payload_length, plen); in ikev2_build_sar1()
929 WPA_PUT_BE16(phdr->payload_length, plen); in ikev2_build_ker()
948 WPA_PUT_BE16(phdr->payload_length, plen); in ikev2_build_nr()
974 WPA_PUT_BE16(phdr->payload_length, plen); in ikev2_build_idr()
1014 WPA_PUT_BE16(phdr->payload_length, plen); in ikev2_build_auth()
1062 WPA_PUT_BE16(phdr->payload_length, plen); in ikev2_build_notification()
/third_party/mbedtls/tests/src/
Dpsa_exercise_key.c304 size_t payload_length = 16; in exercise_signature_key() local
324 payload_length = PSA_HASH_LENGTH( hash_alg ); in exercise_signature_key()
329 payload, payload_length, in exercise_signature_key()
341 payload, payload_length, in exercise_signature_key()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
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()
/third_party/node/src/
Dinspector_socket.cc354 size_t payload_length = static_cast<size_t>(payload_length64); in decode_frame_hybi17() local
356 if (buffer.size() - kMaskingKeyWidthInBytes < payload_length) in decode_frame_hybi17()
361 for (size_t i = 0; i < payload_length; ++i) // Unmask the payload. in decode_frame_hybi17()
365 size_t pos = it + kMaskingKeyWidthInBytes + payload_length - buffer.begin(); in decode_frame_hybi17()
/third_party/lwip/src/include/lwip/apps/
Dmqtt.h198 …mqtt_client_t *client, const char *topic, const void *payload, u16_t payload_length, u8_t qos, u8_…

12