/NetX-Duo-v6.3.0/nx_secure/src/ |
D | nx_secure_x509_pkcs1_rsa_private_key_parse.c | 85 ULONG tlv_length; in _nx_secure_x509_pkcs1_rsa_private_key_parse() local 123 …tlv_block_parse(buffer, (ULONG *)&length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_pkcs1_rsa_private_key_parse() 137 seq_length = tlv_length; in _nx_secure_x509_pkcs1_rsa_private_key_parse() 140 …n1_tlv_block_parse(tlv_data, &seq_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… 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() 165 tlv_data = &tlv_data[tlv_length]; in _nx_secure_x509_pkcs1_rsa_private_key_parse() 169 …n1_tlv_block_parse(tlv_data, &seq_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… 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() 188 …_nx_secure_asn1_parse_unsigned_integer(tlv_data, tlv_length, &rsa_key -> nx_secure_rsa_public_modu… in _nx_secure_x509_pkcs1_rsa_private_key_parse() 193 tlv_data = &tlv_data[tlv_length]; in _nx_secure_x509_pkcs1_rsa_private_key_parse() [all …]
|
D | nx_secure_x509_distinguished_name_parse.c | 87 ULONG tlv_length; in _nx_secure_x509_distinguished_name_parse() local 115 …&buffer[current_index], (ULONG *)&length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_distinguished_name_parse() 129 current_index += (header_length + tlv_length); in _nx_secure_x509_distinguished_name_parse() 130 *bytes_processed += (header_length + tlv_length); in _nx_secure_x509_distinguished_name_parse() 131 sequence_length = tlv_length; in _nx_secure_x509_distinguished_name_parse() 134 …v_block_parse(tlv_data, &sequence_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_distinguished_name_parse() 149 sequence_length = tlv_length; in _nx_secure_x509_distinguished_name_parse() 152 …ock_parse(sequence_ptr, &sequence_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_distinguished_name_parse() 166 _nx_secure_x509_oid_parse(tlv_data, tlv_length, &oid); in _nx_secure_x509_distinguished_name_parse() 170 …status = _nx_secure_x509_extract_name_oid_data(&tlv_data[tlv_length], oid, sequence_length, &bytes… in _nx_secure_x509_distinguished_name_parse() [all …]
|
D | nx_secure_x509.c | 118 ULONG tlv_length; in _nx_secure_x509_certificate_parse() local 180 …tlv_block_parse(buffer, (ULONG *)&length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_certificate_parse() 194 length = tlv_length; in _nx_secure_x509_certificate_parse() 197 status = _nx_secure_x509_parse_cert_data(tlv_data, tlv_length, &bytes, cert); in _nx_secure_x509_certificate_parse() 304 ULONG tlv_length; in _nx_secure_x509_extract_oid_data() local 316 …509_asn1_tlv_block_parse(buffer, &length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_extract_oid_data() 324 *bytes_processed = (header_length + tlv_length); in _nx_secure_x509_extract_oid_data() 331 if (tlv_length < 1) in _nx_secure_x509_extract_oid_data() 343 length = tlv_length - 1; in _nx_secure_x509_extract_oid_data() 346 …n1_tlv_block_parse(&tlv_data[1], &length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_extract_oid_data() [all …]
|
D | nx_secure_x509_ec_private_key_parse.c | 87 ULONG tlv_length; in _nx_secure_x509_ec_private_key_parse() local 111 …tlv_block_parse(buffer, (ULONG *)&length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_ec_private_key_parse() 125 length = tlv_length; in _nx_secure_x509_ec_private_key_parse() 128 …v_block_parse(tlv_data, (ULONG *)&length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_ec_private_key_parse() 142 *bytes_processed += (header_length + tlv_length); in _nx_secure_x509_ec_private_key_parse() 153 tlv_data = &tlv_data[tlv_length]; in _nx_secure_x509_ec_private_key_parse() 157 …v_block_parse(tlv_data, (ULONG *)&length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_ec_private_key_parse() 171 *bytes_processed += (header_length + tlv_length); in _nx_secure_x509_ec_private_key_parse() 177 ec_key -> nx_secure_ec_private_key_length = (USHORT)tlv_length; in _nx_secure_x509_ec_private_key_parse() 181 tlv_data = &tlv_data[tlv_length]; in _nx_secure_x509_ec_private_key_parse() [all …]
|
D | nx_secure_x509_certificate_revocation_list_parse.c | 108 ULONG tlv_length; in _nx_secure_x509_certificate_revocation_list_parse() local 166 …tlv_block_parse(buffer, (ULONG *)&length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_certificate_revocation_list_parse() 180 length = tlv_length; in _nx_secure_x509_certificate_revocation_list_parse() 183 status = _nx_secure_x509_crl_tbscert_list_parse(tlv_data, tlv_length, &bytes, crl); in _nx_secure_x509_certificate_revocation_list_parse() 283 ULONG tlv_length; in _nx_secure_x509_crl_tbscert_list_parse() local 313 …509_asn1_tlv_block_parse(buffer, &length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_crl_tbscert_list_parse() 329 crl -> nx_secure_x509_crl_verify_data_length = (USHORT)(tlv_length + header_length); in _nx_secure_x509_crl_tbscert_list_parse() 332 cur_length = tlv_length; in _nx_secure_x509_crl_tbscert_list_parse() 336 status = _nx_secure_x509_crl_version_parse(tlv_data, tlv_length, &bytes, crl); in _nx_secure_x509_crl_tbscert_list_parse() 469 ULONG tlv_length; in _nx_secure_x509_crl_signature_algorithm_parse() local [all …]
|
D | nx_secure_x509_extension_find.c | 87 ULONG tlv_length; in _nx_secure_x509_extension_find() local 116 …rent_buffer, &extensions_sequence_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_extension_find() 134 current_buffer += header_length + tlv_length; in _nx_secure_x509_extension_find() 135 seq_length = tlv_length; in _nx_secure_x509_extension_find() 138 …n1_tlv_block_parse(tlv_data, &seq_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_extension_find() 148 _nx_secure_x509_oid_parse(tlv_data, tlv_length, &extension_oid); in _nx_secure_x509_extension_find() 160 current_buffer = tlv_data + tlv_length; in _nx_secure_x509_extension_find() 178 …_block_parse(current_buffer, &seq_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_extension_find() 193 current_buffer += header_length + tlv_length; in _nx_secure_x509_extension_find() 196 …_block_parse(current_buffer, &seq_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_extension_find() [all …]
|
D | nx_secure_x509_pkcs7_decode.c | 88 ULONG tlv_length; in _nx_secure_x509_pkcs7_decode() local 148 …_parse(signature_data, &remaining_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_pkcs7_decode() 158 remaining_length = tlv_length; in _nx_secure_x509_pkcs7_decode() 161 …_parse(signature_data, &remaining_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_pkcs7_decode() 169 seq_length = tlv_length; in _nx_secure_x509_pkcs7_decode() 175 …_block_parse(signature_data, &seq_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_pkcs7_decode() 184 signature_data = &signature_data[tlv_length + header_length]; in _nx_secure_x509_pkcs7_decode() 194 *signature_oid_length = tlv_length; in _nx_secure_x509_pkcs7_decode() 198 …_parse(signature_data, &remaining_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_pkcs7_decode() 208 *hash_length = tlv_length; in _nx_secure_x509_pkcs7_decode()
|
D | nx_secure_x509_extended_key_usage_extension_parse.c | 81 ULONG tlv_length; in _nx_secure_x509_extended_key_usage_extension_parse() local 115 …_tlv_block_parse(current_buffer, &length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_extended_key_usage_extension_parse() 132 length = tlv_length; in _nx_secure_x509_extended_key_usage_extension_parse() 138 …_tlv_block_parse(current_buffer, &length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_extended_key_usage_extension_parse() 155 _nx_secure_x509_oid_parse(tlv_data, tlv_length, &usage_oid); in _nx_secure_x509_extended_key_usage_extension_parse() 163 current_buffer += tlv_length; in _nx_secure_x509_extended_key_usage_extension_parse()
|
D | nx_secure_x509_subject_alt_names_find.c | 82 ULONG tlv_length; in _nx_secure_x509_subject_alt_names_find() local 123 …_tlv_block_parse(current_buffer, &length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_subject_alt_names_find() 141 length = tlv_length; in _nx_secure_x509_subject_alt_names_find() 148 …_tlv_block_parse(current_buffer, &length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_subject_alt_names_find() 179 compare_length = tlv_length; in _nx_secure_x509_subject_alt_names_find() 204 current_buffer += tlv_length; in _nx_secure_x509_subject_alt_names_find()
|
D | nx_secure_x509_crl_revocation_check.c | 282 ULONG tlv_length; in _nx_secure_x509_crl_parse_entry() local 294 …_tlv_block_parse(current_buffer, &length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_crl_parse_entry() 307 *bytes_processed += header_length + tlv_length; in _nx_secure_x509_crl_parse_entry() 309 length = tlv_length; in _nx_secure_x509_crl_parse_entry() 312 …9_asn1_tlv_block_parse(tlv_data, &length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_crl_parse_entry() 328 *serial_number_length = (USHORT)tlv_length; in _nx_secure_x509_crl_parse_entry() 331 current_buffer = current_buffer + (tlv_length + header_length); in _nx_secure_x509_crl_parse_entry() 334 …_tlv_block_parse(current_buffer, &length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_crl_parse_entry()
|
D | nx_secure_x509_key_usage_extension_parse.c | 79 ULONG tlv_length; in _nx_secure_x509_key_usage_extension_parse() local 119 …_tlv_block_parse(current_buffer, &length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_key_usage_extension_parse() 135 if (tlv_length > sizeof(USHORT) || tlv_length < 2) in _nx_secure_x509_key_usage_extension_parse()
|
D | nx_secure_x509_asn1_tlv_block_parse.c | 130 USHORT *tlv_tag_class, ULONG *tlv_length, in _nx_secure_x509_asn1_tlv_block_parse() argument 186 *tlv_length = 1; in _nx_secure_x509_asn1_tlv_block_parse() 238 *tlv_length = length; in _nx_secure_x509_asn1_tlv_block_parse() 249 *tlv_length = length; in _nx_secure_x509_asn1_tlv_block_parse()
|
/NetX-Duo-v6.3.0/nx_secure/inc/ |
D | nx_secure_x509.h | 823 … ULONG *buffer_length, USHORT *tlv_type, USHORT *tlv_tag_class, ULONG *tlv_length, const UCHAR **t…
|
/NetX-Duo-v6.3.0/addons/snmp/ |
D | nxd_snmp.h | 872 …er, INT buffer_length, USHORT *tlv_type, USHORT *tlv_tag_class, ULONG *tlv_length, UCHAR **tlv_dat…
|
D | nxd_snmp.c | 23177 USHORT *tlv_tag_class, ULONG *tlv_length, in _nx_snmp_utility_tlv_block_parse() argument 23233 *tlv_length = 1; in _nx_snmp_utility_tlv_block_parse() 23289 *tlv_length = length; in _nx_snmp_utility_tlv_block_parse() 23293 *tlv_length = length; in _nx_snmp_utility_tlv_block_parse()
|