Home
last modified time | relevance | path

Searched refs:current_buffer (Results 1 – 9 of 9) sorted by relevance

/NetX-Duo-v6.4.1/nx_secure/src/
Dnx_secure_x509_crl_revocation_check.c116 const UCHAR *current_buffer; in _nx_secure_x509_crl_revocation_check() local
180 current_buffer = crl.nx_secure_x509_crl_revoked_certs; in _nx_secure_x509_crl_revocation_check()
186 …status = _nx_secure_x509_crl_parse_entry(current_buffer, length, &bytes_processed, &serial_number,… in _nx_secure_x509_crl_revocation_check()
209 current_buffer = current_buffer + bytes_processed; in _nx_secure_x509_crl_revocation_check()
283 const UCHAR *current_buffer; in _nx_secure_x509_crl_parse_entry() local
290 current_buffer = buffer; in _nx_secure_x509_crl_parse_entry()
293 …status = _nx_secure_x509_asn1_tlv_block_parse(current_buffer, &length, &tlv_type, &tlv_type_class,… in _nx_secure_x509_crl_parse_entry()
307 current_buffer = current_buffer + header_length; in _nx_secure_x509_crl_parse_entry()
330 current_buffer = current_buffer + (tlv_length + header_length); in _nx_secure_x509_crl_parse_entry()
333 …status = _nx_secure_x509_asn1_tlv_block_parse(current_buffer, &length, &tlv_type, &tlv_type_class,… in _nx_secure_x509_crl_parse_entry()
Dnx_secure_x509_extended_key_usage_extension_parse.c82 const UCHAR *current_buffer; in _nx_secure_x509_extended_key_usage_extension_parse() local
110 current_buffer = key_usage_extension.nx_secure_x509_extension_data; in _nx_secure_x509_extended_key_usage_extension_parse()
114 …status = _nx_secure_x509_asn1_tlv_block_parse(current_buffer, &length, &tlv_type, &tlv_type_class,… in _nx_secure_x509_extended_key_usage_extension_parse()
130 current_buffer = tlv_data; in _nx_secure_x509_extended_key_usage_extension_parse()
137 …status = _nx_secure_x509_asn1_tlv_block_parse(current_buffer, &length, &tlv_type, &tlv_type_class,… in _nx_secure_x509_extended_key_usage_extension_parse()
151 current_buffer += header_length; in _nx_secure_x509_extended_key_usage_extension_parse()
162 current_buffer += tlv_length; in _nx_secure_x509_extended_key_usage_extension_parse()
Dnx_secure_x509_subject_alt_names_find.c83 const UCHAR *current_buffer; in _nx_secure_x509_subject_alt_names_find() local
118 current_buffer = extension -> nx_secure_x509_extension_data; in _nx_secure_x509_subject_alt_names_find()
122 …status = _nx_secure_x509_asn1_tlv_block_parse(current_buffer, &length, &tlv_type, &tlv_type_class,… in _nx_secure_x509_subject_alt_names_find()
139 current_buffer = tlv_data; in _nx_secure_x509_subject_alt_names_find()
147 …status = _nx_secure_x509_asn1_tlv_block_parse(current_buffer, &length, &tlv_type, &tlv_type_class,… in _nx_secure_x509_subject_alt_names_find()
163 current_buffer += header_length; in _nx_secure_x509_subject_alt_names_find()
203 current_buffer += tlv_length; in _nx_secure_x509_subject_alt_names_find()
Dnx_secure_x509_extension_find.c92 const UCHAR *current_buffer; in _nx_secure_x509_extension_find() local
108 current_buffer = certificate -> nx_secure_x509_extensions_data; in _nx_secure_x509_extension_find()
115 …status = _nx_secure_x509_asn1_tlv_block_parse(current_buffer, &extensions_sequence_length, &tlv_ty… in _nx_secure_x509_extension_find()
133 current_buffer += header_length + tlv_length; in _nx_secure_x509_extension_find()
159 current_buffer = tlv_data + tlv_length; in _nx_secure_x509_extension_find()
177 …status = _nx_secure_x509_asn1_tlv_block_parse(current_buffer, &seq_length, &tlv_type, &tlv_type_cl… in _nx_secure_x509_extension_find()
192 current_buffer += header_length + tlv_length; in _nx_secure_x509_extension_find()
195 …status = _nx_secure_x509_asn1_tlv_block_parse(current_buffer, &seq_length, &tlv_type, &tlv_type_cl… in _nx_secure_x509_extension_find()
Dnx_secure_tls_send_certificate_verify.c122 UCHAR *current_buffer; in _nx_secure_tls_send_certificate_verify() local
538 current_buffer = send_packet -> nx_packet_append_ptr; in _nx_secure_tls_send_certificate_verify()
558current_buffer[length] = NX_SECURE_TLS_HASH_ALGORITHM_SHA256; /* We only support SHA-256 rig… in _nx_secure_tls_send_certificate_verify()
559 current_buffer[length + 1] = NX_SECURE_TLS_SIGNATURE_ALGORITHM_RSA; /* RSA */ in _nx_secure_tls_send_certificate_verify()
563 current_buffer[length] = (UCHAR)(data_size >> 8); in _nx_secure_tls_send_certificate_verify()
564 current_buffer[length + 1] = (UCHAR)(data_size); in _nx_secure_tls_send_certificate_verify()
603 current_buffer[length] = (UCHAR)(data_size >> 8); in _nx_secure_tls_send_certificate_verify()
604 current_buffer[length + 1] = (UCHAR)(data_size); in _nx_secure_tls_send_certificate_verify()
656 &current_buffer[length], in _nx_secure_tls_send_certificate_verify()
704 &current_buffer[length], in _nx_secure_tls_send_certificate_verify()
[all …]
Dnx_secure_x509_certificate_revocation_list_parse.c846 const UCHAR *current_buffer; in _nx_secure_x509_crl_update_times_parse() local
848 current_buffer = buffer; in _nx_secure_x509_crl_update_times_parse()
851 …status = _nx_secure_x509_asn1_tlv_block_parse(current_buffer, &length, &tlv_type, &tlv_type_class,… in _nx_secure_x509_crl_update_times_parse()
870 current_buffer = current_buffer + (tlv_length + header_length); in _nx_secure_x509_crl_update_times_parse()
876 …status = _nx_secure_x509_asn1_tlv_block_parse(current_buffer, &length, &tlv_type, &tlv_type_class,… in _nx_secure_x509_crl_update_times_parse()
957 const UCHAR *current_buffer; in _nx_secure_x509_crl_revoked_certs_list_parse() local
959 current_buffer = buffer; in _nx_secure_x509_crl_revoked_certs_list_parse()
962 …status = _nx_secure_x509_asn1_tlv_block_parse(current_buffer, &length, &tlv_type, &tlv_type_class,… in _nx_secure_x509_crl_revoked_certs_list_parse()
1041 const UCHAR *current_buffer; in _nx_secure_x509_crl_extensions_parse() local
1048 current_buffer = buffer; in _nx_secure_x509_crl_extensions_parse()
[all …]
Dnx_secure_x509_key_usage_extension_parse.c80 const UCHAR *current_buffer; in _nx_secure_x509_key_usage_extension_parse() local
114 current_buffer = key_usage_extension.nx_secure_x509_extension_data; in _nx_secure_x509_key_usage_extension_parse()
118 …status = _nx_secure_x509_asn1_tlv_block_parse(current_buffer, &length, &tlv_type, &tlv_type_class,… in _nx_secure_x509_key_usage_extension_parse()
Dnx_secure_process_server_key_exchange.c137 UCHAR *current_buffer; in _nx_secure_process_server_key_exchange() local
263 current_buffer = &packet_buffer[3]; in _nx_secure_process_server_key_exchange()
274 key_length = current_buffer[0]; in _nx_secure_process_server_key_exchange()
275 key = &current_buffer[1]; in _nx_secure_process_server_key_exchange()
277 current_buffer += key_length + 1; in _nx_secure_process_server_key_exchange()
312 hash_algorithm = current_buffer[0]; in _nx_secure_process_server_key_exchange()
313 signature_algorithm = current_buffer[1]; in _nx_secure_process_server_key_exchange()
314 current_buffer += 2; in _nx_secure_process_server_key_exchange()
639 signature_length = (USHORT)((current_buffer[0] << 8) + current_buffer[1]); in _nx_secure_process_server_key_exchange()
640 current_buffer += 2; in _nx_secure_process_server_key_exchange()
[all …]
Dnx_secure_x509.c1091 const UCHAR *current_buffer; in _nx_secure_x509_parse_validity() local
1114 current_buffer = &buffer[0] + header_length; in _nx_secure_x509_parse_validity()
1117 …status = _nx_secure_x509_asn1_tlv_block_parse(current_buffer, &length, &tlv_type, &tlv_type_class,… in _nx_secure_x509_parse_validity()
1135 current_buffer = current_buffer + (tlv_length + header_length); in _nx_secure_x509_parse_validity()
1138 …status = _nx_secure_x509_asn1_tlv_block_parse(current_buffer, &length, &tlv_type, &tlv_type_class,… in _nx_secure_x509_parse_validity()
1486 const UCHAR *current_buffer; in _nx_secure_x509_parse_unique_ids() local
1506 current_buffer = buffer; in _nx_secure_x509_parse_unique_ids()
1529 current_buffer = &current_buffer[header_length + tlv_length]; in _nx_secure_x509_parse_unique_ids()
1535 …status = _nx_secure_x509_asn1_tlv_block_parse(current_buffer, &length, &tlv_type, &tlv_type_class,… in _nx_secure_x509_parse_unique_ids()
1630 const UCHAR *current_buffer; in _nx_secure_x509_parse_extensions() local
[all …]