Home
last modified time | relevance | path

Searched refs:bytes_processed (Results 1 – 16 of 16) sorted by relevance

/NetX-Duo-v6.2.1/nx_secure/src/
Dnx_secure_x509_certificate_revocation_list_parse.c30 UINT *bytes_processed, NX_SECURE_X509_CRL *crl);
32 UINT *bytes_processed,
35 … UINT *bytes_processed, NX_SECURE_X509_CRL *crl);
36 …ic UINT _nx_secure_x509_crl_version_parse(const UCHAR *buffer, ULONG length, UINT *bytes_processed,
38 …tic UINT _nx_secure_x509_crl_issuer_parse(const UCHAR *buffer, ULONG length, UINT *bytes_processed,
41 UINT *bytes_processed, NX_SECURE_X509_CRL *crl);
43 UINT *bytes_processed,
46 UINT *bytes_processed, NX_SECURE_X509_CRL *crl);
103 UINT *bytes_processed, in _nx_secure_x509_certificate_revocation_list_parse() argument
179 *bytes_processed = header_length; in _nx_secure_x509_certificate_revocation_list_parse()
[all …]
Dnx_secure_x509.c28 UINT *bytes_processed, NX_SECURE_X509_CERT *cert);
29 static UINT _nx_secure_x509_parse_version(const UCHAR *buffer, ULONG length, UINT *bytes_processed,
32 UINT *bytes_processed, NX_SECURE_X509_CERT *cert);
34 UINT *bytes_processed,
36 static UINT _nx_secure_x509_parse_issuer(const UCHAR *buffer, ULONG length, UINT *bytes_processed,
39 UINT *bytes_processed, NX_SECURE_X509_CERT *cert);
40 static UINT _nx_secure_x509_parse_subject(const UCHAR *buffer, ULONG length, UINT *bytes_processed,
43 UINT *bytes_processed, NX_SECURE_X509_CERT *cert);
45 UINT *bytes_processed, NX_SECURE_X509_CERT *cert);
47 UINT *bytes_processed, NX_SECURE_X509_CERT *cert);
[all …]
Dnx_secure_x509_crl_revocation_check.c29 …atic UINT _nx_secure_x509_crl_parse_entry(const UCHAR *buffer, ULONG length, UINT *bytes_processed,
115 UINT bytes_processed; in _nx_secure_x509_crl_revocation_check() local
187 …status = _nx_secure_x509_crl_parse_entry(current_buffer, length, &bytes_processed, &serial_number,… in _nx_secure_x509_crl_revocation_check()
195 NX_ASSERT(bytes_processed <= length); in _nx_secure_x509_crl_revocation_check()
209 length -= bytes_processed; in _nx_secure_x509_crl_revocation_check()
210 current_buffer = current_buffer + bytes_processed; in _nx_secure_x509_crl_revocation_check()
277 …atic UINT _nx_secure_x509_crl_parse_entry(const UCHAR *buffer, ULONG length, UINT *bytes_processed, in _nx_secure_x509_crl_parse_entry() argument
290 *bytes_processed = 0; in _nx_secure_x509_crl_parse_entry()
307 *bytes_processed += header_length + tlv_length; in _nx_secure_x509_crl_parse_entry()
Dnx_secure_tls_session_receive_records.c94 ULONG bytes_processed = 0; in _nx_secure_tls_session_receive_records() local
127 status = _nx_secure_tls_process_record(tls_session, NX_NULL, &bytes_processed, wait_option); in _nx_secure_tls_session_receive_records()
151 … status = _nx_secure_tls_process_record(tls_session, packet_ptr, &bytes_processed, wait_option); in _nx_secure_tls_session_receive_records()
163 tls_session -> nx_secure_record_queue_header -> nx_packet_length -= bytes_processed; in _nx_secure_tls_session_receive_records()
171 if (packet_fragment_length <= bytes_processed) in _nx_secure_tls_session_receive_records()
173 bytes_processed -= packet_fragment_length; in _nx_secure_tls_session_receive_records()
177 current_packet -> nx_packet_prepend_ptr += bytes_processed; in _nx_secure_tls_session_receive_records()
178 bytes_processed = 0; in _nx_secure_tls_session_receive_records()
209 if (bytes_processed) in _nx_secure_tls_session_receive_records()
Dnx_secure_x509_ec_private_key_parse.c82 UINT *bytes_processed, in _nx_secure_x509_ec_private_key_parse() argument
124 *bytes_processed = header_length; in _nx_secure_x509_ec_private_key_parse()
142 *bytes_processed += (header_length + tlv_length); in _nx_secure_x509_ec_private_key_parse()
171 *bytes_processed += (header_length + tlv_length); in _nx_secure_x509_ec_private_key_parse()
198 *bytes_processed += header_length; in _nx_secure_x509_ec_private_key_parse()
216 *bytes_processed += (header_length + tlv_length); in _nx_secure_x509_ec_private_key_parse()
Dnx_secure_x509_pkcs1_rsa_private_key_parse.c80 UINT *bytes_processed, in _nx_secure_x509_pkcs1_rsa_private_key_parse() argument
136 *bytes_processed = header_length; in _nx_secure_x509_pkcs1_rsa_private_key_parse()
154 *bytes_processed += (header_length + tlv_length); in _nx_secure_x509_pkcs1_rsa_private_key_parse()
183 *bytes_processed += (header_length + tlv_length); in _nx_secure_x509_pkcs1_rsa_private_key_parse()
210 *bytes_processed += (header_length + tlv_length); in _nx_secure_x509_pkcs1_rsa_private_key_parse()
237 *bytes_processed += (header_length + tlv_length); in _nx_secure_x509_pkcs1_rsa_private_key_parse()
264 *bytes_processed += (header_length + tlv_length); in _nx_secure_x509_pkcs1_rsa_private_key_parse()
291 *bytes_processed += (header_length + tlv_length); in _nx_secure_x509_pkcs1_rsa_private_key_parse()
Dnx_secure_x509_distinguished_name_parse.c28 UINT *bytes_processed,
82 …T _nx_secure_x509_distinguished_name_parse(const UCHAR *buffer, UINT length, UINT *bytes_processed, in _nx_secure_x509_distinguished_name_parse() argument
108 *bytes_processed = 0; in _nx_secure_x509_distinguished_name_parse()
130 *bytes_processed += (header_length + tlv_length); in _nx_secure_x509_distinguished_name_parse()
232 UINT *bytes_processed, in _nx_secure_x509_extract_name_oid_data() argument
248 *bytes_processed = (header_length + tlv_length); in _nx_secure_x509_extract_name_oid_data()
Dnx_secure_x509_certificate_initialize.c119 UINT bytes_processed; in _nx_secure_x509_certificate_initialize() local
153 length, &bytes_processed, certificate); in _nx_secure_x509_certificate_initialize()
179 … _nx_secure_x509_pkcs1_rsa_private_key_parse(private_key, priv_len, &bytes_processed, &certificate… in _nx_secure_x509_certificate_initialize()
184 … status = _nx_secure_x509_ec_private_key_parse(private_key, priv_len, &bytes_processed, ec_key); in _nx_secure_x509_certificate_initialize()
Dnx_secure_dtls_session_receive.c99 ULONG bytes_processed; in _nx_secure_dtls_session_receive() local
306 bytes_processed = 0; in _nx_secure_dtls_session_receive()
311 packet_ptr -> nx_packet_prepend_ptr += bytes_processed; in _nx_secure_dtls_session_receive()
317 …tatus = _nx_secure_dtls_process_record(dtls_session, packet_ptr, 0, &bytes_processed, wait_option); in _nx_secure_dtls_session_receive()
329 if (bytes_processed > packet_length) in _nx_secure_dtls_session_receive()
335 packet_length -= bytes_processed; in _nx_secure_dtls_session_receive()
Dnx_secure_tls_process_record.c111 ULONG *bytes_processed, ULONG wait_option) in _nx_secure_tls_process_record() argument
148 *bytes_processed = 0; in _nx_secure_tls_process_record()
215 *bytes_processed = tls_session -> nx_secure_tls_bytes_processed; in _nx_secure_tls_process_record()
232 *bytes_processed += (ULONG)header_length; in _nx_secure_tls_process_record()
242 tls_session -> nx_secure_tls_bytes_processed = *bytes_processed; in _nx_secure_tls_process_record()
247 *bytes_processed += (ULONG)header_length + message_length; in _nx_secure_tls_process_record()
248 tls_session -> nx_secure_tls_bytes_processed = *bytes_processed; in _nx_secure_tls_process_record()
559 tls_session -> nx_secure_tls_bytes_processed = *bytes_processed; in _nx_secure_tls_process_record()
Dnx_secure_dtls_process_record.c93 ULONG record_offset, ULONG *bytes_processed, ULONG wait_option) in _nx_secure_dtls_process_record() argument
131 *bytes_processed = (ULONG)header_length + message_length; in _nx_secure_dtls_process_record()
146 *bytes_processed = (ULONG)header_length + message_length; in _nx_secure_dtls_process_record()
164 *bytes_processed = (ULONG)header_length + message_length; in _nx_secure_dtls_process_record()
Dnx_secure_tls_record_payload_decrypt.c39 NX_PACKET *decrypted_packet, UINT *bytes_processed,
548 UINT bytes_processed; in _nx_secure_tls_record_chained_packet_decrypt() local
620 … offset, message_length, packet_ptr, &bytes_processed, wait_option); in _nx_secure_tls_record_chained_packet_decrypt()
627 offset += bytes_processed; in _nx_secure_tls_record_chained_packet_decrypt()
628 message_length -= bytes_processed; in _nx_secure_tls_record_chained_packet_decrypt()
740 NX_PACKET *decrypted_packet, UINT *bytes_processed, in _nx_secure_tls_record_packet_decrypt() argument
907 *bytes_processed = length; in _nx_secure_tls_record_packet_decrypt()
Dnx_secure_tls_process_remote_certificate.c110 UINT bytes_processed; in _nx_secure_tls_process_remote_certificate() local
248 …se(certificate -> nx_secure_x509_certificate_raw_data, cert_length, &bytes_processed, certificate); in _nx_secure_tls_process_remote_certificate()
403 …ertificate -> nx_secure_x509_certificate_raw_data, endpoint_length, &bytes_processed, certificate); in _nx_secure_tls_process_remote_certificate()
/NetX-Duo-v6.2.1/nx_secure/inc/
Dnx_secure_x509.h822 UINT _nx_secure_x509_certificate_parse(const UCHAR *buffer, UINT length, UINT *bytes_processed, NX_…
825 …_pkcs1_rsa_private_key_parse(const UCHAR *buffer, UINT length, UINT *bytes_processed, NX_SECURE_RS…
828 UINT *bytes_processed,
931 UINT *bytes_processed,
989 … UINT *bytes_processed, NX_SECURE_X509_CRL *crl);
Dnx_secure_dtls.h468 ULONG record_offset, ULONG *bytes_processed, ULONG wait_option);
Dnx_secure_tls.h1554 ULONG *bytes_processed, ULONG wait_option);