Home
last modified time | relevance | path

Searched refs:nx_crypto_init (Results 1 – 25 of 100) sorted by relevance

1234

/NetX-Duo-v6.2.1/nx_secure/src/
Dnx_secure_tls_handshake_hash_init.c111 if (method_ptr -> nx_crypto_init) in _nx_secure_tls_handshake_hash_init()
113 status = method_ptr -> nx_crypto_init((NX_CRYPTO_METHOD*)method_ptr, in _nx_secure_tls_handshake_hash_init()
162 if (method_ptr -> nx_crypto_init) in _nx_secure_tls_handshake_hash_init()
164 status = method_ptr -> nx_crypto_init((NX_CRYPTO_METHOD*)method_ptr, in _nx_secure_tls_handshake_hash_init()
211 if (method_ptr -> nx_crypto_init) in _nx_secure_tls_handshake_hash_init()
213 status = method_ptr -> nx_crypto_init((NX_CRYPTO_METHOD*)method_ptr, in _nx_secure_tls_handshake_hash_init()
255 if (method_ptr -> nx_crypto_init) in _nx_secure_tls_handshake_hash_init()
257 status = method_ptr -> nx_crypto_init((NX_CRYPTO_METHOD*)method_ptr, in _nx_secure_tls_handshake_hash_init()
Dnx_secure_x509_crl_verify.c149 if (hash_method -> nx_crypto_init) in _nx_secure_x509_crl_verify()
151 status = hash_method -> nx_crypto_init((NX_CRYPTO_METHOD*)hash_method, in _nx_secure_x509_crl_verify()
220 if (public_cipher_method -> nx_crypto_init != NX_CRYPTO_NULL) in _nx_secure_x509_crl_verify()
223 status = public_cipher_method -> nx_crypto_init((NX_CRYPTO_METHOD*)public_cipher_method, in _nx_secure_x509_crl_verify()
354 if (public_cipher_method -> nx_crypto_init != NX_CRYPTO_NULL) in _nx_secure_x509_crl_verify()
356 status = public_cipher_method -> nx_crypto_init((NX_CRYPTO_METHOD*)public_cipher_method, in _nx_secure_x509_crl_verify()
Dnx_secure_x509_certificate_verify.c152 if (hash_method -> nx_crypto_init) in _nx_secure_x509_certificate_verify()
154 status = hash_method -> nx_crypto_init((NX_CRYPTO_METHOD*)hash_method, in _nx_secure_x509_certificate_verify()
223 if (public_cipher_method -> nx_crypto_init != NX_CRYPTO_NULL) in _nx_secure_x509_certificate_verify()
226 status = public_cipher_method -> nx_crypto_init((NX_CRYPTO_METHOD*)public_cipher_method, in _nx_secure_x509_certificate_verify()
351 if (public_cipher_method -> nx_crypto_init != NX_CRYPTO_NULL) in _nx_secure_x509_certificate_verify()
353 status = public_cipher_method -> nx_crypto_init((NX_CRYPTO_METHOD*)public_cipher_method, in _nx_secure_x509_certificate_verify()
Dnx_secure_tls_1_3_session_keys_set.c170 if (session_cipher_method -> nx_crypto_init != NULL) in _nx_secure_tls_1_3_session_keys_set()
186 … status = session_cipher_method -> nx_crypto_init((NX_CRYPTO_METHOD*)session_cipher_method, in _nx_secure_tls_1_3_session_keys_set()
209 … status = session_cipher_method -> nx_crypto_init((NX_CRYPTO_METHOD*)session_cipher_method, in _nx_secure_tls_1_3_session_keys_set()
Dnx_secure_tls_ecc_generate_keys.c200 if (ecdhe_method -> nx_crypto_init != NX_NULL) in _nx_secure_tls_ecc_generate_keys()
202 status = ecdhe_method -> nx_crypto_init((NX_CRYPTO_METHOD*)ecdhe_method, in _nx_secure_tls_ecc_generate_keys()
385 if (hash_method -> nx_crypto_init) in _nx_secure_tls_ecc_generate_keys()
387 status = hash_method -> nx_crypto_init((NX_CRYPTO_METHOD*)hash_method, in _nx_secure_tls_ecc_generate_keys()
534 if (hash_method -> nx_crypto_init) in _nx_secure_tls_ecc_generate_keys()
536 status = hash_method -> nx_crypto_init((NX_CRYPTO_METHOD*)hash_method, in _nx_secure_tls_ecc_generate_keys()
775 if (auth_method -> nx_crypto_init != NX_NULL) in _nx_secure_tls_ecc_generate_keys()
778 status = auth_method -> nx_crypto_init((NX_CRYPTO_METHOD*)auth_method, in _nx_secure_tls_ecc_generate_keys()
836 if (auth_method -> nx_crypto_init != NX_NULL) in _nx_secure_tls_ecc_generate_keys()
838 status = auth_method -> nx_crypto_init((NX_CRYPTO_METHOD*)auth_method, in _nx_secure_tls_ecc_generate_keys()
Dnx_secure_process_server_key_exchange.c356 if (hash_method -> nx_crypto_init) in _nx_secure_process_server_key_exchange()
358 status = hash_method -> nx_crypto_init((NX_CRYPTO_METHOD*)hash_method, in _nx_secure_process_server_key_exchange()
504 if (hash_method -> nx_crypto_init) in _nx_secure_process_server_key_exchange()
506 status = hash_method -> nx_crypto_init((NX_CRYPTO_METHOD*)hash_method, in _nx_secure_process_server_key_exchange()
675 if (auth_method -> nx_crypto_init != NX_NULL) in _nx_secure_process_server_key_exchange()
678 status = auth_method -> nx_crypto_init((NX_CRYPTO_METHOD*)auth_method, in _nx_secure_process_server_key_exchange()
809 if (auth_method -> nx_crypto_init != NX_NULL) in _nx_secure_process_server_key_exchange()
811 status = auth_method -> nx_crypto_init((NX_CRYPTO_METHOD*)auth_method, in _nx_secure_process_server_key_exchange()
883 if (ecdh_method -> nx_crypto_init != NX_NULL) in _nx_secure_process_server_key_exchange()
885 status = ecdh_method -> nx_crypto_init((NX_CRYPTO_METHOD*)ecdh_method, in _nx_secure_process_server_key_exchange()
Dnx_secure_crypto_method_self_test_rsa.c461 if (crypto_method -> nx_crypto_init == NX_NULL) in _nx_secure_crypto_method_self_test_rsa()
475 status = crypto_method -> nx_crypto_init(crypto_method, in _nx_secure_crypto_method_self_test_rsa()
522 status = crypto_method -> nx_crypto_init(crypto_method, in _nx_secure_crypto_method_self_test_rsa()
570 status = crypto_method -> nx_crypto_init(crypto_method, in _nx_secure_crypto_method_self_test_rsa()
Dnx_secure_crypto_method_self_test_md5.c105 if (crypto_method_md5 -> nx_crypto_init) in _nx_secure_crypto_method_self_test_md5()
107 status = crypto_method_md5 -> nx_crypto_init(crypto_method_md5, in _nx_secure_crypto_method_self_test_md5()
Dnx_secure_module_hash_compute.c104 if (hmac_ptr -> nx_crypto_init) in nx_secure_module_hash_compute()
106 status = hmac_ptr -> nx_crypto_init(hmac_ptr, in nx_secure_module_hash_compute()
Dnx_secure_crypto_method_self_test_3des.c119 if (crypto_method_3des -> nx_crypto_init) in _nx_secure_crypto_method_self_test_3des()
121 status = crypto_method_3des -> nx_crypto_init(crypto_method_3des, in _nx_secure_crypto_method_self_test_3des()
Dnx_secure_crypto_method_self_test_des.c116 if (crypto_method_des -> nx_crypto_init) in _nx_secure_crypto_method_self_test_des()
118 status = crypto_method_des -> nx_crypto_init(crypto_method_des, in _nx_secure_crypto_method_self_test_des()
/NetX-Duo-v6.2.1/test/regression/nx_secure_test/
Dnx_secure_3des_error_checking_test.c204 status = test_crypto_method_3des.nx_crypto_init(NX_CRYPTO_NULL, in thread_0_entry()
213 status = test_crypto_method_3des.nx_crypto_init(&test_crypto_method_3des, in thread_0_entry()
222 status = test_crypto_method_3des.nx_crypto_init(&test_crypto_method_3des, in thread_0_entry()
231 status = test_crypto_method_3des.nx_crypto_init(&test_crypto_method_3des, in thread_0_entry()
240 status = test_crypto_method_3des.nx_crypto_init(&test_crypto_method_3des, in thread_0_entry()
249 status = test_crypto_method_3des.nx_crypto_init(&test_crypto_method_3des, in thread_0_entry()
313 test_method.nx_crypto_init = NX_CRYPTO_NULL; in thread_0_entry()
319 test_method.nx_crypto_init = test_nx_crypto_init_failed; in thread_0_entry()
324 test_method.nx_crypto_init = NX_CRYPTO_NULL; in thread_0_entry()
330 test_method.nx_crypto_init = NX_CRYPTO_NULL; in thread_0_entry()
[all …]
Dnx_secure_pkcs1_v1_5_test.c346 test_method.nx_crypto_init = test_crypto_init_failed; in thread_0_entry()
354 test_method.nx_crypto_init = test_crypto_init; in thread_0_entry()
373 test_method.nx_crypto_init = test_crypto_init_failed; in thread_0_entry()
383 test_method.nx_crypto_init = test_crypto_init; in thread_0_entry()
430 test_method.nx_crypto_init = NX_CRYPTO_NULL; in thread_0_entry()
439 test_method.nx_crypto_init = (VOID *)0xff; in thread_0_entry()
465 test_method.nx_crypto_init = NX_CRYPTO_NULL; in thread_0_entry()
474 test_method.nx_crypto_init = (VOID *)0xff; in thread_0_entry()
490 test_method.nx_crypto_init = NX_CRYPTO_NULL; in thread_0_entry()
496 test_method.nx_crypto_init = test_crypto_init_failed; in thread_0_entry()
[all …]
Dnx_secure_x509_certificate_verify_test.c111 test_x509_hash_method.nx_crypto_init = test_crypto_init; in test_application_define()
115 test_x509_hash_method.nx_crypto_init = NX_NULL; in test_application_define()
133 test_public_cipher_method.nx_crypto_init = test_crypto_init; in test_application_define()
136 test_public_cipher_method.nx_crypto_init = NX_NULL; in test_application_define()
162 test_public_cipher_method.nx_crypto_init = test_crypto_init; in test_application_define()
165 test_public_cipher_method.nx_crypto_init = NX_NULL; in test_application_define()
Dnx_secure_drbg_test.c185 test_method.nx_crypto_init = NX_CRYPTO_NULL; in thread_0_entry()
191 test_method.nx_crypto_init = test_nx_crypto_init_failed; in thread_0_entry()
196 test_method.nx_crypto_init = NX_CRYPTO_NULL; in thread_0_entry()
202 test_method.nx_crypto_init = NX_CRYPTO_NULL; in thread_0_entry()
208 test_method.nx_crypto_init = NX_CRYPTO_NULL; in thread_0_entry()
214 test_method.nx_crypto_init = NX_CRYPTO_NULL; in thread_0_entry()
220 test_method.nx_crypto_init = NX_CRYPTO_NULL; in thread_0_entry()
Dnx_secure_rsa_error_checking_test.c120 test_crypto_method_rsa.nx_crypto_init(&test_crypto_method_rsa, in thread_0_entry()
260 test_method.nx_crypto_init = NX_CRYPTO_NULL; in thread_0_entry()
265 test_method.nx_crypto_init = test_nx_crypto_init_failed; in thread_0_entry()
271 test_method.nx_crypto_init = test_nx_crypto_init_failed; in thread_0_entry()
277 test_method.nx_crypto_init = test_nx_crypto_init_succeed; in thread_0_entry()
283 test_method.nx_crypto_init = test_nx_crypto_init_succeed; in thread_0_entry()
297 test_method.nx_crypto_init = test_nx_crypto_init_failed; in thread_0_entry()
318 test_method.nx_crypto_init = test_nx_crypto_init_failed; in thread_0_entry()
Dnx_secure_crypto_method_cleanup_test.c323 if (crypto_method -> nx_crypto_init) in thread_0_entry()
325 status = crypto_method -> nx_crypto_init(crypto_method, key_test, key_size, &handler, in thread_0_entry()
411 if (crypto_method -> nx_crypto_init) in crypto_method_cleanup_ecdh_test()
413 status = crypto_method -> nx_crypto_init(crypto_method, NX_NULL, NX_NULL, &handler_a, in crypto_method_cleanup_ecdh_test()
422 if (crypto_method -> nx_crypto_init) in crypto_method_cleanup_ecdh_test()
424 status = crypto_method -> nx_crypto_init(crypto_method, NX_NULL, NX_NULL, &handler_b, in crypto_method_cleanup_ecdh_test()
589 if (crypto_method -> nx_crypto_init) in crypto_method_cleanup_ecdsa_test()
591 status = crypto_method -> nx_crypto_init(crypto_method, NX_NULL, NX_NULL, &handler, in crypto_method_cleanup_ecdsa_test()
727 if (crypto_method -> nx_crypto_init) in crypto_method_cleanup_ecjpake_test()
729 … status = crypto_method -> nx_crypto_init(crypto_method, key_test, (32 << 3), &handler_client, in crypto_method_cleanup_ecjpake_test()
[all …]
Dnx_secure_x509_crl_verify_test.c389 test_x509_hash_method.nx_crypto_init = test_crypto_init; in test_application_define()
392 test_x509_hash_method.nx_crypto_init = NX_NULL; in test_application_define()
406 test_public_cipher_method.nx_crypto_init = test_crypto_init; in test_application_define()
409 test_public_cipher_method.nx_crypto_init = NX_NULL; in test_application_define()
453 test_public_cipher_method.nx_crypto_init = test_crypto_init; in test_application_define()
456 test_public_cipher_method.nx_crypto_init = NX_NULL; in test_application_define()
Dnx_secure_aes_additional_test.c169 test_crypto_method_aes.nx_crypto_init(&test_crypto_method_aes, in thread_0_entry()
340 …status = test_crypto_method_aes.nx_crypto_init(NX_CRYPTO_NULL, NX_CRYPTO_NULL, 128, NX_CRYPTO_NULL… in thread_0_entry()
344 …status = test_crypto_method_aes.nx_crypto_init(&test_crypto_method_aes, NX_CRYPTO_NULL, 128, NX_CR… in thread_0_entry()
348 …status = test_crypto_method_aes.nx_crypto_init(&test_crypto_method_aes, (UCHAR *)key, 128, NX_CRYP… in thread_0_entry()
352 …status = test_crypto_method_aes.nx_crypto_init(&test_crypto_method_aes, (UCHAR *)key, 128, NX_CRYP… in thread_0_entry()
356 …status = test_crypto_method_aes.nx_crypto_init(&test_crypto_method_aes, (UCHAR *)key, 0, NX_CRYPTO… in thread_0_entry()
360 …status = test_crypto_method_aes.nx_crypto_init(&test_crypto_method_aes, (UCHAR *)key, 0, NX_CRYPTO… in thread_0_entry()
573 test_method.nx_crypto_init = test_nx_crypto_init_failed; in thread_0_entry()
580 test_method.nx_crypto_init = test_nx_crypto_init_failed; in thread_0_entry()
594 test_method.nx_crypto_init = test_nx_crypto_init_succeed; in thread_0_entry()
[all …]
Dnx_secure_rsa_test.c69 test_crypto_method_rsa.nx_crypto_init(&test_crypto_method_rsa, in thread_0_entry()
94 test_crypto_method_rsa.nx_crypto_init(&test_crypto_method_rsa, in thread_0_entry()
119 test_crypto_method_rsa.nx_crypto_init(&test_crypto_method_rsa, in thread_0_entry()
/NetX-Duo-v6.2.1/crypto_libraries/src/
Dnx_crypto_method_self_test_3des.c149 if (crypto_method_3des -> nx_crypto_init) in _nx_crypto_method_self_test_3des()
151 status = crypto_method_3des -> nx_crypto_init(crypto_method_3des, in _nx_crypto_method_self_test_3des()
206 if (crypto_method_3des -> nx_crypto_init) in _nx_crypto_method_self_test_3des()
208 status = crypto_method_3des -> nx_crypto_init(crypto_method_3des, in _nx_crypto_method_self_test_3des()
Dnx_crypto_method_self_test_aes.c223 if (crypto_method_aes -> nx_crypto_init) in _nx_crypto_method_self_test_aes()
225 status = crypto_method_aes -> nx_crypto_init(crypto_method_aes, in _nx_crypto_method_self_test_aes()
277 if (crypto_method_aes -> nx_crypto_init) in _nx_crypto_method_self_test_aes()
279 status = crypto_method_aes -> nx_crypto_init(crypto_method_aes, in _nx_crypto_method_self_test_aes()
Dnx_crypto_method_self_test_ecdh.c121 if (crypto_method_ecdh -> nx_crypto_init) in _nx_crypto_method_self_test_ecdh()
123 status = crypto_method_ecdh -> nx_crypto_init(crypto_method_ecdh, in _nx_crypto_method_self_test_ecdh()
217 if (crypto_method_ecdh -> nx_crypto_init) in _nx_crypto_method_self_test_ecdh()
219 status = crypto_method_ecdh -> nx_crypto_init(crypto_method_ecdh, in _nx_crypto_method_self_test_ecdh()
Dnx_crypto_method_self_test_md5.c108 if (crypto_method_md5 -> nx_crypto_init) in _nx_crypto_method_self_test_md5()
110 status = crypto_method_md5 -> nx_crypto_init(crypto_method_md5, in _nx_crypto_method_self_test_md5()
Dnx_crypto_method_self_test_rsa.c612 if (crypto_method -> nx_crypto_init == NX_CRYPTO_NULL) in _nx_crypto_method_self_test_rsa()
626 status = crypto_method -> nx_crypto_init(crypto_method, in _nx_crypto_method_self_test_rsa()
673 status = crypto_method -> nx_crypto_init(crypto_method, in _nx_crypto_method_self_test_rsa()
721 status = crypto_method -> nx_crypto_init(crypto_method, in _nx_crypto_method_self_test_rsa()

1234