Home
last modified time | relevance | path

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

/NetX-Duo-v6.3.0/nx_secure/src/
Dnx_secure_x509_pkcs1_rsa_private_key_parse.c86 const UCHAR *tlv_data; in _nx_secure_x509_pkcs1_rsa_private_key_parse() local
123 …arse(buffer, (ULONG *)&length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &header_length); in _nx_secure_x509_pkcs1_rsa_private_key_parse()
140 … = _nx_secure_x509_asn1_tlv_block_parse(tlv_data, &seq_length, &tlv_type, &tlv_type_class, &tlv_le… in _nx_secure_x509_pkcs1_rsa_private_key_parse()
157 version = tlv_data[0]; 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 … = _nx_secure_x509_asn1_tlv_block_parse(tlv_data, &seq_length, &tlv_type, &tlv_type_class, &tlv_le… 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()
196 … = _nx_secure_x509_asn1_tlv_block_parse(tlv_data, &seq_length, &tlv_type, &tlv_type_class, &tlv_le… in _nx_secure_x509_pkcs1_rsa_private_key_parse()
215 …_nx_secure_asn1_parse_unsigned_integer(tlv_data, tlv_length, &rsa_key -> nx_secure_rsa_public_expo… in _nx_secure_x509_pkcs1_rsa_private_key_parse()
[all …]
Dnx_secure_x509.c120 const UCHAR *tlv_data; in _nx_secure_x509_certificate_parse() local
180 …arse(buffer, (ULONG *)&length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &header_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()
207 tlv_data = &tlv_data[bytes]; in _nx_secure_x509_certificate_parse()
209 status = _nx_secure_x509_parse_signature_algorithm(tlv_data, length, &bytes, cert); in _nx_secure_x509_certificate_parse()
219 tlv_data = &tlv_data[bytes]; in _nx_secure_x509_certificate_parse()
221 status = _nx_secure_x509_parse_signature_data(tlv_data, length, &bytes, cert); in _nx_secure_x509_certificate_parse()
305 const UCHAR *tlv_data; in _nx_secure_x509_extract_oid_data() local
316 …v_block_parse(buffer, &length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &header_length); in _nx_secure_x509_extract_oid_data()
338 if (tlv_data[0] != 0) in _nx_secure_x509_extract_oid_data()
[all …]
Dnx_secure_x509_ec_private_key_parse.c89 const UCHAR *tlv_data; in _nx_secure_x509_ec_private_key_parse() local
111 …arse(buffer, (ULONG *)&length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &header_length); in _nx_secure_x509_ec_private_key_parse()
128 …_nx_secure_x509_asn1_tlv_block_parse(tlv_data, (ULONG *)&length, &tlv_type, &tlv_type_class, &tlv_… in _nx_secure_x509_ec_private_key_parse()
145 version = tlv_data[0]; in _nx_secure_x509_ec_private_key_parse()
153 tlv_data = &tlv_data[tlv_length]; in _nx_secure_x509_ec_private_key_parse()
157 …_nx_secure_x509_asn1_tlv_block_parse(tlv_data, (ULONG *)&length, &tlv_type, &tlv_type_class, &tlv_… in _nx_secure_x509_ec_private_key_parse()
176 ec_key -> nx_secure_ec_private_key = tlv_data; in _nx_secure_x509_ec_private_key_parse()
181 tlv_data = &tlv_data[tlv_length]; in _nx_secure_x509_ec_private_key_parse()
184 …_nx_secure_x509_asn1_tlv_block_parse(tlv_data, (ULONG *)&length, &tlv_type, &tlv_type_class, &tlv_… in _nx_secure_x509_ec_private_key_parse()
202 … = _nx_secure_x509_asn1_tlv_block_parse(tlv_data, &seq_length, &tlv_type, &tlv_type_class, &tlv_le… in _nx_secure_x509_ec_private_key_parse()
[all …]
Dnx_secure_x509_certificate_revocation_list_parse.c110 const UCHAR *tlv_data; in _nx_secure_x509_certificate_revocation_list_parse() local
166 …arse(buffer, (ULONG *)&length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &header_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()
193 tlv_data = &tlv_data[bytes]; in _nx_secure_x509_certificate_revocation_list_parse()
195 status = _nx_secure_x509_crl_signature_algorithm_parse(tlv_data, length, &bytes, crl); in _nx_secure_x509_certificate_revocation_list_parse()
205 tlv_data = &tlv_data[bytes]; in _nx_secure_x509_certificate_revocation_list_parse()
207 status = _nx_secure_x509_crl_signature_data_parse(tlv_data, length, &bytes, crl); in _nx_secure_x509_certificate_revocation_list_parse()
286 const UCHAR *tlv_data; in _nx_secure_x509_crl_tbscert_list_parse() local
313 …v_block_parse(buffer, &length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &header_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()
[all …]
Dnx_secure_x509_distinguished_name_parse.c89 const UCHAR *tlv_data; in _nx_secure_x509_distinguished_name_parse() local
115 …rent_index], (ULONG *)&length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &header_length); in _nx_secure_x509_distinguished_name_parse()
134 …_nx_secure_x509_asn1_tlv_block_parse(tlv_data, &sequence_length, &tlv_type, &tlv_type_class, &tlv_… in _nx_secure_x509_distinguished_name_parse()
148 sequence_ptr = tlv_data; in _nx_secure_x509_distinguished_name_parse()
152 …equence_ptr, &sequence_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &header_length); 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()
238 const UCHAR *tlv_data; in _nx_secure_x509_extract_name_oid_data() local
242 …v_block_parse(buffer, &length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &header_length); in _nx_secure_x509_extract_name_oid_data()
253 name -> nx_secure_x509_common_name = tlv_data; in _nx_secure_x509_extract_name_oid_data()
[all …]
Dnx_secure_x509_extension_find.c92 const UCHAR *tlv_data; in _nx_secure_x509_extension_find() local
116 …, &extensions_sequence_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &header_length); in _nx_secure_x509_extension_find()
138 … = _nx_secure_x509_asn1_tlv_block_parse(tlv_data, &seq_length, &tlv_type, &tlv_type_class, &tlv_le… 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 …e(current_buffer, &seq_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &header_length); in _nx_secure_x509_extension_find()
190 critical_flag = tlv_data[0] != 0; in _nx_secure_x509_extension_find()
196 …e(current_buffer, &seq_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &header_length); in _nx_secure_x509_extension_find()
212 extension -> nx_secure_x509_extension_data = tlv_data; in _nx_secure_x509_extension_find()
Dnx_secure_x509_pkcs7_decode.c89 const UCHAR *tlv_data = NX_CRYPTO_NULL; in _nx_secure_x509_pkcs7_decode() local
148 …ature_data, &remaining_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &header_length); in _nx_secure_x509_pkcs7_decode()
157 signature_data = tlv_data; in _nx_secure_x509_pkcs7_decode()
161 …ature_data, &remaining_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &header_length); in _nx_secure_x509_pkcs7_decode()
168 signature_data = tlv_data; in _nx_secure_x509_pkcs7_decode()
175 …e(signature_data, &seq_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &header_length); in _nx_secure_x509_pkcs7_decode()
193 *signature_oid = tlv_data; in _nx_secure_x509_pkcs7_decode()
198 …ature_data, &remaining_length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &header_length); in _nx_secure_x509_pkcs7_decode()
207 *hash_data = tlv_data; in _nx_secure_x509_pkcs7_decode()
Dnx_secure_x509_extended_key_usage_extension_parse.c82 const UCHAR *tlv_data; in _nx_secure_x509_extended_key_usage_extension_parse() local
115 …parse(current_buffer, &length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &header_length); in _nx_secure_x509_extended_key_usage_extension_parse()
131 current_buffer = tlv_data; in _nx_secure_x509_extended_key_usage_extension_parse()
138 …parse(current_buffer, &length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &header_length); 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()
Dnx_secure_x509_subject_alt_names_find.c83 const UCHAR *tlv_data; in _nx_secure_x509_subject_alt_names_find() local
123 …parse(current_buffer, &length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &header_length); in _nx_secure_x509_subject_alt_names_find()
140 current_buffer = tlv_data; in _nx_secure_x509_subject_alt_names_find()
148 …parse(current_buffer, &length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &header_length); in _nx_secure_x509_subject_alt_names_find()
178 compare_name = tlv_data; in _nx_secure_x509_subject_alt_names_find()
Dnx_secure_x509_key_usage_extension_parse.c80 const UCHAR *tlv_data; in _nx_secure_x509_key_usage_extension_parse() local
119 …parse(current_buffer, &length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &header_length); in _nx_secure_x509_key_usage_extension_parse()
143 *bitfield = (USHORT)((tlv_data[1] << 8) + tlv_data[0]); in _nx_secure_x509_key_usage_extension_parse()
Dnx_secure_x509_crl_revocation_check.c283 const UCHAR *tlv_data; in _nx_secure_x509_crl_parse_entry() local
294 …parse(current_buffer, &length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &header_length); in _nx_secure_x509_crl_parse_entry()
312 …us = _nx_secure_x509_asn1_tlv_block_parse(tlv_data, &length, &tlv_type, &tlv_type_class, &tlv_leng… in _nx_secure_x509_crl_parse_entry()
327 *serial_number = tlv_data; in _nx_secure_x509_crl_parse_entry()
334 …parse(current_buffer, &length, &tlv_type, &tlv_type_class, &tlv_length, &tlv_data, &header_length); in _nx_secure_x509_crl_parse_entry()
Dnx_secure_x509_asn1_tlv_block_parse.c131 const UCHAR **tlv_data, ULONG *header_length) in _nx_secure_x509_asn1_tlv_block_parse() argument
189 *tlv_data = &buffer[current_index]; in _nx_secure_x509_asn1_tlv_block_parse()
252 *tlv_data = &buffer[current_index]; in _nx_secure_x509_asn1_tlv_block_parse()
/NetX-Duo-v6.3.0/nx_secure/inc/
Dnx_secure_x509.h823 …HORT *tlv_type, USHORT *tlv_tag_class, ULONG *tlv_length, const UCHAR **tlv_data, ULONG *header_le…
/NetX-Duo-v6.3.0/addons/snmp/
Dnxd_snmp.c15200 UCHAR *tlv_data; in _nx_snmp_utility_object_data_get() local
15261 …ork_ptr, buffer_length, &tlv_type, &tlv_tag_class, (ULONG *)(&total), &tlv_data, (ULONG *)(&lengt… in _nx_snmp_utility_object_data_get()
15268 work_ptr = tlv_data; in _nx_snmp_utility_object_data_get()
23178 UCHAR **tlv_data, ULONG *header_length) in _nx_snmp_utility_tlv_block_parse() argument
23236 *tlv_data = &buffer[current_index]; in _nx_snmp_utility_tlv_block_parse()
23303 *tlv_data = &buffer[current_index]; in _nx_snmp_utility_tlv_block_parse()
Dnxd_snmp.h872 …th, USHORT *tlv_type, USHORT *tlv_tag_class, ULONG *tlv_length, UCHAR **tlv_data, ULONG *header_le…