/NetX-Duo-v6.2.1/nx_secure/src/ |
D | nx_secure_x509_distinguished_name_compare.c | 95 INT _nx_secure_x509_distinguished_name_compare(NX_SECURE_X509_DISTINGUISHED_NAME *name, in _nx_secure_x509_distinguished_name_compare() argument 110 … status = _nx_secure_x509_distinguished_name_field_compare(name -> nx_secure_x509_common_name, in _nx_secure_x509_distinguished_name_compare() 111 … name -> nx_secure_x509_common_name_length, in _nx_secure_x509_distinguished_name_compare() 120 status |= _nx_secure_x509_distinguished_name_field_compare(name -> nx_secure_x509_country, in _nx_secure_x509_distinguished_name_compare() 121 … name -> nx_secure_x509_country_length, in _nx_secure_x509_distinguished_name_compare() 128 … status |= _nx_secure_x509_distinguished_name_field_compare(name -> nx_secure_x509_organization, in _nx_secure_x509_distinguished_name_compare() 129 … name -> nx_secure_x509_organization_length, in _nx_secure_x509_distinguished_name_compare() 136 status |= _nx_secure_x509_distinguished_name_field_compare(name -> nx_secure_x509_org_unit, in _nx_secure_x509_distinguished_name_compare() 137 … name -> nx_secure_x509_org_unit_length, in _nx_secure_x509_distinguished_name_compare() 144 …status |= _nx_secure_x509_distinguished_name_field_compare(name -> nx_secure_x509_distinguished_na… in _nx_secure_x509_distinguished_name_compare() [all …]
|
D | nx_secure_x509_distinguished_name_parse.c | 29 NX_SECURE_X509_DISTINGUISHED_NAME *name); 83 NX_SECURE_X509_DISTINGUISHED_NAME *name) in _nx_secure_x509_distinguished_name_parse() argument 170 …= _nx_secure_x509_extract_name_oid_data(&tlv_data[tlv_length], oid, sequence_length, &bytes, name); in _nx_secure_x509_distinguished_name_parse() 233 NX_SECURE_X509_DISTINGUISHED_NAME *name) in _nx_secure_x509_extract_name_oid_data() argument 253 name -> nx_secure_x509_common_name = tlv_data; in _nx_secure_x509_extract_name_oid_data() 254 name -> nx_secure_x509_common_name_length = (USHORT)tlv_length; in _nx_secure_x509_extract_name_oid_data() 257 name -> nx_secure_x509_country = tlv_data; in _nx_secure_x509_extract_name_oid_data() 258 name -> nx_secure_x509_country_length = (USHORT)tlv_length; in _nx_secure_x509_extract_name_oid_data() 261 name -> nx_secure_x509_state = tlv_data; in _nx_secure_x509_extract_name_oid_data() 262 name -> nx_secure_x509_state_length = (USHORT)tlv_length; in _nx_secure_x509_extract_name_oid_data() [all …]
|
D | nx_secure_tls_local_certificate_remove.c | 85 NX_SECURE_X509_DISTINGUISHED_NAME name; in _nx_secure_tls_local_certificate_remove() local 90 NX_SECURE_MEMSET(&name, 0, sizeof(NX_SECURE_X509_DISTINGUISHED_NAME)); in _nx_secure_tls_local_certificate_remove() 93 name.nx_secure_x509_common_name = common_name; in _nx_secure_tls_local_certificate_remove() 94 name.nx_secure_x509_common_name_length = (USHORT)common_name_length; in _nx_secure_tls_local_certificate_remove() 98 &name, NX_SECURE_X509_CERT_LOCATION_LOCAL, 0); in _nx_secure_tls_local_certificate_remove()
|
D | nx_secure_x509_store_certificate_find.c | 78 NX_SECURE_X509_DISTINGUISHED_NAME *name, in _nx_secure_x509_store_certificate_find() argument 85 …if (name == NX_CRYPTO_NULL || store == NX_CRYPTO_NULL || certificate == NX_CRYPTO_NULL || location… in _nx_secure_x509_store_certificate_find() 97 …x509_certificate_list_find(&store -> nx_secure_x509_trusted_certificates, name, cert_id, certifica… in _nx_secure_x509_store_certificate_find() 105 …e_x509_certificate_list_find(&store -> nx_secure_x509_local_certificates, name, cert_id, certifica… in _nx_secure_x509_store_certificate_find() 113 …_x509_certificate_list_find(&store -> nx_secure_x509_remote_certificates, name, cert_id, certifica… in _nx_secure_x509_store_certificate_find()
|
D | nx_secure_tls_trusted_certificate_remove.c | 85 NX_SECURE_X509_DISTINGUISHED_NAME name; in _nx_secure_tls_trusted_certificate_remove() local 92 name.nx_secure_x509_common_name_length = (USHORT)common_name_length; in _nx_secure_tls_trusted_certificate_remove() 93 name.nx_secure_x509_common_name = common_name; in _nx_secure_tls_trusted_certificate_remove() 97 … &name, NX_SECURE_X509_CERT_LOCATION_TRUSTED, 0); in _nx_secure_tls_trusted_certificate_remove()
|
D | nx_secure_tls_local_certificate_find.c | 90 NX_SECURE_X509_DISTINGUISHED_NAME name; in _nx_secure_tls_local_certificate_find() local 102 name.nx_secure_x509_common_name = common_name; in _nx_secure_tls_local_certificate_find() 103 name.nx_secure_x509_common_name_length = (USHORT)name_length; in _nx_secure_tls_local_certificate_find() 106 status = _nx_secure_x509_certificate_list_find(&list_head, &name, 0, certificate); in _nx_secure_tls_local_certificate_find()
|
D | nx_secure_tls_remote_certificate_free.c | 90 NX_SECURE_X509_DISTINGUISHED_NAME *name) in _nx_secure_tls_remote_certificate_free() argument 105 status = _nx_secure_x509_certificate_list_find(&list_head, name, 0, &certificate); in _nx_secure_tls_remote_certificate_free() 119 _nx_secure_x509_store_certificate_remove(store, name, NX_SECURE_X509_CERT_LOCATION_REMOTE, 0); in _nx_secure_tls_remote_certificate_free() 145 NX_PARAMETER_NOT_USED(name); in _nx_secure_tls_remote_certificate_free()
|
D | nx_secure_x509_certificate_list_remove.c | 76 NX_SECURE_X509_DISTINGUISHED_NAME *name, UINT cert_id) in _nx_secure_x509_certificate_list_remove() argument 100 if (name == NX_CRYPTO_NULL) in _nx_secure_x509_certificate_list_remove() 108 …compare_result = _nx_secure_x509_distinguished_name_compare(name, &(*current_cert) -> nx_secure_x5… in _nx_secure_x509_certificate_list_remove()
|
D | nx_secure_x509_local_device_certificate_get.c | 84 NX_SECURE_X509_DISTINGUISHED_NAME *name, in _nx_secure_x509_local_device_certificate_get() argument 101 if (name == NX_CRYPTO_NULL) in _nx_secure_x509_local_device_certificate_get() 132 status = _nx_secure_x509_certificate_list_find(&list_head, name, 0, certificate); in _nx_secure_x509_local_device_certificate_get()
|
D | nx_secure_x509_certificate_list_find.c | 82 NX_SECURE_X509_DISTINGUISHED_NAME *name, in _nx_secure_x509_certificate_list_find() argument 119 if (name == NX_CRYPTO_NULL) in _nx_secure_x509_certificate_list_find() 127 …compare_result = _nx_secure_x509_distinguished_name_compare(name, ¤t_cert -> nx_secure_x509_… in _nx_secure_x509_certificate_list_find()
|
D | nx_secure_x509_store_certificate_remove.c | 86 NX_SECURE_X509_DISTINGUISHED_NAME *name, in _nx_secure_x509_store_certificate_remove() argument 136 status = _nx_secure_x509_certificate_list_remove(store_ptr, name, cert_id); in _nx_secure_x509_store_certificate_remove()
|
/NetX-Duo-v6.2.1/addons/azure_iot/azure_iot_security_module/iot-security-module-core/src/ |
D | components_factory.c | 80 asc_result_t components_factory_set(const char *name, int index, component_ops_t *ops, bool auto_di… in components_factory_set() argument 82 if (name == NULL || str_str(name, "_")) { in components_factory_set() 83 log_fatal("Component name=[%s] is wrong (NULL or has '_')", name ? name : "NULL"); in components_factory_set() 86 if (components_manager_get_id_by_name(name, str_len(name))) { in components_factory_set() 87 log_fatal("Component name=[%s] already exists", name); in components_factory_set() 95 g_component_factory[index].component.info.name = name; in components_factory_set() 104 asc_result_t components_factory_set_dynamic_collector(const char *name, int index, component_ops_t … in components_factory_set_dynamic_collector() argument 110 return components_factory_set(name, index, ops, auto_disable); in components_factory_set_dynamic_collector() 113 asc_result_t components_factory_set_dynamic_component(const char *name, int index, component_ops_t … in components_factory_set_dynamic_component() argument 119 return components_factory_set(name, index, ops, auto_disable); in components_factory_set_dynamic_component() [all …]
|
D | components_manager.c | 166 component_id_t components_manager_get_id_by_name(const char *name, size_t len) in components_manager_get_id_by_name() argument 168 if (str_isempty(name)) { in components_manager_get_id_by_name() 174 if (!str_ncmp(g_component_factory[index].component.info.name, in components_manager_get_id_by_name() 175 str_len(g_component_factory[index].component.info.name), name, len)) { in components_manager_get_id_by_name() 216 return component ? component->info.name : ""; in components_manager_get_name() 262 log_error("failed to start component=[%s]", component->info.name); in components_manager_start() 335 log_error("failed to stop component=[%s]", component->info.name); in components_manager_stop() 373 g_component_factory[index].component.info.name, in _load_lcm_function() 389 …_start_disable==true in component=[%s]", to_state, g_component_factory[index].component.info.name); in _perform_lcm_action() 402 …unction in component=[%s] is not armed", to_state, g_component_factory[index].component.info.name); in _perform_lcm_action() [all …]
|
/NetX-Duo-v6.2.1/samples/ |
D | demo_netx_ppp.c | 55 UINT generate_login(CHAR *name, CHAR *password); 56 UINT verify_login(CHAR *name, CHAR *password); 375 UINT generate_login(CHAR *name, CHAR *password) in generate_login() argument 379 name[0] = 'm'; in generate_login() 380 name[1] = 'y'; in generate_login() 381 name[2] = 'n'; in generate_login() 382 name[3] = 'a'; in generate_login() 383 name[4] = 'm'; in generate_login() 384 name[5] = 'e'; in generate_login() 385 name[6] = (CHAR) 0; in generate_login() [all …]
|
D | demo_netx_pppoe_client.c | 105 UINT generate_login(CHAR *name, CHAR *password) in generate_login() argument 109 name[0] = 'm'; in generate_login() 110 name[1] = 'y'; in generate_login() 111 name[2] = 'n'; in generate_login() 112 name[3] = 'a'; in generate_login() 113 name[4] = 'm'; in generate_login() 114 name[5] = 'e'; in generate_login() 115 name[6] = (CHAR) 0; in generate_login()
|
D | demo_netx_pppoe_server.c | 116 UINT verify_login(CHAR *name, CHAR *password) in verify_login() argument 119 if ((name[0] == 'm') && in verify_login() 120 (name[1] == 'y') && in verify_login() 121 (name[2] == 'n') && in verify_login() 122 (name[3] == 'a') && in verify_login() 123 (name[4] == 'm') && in verify_login() 124 (name[5] == 'e') && in verify_login() 125 (name[6] == (CHAR) 0) && in verify_login()
|
D | demo_netxduo_ftp.c | 89 …tp_server_ptr, NXD_ADDRESS *client_ipduo_address, UINT client_port, CHAR *name, CHAR *password, CH… 90 …tp_server_ptr, NXD_ADDRESS *client_ipduo_address, UINT client_port, CHAR *name, CHAR *password, CH… 92 …_STRUCT *ftp_server_ptr, ULONG client_ip_address, UINT client_port, CHAR *name, CHAR *password, CH… 93 …_STRUCT *ftp_server_ptr, ULONG client_ip_address, UINT client_port, CHAR *name, CHAR *password, CH… 655 CHAR *name, CHAR *password, CHAR *extra_info) in server_login6() argument 660 NX_PARAMETER_NOT_USED(name); in server_login6() 671 CHAR *name, CHAR *password, CHAR *extra_info) in server_logout6() argument 676 NX_PARAMETER_NOT_USED(name); in server_logout6() 686 …_STRUCT *ftp_server_ptr, ULONG client_ip_address, UINT client_port, CHAR *name, CHAR *password, CH… in server_login() argument 691 NX_PARAMETER_NOT_USED(name); in server_login() [all …]
|
D | demo_netxduo_https.c | 466 CHAR *resource, CHAR **name, CHAR **password, CHAR **realm) in authentication_check() argument 474 *name = "name"; in authentication_check() 525 CHAR name[100]; in http_response_callback() local 530 if (field_name_length >= sizeof(name) || in http_response_callback() 536 memset(name, 0, sizeof(name)); in http_response_callback() 539 memcpy(name, field_name, field_name_length); /* Use case of memcpy is verified. */ in http_response_callback() 543 name, field_name_length, value, field_value_length); in http_response_callback()
|
/NetX-Duo-v6.2.1/common/src/ |
D | nx_utility.c | 361 UINT _nx_utility_base64_encode(UCHAR *name, UINT name_size, UCHAR *base64name, UINT base64name_size… in _nx_utility_base64_encode() argument 370 if ((name == NX_NULL) || (base64name == NX_NULL) || (bytes_copied == NX_NULL)) in _nx_utility_base64_encode() 422 base64name[j++] = (UCHAR)_nx_utility_base64_array[((UCHAR)name[i]) >> 2]; in _nx_utility_base64_encode() 431 …se64name[j++] = (UCHAR)_nx_utility_base64_array[((((UCHAR)name[i]) & 0x3) << 4) | (((UCHAR)name[i … in _nx_utility_base64_encode() 437 base64name[j++] = (UCHAR)_nx_utility_base64_array[(((UCHAR)name[i]) & 0x3) << 4]; in _nx_utility_base64_encode() 448 …se64name[j++] = (UCHAR)_nx_utility_base64_array[((((UCHAR)name[i]) & 0xF) << 2) | (((UCHAR)name[i … in _nx_utility_base64_encode() 454 base64name[j++] = (UCHAR)_nx_utility_base64_array[(((UCHAR)name[i]) & 0xF) << 2]; in _nx_utility_base64_encode() 463 base64name[j++] = (UCHAR)_nx_utility_base64_array[(((UCHAR)name[i]) & 0x3F)]; in _nx_utility_base64_encode() 533 UINT _nx_utility_base64_decode(UCHAR *base64name, UINT base64name_size, UCHAR *name, UINT name_size… in _nx_utility_base64_decode() argument 541 if ((base64name == NX_NULL) || (name == NX_NULL) || (bytes_copied == NX_NULL)) in _nx_utility_base64_decode() [all …]
|
D | nx_ip_create.c | 87 UINT _nx_ip_create(NX_IP *ip_ptr, CHAR *name, ULONG ip_address, ULONG network_mask, in _nx_ip_create() argument 195 ip_ptr -> nx_ip_name = name; in _nx_ip_create() 209 tx_mutex_create(&(ip_ptr -> nx_ip_protection), name, TX_NO_INHERIT); in _nx_ip_create() 212 tx_event_flags_create(&(ip_ptr -> nx_ip_events), name); in _nx_ip_create() 226 …tx_thread_create(&(ip_ptr -> nx_ip_thread), name, _nx_ip_thread_entry, (ULONG)(ALIGN_TYPE)(ip_ptr), in _nx_ip_create() 233 tx_timer_create(&(ip_ptr -> nx_ip_periodic_timer), name, in _nx_ip_create() 240 NX_TRACE_OBJECT_REGISTER(NX_TRACE_OBJECT_TYPE_IP, ip_ptr, name, memory_ptr, memory_size); in _nx_ip_create()
|
D | nx_udp_socket_create.c | 79 UINT _nx_udp_socket_create(NX_IP *ip_ptr, NX_UDP_SOCKET *socket_ptr, CHAR *name, in _nx_udp_socket_create() argument 96 socket_ptr -> nx_udp_socket_name = name; in _nx_udp_socket_create() 130 …NX_TRACE_OBJECT_REGISTER(NX_TRACE_OBJECT_TYPE_UDP_SOCKET, socket_ptr, name, type_of_service, queue… in _nx_udp_socket_create()
|
/NetX-Duo-v6.2.1/addons/azure_iot/azure_iot_security_module/iot-security-module-core/deps/flatcc/include/flatcc/ |
D | flatcc_identifier.h | 45 static inline flatbuffers_thash_t flatbuffers_type_hash_from_name(const char *name) in flatbuffers_type_hash_from_name() argument 48 while (*name) { in flatbuffers_type_hash_from_name() 49 hash ^= (unsigned char)*name; in flatbuffers_type_hash_from_name() 51 ++name; in flatbuffers_type_hash_from_name() 112 static inline void flatbuffers_identifier_from_name(const char *name, flatbuffers_fid_t out_identif… in flatbuffers_identifier_from_name() argument 114 flatbuffers_identifier_from_type_hash(flatbuffers_type_hash_from_name(name), out_identifier); in flatbuffers_identifier_from_name()
|
/NetX-Duo-v6.2.1/addons/ftp/ |
D | nxd_ftp_server.h | 328 …tp_server_ptr, NXD_ADDRESS *client_ipduo_address, UINT client_port, CHAR *name, CHAR *password, CH… 329 …tp_server_ptr, NXD_ADDRESS *client_ipduo_address, UINT client_port, CHAR *name, CHAR *password, CH… 331 …VER_STRUCT *ftp_server_ptr, ULONG client_address, UINT client_port, CHAR *name, CHAR *password, CH… 332 …VER_STRUCT *ftp_server_ptr, ULONG client_address, UINT client_port, CHAR *name, CHAR *password, CH… 374 …_STRUCT *ftp_server_ptr, ULONG client_ip_address, UINT client_port, CHAR *name, CHAR *password, CH… 375 …_STRUCT *ftp_server_ptr, ULONG client_ip_address, UINT client_port, CHAR *name, CHAR *password, CH… 377 …tp_server_ptr, NXD_ADDRESS *client_ipduo_address, UINT client_port, CHAR *name, CHAR *password, CH… 378 …tp_server_ptr, NXD_ADDRESS *client_ipduo_address, UINT client_port, CHAR *name, CHAR *password, CH… 387 …_STRUCT *ftp_server_ptr, ULONG client_ip_address, UINT client_port, CHAR *name, CHAR *password, CH… 388 …_STRUCT *ftp_server_ptr, ULONG client_ip_address, UINT client_port, CHAR *name, CHAR *password, CH… [all …]
|
/NetX-Duo-v6.2.1/addons/azure_iot/azure_iot_security_module/iot-security-module-core/inc/asc_security_core/ |
D | components_factory_type.h | 81 asc_result_t components_factory_set(const char *name, int index, component_ops_t *ops, bool auto_di… 97 asc_result_t components_factory_set_dynamic_collector(const char *name, int index, component_ops_t … 109 asc_result_t components_factory_set_dynamic_component(const char *name, int index, component_ops_t …
|
/NetX-Duo-v6.2.1/addons/ppp/ |
D | nx_ppp.h | 556 UINT (*nx_ppp_pap_verify_login)(CHAR *name, CHAR *password); 557 UINT (*nx_ppp_pap_generate_login)(CHAR *name, CHAR *password); 559 UINT (*nx_ppp_chap_get_challenge_values)(CHAR *rand_value, CHAR *id, CHAR *name); 560 UINT (*nx_ppp_chap_get_responder_values)(CHAR *sys, CHAR *name, CHAR *secret); 561 UINT (*nx_ppp_chap_get_verification_values)(CHAR *sys, CHAR *name, CHAR *secret); 688 UINT (*get_challenge_values)(CHAR *rand_value, CHAR *id, CHAR *name), 689 UINT (*get_responder_values)(CHAR *system, CHAR *name, CHAR *secret), 690 UINT (*get_verification_values)(CHAR *system, CHAR *name, CHAR *secret)); 691 UINT nx_ppp_create(NX_PPP *ppp_ptr, CHAR *name, NX_IP *ip_ptr, 707 …le(NX_PPP *ppp_ptr, UINT (*generate_login)(CHAR *name, CHAR *password), UINT (*verify_login)(CHAR … [all …]
|