Home
last modified time | relevance | path

Searched refs:data_size (Results 1 – 25 of 29) sorted by relevance

12

/NetX-Duo-v6.3.0/nx_secure/src/
Dnx_secure_generate_client_key_exchange.c100 UINT data_size; in _nx_secure_generate_client_key_exchange() local
135 data_size = (UINT)(1 + tls_key_material -> nx_secure_tls_new_key_material_data[0]); in _nx_secure_generate_client_key_exchange()
137 if ((data_size > sizeof(tls_key_material -> nx_secure_tls_new_key_material_data)) || in _nx_secure_generate_client_key_exchange()
138 (data_size > buffer_length)) in _nx_secure_generate_client_key_exchange()
145 …Y(data_buffer, tls_key_material -> nx_secure_tls_new_key_material_data, data_size); /* Use case of… in _nx_secure_generate_client_key_exchange()
173 data_size = tls_credentials -> nx_secure_tls_client_psk.nx_secure_tls_psk_id_size; in _nx_secure_generate_client_key_exchange()
176 data_buffer[0] = (UCHAR)((data_size & 0xFF00) >> 8); in _nx_secure_generate_client_key_exchange()
177 data_buffer[1] = (UCHAR)(data_size & 0x00FF); in _nx_secure_generate_client_key_exchange()
179 data_size += 2; in _nx_secure_generate_client_key_exchange()
186 data_size = 0; in _nx_secure_generate_client_key_exchange()
[all …]
Dnx_secure_tls_send_client_key_exchange.c89 ULONG data_size = 0; in _nx_secure_tls_send_client_key_exchange() local
105 … &data_size, tls_session -> nx_secure_public_cipher_metadata_area, in _nx_secure_tls_send_client_key_exchange()
115 send_packet -> nx_packet_append_ptr = send_packet -> nx_packet_append_ptr + data_size; in _nx_secure_tls_send_client_key_exchange()
116 send_packet -> nx_packet_length = send_packet -> nx_packet_length + data_size; in _nx_secure_tls_send_client_key_exchange()
Dnx_secure_tls_send_certificate_verify.c119 UINT data_size = 0; in _nx_secure_tls_send_certificate_verify() local
526data_size = local_certificate -> nx_secure_x509_public_key.rsa_public_key.nx_secure_rsa_public_mod… in _nx_secure_tls_send_certificate_verify()
528 …d_packet -> nx_packet_data_end) - (ULONG)(send_packet -> nx_packet_append_ptr)) < (4u + data_size)) in _nx_secure_tls_send_certificate_verify()
564 current_buffer[length] = (UCHAR)(data_size >> 8); in _nx_secure_tls_send_certificate_verify()
565 current_buffer[length + 1] = (UCHAR)(data_size); in _nx_secure_tls_send_certificate_verify()
571 if (data_size < signature_length) in _nx_secure_tls_send_certificate_verify()
583 working_ptr = &_nx_secure_padded_signature[data_size - signature_length]; in _nx_secure_tls_send_certificate_verify()
604 current_buffer[length] = (UCHAR)(data_size >> 8); in _nx_secure_tls_send_certificate_verify()
605 current_buffer[length + 1] = (UCHAR)(data_size); in _nx_secure_tls_send_certificate_verify()
611 if (data_size < signature_length) in _nx_secure_tls_send_certificate_verify()
[all …]
Dnx_secure_tls_process_certificate_verify.c113 UINT data_size = 0; in _nx_secure_tls_process_certificate_verify() local
577data_size = client_certificate -> nx_secure_x509_public_key.rsa_public_key.nx_secure_rsa_public_mo… in _nx_secure_tls_process_certificate_verify()
608 data_size, in _nx_secure_tls_process_certificate_verify()
657 for (i = 2; i < (data_size - signature_length - 1); ++i) in _nx_secure_tls_process_certificate_verify()
682 working_ptr = &_nx_secure_decrypted_signature[data_size - signature_length]; in _nx_secure_tls_process_certificate_verify()
704 working_ptr = &_nx_secure_decrypted_signature[data_size - signature_length]; in _nx_secure_tls_process_certificate_verify()
728 data_size = handshake_hash_length; in _nx_secure_tls_process_certificate_verify()
746 data_size = 32; in _nx_secure_tls_process_certificate_verify()
774 data_size = 36; in _nx_secure_tls_process_certificate_verify()
847 data_size, in _nx_secure_tls_process_certificate_verify()
/NetX-Duo-v6.3.0/common/src/
Dnx_packet_data_append.c79 UINT _nx_packet_data_append(NX_PACKET *packet_ptr, VOID *data_start, ULONG data_size, in _nx_packet_data_append() argument
95 …NX_TRACE_IN_LINE_INSERT(NX_TRACE_PACKET_DATA_APPEND, packet_ptr, data_start, data_size, pool_ptr, … in _nx_packet_data_append()
133 if (available_bytes < data_size) in _nx_packet_data_append()
141 while (available_bytes < data_size) in _nx_packet_data_append()
233 packet_ptr -> nx_packet_length = packet_ptr -> nx_packet_length + data_size; in _nx_packet_data_append()
248 while (data_size) in _nx_packet_data_append()
253 if (data_size < (ULONG)(work_ptr -> nx_packet_data_end - work_ptr -> nx_packet_append_ptr)) in _nx_packet_data_append()
255 copy_size = data_size; in _nx_packet_data_append()
264 copy_size = data_size; in _nx_packet_data_append()
271 data_size = data_size - copy_size; in _nx_packet_data_append()
[all …]
Dnxd_icmp_ping.c81 UINT _nxd_icmp_ping(NX_IP *ip_ptr, NXD_ADDRESS *ip_address, CHAR *data_ptr, ULONG data_size, in _nxd_icmp_ping() argument
90 status = _nx_icmp_ping(ip_ptr, ip_address -> nxd_ip_address.v4, data_ptr, data_size, in _nxd_icmp_ping()
98 status = _nx_icmp_ping6(ip_ptr, ip_address, data_ptr, data_size, in _nxd_icmp_ping()
Dnxe_packet_data_append.c81 UINT _nxe_packet_data_append(NX_PACKET *packet_ptr, VOID *data_start, ULONG data_size, in _nxe_packet_data_append() argument
96 if (!data_size) in _nxe_packet_data_append()
119 status = _nx_packet_data_append(packet_ptr, data_start, data_size, pool_ptr, wait_option); in _nxe_packet_data_append()
Dnx_icmp_ping.c79 CHAR *data_ptr, ULONG data_size, in _nx_icmp_ping() argument
103 data_ptr, data_size, response_ptr, wait_option)); in _nx_icmp_ping()
108 NX_PARAMETER_NOT_USED(data_size); in _nx_icmp_ping()
Dnxe_icmp_ping.c83 CHAR *data_ptr, ULONG data_size, in _nxe_icmp_ping() argument
113 status = _nx_icmp_ping(ip_ptr, ip_address, data_ptr, data_size, in _nxe_icmp_ping()
122 NX_PARAMETER_NOT_USED(data_size); in _nxe_icmp_ping()
Dnxd_icmp_source_ping.c87 CHAR *data_ptr, ULONG data_size, in _nxd_icmp_source_ping() argument
109 data_ptr, data_size, response_ptr, wait_option); in _nxd_icmp_source_ping()
117 status = _nx_icmp_interface_ping6(ip_ptr, ip_address, data_ptr, data_size, in _nxd_icmp_source_ping()
Dnx_tcp_socket_bytes_available.c80 UINT data_size; in _nx_tcp_socket_bytes_available() local
131 data_size = (UINT)(packet_ptr -> nx_packet_length - header_length); in _nx_tcp_socket_bytes_available()
132 *bytes_available += data_size; in _nx_tcp_socket_bytes_available()
Dnx_icmp_ping6.c89 UINT _nx_icmp_ping6(NX_IP *ip_ptr, NXD_ADDRESS *ip_address, CHAR *data_ptr, ULONG data_size, in _nx_icmp_ping6() argument
111 …status = _nx_icmp_interface_ping6(ip_ptr, ip_address, data_ptr, data_size, outgoing_address, respo… in _nx_icmp_ping6()
Dnxde_icmp_ping.c84 CHAR *data_ptr, ULONG data_size, in _nxde_icmp_ping() argument
144 status = _nxd_icmp_ping(ip_ptr, ip_address, data_ptr, data_size, in _nxde_icmp_ping()
Dnxde_icmp_source_ping.c86 CHAR *data_ptr, ULONG data_size, in _nxde_icmp_source_ping() argument
158 status = _nxd_icmp_source_ping(ip_ptr, ip_address, address_index, data_ptr, data_size, in _nxde_icmp_source_ping()
Dnx_icmp_interface_ping.c99 CHAR *data_ptr, ULONG data_size, in _nx_icmp_interface_ping() argument
125 …NX_TRACE_IN_LINE_INSERT(NX_TRACE_ICMP_PING, ip_ptr, ip_address, data_ptr, data_size, NX_TRACE_ICMP… in _nx_icmp_interface_ping()
185 …status = _nx_packet_data_append(request_ptr, (VOID *)data_ptr, data_size, ip_ptr -> nx_ip_default_… in _nx_icmp_interface_ping()
Dnx_icmp_interface_ping6.c106 … _nx_icmp_interface_ping6(NX_IP *ip_ptr, NXD_ADDRESS *ip_address, CHAR *data_ptr, ULONG data_size, in _nx_icmp_interface_ping6() argument
136 …NX_TRACE_IN_LINE_INSERT(NX_TRACE_ICMP_PING6, ip_ptr, ip_address_lsw, data_ptr, data_size, NX_TRACE… in _nx_icmp_interface_ping6()
204 …status = _nx_packet_data_append(request_ptr, (VOID *)data_ptr, data_size, ip_ptr -> nx_ip_default_… in _nx_icmp_interface_ping6()
/NetX-Duo-v6.3.0/common/inc/
Dnx_icmp.h62 CHAR *data_ptr, ULONG data_size,
65 UINT address_index, CHAR *data_ptr, ULONG data_size,
71 CHAR *data_ptr, ULONG data_size,
74 UINT address_index, CHAR *data_ptr, ULONG data_size,
Dnx_icmpv4.h239 CHAR *data_ptr, ULONG data_size,
250 UINT _nx_icmp_ping(NX_IP *ip_ptr, ULONG ip_address, CHAR *data, ULONG data_size,
260 UINT _nxe_icmp_ping(NX_IP *ip_ptr, ULONG ip_address, CHAR *data, ULONG data_size,
Dnx_packet.h97 UINT _nx_packet_data_append(NX_PACKET *packet_ptr, VOID *data_start, ULONG data_size,
127 UINT _nxe_packet_data_append(NX_PACKET *packet_ptr, VOID *data_start, ULONG data_size,
Dnx_icmpv6.h344 CHAR *data_ptr, ULONG data_size,
347 CHAR *data_ptr, ULONG data_size, NXD_IPV6_ADDRESS *ipv6_address,
/NetX-Duo-v6.3.0/addons/ppp/
Dnx_ppp.h721 UINT nx_ppp_ping_request(NX_PPP *ppp_ptr, CHAR *data_ptr, ULONG data_size, ULONG wait_option);
783 UINT _nxe_ppp_ping_request(NX_PPP *ppp_ptr, CHAR *data_ptr, ULONG data_size, ULONG wait_option);
784 UINT _nx_ppp_ping_request(NX_PPP *ppp_ptr, CHAR *data_ptr, ULONG data_size, ULONG wait_option);
Dnx_ppp.c11936 UINT _nxe_ppp_ping_request(NX_PPP *ppp_ptr, CHAR *data_ptr, ULONG data_size, ULONG wait_option) in _nxe_ppp_ping_request() argument
11946 if (data_size == 0) in _nxe_ppp_ping_request()
11951 status = _nx_ppp_ping_request(ppp_ptr, data_ptr, data_size, wait_option); in _nxe_ppp_ping_request()
12004 UINT _nx_ppp_ping_request(NX_PPP *ppp_ptr, CHAR *data_ptr, ULONG data_size, ULONG wait_option) in _nx_ppp_ping_request() argument
12032 …)(packet_ptr -> nx_packet_data_end - packet_ptr -> nx_packet_prepend_ptr) < (UINT)(data_size + 10)) in _nx_ppp_ping_request()
12053 packet_ptr -> nx_packet_prepend_ptr[4] = (UCHAR)(((UINT)(data_size + 8)) >> 8); in _nx_ppp_ping_request()
12054 packet_ptr -> nx_packet_prepend_ptr[5] = (UCHAR)(((UINT)(data_size + 8)) & 0xFF); in _nx_ppp_ping_request()
12066 for(i = 1; i <= data_size; i++) in _nx_ppp_ping_request()
/NetX-Duo-v6.3.0/samples/
Ddemo_rtsp_over_rtp.c163 …read_callback)(ULONG *ntp_msw, ULONG *ntp_lsw, UCHAR **data_ptr, ULONG *data_size) = DEMO_VIDEO_DA…
164 …read_callback)(ULONG *ntp_msw, ULONG *ntp_lsw, UCHAR **data_ptr, ULONG *data_size) = DEMO_AUDIO_DA…
/NetX-Duo-v6.3.0/addons/azure_iot/
Dnx_azure_iot_hub_client.h476 … const UCHAR *telemetry_data, UINT data_size, UINT wait_option);
Dnx_azure_iot_adu_agent.c4389 UINT data_size; in nx_azure_iot_adu_agent_http_response_receive() local
4424data_size = (UINT)(data_packet -> nx_packet_append_ptr - data_packet -> nx_packet_prepend_ptr); in nx_azure_iot_adu_agent_http_response_receive()
4433 (ULONG)data_size, in nx_azure_iot_adu_agent_http_response_receive()
4460 driver_request.nx_azure_iot_adu_agent_driver_firmware_data_size = data_size; in nx_azure_iot_adu_agent_http_response_receive()
4478 …if ((downloader_ptr -> received_firmware_size + data_size) > downloader_ptr -> manifest_buffer_siz… in nx_azure_iot_adu_agent_http_response_receive()
4489 data_packet -> nx_packet_prepend_ptr, data_size); in nx_azure_iot_adu_agent_http_response_receive()
4493 downloader_ptr -> received_firmware_size += data_size; in nx_azure_iot_adu_agent_http_response_receive()

12