Home
last modified time | relevance | path

Searched refs:tlv_length (Results 1 – 15 of 15) sorted by relevance

/NetX-Duo-v6.4.1/nx_secure/src/
Dnx_secure_x509_pkcs1_rsa_private_key_parse.c84 ULONG tlv_length; in _nx_secure_x509_pkcs1_rsa_private_key_parse() local
122 …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()
136 seq_length = tlv_length; in _nx_secure_x509_pkcs1_rsa_private_key_parse()
139 …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()
153 *bytes_processed += (header_length + tlv_length); in _nx_secure_x509_pkcs1_rsa_private_key_parse()
164 tlv_data = &tlv_data[tlv_length]; in _nx_secure_x509_pkcs1_rsa_private_key_parse()
168 …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()
182 *bytes_processed += (header_length + tlv_length); in _nx_secure_x509_pkcs1_rsa_private_key_parse()
187 …_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()
192 tlv_data = &tlv_data[tlv_length]; in _nx_secure_x509_pkcs1_rsa_private_key_parse()
[all …]
Dnx_secure_x509.c117 ULONG tlv_length; in _nx_secure_x509_certificate_parse() local
179 …tlv_block_parse(buffer, (ULONG *)&length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_certificate_parse()
193 length = tlv_length; in _nx_secure_x509_certificate_parse()
196 status = _nx_secure_x509_parse_cert_data(tlv_data, tlv_length, &bytes, cert); in _nx_secure_x509_certificate_parse()
303 ULONG tlv_length; in _nx_secure_x509_extract_oid_data() local
315 …509_asn1_tlv_block_parse(buffer, &length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_extract_oid_data()
323 *bytes_processed = (header_length + tlv_length); in _nx_secure_x509_extract_oid_data()
330 if (tlv_length < 1) in _nx_secure_x509_extract_oid_data()
342 length = tlv_length - 1; in _nx_secure_x509_extract_oid_data()
345 …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 …]
Dnx_secure_x509_distinguished_name_parse.c86 ULONG tlv_length; in _nx_secure_x509_distinguished_name_parse() local
114 …&buffer[current_index], (ULONG *)&length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_distinguished_name_parse()
128 current_index += (header_length + tlv_length); in _nx_secure_x509_distinguished_name_parse()
129 *bytes_processed += (header_length + tlv_length); in _nx_secure_x509_distinguished_name_parse()
130 sequence_length = tlv_length; in _nx_secure_x509_distinguished_name_parse()
133 …v_block_parse(tlv_data, &sequence_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_distinguished_name_parse()
148 sequence_length = tlv_length; in _nx_secure_x509_distinguished_name_parse()
151 …ock_parse(sequence_ptr, &sequence_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_distinguished_name_parse()
165 _nx_secure_x509_oid_parse(tlv_data, tlv_length, &oid); in _nx_secure_x509_distinguished_name_parse()
169 …status = _nx_secure_x509_extract_name_oid_data(&tlv_data[tlv_length], oid, sequence_length, &bytes… in _nx_secure_x509_distinguished_name_parse()
[all …]
Dnx_secure_x509_ec_private_key_parse.c86 ULONG tlv_length; in _nx_secure_x509_ec_private_key_parse() local
110 …tlv_block_parse(buffer, (ULONG *)&length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_ec_private_key_parse()
124 length = tlv_length; in _nx_secure_x509_ec_private_key_parse()
127 …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()
141 *bytes_processed += (header_length + tlv_length); in _nx_secure_x509_ec_private_key_parse()
152 tlv_data = &tlv_data[tlv_length]; in _nx_secure_x509_ec_private_key_parse()
156 …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()
170 *bytes_processed += (header_length + tlv_length); in _nx_secure_x509_ec_private_key_parse()
176 ec_key -> nx_secure_ec_private_key_length = (USHORT)tlv_length; in _nx_secure_x509_ec_private_key_parse()
180 tlv_data = &tlv_data[tlv_length]; in _nx_secure_x509_ec_private_key_parse()
[all …]
Dnx_secure_x509_certificate_revocation_list_parse.c107 ULONG tlv_length; in _nx_secure_x509_certificate_revocation_list_parse() local
165 …tlv_block_parse(buffer, (ULONG *)&length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_certificate_revocation_list_parse()
179 length = tlv_length; in _nx_secure_x509_certificate_revocation_list_parse()
182 status = _nx_secure_x509_crl_tbscert_list_parse(tlv_data, tlv_length, &bytes, crl); in _nx_secure_x509_certificate_revocation_list_parse()
282 ULONG tlv_length; in _nx_secure_x509_crl_tbscert_list_parse() local
312 …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()
328 crl -> nx_secure_x509_crl_verify_data_length = (USHORT)(tlv_length + header_length); in _nx_secure_x509_crl_tbscert_list_parse()
331 cur_length = tlv_length; in _nx_secure_x509_crl_tbscert_list_parse()
335 status = _nx_secure_x509_crl_version_parse(tlv_data, tlv_length, &bytes, crl); in _nx_secure_x509_crl_tbscert_list_parse()
468 ULONG tlv_length; in _nx_secure_x509_crl_signature_algorithm_parse() local
[all …]
Dnx_secure_x509_extension_find.c86 ULONG tlv_length; in _nx_secure_x509_extension_find() local
115 …rent_buffer, &extensions_sequence_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_extension_find()
133 current_buffer += header_length + tlv_length; in _nx_secure_x509_extension_find()
134 seq_length = tlv_length; in _nx_secure_x509_extension_find()
137 …n1_tlv_block_parse(tlv_data, &seq_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_extension_find()
147 _nx_secure_x509_oid_parse(tlv_data, tlv_length, &extension_oid); in _nx_secure_x509_extension_find()
159 current_buffer = tlv_data + tlv_length; in _nx_secure_x509_extension_find()
177 …_block_parse(current_buffer, &seq_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_extension_find()
192 current_buffer += header_length + tlv_length; in _nx_secure_x509_extension_find()
195 …_block_parse(current_buffer, &seq_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_extension_find()
[all …]
Dnx_secure_x509_pkcs7_decode.c87 ULONG tlv_length; in _nx_secure_x509_pkcs7_decode() local
147 …_parse(signature_data, &remaining_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_pkcs7_decode()
157 remaining_length = tlv_length; in _nx_secure_x509_pkcs7_decode()
160 …_parse(signature_data, &remaining_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_pkcs7_decode()
168 seq_length = tlv_length; in _nx_secure_x509_pkcs7_decode()
174 …_block_parse(signature_data, &seq_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_pkcs7_decode()
183 signature_data = &signature_data[tlv_length + header_length]; in _nx_secure_x509_pkcs7_decode()
193 *signature_oid_length = tlv_length; in _nx_secure_x509_pkcs7_decode()
197 …_parse(signature_data, &remaining_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_pkcs7_decode()
207 *hash_length = tlv_length; in _nx_secure_x509_pkcs7_decode()
Dnx_secure_x509_extended_key_usage_extension_parse.c80 ULONG tlv_length; in _nx_secure_x509_extended_key_usage_extension_parse() local
114 …_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()
131 length = tlv_length; in _nx_secure_x509_extended_key_usage_extension_parse()
137 …_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()
154 _nx_secure_x509_oid_parse(tlv_data, tlv_length, &usage_oid); 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.c81 ULONG tlv_length; in _nx_secure_x509_subject_alt_names_find() local
122 …_tlv_block_parse(current_buffer, &length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_subject_alt_names_find()
140 length = tlv_length; in _nx_secure_x509_subject_alt_names_find()
147 …_tlv_block_parse(current_buffer, &length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_subject_alt_names_find()
178 compare_length = tlv_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_crl_revocation_check.c281 ULONG tlv_length; in _nx_secure_x509_crl_parse_entry() local
293 …_tlv_block_parse(current_buffer, &length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_crl_parse_entry()
306 *bytes_processed += header_length + tlv_length; in _nx_secure_x509_crl_parse_entry()
308 length = tlv_length; in _nx_secure_x509_crl_parse_entry()
311 …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()
327 *serial_number_length = (USHORT)tlv_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 …_tlv_block_parse(current_buffer, &length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_crl_parse_entry()
Dnx_secure_x509_key_usage_extension_parse.c78 ULONG tlv_length; in _nx_secure_x509_key_usage_extension_parse() local
118 …_tlv_block_parse(current_buffer, &length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &hea… in _nx_secure_x509_key_usage_extension_parse()
134 if (tlv_length > sizeof(USHORT) || tlv_length < 2) in _nx_secure_x509_key_usage_extension_parse()
Dnx_secure_x509_asn1_tlv_block_parse.c129 USHORT *tlv_tag_class, ULONG *tlv_length, in _nx_secure_x509_asn1_tlv_block_parse() argument
185 *tlv_length = 1; in _nx_secure_x509_asn1_tlv_block_parse()
237 *tlv_length = length; in _nx_secure_x509_asn1_tlv_block_parse()
248 *tlv_length = length; in _nx_secure_x509_asn1_tlv_block_parse()
/NetX-Duo-v6.4.1/nx_secure/inc/
Dnx_secure_x509.h822 … ULONG *buffer_length, USHORT *tlv_type, USHORT *tlv_tag_class, ULONG *tlv_length, const UCHAR **t…
/NetX-Duo-v6.4.1/addons/snmp/
Dnxd_snmp.h871 …er, INT buffer_length, USHORT *tlv_type, USHORT *tlv_tag_class, ULONG *tlv_length, UCHAR **tlv_dat…
Dnxd_snmp.c23176 USHORT *tlv_tag_class, ULONG *tlv_length, in _nx_snmp_utility_tlv_block_parse() argument
23232 *tlv_length = 1; in _nx_snmp_utility_tlv_block_parse()
23288 *tlv_length = length; in _nx_snmp_utility_tlv_block_parse()
23292 *tlv_length = length; in _nx_snmp_utility_tlv_block_parse()