Home
last modified time | relevance | path

Searched refs:metadata_size (Results 1 – 25 of 58) sorted by relevance

123

/NetX-Duo-v6.3.0/crypto_libraries/src/
Dnx_crypto_method_self_test.c121 UINT metadata_size = sizeof(metadata); in _nx_crypto_method_self_test() local
134 status = _nx_crypto_method_self_test_des(&crypto_method_des, metadata, metadata_size); in _nx_crypto_method_self_test()
137 status = _nx_crypto_method_self_test_aes(&crypto_method_aes_cbc_256, metadata, metadata_size); in _nx_crypto_method_self_test()
140 status = _nx_crypto_method_self_test_3des(&crypto_method_3des, metadata, metadata_size); in _nx_crypto_method_self_test()
143 status = _nx_crypto_method_self_test_rsa(&crypto_method_rsa, metadata, metadata_size); in _nx_crypto_method_self_test()
146 status = _nx_crypto_method_self_test_md5(&crypto_method_md5, metadata, metadata_size); in _nx_crypto_method_self_test()
149 status = _nx_crypto_method_self_test_sha(&crypto_method_sha1, metadata, metadata_size); in _nx_crypto_method_self_test()
152 status = _nx_crypto_method_self_test_sha(&crypto_method_sha224, metadata, metadata_size); in _nx_crypto_method_self_test()
155 status = _nx_crypto_method_self_test_sha(&crypto_method_sha256, metadata, metadata_size); in _nx_crypto_method_self_test()
158 status = _nx_crypto_method_self_test_sha(&crypto_method_sha384, metadata, metadata_size); in _nx_crypto_method_self_test()
[all …]
Dnx_crypto_method_self_test_ecdh.c104 VOID *metadata, UINT metadata_size) in _nx_crypto_method_self_test_ecdh() argument
129 metadata_size); in _nx_crypto_method_self_test_ecdh()
154 metadata_size, in _nx_crypto_method_self_test_ecdh()
175 metadata_size, in _nx_crypto_method_self_test_ecdh()
197 metadata_size, in _nx_crypto_method_self_test_ecdh()
225 metadata_size); in _nx_crypto_method_self_test_ecdh()
245 metadata_size, in _nx_crypto_method_self_test_ecdh()
264 metadata_size, in _nx_crypto_method_self_test_ecdh()
285 metadata_size, in _nx_crypto_method_self_test_ecdh()
Dnx_crypto_method_self_test_hmac_md5.c101 VOID *metadata, UINT metadata_size) in _nx_crypto_method_self_test_hmac_md5() argument
132 metadata_size); in _nx_crypto_method_self_test_hmac_md5()
160 metadata_size, in _nx_crypto_method_self_test_hmac_md5()
190 metadata_size, in _nx_crypto_method_self_test_hmac_md5()
210 metadata_size, in _nx_crypto_method_self_test_hmac_md5()
230 metadata_size, in _nx_crypto_method_self_test_hmac_md5()
Dnx_crypto_method_self_test_drbg.c343 VOID *metadata, UINT metadata_size) in _nx_crypto_method_self_test_drbg() argument
392 metadata_size); in _nx_crypto_method_self_test_drbg()
418 metadata_size, in _nx_crypto_method_self_test_drbg()
439 metadata_size, in _nx_crypto_method_self_test_drbg()
460 metadata_size, in _nx_crypto_method_self_test_drbg()
481 metadata_size, in _nx_crypto_method_self_test_drbg()
528 metadata_size); in _nx_crypto_method_self_test_drbg()
554 metadata_size, in _nx_crypto_method_self_test_drbg()
575 metadata_size, in _nx_crypto_method_self_test_drbg()
596 metadata_size, in _nx_crypto_method_self_test_drbg()
[all …]
Dnx_crypto_method_self_test_rsa.c602 VOID *metadata, UINT metadata_size) in _nx_crypto_method_self_test_rsa() argument
632 metadata_size); in _nx_crypto_method_self_test_rsa()
649 metadata_size, in _nx_crypto_method_self_test_rsa()
679 metadata_size); in _nx_crypto_method_self_test_rsa()
696 metadata_size, in _nx_crypto_method_self_test_rsa()
727 metadata_size); in _nx_crypto_method_self_test_rsa()
744 metadata_size, in _nx_crypto_method_self_test_rsa()
762 metadata_size, in _nx_crypto_method_self_test_rsa()
780 metadata_size, in _nx_crypto_method_self_test_rsa()
Dnx_crypto_method_self_test_3des.c138 VOID *metadata, UINT metadata_size) in _nx_crypto_method_self_test_3des() argument
157 metadata_size); in _nx_crypto_method_self_test_3des()
183 metadata_size, in _nx_crypto_method_self_test_3des()
214 metadata_size); in _nx_crypto_method_self_test_3des()
235 metadata_size, in _nx_crypto_method_self_test_3des()
Dnx_crypto_method_self_test_des.c111 VOID *metadata, UINT metadata_size) in _nx_crypto_method_self_test_des() argument
128 metadata_size); in _nx_crypto_method_self_test_des()
153 metadata_size, in _nx_crypto_method_self_test_des()
178 metadata_size, in _nx_crypto_method_self_test_des()
Dnx_crypto_method_self_test_pkcs1.c153 VOID *metadata, UINT metadata_size) in _nx_crypto_method_self_test_pkcs1() argument
201 metadata_size); in _nx_crypto_method_self_test_pkcs1()
226 metadata_size, in _nx_crypto_method_self_test_pkcs1()
244 metadata_size, in _nx_crypto_method_self_test_pkcs1()
268 metadata_size, in _nx_crypto_method_self_test_pkcs1()
/NetX-Duo-v6.3.0/crypto_libraries/inc/
Dnx_crypto_method_self_test.h40 VOID *metadata, UINT metadata_size);
42 VOID *metadata, UINT metadata_size);
44 VOID *metadata, UINT metadata_size);
46 VOID *metadata, UINT metadata_size);
48 VOID *metadata, UINT metadata_size);
50 VOID *metadata, UINT metadata_size);
52 VOID *metadata, UINT metadata_size);
54 VOID *metadata, UINT metadata_size);
56 VOID *metadata, UINT metadata_size);
58 VOID *metadata, UINT metadata_size);
[all …]
/NetX-Duo-v6.3.0/nx_secure/inc/
Dnx_secure_crypto_table_self_test.h63 VOID *metadata, UINT metadata_size);
74 UINT (*self_test_function)(NX_CRYPTO_METHOD *crypto_method, VOID *metadata, UINT metadata_size);
79 VOID *metadata, UINT metadata_size);
81 VOID *metadata, UINT metadata_size);
83 VOID *metadata, UINT metadata_size);
85 VOID *metadata, UINT metadata_size);
87 VOID *metadata, UINT metadata_size);
89 VOID *metadata, UINT metadata_size);
91 VOID *metadata, UINT metadata_size);
93 VOID *metadata, UINT metadata_size);
[all …]
/NetX-Duo-v6.3.0/nx_secure/src/
Dnx_secure_tls_handshake_hash_init.c77 UINT metadata_size; in _nx_secure_tls_handshake_hash_init() local
110metadata_size = tls_session -> nx_secure_tls_handshake_hash.nx_secure_tls_handshake_hash_sha256_me… in _nx_secure_tls_handshake_hash_init()
119 metadata_size); in _nx_secure_tls_handshake_hash_init()
141 metadata_size, in _nx_secure_tls_handshake_hash_init()
161metadata_size = tls_session -> nx_secure_tls_handshake_hash.nx_secure_tls_handshake_hash_sha256_me… in _nx_secure_tls_handshake_hash_init()
170 metadata_size); in _nx_secure_tls_handshake_hash_init()
192 metadata_size, in _nx_secure_tls_handshake_hash_init()
210metadata_size = tls_session -> nx_secure_tls_handshake_hash.nx_secure_tls_handshake_hash_md5_metad… in _nx_secure_tls_handshake_hash_init()
219 metadata_size); in _nx_secure_tls_handshake_hash_init()
242 metadata_size, in _nx_secure_tls_handshake_hash_init()
[all …]
Dnx_secure_crypto_table_self_test.c61 VOID *metadata, UINT metadata_size);
111 VOID *metadata, UINT metadata_size) in _nx_secure_crypto_table_self_test() argument
160 …ecure_crypto_method_self_test(ciphersuite -> nx_secure_tls_public_cipher, metadata, metadata_size); in _nx_secure_crypto_table_self_test()
166 …_secure_crypto_method_self_test(ciphersuite -> nx_secure_tls_public_auth, metadata, metadata_size); in _nx_secure_crypto_table_self_test()
172 …cure_crypto_method_self_test(ciphersuite -> nx_secure_tls_session_cipher, metadata, metadata_size); in _nx_secure_crypto_table_self_test()
178 …s = _nx_secure_crypto_method_self_test(ciphersuite -> nx_secure_tls_hash, metadata, metadata_size); in _nx_secure_crypto_table_self_test()
184 …us = _nx_secure_crypto_method_self_test(ciphersuite -> nx_secure_tls_prf, metadata, metadata_size); in _nx_secure_crypto_table_self_test()
200 …ypto_method_self_test(x509_crypto -> nx_secure_x509_public_cipher_method, metadata, metadata_size); in _nx_secure_crypto_table_self_test()
206 …secure_crypto_method_self_test(x509_crypto -> nx_secure_x509_hash_method, metadata, metadata_size); in _nx_secure_crypto_table_self_test()
226 NX_PARAMETER_NOT_USED(metadata_size); in _nx_secure_crypto_table_self_test()
[all …]
Dnxe_secure_tls_session_x509_client_verify_configure.c84 UINT metadata_size; in _nxe_secure_tls_session_x509_client_verify_configure() local
112 metadata_size = sizeof(NX_SECURE_X509_CERT) * certs_number; in _nxe_secure_tls_session_x509_client_verify_configure()
115 if(buffer_size < metadata_size || certs_number == 0) in _nxe_secure_tls_session_x509_client_verify_configure()
121 cert_buffer_size = (buffer_size - metadata_size) / certs_number; in _nxe_secure_tls_session_x509_client_verify_configure()
Dnx_secure_tls_1_3_finished_hash_generate.c89 UINT metadata_size; in _nx_secure_tls_1_3_finished_hash_generate() local
140metadata_size = tls_session -> nx_secure_tls_handshake_hash.nx_secure_tls_handshake_hash_scratch_s… in _nx_secure_tls_1_3_finished_hash_generate()
166 metadata_size); in _nx_secure_tls_1_3_finished_hash_generate()
176 … NX_NULL, NX_NULL, 0, metadata, metadata_size, NX_NULL, NX_NULL); in _nx_secure_tls_1_3_finished_hash_generate()
196 metadata_size, in _nx_secure_tls_1_3_finished_hash_generate()
220 metadata_size, in _nx_secure_tls_1_3_finished_hash_generate()
244 metadata_size, in _nx_secure_tls_1_3_finished_hash_generate()
Dnxe_secure_tls_metadata_size_calculate.c76 ULONG *metadata_size) in _nxe_secure_tls_metadata_size_calculate() argument
80 if ((cipher_table == NX_NULL) || (metadata_size == NX_NULL)) in _nxe_secure_tls_metadata_size_calculate()
88 status = _nx_secure_tls_metadata_size_calculate(cipher_table, metadata_size); in _nxe_secure_tls_metadata_size_calculate()
Dnx_secure_crypto_method_self_test_hmac_md5.c97 VOID *metadata, UINT metadata_size) in _nx_secure_crypto_method_self_test_hmac_md5() argument
128 metadata_size); in _nx_secure_crypto_method_self_test_hmac_md5()
156 metadata_size, in _nx_secure_crypto_method_self_test_hmac_md5()
186 metadata_size, in _nx_secure_crypto_method_self_test_hmac_md5()
206 metadata_size, in _nx_secure_crypto_method_self_test_hmac_md5()
226 metadata_size, in _nx_secure_crypto_method_self_test_hmac_md5()
Dnx_secure_tls_remote_certificate_buffer_allocate.c98 UINT metadata_size; in _nx_secure_tls_remote_certificate_buffer_allocate() local
105 metadata_size = sizeof(NX_SECURE_X509_CERT) * certs_number; in _nx_secure_tls_remote_certificate_buffer_allocate()
108 if(buffer_size < metadata_size) in _nx_secure_tls_remote_certificate_buffer_allocate()
116 cert_buffer_size = (buffer_size - metadata_size) / certs_number; in _nx_secure_tls_remote_certificate_buffer_allocate()
Dnx_secure_tls_psk_binder_generate.c106 UINT metadata_size; in _nx_secure_tls_psk_binder_generate() local
203metadata_size = tls_session -> nx_secure_tls_handshake_hash.nx_secure_tls_handshake_hash_scratch_s… in _nx_secure_tls_psk_binder_generate()
219 metadata_size); in _nx_secure_tls_psk_binder_generate()
229 … NX_NULL, NX_NULL, 0, metadata, metadata_size, NX_NULL, NX_NULL); in _nx_secure_tls_psk_binder_generate()
249 metadata_size, in _nx_secure_tls_psk_binder_generate()
273 metadata_size, in _nx_secure_tls_psk_binder_generate()
297 metadata_size, in _nx_secure_tls_psk_binder_generate()
Dnx_secure_crypto_method_self_test_rsa.c451 VOID *metadata, UINT metadata_size) in _nx_secure_crypto_method_self_test_rsa() argument
481 metadata_size); in _nx_secure_crypto_method_self_test_rsa()
498 metadata_size, in _nx_secure_crypto_method_self_test_rsa()
528 metadata_size); in _nx_secure_crypto_method_self_test_rsa()
545 metadata_size, in _nx_secure_crypto_method_self_test_rsa()
576 metadata_size); in _nx_secure_crypto_method_self_test_rsa()
593 metadata_size, in _nx_secure_crypto_method_self_test_rsa()
611 metadata_size, in _nx_secure_crypto_method_self_test_rsa()
629 metadata_size, in _nx_secure_crypto_method_self_test_rsa()
Dnx_secure_tls_hash_record.c88 UCHAR *mac_secret, VOID *metadata, ULONG metadata_size) in _nx_secure_tls_hash_record() argument
132 metadata_size); in _nx_secure_tls_hash_record()
154 metadata_size, in _nx_secure_tls_hash_record()
174 metadata_size, in _nx_secure_tls_hash_record()
194 metadata_size, in _nx_secure_tls_hash_record()
243 metadata_size, in _nx_secure_tls_hash_record()
274 metadata_size, in _nx_secure_tls_hash_record()
Dnx_secure_module_hash_compute.c88 VOID *metadata, UINT metadata_size, in nx_secure_module_hash_compute() argument
112 metadata_size); in nx_secure_module_hash_compute()
137 metadata_size, in nx_secure_module_hash_compute()
166 NX_PARAMETER_NOT_USED(metadata_size); in nx_secure_module_hash_compute()
Dnx_secure_crypto_method_self_test_3des.c110 VOID *metadata, UINT metadata_size) in _nx_secure_crypto_method_self_test_3des() argument
127 metadata_size); in _nx_secure_crypto_method_self_test_3des()
152 metadata_size, in _nx_secure_crypto_method_self_test_3des()
177 metadata_size, in _nx_secure_crypto_method_self_test_3des()
Dnx_secure_crypto_method_self_test_des.c107 VOID *metadata, UINT metadata_size) in _nx_secure_crypto_method_self_test_des() argument
124 metadata_size); in _nx_secure_crypto_method_self_test_des()
149 metadata_size, in _nx_secure_crypto_method_self_test_des()
174 metadata_size, in _nx_secure_crypto_method_self_test_des()
Dnx_secure_tls_finished_hash_generate.c89 UINT metadata_size; in _nx_secure_tls_finished_hash_generate() local
207metadata_size = tls_session -> nx_secure_tls_handshake_hash.nx_secure_tls_handshake_hash_md5_metad… in _nx_secure_tls_finished_hash_generate()
221 metadata_size, in _nx_secure_tls_finished_hash_generate()
230 NX_SECURE_HASH_CLONE_CLEANUP(metadata, metadata_size); in _nx_secure_tls_finished_hash_generate()
244metadata_size = tls_session -> nx_secure_tls_handshake_hash.nx_secure_tls_handshake_hash_sha1_meta… in _nx_secure_tls_finished_hash_generate()
259 metadata_size, in _nx_secure_tls_finished_hash_generate()
270 NX_SECURE_HASH_CLONE_CLEANUP(metadata, metadata_size); in _nx_secure_tls_finished_hash_generate()
Dnx_secure_crypto_method_self_test_hmac_sha.c179 VOID *metadata, UINT metadata_size) in _nx_secure_crypto_method_self_test_hmac_sha() argument
249 metadata_size); in _nx_secure_crypto_method_self_test_hmac_sha()
277 metadata_size, in _nx_secure_crypto_method_self_test_hmac_sha()
307 metadata_size, in _nx_secure_crypto_method_self_test_hmac_sha()
327 metadata_size, in _nx_secure_crypto_method_self_test_hmac_sha()
347 metadata_size, in _nx_secure_crypto_method_self_test_hmac_sha()

123