Home
last modified time | relevance | path

Searched refs:NX_CRYPTO_METHOD (Results 1 – 25 of 113) sorted by relevance

12345

/NetX-Duo-v6.3.0/crypto_libraries/src/
Dnx_crypto_methods.c103 NX_CRYPTO_METHOD crypto_method_none =
118 NX_CRYPTO_METHOD crypto_method_null =
132 NX_CRYPTO_METHOD crypto_method_aes_cbc_128 =
146 NX_CRYPTO_METHOD crypto_method_aes_cbc_192 =
160 NX_CRYPTO_METHOD crypto_method_aes_cbc_256 =
175 NX_CRYPTO_METHOD crypto_method_aes_ccm_8 =
189 NX_CRYPTO_METHOD crypto_method_aes_ccm_16 =
203 NX_CRYPTO_METHOD crypto_method_aes_128_gcm_16 =
217 NX_CRYPTO_METHOD crypto_method_aes_256_gcm_16 =
231 NX_CRYPTO_METHOD crypto_method_aes_xcbc_mac_96 =
[all …]
Dnx_crypto_method_self_test.c32 extern NX_CRYPTO_METHOD crypto_method_aes_cbc_128;
33 extern NX_CRYPTO_METHOD crypto_method_aes_cbc_192;
34 extern NX_CRYPTO_METHOD crypto_method_aes_cbc_256;
35 extern NX_CRYPTO_METHOD crypto_method_3des;
36 extern NX_CRYPTO_METHOD crypto_method_des;
37 extern NX_CRYPTO_METHOD crypto_method_rsa;
38 extern NX_CRYPTO_METHOD crypto_method_md5;
39 extern NX_CRYPTO_METHOD crypto_method_sha1;
40 extern NX_CRYPTO_METHOD crypto_method_sha224;
41 extern NX_CRYPTO_METHOD crypto_method_sha256;
[all …]
Dnx_crypto_generic_ciphersuites.c86 extern NX_CRYPTO_METHOD crypto_method_none;
87 extern NX_CRYPTO_METHOD crypto_method_null;
88 extern NX_CRYPTO_METHOD crypto_method_aes_cbc_128;
89 extern NX_CRYPTO_METHOD crypto_method_aes_cbc_256;
90 extern NX_CRYPTO_METHOD crypto_method_aes_ccm_8;
91 extern NX_CRYPTO_METHOD crypto_method_aes_ccm_16;
92 extern NX_CRYPTO_METHOD crypto_method_aes_128_gcm_16;
93 extern NX_CRYPTO_METHOD crypto_method_aes_256_gcm_16;
94 extern NX_CRYPTO_METHOD crypto_method_ecdsa;
95 extern NX_CRYPTO_METHOD crypto_method_ecdhe;
[all …]
Dnx_crypto_method_self_test_ecdsa.c32 extern NX_CRYPTO_METHOD crypto_method_ec_secp256;
33 extern NX_CRYPTO_METHOD crypto_method_sha256;
95 NX_CRYPTO_KEEP UINT _nx_crypto_method_self_test_ecdsa(NX_CRYPTO_METHOD *crypto_method_ecdsa, in _nx_crypto_method_self_test_ecdsa()
105 NX_CRYPTO_METHOD *curve_method; in _nx_crypto_method_self_test_ecdsa()
106 NX_CRYPTO_METHOD *hash_method; in _nx_crypto_method_self_test_ecdsa()
158 sizeof(NX_CRYPTO_METHOD *), in _nx_crypto_method_self_test_ecdsa()
179 sizeof(NX_CRYPTO_METHOD *), in _nx_crypto_method_self_test_ecdsa()
/NetX-Duo-v6.3.0/addons/azure_iot/samples/cert/
Dnx_azure_iot_ciphersuites.c23 extern NX_CRYPTO_METHOD crypto_method_hmac;
24 extern NX_CRYPTO_METHOD crypto_method_hmac_sha256;
25 extern NX_CRYPTO_METHOD crypto_method_tls_prf_sha256;
26 extern NX_CRYPTO_METHOD crypto_method_sha256;
27 extern NX_CRYPTO_METHOD crypto_method_sha384;
28 extern NX_CRYPTO_METHOD crypto_method_aes_cbc_128;
29 extern NX_CRYPTO_METHOD crypto_method_rsa;
31 extern NX_CRYPTO_METHOD crypto_method_ecdhe;
32 extern NX_CRYPTO_METHOD crypto_method_ecdsa;
33 extern NX_CRYPTO_METHOD crypto_method_ec_secp384;
[all …]
/NetX-Duo-v6.3.0/crypto_libraries/inc/
Dnx_crypto_method_self_test.h39 UINT _nx_crypto_method_self_test_aes(NX_CRYPTO_METHOD *crypto_method_aes,
41 UINT _nx_crypto_method_self_test_des(NX_CRYPTO_METHOD *crypto_method_des,
43 UINT _nx_crypto_method_self_test_3des(NX_CRYPTO_METHOD *crypto_method_3des,
45 UINT _nx_crypto_method_self_test_sha(NX_CRYPTO_METHOD *crypto_method_sha,
47 UINT _nx_crypto_method_self_test_md5(NX_CRYPTO_METHOD *crypto_method_md5,
49 UINT _nx_crypto_method_self_test_rsa(NX_CRYPTO_METHOD *crypto_method,
51 UINT _nx_crypto_method_self_test_hmac_sha(NX_CRYPTO_METHOD *crypto_method_hmac_sha,
53 UINT _nx_crypto_method_self_test_hmac_md5(NX_CRYPTO_METHOD *crypto_method_hmac_md5,
55 UINT _nx_crypto_method_self_test_prf(NX_CRYPTO_METHOD *crypto_method_prf,
57 UINT _nx_crypto_method_self_test_drbg(NX_CRYPTO_METHOD *crypto_method_drbg,
[all …]
Dnx_crypto_phash.h72 NX_CRYPTO_METHOD *nx_crypto_hmac_method; /* hmac method */
79 extern NX_CRYPTO_METHOD crypto_method_hmac_md5;
80 extern NX_CRYPTO_METHOD crypto_method_hmac_sha1;
81 extern NX_CRYPTO_METHOD crypto_method_hmac_sha256;
82 extern NX_CRYPTO_METHOD crypto_method_hmac_sha384;
83 extern NX_CRYPTO_METHOD crypto_method_hmac_sha512;
Dnx_crypto_hkdf.h93 NX_CRYPTO_METHOD *nx_crypto_hmac_method;
96 NX_CRYPTO_METHOD *nx_crypto_hash_method;
111 extern NX_CRYPTO_METHOD crypto_method_hmac_md5;
112 extern NX_CRYPTO_METHOD crypto_method_hmac_sha1;
113 extern NX_CRYPTO_METHOD crypto_method_hmac_sha256;
114 extern NX_CRYPTO_METHOD crypto_method_hmac_sha384;
115 extern NX_CRYPTO_METHOD crypto_method_hmac_sha512;
Dnx_crypto_pkcs1_v1.5.h65 NX_CRYPTO_METHOD *public_cipher_method;
68 NX_CRYPTO_METHOD *hash_method;
79 NX_CRYPTO_METHOD *public_cipher_method;
82 NX_CRYPTO_METHOD *hash_method;
98 NX_CRYPTO_METHOD *hash_method,
Dnx_crypto_ecjpake.h93 NX_CRYPTO_METHOD *nx_crypto_ecjpake_hash_method;
106 NX_CRYPTO_METHOD *hash_method,
138 UINT _nx_crypto_ecjpake_schnorr_zkp_hash(NX_CRYPTO_METHOD *hash_method,
149 UINT _nx_crypto_ecjpake_schnorr_zkp_generate(NX_CRYPTO_METHOD *hash_method,
161 UINT _nx_crypto_ecjpake_schnorr_zkp_verify(NX_CRYPTO_METHOD *hash_method,
183 UINT _nx_crypto_ecjpake_pre_master_secret_generate(NX_CRYPTO_METHOD *hash_method,
193 UINT _nx_crypto_ecjpake_key_encryption_key_generate(NX_CRYPTO_METHOD *hash_method,
/NetX-Duo-v6.3.0/nx_secure/inc/
Dnx_secure_crypto_table_self_test.h74 UINT (*self_test_function)(NX_CRYPTO_METHOD *crypto_method, VOID *metadata, UINT metadata_size);
78 UINT _nx_secure_crypto_method_self_test_aes(NX_CRYPTO_METHOD *crypto_method_aes,
80 UINT _nx_secure_crypto_method_self_test_des(NX_CRYPTO_METHOD *crypto_method_des,
82 UINT _nx_secure_crypto_method_self_test_3des(NX_CRYPTO_METHOD *crypto_method_3des,
84 UINT _nx_secure_crypto_method_self_test_sha(NX_CRYPTO_METHOD *crypto_method_sha,
86 UINT _nx_secure_crypto_method_self_test_md5(NX_CRYPTO_METHOD *crypto_method_md5,
88 UINT _nx_secure_crypto_method_self_test_rsa(NX_CRYPTO_METHOD *crypto_method,
90 UINT _nx_secure_crypto_method_self_test_hmac_sha(NX_CRYPTO_METHOD *crypto_method_hmac_sha,
92 UINT _nx_secure_crypto_method_self_test_hmac_md5(NX_CRYPTO_METHOD *crypto_method_hmac_md5,
94 UINT _nx_secure_crypto_method_self_test_prf(NX_CRYPTO_METHOD *crypto_method_prf,
/NetX-Duo-v6.3.0/nx_secure/src/
Dnx_secure_process_server_key_exchange.c121 const NX_CRYPTO_METHOD *curve_method; in _nx_secure_process_server_key_exchange()
122 const NX_CRYPTO_METHOD *ecdh_method; in _nx_secure_process_server_key_exchange()
127 const NX_CRYPTO_METHOD *curve_method_cert; in _nx_secure_process_server_key_exchange()
128 const NX_CRYPTO_METHOD *hash_method; in _nx_secure_process_server_key_exchange()
129 const NX_CRYPTO_METHOD *auth_method; in _nx_secure_process_server_key_exchange()
214 … (NX_CRYPTO_METHOD *)ciphersuite -> nx_secure_tls_public_auth, in _nx_secure_process_server_key_exchange()
359 status = hash_method -> nx_crypto_init((NX_CRYPTO_METHOD*)hash_method, in _nx_secure_process_server_key_exchange()
376 (NX_CRYPTO_METHOD*)hash_method, in _nx_secure_process_server_key_exchange()
401 (NX_CRYPTO_METHOD*)hash_method, in _nx_secure_process_server_key_exchange()
421 (NX_CRYPTO_METHOD*)hash_method, in _nx_secure_process_server_key_exchange()
[all …]
Dnx_secure_tls_handshake_hash_init.c73 const NX_CRYPTO_METHOD *method_ptr; in _nx_secure_tls_handshake_hash_init()
114 status = method_ptr -> nx_crypto_init((NX_CRYPTO_METHOD*)method_ptr, in _nx_secure_tls_handshake_hash_init()
132 (NX_CRYPTO_METHOD*)method_ptr, in _nx_secure_tls_handshake_hash_init()
165 status = method_ptr -> nx_crypto_init((NX_CRYPTO_METHOD*)method_ptr, in _nx_secure_tls_handshake_hash_init()
183 (NX_CRYPTO_METHOD*)method_ptr, in _nx_secure_tls_handshake_hash_init()
214 status = method_ptr -> nx_crypto_init((NX_CRYPTO_METHOD*)method_ptr, in _nx_secure_tls_handshake_hash_init()
233 (NX_CRYPTO_METHOD*)method_ptr, in _nx_secure_tls_handshake_hash_init()
258 status = method_ptr -> nx_crypto_init((NX_CRYPTO_METHOD*)method_ptr, in _nx_secure_tls_handshake_hash_init()
276 (NX_CRYPTO_METHOD*)method_ptr, in _nx_secure_tls_handshake_hash_init()
Dnx_secure_tls_ecc_generate_keys.c136 const NX_CRYPTO_METHOD *curve_method; in _nx_secure_tls_ecc_generate_keys()
137 const NX_CRYPTO_METHOD *ecdhe_method; in _nx_secure_tls_ecc_generate_keys()
144 const NX_CRYPTO_METHOD *curve_method_cert; in _nx_secure_tls_ecc_generate_keys()
145 const NX_CRYPTO_METHOD *hash_method; in _nx_secure_tls_ecc_generate_keys()
146 const NX_CRYPTO_METHOD *auth_method; in _nx_secure_tls_ecc_generate_keys()
203 status = ecdhe_method -> nx_crypto_init((NX_CRYPTO_METHOD*)ecdhe_method, in _nx_secure_tls_ecc_generate_keys()
216 (NX_CRYPTO_METHOD*)ecdhe_method, NX_NULL, 0, in _nx_secure_tls_ecc_generate_keys()
217 … (UCHAR *)curve_method, sizeof(NX_CRYPTO_METHOD *), NX_NULL, in _nx_secure_tls_ecc_generate_keys()
263 (NX_CRYPTO_METHOD*)ecdhe_method, NX_NULL, 0, in _nx_secure_tls_ecc_generate_keys()
293 (NX_CRYPTO_METHOD*)ecdhe_method, NX_NULL, 0, in _nx_secure_tls_ecc_generate_keys()
[all …]
Dnx_secure_tls_1_3_finished_hash_generate.c86 const NX_CRYPTO_METHOD *hmac_method = NX_NULL; in _nx_secure_tls_1_3_finished_hash_generate()
87 const NX_CRYPTO_METHOD *hash_method = NX_NULL; in _nx_secure_tls_1_3_finished_hash_generate()
161 status = hmac_method -> nx_crypto_init((NX_CRYPTO_METHOD*)hmac_method, in _nx_secure_tls_1_3_finished_hash_generate()
175 …status = hmac_method->nx_crypto_operation(NX_CRYPTO_HMAC_SET_HASH, NX_NULL, (NX_CRYPTO_METHOD*)has… in _nx_secure_tls_1_3_finished_hash_generate()
187 (NX_CRYPTO_METHOD*)hmac_method, in _nx_secure_tls_1_3_finished_hash_generate()
211 (NX_CRYPTO_METHOD*)hmac_method, in _nx_secure_tls_1_3_finished_hash_generate()
235 (NX_CRYPTO_METHOD*)hmac_method, in _nx_secure_tls_1_3_finished_hash_generate()
Dnx_secure_dtls_hash_record.c89 const NX_CRYPTO_METHOD *authentication_method; in _nx_secure_dtls_hash_record()
135 (NX_CRYPTO_METHOD*)authentication_method, in _nx_secure_dtls_hash_record()
155 (NX_CRYPTO_METHOD*)authentication_method, in _nx_secure_dtls_hash_record()
175 (NX_CRYPTO_METHOD*)authentication_method, in _nx_secure_dtls_hash_record()
195 (NX_CRYPTO_METHOD*)authentication_method, in _nx_secure_dtls_hash_record()
215 (NX_CRYPTO_METHOD*)authentication_method, in _nx_secure_dtls_hash_record()
Dnx_secure_tls_psk_binder_generate.c103 const NX_CRYPTO_METHOD *hmac_method = NX_NULL; in _nx_secure_tls_psk_binder_generate()
104 const NX_CRYPTO_METHOD *hash_method = NX_NULL; in _nx_secure_tls_psk_binder_generate()
214 status = hmac_method -> nx_crypto_init((NX_CRYPTO_METHOD*)hmac_method, in _nx_secure_tls_psk_binder_generate()
228 …status = hmac_method->nx_crypto_operation(NX_CRYPTO_HMAC_SET_HASH, NX_NULL, (NX_CRYPTO_METHOD*)has… in _nx_secure_tls_psk_binder_generate()
240 (NX_CRYPTO_METHOD*)hmac_method, in _nx_secure_tls_psk_binder_generate()
264 (NX_CRYPTO_METHOD*)hmac_method, in _nx_secure_tls_psk_binder_generate()
288 (NX_CRYPTO_METHOD*)hmac_method, in _nx_secure_tls_psk_binder_generate()
Dnx_secure_x509_certificate_verify.c104 const NX_CRYPTO_METHOD *hash_method; in _nx_secure_x509_certificate_verify()
105 const NX_CRYPTO_METHOD *public_cipher_method; in _nx_secure_x509_certificate_verify()
113 const NX_CRYPTO_METHOD *curve_method; in _nx_secure_x509_certificate_verify()
155 status = hash_method -> nx_crypto_init((NX_CRYPTO_METHOD*)hash_method, in _nx_secure_x509_certificate_verify()
173 (NX_CRYPTO_METHOD*)hash_method, in _nx_secure_x509_certificate_verify()
227 status = public_cipher_method -> nx_crypto_init((NX_CRYPTO_METHOD*)public_cipher_method, in _nx_secure_x509_certificate_verify()
248 (NX_CRYPTO_METHOD*)public_cipher_method, in _nx_secure_x509_certificate_verify()
354 status = public_cipher_method -> nx_crypto_init((NX_CRYPTO_METHOD*)public_cipher_method, in _nx_secure_x509_certificate_verify()
379 … (NX_CRYPTO_METHOD*)public_cipher_method, NX_CRYPTO_NULL, 0, in _nx_secure_x509_certificate_verify()
380 … (UCHAR *)curve_method, sizeof(NX_CRYPTO_METHOD *), NX_CRYPTO_NULL, in _nx_secure_x509_certificate_verify()
[all …]
Dnx_secure_x509_crl_verify.c104 const NX_CRYPTO_METHOD *hash_method; in _nx_secure_x509_crl_verify()
105 const NX_CRYPTO_METHOD *public_cipher_method; in _nx_secure_x509_crl_verify()
113 const NX_CRYPTO_METHOD *curve_method; in _nx_secure_x509_crl_verify()
152 status = hash_method -> nx_crypto_init((NX_CRYPTO_METHOD*)hash_method, in _nx_secure_x509_crl_verify()
170 (NX_CRYPTO_METHOD*)hash_method, in _nx_secure_x509_crl_verify()
224 status = public_cipher_method -> nx_crypto_init((NX_CRYPTO_METHOD*)public_cipher_method, in _nx_secure_x509_crl_verify()
244 (NX_CRYPTO_METHOD*)public_cipher_method, in _nx_secure_x509_crl_verify()
357 status = public_cipher_method -> nx_crypto_init((NX_CRYPTO_METHOD*)public_cipher_method, in _nx_secure_x509_crl_verify()
380 … (NX_CRYPTO_METHOD*)public_cipher_method, NX_CRYPTO_NULL, 0, in _nx_secure_x509_crl_verify()
381 … (UCHAR *)curve_method, sizeof(NX_CRYPTO_METHOD *), NX_CRYPTO_NULL, in _nx_secure_x509_crl_verify()
[all …]
Dnx_secure_tls_hash_record.c92 const NX_CRYPTO_METHOD *authentication_method; in _nx_secure_tls_hash_record()
127 status = authentication_method -> nx_crypto_init((NX_CRYPTO_METHOD*)authentication_method, in _nx_secure_tls_hash_record()
145 (NX_CRYPTO_METHOD*)authentication_method, in _nx_secure_tls_hash_record()
165 (NX_CRYPTO_METHOD*)authentication_method, in _nx_secure_tls_hash_record()
185 (NX_CRYPTO_METHOD*)authentication_method, in _nx_secure_tls_hash_record()
234 (NX_CRYPTO_METHOD*)authentication_method, in _nx_secure_tls_hash_record()
265 (NX_CRYPTO_METHOD*)authentication_method, in _nx_secure_tls_hash_record()
Dnx_secure_process_client_key_exchange.c107 const NX_CRYPTO_METHOD *public_cipher_method; in _nx_secure_process_client_key_exchange()
124 const NX_CRYPTO_METHOD *curve_method; in _nx_secure_process_client_key_exchange()
125 const NX_CRYPTO_METHOD *ecdh_method; in _nx_secure_process_client_key_exchange()
158 … (NX_CRYPTO_METHOD *)public_cipher_method, in _nx_secure_process_client_key_exchange()
281 status = ecdh_method -> nx_crypto_init((NX_CRYPTO_METHOD *)ecdh_method, in _nx_secure_process_client_key_exchange()
294 (NX_CRYPTO_METHOD *)ecdh_method, NX_NULL, 0, in _nx_secure_process_client_key_exchange()
295 … (UCHAR *)curve_method, sizeof(NX_CRYPTO_METHOD *), NX_NULL, in _nx_secure_process_client_key_exchange()
307 (NX_CRYPTO_METHOD *)ecdh_method, in _nx_secure_process_client_key_exchange()
324 (NX_CRYPTO_METHOD *)ecdh_method, NX_NULL, 0, in _nx_secure_process_client_key_exchange()
413 … (NX_CRYPTO_METHOD *)public_cipher_method, in _nx_secure_process_client_key_exchange()
[all …]
Dnx_secure_tls_1_3_generate_keys.c43 UCHAR *output, UINT output_length, const NX_CRYPTO_METHOD *hash_method);
48 … UCHAR *output, UINT output_length, const NX_CRYPTO_METHOD *hash_method);
51 … UCHAR *ikm, UINT ikm_len, UCHAR *output, UINT output_length, const NX_CRYPTO_METHOD *hash_method);
100 …_TLS_SESSION *tls_session, NX_SECURE_TLS_PSK_STORE *psk_entry, const NX_CRYPTO_METHOD *hash_method) in _nx_secure_tls_1_3_generate_psk_secret()
216 const NX_CRYPTO_METHOD *session_cipher_method = NX_NULL; in _nx_secure_tls_1_3_generate_handshake_keys()
217 const NX_CRYPTO_METHOD *hash_method = NX_NULL; in _nx_secure_tls_1_3_generate_handshake_keys()
391 status = session_cipher_method -> nx_crypto_init((NX_CRYPTO_METHOD*)session_cipher_method, in _nx_secure_tls_1_3_generate_handshake_keys()
417 status = session_cipher_method -> nx_crypto_init((NX_CRYPTO_METHOD*)session_cipher_method, in _nx_secure_tls_1_3_generate_handshake_keys()
483 const NX_CRYPTO_METHOD *session_cipher_method = NX_NULL; in _nx_secure_tls_1_3_generate_session_keys()
484 const NX_CRYPTO_METHOD *hash_method = NX_NULL; in _nx_secure_tls_1_3_generate_session_keys()
[all …]
Dnx_secure_tls_record_hash_initialize.c80 const NX_CRYPTO_METHOD *authentication_method; in _nx_secure_tls_record_hash_initialize()
124 status = authentication_method -> nx_crypto_init((NX_CRYPTO_METHOD*)authentication_method, in _nx_secure_tls_record_hash_initialize()
140 (NX_CRYPTO_METHOD*)authentication_method, in _nx_secure_tls_record_hash_initialize()
162 (NX_CRYPTO_METHOD*)authentication_method, in _nx_secure_tls_record_hash_initialize()
188 (NX_CRYPTO_METHOD*)authentication_method, in _nx_secure_tls_record_hash_initialize()
Dnx_secure_tls_handshake_hash_update.c87 const NX_CRYPTO_METHOD *method_ptr; in _nx_secure_tls_handshake_hash_update()
118 (NX_CRYPTO_METHOD*)method_ptr, in _nx_secure_tls_handshake_hash_update()
155 (NX_CRYPTO_METHOD*)method_ptr, in _nx_secure_tls_handshake_hash_update()
184 (NX_CRYPTO_METHOD*)method_ptr, in _nx_secure_tls_handshake_hash_update()
223 (NX_CRYPTO_METHOD*)method_ptr, in _nx_secure_tls_handshake_hash_update()
260 (NX_CRYPTO_METHOD*)method_ptr, in _nx_secure_tls_handshake_hash_update()
284 (NX_CRYPTO_METHOD*)method_ptr, in _nx_secure_tls_handshake_hash_update()
Dnx_secure_generate_session_keys.c81 … const NX_CRYPTO_METHOD *session_prf_method, NX_SECURE_TLS_KEY_MATERIAL *tls_key_material, in _nx_secure_generate_session_keys()
90 const NX_CRYPTO_METHOD *session_cipher_method = NX_NULL; in _nx_secure_generate_session_keys()
148 status = session_prf_method -> nx_crypto_init((NX_CRYPTO_METHOD*)session_prf_method, in _nx_secure_generate_session_keys()
168 (NX_CRYPTO_METHOD*)session_prf_method, in _nx_secure_generate_session_keys()

12345