Home
last modified time | relevance | path

Searched refs:metadata (Results 1 – 25 of 53) sorted by relevance

123

/NetX-Duo-v6.2.1/crypto_libraries/src/
Dnx_crypto_method_self_test.c29 static UCHAR metadata[10240]; variable
120 UINT metadata_size = sizeof(metadata); in _nx_crypto_method_self_test()
133 status = _nx_crypto_method_self_test_des(&crypto_method_des, metadata, metadata_size); in _nx_crypto_method_self_test()
136 status = _nx_crypto_method_self_test_aes(&crypto_method_aes_cbc_256, metadata, metadata_size); in _nx_crypto_method_self_test()
139 status = _nx_crypto_method_self_test_3des(&crypto_method_3des, metadata, metadata_size); in _nx_crypto_method_self_test()
142 status = _nx_crypto_method_self_test_rsa(&crypto_method_rsa, metadata, metadata_size); in _nx_crypto_method_self_test()
145 status = _nx_crypto_method_self_test_md5(&crypto_method_md5, metadata, metadata_size); in _nx_crypto_method_self_test()
148 status = _nx_crypto_method_self_test_sha(&crypto_method_sha1, metadata, metadata_size); in _nx_crypto_method_self_test()
151 status = _nx_crypto_method_self_test_sha(&crypto_method_sha224, metadata, metadata_size); in _nx_crypto_method_self_test()
154 status = _nx_crypto_method_self_test_sha(&crypto_method_sha256, metadata, metadata_size); in _nx_crypto_method_self_test()
[all …]
Dnx_crypto_method_self_test_ecdh.c103 VOID *metadata, UINT metadata_size) in _nx_crypto_method_self_test_ecdh() argument
127 metadata, in _nx_crypto_method_self_test_ecdh()
152 metadata, in _nx_crypto_method_self_test_ecdh()
173 metadata, in _nx_crypto_method_self_test_ecdh()
195 metadata, in _nx_crypto_method_self_test_ecdh()
207 status = crypto_method_ecdh -> nx_crypto_cleanup(metadata); in _nx_crypto_method_self_test_ecdh()
223 metadata, in _nx_crypto_method_self_test_ecdh()
243 metadata, in _nx_crypto_method_self_test_ecdh()
262 metadata, in _nx_crypto_method_self_test_ecdh()
283 metadata, in _nx_crypto_method_self_test_ecdh()
[all …]
Dnx_crypto_method_self_test_rsa.c601 VOID *metadata, UINT metadata_size) in _nx_crypto_method_self_test_rsa() argument
630 metadata, in _nx_crypto_method_self_test_rsa()
647 metadata, in _nx_crypto_method_self_test_rsa()
663 status = crypto_method -> nx_crypto_cleanup(metadata); in _nx_crypto_method_self_test_rsa()
677 metadata, in _nx_crypto_method_self_test_rsa()
694 metadata, in _nx_crypto_method_self_test_rsa()
710 status = crypto_method -> nx_crypto_cleanup(metadata); in _nx_crypto_method_self_test_rsa()
725 metadata, in _nx_crypto_method_self_test_rsa()
742 metadata, in _nx_crypto_method_self_test_rsa()
760 metadata, in _nx_crypto_method_self_test_rsa()
[all …]
Dnx_crypto_method_self_test_drbg.c342 VOID *metadata, UINT metadata_size) in _nx_crypto_method_self_test_drbg() argument
390 metadata, in _nx_crypto_method_self_test_drbg()
416 metadata, in _nx_crypto_method_self_test_drbg()
437 metadata, in _nx_crypto_method_self_test_drbg()
458 metadata, in _nx_crypto_method_self_test_drbg()
479 metadata, in _nx_crypto_method_self_test_drbg()
497 status = crypto_method_drbg -> nx_crypto_cleanup(metadata); in _nx_crypto_method_self_test_drbg()
526 metadata, in _nx_crypto_method_self_test_drbg()
552 metadata, in _nx_crypto_method_self_test_drbg()
573 metadata, in _nx_crypto_method_self_test_drbg()
[all …]
Dnx_crypto_method_self_test_3des.c137 VOID *metadata, UINT metadata_size) in _nx_crypto_method_self_test_3des() argument
155 metadata, in _nx_crypto_method_self_test_3des()
181 metadata, in _nx_crypto_method_self_test_3des()
197 status = crypto_method_3des -> nx_crypto_cleanup(metadata); in _nx_crypto_method_self_test_3des()
212 metadata, in _nx_crypto_method_self_test_3des()
233 metadata, in _nx_crypto_method_self_test_3des()
249 status = crypto_method_3des -> nx_crypto_cleanup(metadata); in _nx_crypto_method_self_test_3des()
Dnx_crypto_method_self_test_hmac_md5.c100 VOID *metadata, UINT metadata_size) in _nx_crypto_method_self_test_hmac_md5() argument
130 metadata, in _nx_crypto_method_self_test_hmac_md5()
158 metadata, in _nx_crypto_method_self_test_hmac_md5()
188 metadata, in _nx_crypto_method_self_test_hmac_md5()
208 metadata, in _nx_crypto_method_self_test_hmac_md5()
228 metadata, in _nx_crypto_method_self_test_hmac_md5()
246 status = crypto_method_hmac_md5 -> nx_crypto_cleanup(metadata); in _nx_crypto_method_self_test_hmac_md5()
Dnx_crypto_method_self_test_pkcs1.c152 VOID *metadata, UINT metadata_size) in _nx_crypto_method_self_test_pkcs1() argument
173 pkcs1_options.public_cipher_metadata = (UCHAR *)metadata + sizeof(NX_CRYPTO_PKCS1); in _nx_crypto_method_self_test_pkcs1()
199 metadata, in _nx_crypto_method_self_test_pkcs1()
224 metadata, in _nx_crypto_method_self_test_pkcs1()
242 metadata, in _nx_crypto_method_self_test_pkcs1()
266 metadata, in _nx_crypto_method_self_test_pkcs1()
278 status = crypto_method_pkcs1 -> nx_crypto_cleanup(metadata); in _nx_crypto_method_self_test_pkcs1()
Dnx_crypto_method_self_test_des.c110 VOID *metadata, UINT metadata_size) in _nx_crypto_method_self_test_des() argument
126 metadata, in _nx_crypto_method_self_test_des()
151 metadata, in _nx_crypto_method_self_test_des()
176 metadata, in _nx_crypto_method_self_test_des()
192 status = crypto_method_des -> nx_crypto_cleanup(metadata); in _nx_crypto_method_self_test_des()
Dnx_crypto_method_self_test_aes.c164 VOID *metadata, UINT metadata_size) in _nx_crypto_method_self_test_aes() argument
229 metadata, in _nx_crypto_method_self_test_aes()
253 metadata, in _nx_crypto_method_self_test_aes()
268 status = crypto_method_aes -> nx_crypto_cleanup(metadata); in _nx_crypto_method_self_test_aes()
283 metadata, in _nx_crypto_method_self_test_aes()
301 metadata, in _nx_crypto_method_self_test_aes()
316 status = crypto_method_aes -> nx_crypto_cleanup(metadata); in _nx_crypto_method_self_test_aes()
/NetX-Duo-v6.2.1/test/regression/nx_secure_test/
Dnx_secure_sha_additional_test.c53 UCHAR output[256], metadata[sizeof(NX_CRYPTO_SHA512)], data[32]; in thread_0_entry() local
108 metadata, in thread_0_entry()
109 sizeof(metadata), in thread_0_entry()
157 metadata, in thread_0_entry()
158 sizeof(metadata), in thread_0_entry()
174 metadata, in thread_0_entry()
175 sizeof(metadata), in thread_0_entry()
189 metadata, in thread_0_entry()
190 sizeof(metadata), in thread_0_entry()
205 metadata, in thread_0_entry()
[all …]
Dnx_secure_crypto_method_cleanup_test.c26 static UCHAR metadata[10240]; variable
326metadata, crypto_method -> nx_crypto_metadata_area_size); in thread_0_entry()
348 metadata, in thread_0_entry()
365 status = crypto_method -> nx_crypto_cleanup((VOID *)metadata); in thread_0_entry()
373 for (k = 0; k < sizeof(metadata); k++) in thread_0_entry()
375 if (metadata[k] != 0) in thread_0_entry()
395 static UCHAR *ecdh_a = metadata;
396 static UCHAR *ecdh_b = metadata + sizeof(NX_CRYPTO_ECDH);
566 for (k = 0; k < sizeof(metadata); k++) in crypto_method_cleanup_ecdh_test()
568 if (metadata[k] != 0) in crypto_method_cleanup_ecdh_test()
[all …]
/NetX-Duo-v6.2.1/crypto_libraries/inc/
Dnx_crypto_method_self_test.h39 VOID *metadata, UINT metadata_size);
41 VOID *metadata, UINT metadata_size);
43 VOID *metadata, UINT metadata_size);
45 VOID *metadata, UINT metadata_size);
47 VOID *metadata, UINT metadata_size);
49 VOID *metadata, UINT metadata_size);
51 VOID *metadata, UINT metadata_size);
53 VOID *metadata, UINT metadata_size);
55 VOID *metadata, UINT metadata_size);
57 VOID *metadata, UINT metadata_size);
[all …]
/NetX-Duo-v6.2.1/nx_secure/inc/
Dnx_secure_crypto_table_self_test.h62 VOID *metadata, UINT metadata_size);
73 UINT (*self_test_function)(NX_CRYPTO_METHOD *crypto_method, VOID *metadata, UINT metadata_size);
78 VOID *metadata, UINT metadata_size);
80 VOID *metadata, UINT metadata_size);
82 VOID *metadata, UINT metadata_size);
84 VOID *metadata, UINT metadata_size);
86 VOID *metadata, UINT metadata_size);
88 VOID *metadata, UINT metadata_size);
90 VOID *metadata, UINT metadata_size);
92 VOID *metadata, UINT metadata_size);
[all …]
/NetX-Duo-v6.2.1/nx_secure/src/
Dnx_secure_tls_handshake_hash_init.c75 VOID *metadata; in _nx_secure_tls_handshake_hash_init() local
108metadata = tls_session -> nx_secure_tls_handshake_hash.nx_secure_tls_handshake_hash_sha256_metadat… in _nx_secure_tls_handshake_hash_init()
117 metadata, in _nx_secure_tls_handshake_hash_init()
139 metadata, in _nx_secure_tls_handshake_hash_init()
159metadata = tls_session -> nx_secure_tls_handshake_hash.nx_secure_tls_handshake_hash_sha256_metadat… in _nx_secure_tls_handshake_hash_init()
168 metadata, in _nx_secure_tls_handshake_hash_init()
190 metadata, in _nx_secure_tls_handshake_hash_init()
208metadata = tls_session -> nx_secure_tls_handshake_hash.nx_secure_tls_handshake_hash_md5_metadata; in _nx_secure_tls_handshake_hash_init()
217 metadata, in _nx_secure_tls_handshake_hash_init()
240 metadata, in _nx_secure_tls_handshake_hash_init()
[all …]
Dnx_secure_crypto_table_self_test.c60 VOID *metadata, UINT metadata_size);
110 VOID *metadata, UINT metadata_size) in _nx_secure_crypto_table_self_test() argument
159 …ecure_crypto_method_self_test(ciphersuite -> nx_secure_tls_public_cipher, metadata, metadata_size); in _nx_secure_crypto_table_self_test()
165 …_secure_crypto_method_self_test(ciphersuite -> nx_secure_tls_public_auth, metadata, metadata_size); in _nx_secure_crypto_table_self_test()
171 …cure_crypto_method_self_test(ciphersuite -> nx_secure_tls_session_cipher, metadata, metadata_size); in _nx_secure_crypto_table_self_test()
177 …status = _nx_secure_crypto_method_self_test(ciphersuite -> nx_secure_tls_hash, metadata, metadata_… in _nx_secure_crypto_table_self_test()
183 …status = _nx_secure_crypto_method_self_test(ciphersuite -> nx_secure_tls_prf, metadata, metadata_s… in _nx_secure_crypto_table_self_test()
199 …ypto_method_self_test(x509_crypto -> nx_secure_x509_public_cipher_method, metadata, metadata_size); in _nx_secure_crypto_table_self_test()
205 …secure_crypto_method_self_test(x509_crypto -> nx_secure_x509_hash_method, metadata, metadata_size); in _nx_secure_crypto_table_self_test()
224 NX_PARAMETER_NOT_USED(metadata); in _nx_secure_crypto_table_self_test()
[all …]
Dnx_secure_crypto_method_self_test_rsa.c450 VOID *metadata, UINT metadata_size) in _nx_secure_crypto_method_self_test_rsa() argument
479 metadata, in _nx_secure_crypto_method_self_test_rsa()
496 metadata, in _nx_secure_crypto_method_self_test_rsa()
512 status = crypto_method -> nx_crypto_cleanup(metadata); in _nx_secure_crypto_method_self_test_rsa()
526 metadata, in _nx_secure_crypto_method_self_test_rsa()
543 metadata, in _nx_secure_crypto_method_self_test_rsa()
559 status = crypto_method -> nx_crypto_cleanup(metadata); in _nx_secure_crypto_method_self_test_rsa()
574 metadata, in _nx_secure_crypto_method_self_test_rsa()
591 metadata, in _nx_secure_crypto_method_self_test_rsa()
609 metadata, in _nx_secure_crypto_method_self_test_rsa()
[all …]
Dnx_secure_crypto_method_self_test_hmac_md5.c96 VOID *metadata, UINT metadata_size) in _nx_secure_crypto_method_self_test_hmac_md5() argument
126 metadata, in _nx_secure_crypto_method_self_test_hmac_md5()
154 metadata, in _nx_secure_crypto_method_self_test_hmac_md5()
184 metadata, in _nx_secure_crypto_method_self_test_hmac_md5()
204 metadata, in _nx_secure_crypto_method_self_test_hmac_md5()
224 metadata, in _nx_secure_crypto_method_self_test_hmac_md5()
242 status = crypto_method_hmac_md5 -> nx_crypto_cleanup(metadata); in _nx_secure_crypto_method_self_test_hmac_md5()
Dnx_secure_tls_hash_record.c87 UCHAR *mac_secret, VOID *metadata, ULONG metadata_size) in _nx_secure_tls_hash_record() argument
130 metadata, in _nx_secure_tls_hash_record()
152 metadata, in _nx_secure_tls_hash_record()
172 metadata, in _nx_secure_tls_hash_record()
192 metadata, in _nx_secure_tls_hash_record()
241 metadata, in _nx_secure_tls_hash_record()
272 metadata, in _nx_secure_tls_hash_record()
288 status = authentication_method -> nx_crypto_cleanup(metadata); in _nx_secure_tls_hash_record()
Dnx_secure_tls_1_3_finished_hash_generate.c87 CHAR *metadata = NX_NULL; in _nx_secure_tls_1_3_finished_hash_generate() local
138 metadata = tls_session -> nx_secure_tls_handshake_hash.nx_secure_tls_handshake_hash_scratch; in _nx_secure_tls_1_3_finished_hash_generate()
164 metadata, in _nx_secure_tls_1_3_finished_hash_generate()
175 … NX_NULL, NX_NULL, 0, metadata, metadata_size, NX_NULL, NX_NULL); in _nx_secure_tls_1_3_finished_hash_generate()
194 metadata, in _nx_secure_tls_1_3_finished_hash_generate()
218 metadata, in _nx_secure_tls_1_3_finished_hash_generate()
242 metadata, in _nx_secure_tls_1_3_finished_hash_generate()
Dnx_secure_tls_1_3_transcript_hash_save.c80 CHAR *metadata; in _nx_secure_tls_1_3_transcript_hash_save() local
116 metadata = tls_session -> nx_secure_tls_handshake_hash.nx_secure_tls_handshake_hash_scratch; in _nx_secure_tls_1_3_transcript_hash_save()
120metadata = tls_session -> nx_secure_tls_handshake_hash.nx_secure_tls_handshake_hash_sha256_metadat… in _nx_secure_tls_1_3_transcript_hash_save()
140 metadata, in _nx_secure_tls_1_3_transcript_hash_save()
148 …NX_SECURE_HASH_CLONE_CLEANUP(metadata, tls_session -> nx_secure_tls_handshake_hash.nx_secure_tls_h… in _nx_secure_tls_1_3_transcript_hash_save()
Dnx_secure_module_hash_compute.c87 VOID *metadata, UINT metadata_size, in nx_secure_module_hash_compute() argument
110 metadata, in nx_secure_module_hash_compute()
135 metadata, in nx_secure_module_hash_compute()
147 status = hmac_ptr -> nx_crypto_cleanup(metadata); in nx_secure_module_hash_compute()
164 NX_PARAMETER_NOT_USED(metadata); in nx_secure_module_hash_compute()
Dnx_secure_crypto_method_self_test_3des.c109 VOID *metadata, UINT metadata_size) in _nx_secure_crypto_method_self_test_3des() argument
125 metadata, in _nx_secure_crypto_method_self_test_3des()
150 metadata, in _nx_secure_crypto_method_self_test_3des()
175 metadata, in _nx_secure_crypto_method_self_test_3des()
191 status = crypto_method_3des -> nx_crypto_cleanup(metadata); in _nx_secure_crypto_method_self_test_3des()
Dnx_secure_crypto_method_self_test_des.c106 VOID *metadata, UINT metadata_size) in _nx_secure_crypto_method_self_test_des() argument
122 metadata, in _nx_secure_crypto_method_self_test_des()
147 metadata, in _nx_secure_crypto_method_self_test_des()
172 metadata, in _nx_secure_crypto_method_self_test_des()
188 status = crypto_method_des -> nx_crypto_cleanup(metadata); in _nx_secure_crypto_method_self_test_des()
Dnx_secure_tls_psk_binder_generate.c104 CHAR *metadata = NX_NULL; in _nx_secure_tls_psk_binder_generate() local
201 metadata = tls_session -> nx_secure_tls_handshake_hash.nx_secure_tls_handshake_hash_scratch; in _nx_secure_tls_psk_binder_generate()
217 metadata, in _nx_secure_tls_psk_binder_generate()
228 … NX_NULL, NX_NULL, 0, metadata, metadata_size, NX_NULL, NX_NULL); in _nx_secure_tls_psk_binder_generate()
247 metadata, in _nx_secure_tls_psk_binder_generate()
271 metadata, in _nx_secure_tls_psk_binder_generate()
295 metadata, in _nx_secure_tls_psk_binder_generate()
Dnx_secure_crypto_method_self_test_hmac_sha.c178 VOID *metadata, UINT metadata_size) in _nx_secure_crypto_method_self_test_hmac_sha() argument
247 metadata, in _nx_secure_crypto_method_self_test_hmac_sha()
275 metadata, in _nx_secure_crypto_method_self_test_hmac_sha()
305 metadata, in _nx_secure_crypto_method_self_test_hmac_sha()
325 metadata, in _nx_secure_crypto_method_self_test_hmac_sha()
345 metadata, in _nx_secure_crypto_method_self_test_hmac_sha()
363 status = crypto_method_hmac_sha -> nx_crypto_cleanup(metadata); in _nx_secure_crypto_method_self_test_hmac_sha()

123