| /NetX-Duo-v6.2.1/crypto_libraries/src/ |
| D | nx_crypto_method_self_test.c | 29 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 …]
|
| D | nx_crypto_method_self_test_ecdh.c | 103 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 …]
|
| D | nx_crypto_method_self_test_rsa.c | 601 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 …]
|
| D | nx_crypto_method_self_test_drbg.c | 342 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 …]
|
| D | nx_crypto_method_self_test_3des.c | 137 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()
|
| D | nx_crypto_method_self_test_hmac_md5.c | 100 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()
|
| D | nx_crypto_method_self_test_pkcs1.c | 152 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()
|
| D | nx_crypto_method_self_test_des.c | 110 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()
|
| D | nx_crypto_method_self_test_aes.c | 164 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/ |
| D | nx_secure_sha_additional_test.c | 53 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 …]
|
| D | nx_secure_crypto_method_cleanup_test.c | 26 static UCHAR metadata[10240]; variable 326 … metadata, 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/ |
| D | nx_crypto_method_self_test.h | 39 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/ |
| D | nx_secure_crypto_table_self_test.h | 62 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/ |
| D | nx_secure_tls_handshake_hash_init.c | 75 VOID *metadata; in _nx_secure_tls_handshake_hash_init() local 108 …metadata = 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() 159 …metadata = 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() 208 … metadata = 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 …]
|
| D | nx_secure_crypto_table_self_test.c | 60 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 …]
|
| D | nx_secure_crypto_method_self_test_rsa.c | 450 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 …]
|
| D | nx_secure_crypto_method_self_test_hmac_md5.c | 96 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()
|
| D | nx_secure_tls_hash_record.c | 87 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()
|
| D | nx_secure_tls_1_3_finished_hash_generate.c | 87 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()
|
| D | nx_secure_tls_1_3_transcript_hash_save.c | 80 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() 120 …metadata = 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()
|
| D | nx_secure_module_hash_compute.c | 87 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()
|
| D | nx_secure_crypto_method_self_test_3des.c | 109 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()
|
| D | nx_secure_crypto_method_self_test_des.c | 106 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()
|
| D | nx_secure_tls_psk_binder_generate.c | 104 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()
|
| D | nx_secure_crypto_method_self_test_hmac_sha.c | 178 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()
|