| /NetX-Duo-v6.2.1/test/regression/nx_secure_test/ |
| D | nx_secure_x509_certificate_verify_test.c | 88 NX_SECURE_X509_CERTIFICATE_STORE store; in test_application_define() local 101 memset(&store, 0, sizeof(NX_SECURE_X509_CERTIFICATE_STORE)); in test_application_define() 106 …status = _nx_secure_x509_store_certificate_add(&certificate, &store, NX_SECURE_X509_CERT_LOCATION_… in test_application_define() 113 status = _nx_secure_x509_certificate_verify(&store, &certificate, &certificate); in test_application_define() 118 status = _nx_secure_x509_certificate_verify(&store, &certificate, &certificate); in test_application_define() 123 status = _nx_secure_x509_certificate_verify(&store, &certificate, &certificate); in test_application_define() 129 status = _nx_secure_x509_certificate_verify(&store, &certificate, &certificate); in test_application_define() 134 status = _nx_secure_x509_certificate_verify(&store, &certificate, &certificate); in test_application_define() 139 status = _nx_secure_x509_certificate_verify(&store, &certificate, &certificate); in test_application_define() 144 status = _nx_secure_x509_certificate_verify(&store, &certificate, &certificate); in test_application_define() [all …]
|
| D | nx_secure_x509_store_test.c | 64 NX_SECURE_X509_CERTIFICATE_STORE store; in TEST() local 72 memset(&store, 0, sizeof(NX_SECURE_X509_CERTIFICATE_STORE)); in TEST() 93 …status = _nx_secure_x509_store_certificate_add(&certificate_array[0], &store, NX_SECURE_X509_CERT_… in TEST() 97 …status = _nx_secure_x509_store_certificate_add(&certificate_array[1], &store, NX_SECURE_X509_CERT_… in TEST() 101 …status = _nx_secure_x509_store_certificate_add(&certificate_array[2], &store, NX_SECURE_X509_CERT_… in TEST() 106 …status = _nx_secure_x509_store_certificate_add(&certificate_array[1], &store, NX_SECURE_X509_CERT_… in TEST() 110 …status = _nx_secure_x509_store_certificate_add(&certificate_array[1], &store, NX_SECURE_X509_CERT_… in TEST() 114 …status = _nx_secure_x509_store_certificate_add(&certificate_array[1], &store, NX_SECURE_X509_CERT_… in TEST() 140 status = _nx_secure_x509_store_certificate_find(&store, &cert_name, 0, &certificate, &location); in TEST() 147 status = _nx_secure_x509_store_certificate_find(&store, &cert_name, 0, &certificate, &location); in TEST() [all …]
|
| D | nx_secure_x509_crl_verify_test.c | 349 NX_SECURE_X509_CERTIFICATE_STORE *store; in test_application_define() local 364 store = &tls_session.nx_secure_tls_credentials.nx_secure_tls_certificate_store; in test_application_define() 383 …status = nx_secure_x509_crl_revocation_check(TestCA_crl, sizeof(TestCA_crl), store, &revoked_certi… in test_application_define() 390 …status = nx_secure_x509_crl_revocation_check(TestCA_crl, sizeof(TestCA_crl), store, &revoked_certi… in test_application_define() 395 …status = nx_secure_x509_crl_revocation_check(TestCA_crl, sizeof(TestCA_crl), store, &revoked_certi… in test_application_define() 400 …status = nx_secure_x509_crl_revocation_check(TestCA_crl, sizeof(TestCA_crl), store, &revoked_certi… in test_application_define() 407 …status = nx_secure_x509_crl_revocation_check(TestCA_crl, sizeof(TestCA_crl), store, &revoked_certi… in test_application_define() 412 …status = nx_secure_x509_crl_revocation_check(TestCA_crl, sizeof(TestCA_crl), store, &revoked_certi… in test_application_define() 417 …status = nx_secure_x509_crl_revocation_check(TestCA_crl, sizeof(TestCA_crl), store, &revoked_certi… in test_application_define() 421 …status = nx_secure_x509_crl_revocation_check(TestCA_crl, sizeof(TestCA_crl), store, &revoked_certi… in test_application_define() [all …]
|
| D | nx_secure_tls_process_finished_test.c | 29 NX_SECURE_X509_CERTIFICATE_STORE store; in test_application_define() local 42 memset(&store, 0, sizeof(NX_SECURE_X509_CERTIFICATE_STORE)); in test_application_define() 47 …status = _nx_secure_x509_store_certificate_add(&certificate, &store, NX_SECURE_X509_CERT_LOCATION_… in test_application_define() 50 …status = _nx_secure_x509_store_certificate_add(&certificate, &store, NX_SECURE_X509_CERT_LOCATION_… in test_application_define() 53 tls_session.nx_secure_tls_credentials.nx_secure_tls_certificate_store = store; in test_application_define()
|
| D | nx_secure_x509_key_usage_test.c | 88 NX_SECURE_X509_CERTIFICATE_STORE *store; in TEST() local 128 store = &session.nx_secure_tls_credentials.nx_secure_tls_certificate_store; in TEST() 164 status = _nx_secure_x509_certificate_chain_verify(store, &device_cert, 0); in TEST() 168 status = _nx_secure_x509_certificate_chain_verify(store, &revoked_cert, 0); in TEST() 175 …status = _nx_secure_x509_crl_revocation_check(root_crl_der, root_crl_der_len, store, &revoked_cert… in TEST() 179 status = nx_secure_x509_crl_revocation_check(ica_crl_der, ica_crl_der_len, store, &device_cert); in TEST()
|
| D | nx_secure_x509_crl_test.c | 3006 NX_SECURE_X509_CERTIFICATE_STORE *store; in thread_0_entry() local 3026 store = &tls_session.nx_secure_tls_credentials.nx_secure_tls_certificate_store; in thread_0_entry() 3035 …status = nx_secure_x509_crl_revocation_check(TestCA_crl, sizeof(TestCA_crl), store, &revoked_certi… in thread_0_entry() 3045 …status = nx_secure_x509_crl_revocation_check(TestCA_crl, sizeof(TestCA_crl), store, &normal_certif… in thread_0_entry() 3056 …status = nx_secure_x509_crl_revocation_check(TestCA2_crl, sizeof(TestCA2_crl), store, &revoked_cer… in thread_0_entry() 3061 …status = nx_secure_x509_crl_revocation_check(TestCA2_crl, sizeof(TestCA2_crl), store, &normal_cert… in thread_0_entry() 3078 …status = nx_secure_x509_crl_revocation_check(TestIntm_crl, sizeof(TestIntm_crl), store, &revoked_c… in thread_0_entry() 3099 …status = nx_secure_x509_crl_revocation_check(TestIntm_crl, sizeof(TestIntm_crl), store, &revoked_c… in thread_0_entry() 3112 …status = nx_secure_x509_crl_revocation_check(TestIntm_crl, sizeof(TestIntm_crl), store, &revoked_c… in thread_0_entry() 3125 …status = nx_secure_x509_crl_revocation_check(TestIntm_crl, sizeof(TestIntm_crl), store, &revoked_c… in thread_0_entry() [all …]
|
| D | nx_secure_tls_session_renegotiate_coverage_test.c | 61 NX_SECURE_X509_CERTIFICATE_STORE *store; in TEST() local 128 store = &(tls_session.nx_secure_tls_credentials.nx_secure_tls_certificate_store); in TEST() 130 …_nx_secure_x509_certificate_list_add(&store -> nx_secure_x509_free_certificates, &device_certifica… in TEST() 131 …_nx_secure_x509_certificate_list_add(&store -> nx_secure_x509_remote_certificates, &device_certifi… in TEST()
|
| D | nx_secure_tls_process_certificate_verify_test.c | 151 NX_SECURE_X509_CERTIFICATE_STORE store; in ntest_0_entry() local 167 memset(&store, 0, sizeof(NX_SECURE_X509_CERTIFICATE_STORE)); in ntest_0_entry() 172 …status = _nx_secure_x509_store_certificate_add(&certificate, &store, NX_SECURE_X509_CERT_LOCATION_… in ntest_0_entry() 175 tls_session.nx_secure_tls_credentials.nx_secure_tls_certificate_store = store; in ntest_0_entry() 183 tls_session.nx_secure_tls_credentials.nx_secure_tls_certificate_store = store; in ntest_0_entry()
|
| /NetX-Duo-v6.2.1/nx_secure/src/ |
| D | nx_secure_x509_store_certificate_add.c | 81 NX_SECURE_X509_CERTIFICATE_STORE *store, UINT location) in _nx_secure_x509_store_certificate_add() argument 88 if (certificate == NX_CRYPTO_NULL || store == NX_CRYPTO_NULL) in _nx_secure_x509_store_certificate_add() 103 store_ptr = &store -> nx_secure_x509_local_certificates; in _nx_secure_x509_store_certificate_add() 106 store_ptr = &store -> nx_secure_x509_remote_certificates; in _nx_secure_x509_store_certificate_add() 109 store_ptr = &store -> nx_secure_x509_trusted_certificates; in _nx_secure_x509_store_certificate_add() 112 store_ptr = &store -> nx_secure_x509_certificate_exceptions; in _nx_secure_x509_store_certificate_add() 115 store_ptr = &store -> nx_secure_x509_free_certificates; in _nx_secure_x509_store_certificate_add()
|
| D | nx_secure_x509_store_certificate_remove.c | 84 UINT _nx_secure_x509_store_certificate_remove(NX_SECURE_X509_CERTIFICATE_STORE *store, in _nx_secure_x509_store_certificate_remove() argument 92 if (store == NX_CRYPTO_NULL) in _nx_secure_x509_store_certificate_remove() 107 store_ptr = &store -> nx_secure_x509_local_certificates; in _nx_secure_x509_store_certificate_remove() 110 store_ptr = &store -> nx_secure_x509_remote_certificates; in _nx_secure_x509_store_certificate_remove() 113 store_ptr = &store -> nx_secure_x509_trusted_certificates; in _nx_secure_x509_store_certificate_remove() 116 store_ptr = &store -> nx_secure_x509_certificate_exceptions; in _nx_secure_x509_store_certificate_remove()
|
| D | nx_secure_tls_remote_certificate_free.c | 94 NX_SECURE_X509_CERTIFICATE_STORE *store; in _nx_secure_tls_remote_certificate_free() local 98 store = &tls_session -> nx_secure_tls_credentials.nx_secure_tls_certificate_store; in _nx_secure_tls_remote_certificate_free() 101 list_head = store -> nx_secure_x509_remote_certificates; in _nx_secure_tls_remote_certificate_free() 118 _nx_secure_x509_store_certificate_remove(store, name, NX_SECURE_X509_CERT_LOCATION_REMOTE, 0); in _nx_secure_tls_remote_certificate_free() 125 …status = _nx_secure_x509_store_certificate_add(certificate, store, NX_SECURE_X509_CERT_LOCATION_FR… in _nx_secure_tls_remote_certificate_free()
|
| D | nx_secure_x509_store_certificate_find.c | 76 UINT _nx_secure_x509_store_certificate_find(NX_SECURE_X509_CERTIFICATE_STORE *store, in _nx_secure_x509_store_certificate_find() argument 84 …if (name == NX_CRYPTO_NULL || store == NX_CRYPTO_NULL || certificate == NX_CRYPTO_NULL || location… in _nx_secure_x509_store_certificate_find() 96 …status = _nx_secure_x509_certificate_list_find(&store -> nx_secure_x509_trusted_certificates, name… in _nx_secure_x509_store_certificate_find() 104 …status = _nx_secure_x509_certificate_list_find(&store -> nx_secure_x509_local_certificates, name, … in _nx_secure_x509_store_certificate_find() 112 …status = _nx_secure_x509_certificate_list_find(&store -> nx_secure_x509_remote_certificates, name,… in _nx_secure_x509_store_certificate_find()
|
| D | nx_secure_tls_remote_certificate_free_all.c | 83 NX_SECURE_X509_CERTIFICATE_STORE *store; in _nx_secure_tls_remote_certificate_free_all() local 91 store = &tls_session -> nx_secure_tls_credentials.nx_secure_tls_certificate_store; in _nx_secure_tls_remote_certificate_free_all() 93 certificate = store -> nx_secure_x509_remote_certificates; in _nx_secure_tls_remote_certificate_free_all() 106 certificate = store -> nx_secure_x509_remote_certificates; in _nx_secure_tls_remote_certificate_free_all()
|
| D | nx_secure_tls_remote_certificate_verify.c | 99 NX_SECURE_X509_CERTIFICATE_STORE *store; in _nx_secure_tls_remote_certificate_verify() local 111 store = &tls_session -> nx_secure_tls_credentials.nx_secure_tls_certificate_store; in _nx_secure_tls_remote_certificate_verify() 114 status = _nx_secure_x509_remote_endpoint_certificate_get(store, &remote_certificate); in _nx_secure_tls_remote_certificate_verify() 139 …status = tls_session -> nx_secure_remote_certificate_verify(store, remote_certificate, current_tim… in _nx_secure_tls_remote_certificate_verify()
|
| D | nx_secure_x509_certificate_chain_verify.c | 84 UINT _nx_secure_x509_certificate_chain_verify(NX_SECURE_X509_CERTIFICATE_STORE *store, in _nx_secure_x509_certificate_chain_verify() argument 124 …status = _nx_secure_x509_store_certificate_find(store, ¤t_certificate -> nx_secure_x509_issu… in _nx_secure_x509_certificate_chain_verify() 143 status = _nx_secure_x509_certificate_verify(store, current_certificate, issuer_certificate); in _nx_secure_x509_certificate_chain_verify() 164 …status = _nx_secure_x509_store_certificate_find(store, ¤t_certificate -> nx_secure_x509_dist… in _nx_secure_x509_certificate_chain_verify()
|
| D | nx_secure_x509_free_certificate_get.c | 73 UINT _nx_secure_x509_free_certificate_get(NX_SECURE_X509_CERTIFICATE_STORE *store, in _nx_secure_x509_free_certificate_get() argument 79 list_head = store -> nx_secure_x509_free_certificates; in _nx_secure_x509_free_certificate_get() 91 store -> nx_secure_x509_free_certificates = (*certificate) -> nx_secure_x509_next_certificate; in _nx_secure_x509_free_certificate_get()
|
| D | nxe_secure_x509_crl_revocation_check.c | 77 NX_SECURE_X509_CERTIFICATE_STORE *store, in _nxe_secure_x509_crl_revocation_check() argument 83 … NX_CRYPTO_NULL) || (crl_data == NX_CRYPTO_NULL) || (crl_length == 0) || (store == NX_CRYPTO_NULL)) in _nxe_secure_x509_crl_revocation_check() 96 status = _nx_secure_x509_crl_revocation_check(crl_data, crl_length, store, certificate); in _nxe_secure_x509_crl_revocation_check()
|
| D | nx_secure_tls_local_certificate_find.c | 88 NX_SECURE_X509_CERTIFICATE_STORE *store; in _nx_secure_tls_local_certificate_find() local 92 store = &tls_session -> nx_secure_tls_credentials.nx_secure_tls_certificate_store; in _nx_secure_tls_local_certificate_find() 95 list_head = store -> nx_secure_x509_local_certificates; in _nx_secure_tls_local_certificate_find()
|
| D | nx_secure_x509_crl_revocation_check.c | 106 NX_SECURE_X509_CERTIFICATE_STORE *store, in _nx_secure_x509_crl_revocation_check() argument 144 …status = _nx_secure_x509_store_certificate_find(store, &crl.nx_secure_x509_crl_issuer, 0, &issuer_… in _nx_secure_x509_crl_revocation_check() 152 status = _nx_secure_x509_certificate_chain_verify(store, issuer_certificate, 0); in _nx_secure_x509_crl_revocation_check() 160 status = _nx_secure_x509_crl_verify(certificate, &crl, store, issuer_certificate); in _nx_secure_x509_crl_revocation_check() 217 NX_CRYPTO_PARAMETER_NOT_USED(store); in _nx_secure_x509_crl_revocation_check()
|
| D | nx_secure_trusted_certificate_add.c | 72 UINT _nx_secure_trusted_certificate_add(NX_SECURE_X509_CERTIFICATE_STORE *store, in _nx_secure_trusted_certificate_add() argument 79 status = _nx_secure_x509_store_certificate_add(certificate, store, in _nx_secure_trusted_certificate_add()
|
| D | nx_secure_remote_certificate_verify.c | 72 UINT _nx_secure_remote_certificate_verify(NX_SECURE_X509_CERTIFICATE_STORE *store, in _nx_secure_remote_certificate_verify() argument 79 status = _nx_secure_x509_certificate_chain_verify(store, certificate, current_time); in _nx_secure_remote_certificate_verify()
|
| D | nx_secure_x509_local_certificate_find.c | 74 UINT _nx_secure_x509_local_certificate_find(NX_SECURE_X509_CERTIFICATE_STORE *store, in _nx_secure_x509_local_certificate_find() argument 81 list_head = store -> nx_secure_x509_local_certificates; in _nx_secure_x509_local_certificate_find()
|
| D | nx_secure_x509_local_device_certificate_get.c | 82 UINT _nx_secure_x509_local_device_certificate_get(NX_SECURE_X509_CERTIFICATE_STORE *store, in _nx_secure_x509_local_device_certificate_get() argument 91 list_head = store -> nx_secure_x509_local_certificates; in _nx_secure_x509_local_device_certificate_get()
|
| D | nx_secure_x509_remote_endpoint_certificate_get.c | 80 UINT _nx_secure_x509_remote_endpoint_certificate_get(NX_SECURE_X509_CERTIFICATE_STORE *store, in _nx_secure_x509_remote_endpoint_certificate_get() argument 90 list_head = store -> nx_secure_x509_remote_certificates; in _nx_secure_x509_remote_endpoint_certificate_get()
|
| /NetX-Duo-v6.2.1/nx_secure/inc/ |
| D | nx_secure_x509.h | 904 UINT _nx_secure_x509_local_device_certificate_get(NX_SECURE_X509_CERTIFICATE_STORE *store, 908 UINT _nx_secure_x509_local_certificate_find(NX_SECURE_X509_CERTIFICATE_STORE *store, 912 UINT _nx_secure_x509_remote_endpoint_certificate_get(NX_SECURE_X509_CERTIFICATE_STORE *store, 917 NX_SECURE_X509_CERTIFICATE_STORE *store, UINT location); 920 UINT _nx_secure_x509_store_certificate_remove(NX_SECURE_X509_CERTIFICATE_STORE *store, 933 UINT _nx_secure_x509_store_certificate_find(NX_SECURE_X509_CERTIFICATE_STORE *store, 939 UINT _nx_secure_x509_certificate_chain_build(NX_SECURE_X509_CERTIFICATE_STORE *store, 943 UINT _nx_secure_x509_certificate_verify(NX_SECURE_X509_CERTIFICATE_STORE *store, 948 UINT _nx_secure_x509_certificate_chain_verify(NX_SECURE_X509_CERTIFICATE_STORE *store, 973 UINT _nx_secure_x509_free_certificate_get(NX_SECURE_X509_CERTIFICATE_STORE *store, [all …]
|