Home
last modified time | relevance | path

Searched refs:crypto_table (Results 1 – 19 of 19) sorted by relevance

/NetX-Duo-v6.3.0/nx_secure/src/
Dnx_secure_tls_metadata_size_calculate.c77 UINT _nx_secure_tls_metadata_size_calculate(const NX_SECURE_TLS_CRYPTO *crypto_table, in _nx_secure_tls_metadata_size_calculate() argument
108 crypto_method_md5 = crypto_table -> nx_secure_tls_handshake_hash_md5_method; in _nx_secure_tls_metadata_size_calculate()
109 crypto_method_sha1 = crypto_table -> nx_secure_tls_handshake_hash_sha1_method; in _nx_secure_tls_metadata_size_calculate()
112 crypto_method_sha256 = crypto_table -> nx_secure_tls_handshake_hash_sha256_method; in _nx_secure_tls_metadata_size_calculate()
117 ciphersuite_table = crypto_table -> nx_secure_tls_ciphersuite_lookup_table; in _nx_secure_tls_metadata_size_calculate()
118 ciphersuite_table_size = crypto_table -> nx_secure_tls_ciphersuite_lookup_table_size; in _nx_secure_tls_metadata_size_calculate()
120 cert_crypto = crypto_table -> nx_secure_tls_x509_cipher_table; in _nx_secure_tls_metadata_size_calculate()
121 cert_crypto_size = crypto_table -> nx_secure_tls_x509_cipher_table_size; in _nx_secure_tls_metadata_size_calculate()
190 …if (max_tls_prf_metadata_size < crypto_table -> nx_secure_tls_prf_1_method -> nx_crypto_metadata_a… in _nx_secure_tls_metadata_size_calculate()
192 …max_tls_prf_metadata_size = crypto_table -> nx_secure_tls_prf_1_method -> nx_crypto_metadata_area_… in _nx_secure_tls_metadata_size_calculate()
[all …]
Dnx_secure_tls_session_create_ext.c134 NX_SECURE_TLS_CRYPTO * crypto_table; in _map_tls_ciphersuites() local
159 crypto_table = tls_session->nx_secure_tls_crypto_table; in _map_tls_ciphersuites()
162 cipher_entry = crypto_table->nx_secure_tls_ciphersuite_lookup_table; in _map_tls_ciphersuites()
174 crypto_table->nx_secure_tls_handshake_hash_md5_method = cipher_method; in _map_tls_ciphersuites()
184 crypto_table->nx_secure_tls_handshake_hash_sha1_method = cipher_method; in _map_tls_ciphersuites()
195 crypto_table->nx_secure_tls_prf_1_method = cipher_method; in _map_tls_ciphersuites()
209 crypto_table->nx_secure_tls_handshake_hash_sha256_method = cipher_method; in _map_tls_ciphersuites()
219 crypto_table->nx_secure_tls_prf_sha256_method = cipher_method; in _map_tls_ciphersuites()
234 crypto_table->nx_secure_tls_ecdhe_method = cipher_method; in _map_tls_ciphersuites()
255 crypto_table->nx_secure_tls_hmac_method = cipher_method; in _map_tls_ciphersuites()
[all …]
Dnx_secure_crypto_table_self_test.c110 UINT _nx_secure_crypto_table_self_test(const NX_SECURE_TLS_CRYPTO *crypto_table, in _nx_secure_crypto_table_self_test() argument
123 if(crypto_table == NX_NULL) in _nx_secure_crypto_table_self_test()
154 crypto_table_size = crypto_table -> nx_secure_tls_ciphersuite_lookup_table_size; in _nx_secure_crypto_table_self_test()
159 ciphersuite = &crypto_table -> nx_secure_tls_ciphersuite_lookup_table[i]; in _nx_secure_crypto_table_self_test()
193 crypto_table_size = crypto_table -> nx_secure_tls_x509_cipher_table_size; in _nx_secure_crypto_table_self_test()
198 x509_crypto = &crypto_table -> nx_secure_tls_x509_cipher_table[i]; in _nx_secure_crypto_table_self_test()
224 NX_PARAMETER_NOT_USED(crypto_table); in _nx_secure_crypto_table_self_test()
Dnxe_secure_dtls_session_create.c83 const NX_SECURE_TLS_CRYPTO *crypto_table, in _nxe_secure_dtls_session_create() argument
95 if ((session_ptr == NX_NULL) || (crypto_table == NX_NULL) || in _nxe_secure_dtls_session_create()
120 … status = _nx_secure_dtls_session_create(session_ptr, crypto_table, metadata_buffer, metadata_size, in _nxe_secure_dtls_session_create()
128 NX_PARAMETER_NOT_USED(crypto_table); in _nxe_secure_dtls_session_create()
Dnx_secure_tls_session_create.c78 const NX_SECURE_TLS_CRYPTO *crypto_table, in _nx_secure_tls_session_create() argument
88 session_ptr -> nx_secure_tls_crypto_table = (NX_SECURE_TLS_CRYPTO *)(crypto_table); in _nx_secure_tls_session_create()
Dnx_secure_dtls_session_create.c88 const NX_SECURE_TLS_CRYPTO *crypto_table, in _nx_secure_dtls_session_create() argument
105 … status = _nx_secure_tls_session_create(tls_session, crypto_table, metadata_buffer, metadata_size); in _nx_secure_dtls_session_create()
174 NX_PARAMETER_NOT_USED(crypto_table); in _nx_secure_dtls_session_create()
Dnxe_secure_dtls_server_create.c80 const NX_SECURE_TLS_CRYPTO *crypto_table, in _nxe_secure_dtls_server_create() argument
153 session_buffer, session_buffer_size, crypto_table, in _nxe_secure_dtls_server_create()
166 NX_PARAMETER_NOT_USED(crypto_table); in _nxe_secure_dtls_server_create()
Dnx_secure_tls_send_clienthello.c107 const NX_SECURE_TLS_CRYPTO *crypto_table; in _nx_secure_tls_send_clienthello() local
143 crypto_table = tls_session -> nx_secure_tls_crypto_table; in _nx_secure_tls_send_clienthello()
145 …ciphersuites_length = (USHORT)((crypto_table -> nx_secure_tls_ciphersuite_lookup_table_size << 1)); in _nx_secure_tls_send_clienthello()
227 for (i = 0; i < crypto_table -> nx_secure_tls_ciphersuite_lookup_table_size; i++) in _nx_secure_tls_send_clienthello()
230 … ciphersuite = crypto_table -> nx_secure_tls_ciphersuite_lookup_table[i].nx_secure_tls_ciphersuite; in _nx_secure_tls_send_clienthello()
Dnx_secure_dtls_server_create.c96 const NX_SECURE_TLS_CRYPTO *crypto_table, in _nx_secure_dtls_server_create() argument
166 …status = _nx_secure_dtls_session_create(current_session, crypto_table, session_metadata, session_m… in _nx_secure_dtls_server_create()
230 NX_PARAMETER_NOT_USED(crypto_table); in _nx_secure_dtls_server_create()
Dnx_secure_dtls_send_clienthello.c112 const NX_SECURE_TLS_CRYPTO *crypto_table; in _nx_secure_dtls_send_clienthello() local
135 crypto_table = tls_session -> nx_secure_tls_crypto_table; in _nx_secure_dtls_send_clienthello()
136 …ciphersuites_length = (USHORT)(2 + (crypto_table -> nx_secure_tls_ciphersuite_lookup_table_size <<… in _nx_secure_dtls_send_clienthello()
249 for (i = 0; i < crypto_table -> nx_secure_tls_ciphersuite_lookup_table_size; i++) in _nx_secure_dtls_send_clienthello()
251 … ciphersuite = crypto_table -> nx_secure_tls_ciphersuite_lookup_table[i].nx_secure_tls_ciphersuite; in _nx_secure_dtls_send_clienthello()
257 …if (crypto_table -> nx_secure_tls_ciphersuite_lookup_table[i].nx_secure_tls_public_auth -> nx_cryp… in _nx_secure_dtls_send_clienthello()
259 …crypto_method = crypto_table -> nx_secure_tls_ciphersuite_lookup_table[i].nx_secure_tls_public_aut… in _nx_secure_dtls_send_clienthello()
/NetX-Duo-v6.3.0/nx_secure/inc/
Dnx_secure_crypto_table_self_test.h62 UINT _nx_secure_crypto_table_self_test(const NX_SECURE_TLS_CRYPTO *crypto_table,
Dnx_secure_dtls.h250 const NX_SECURE_TLS_CRYPTO *crypto_table,
263 const NX_SECURE_TLS_CRYPTO *crypto_table,
341 const NX_SECURE_TLS_CRYPTO *crypto_table,
364 const NX_SECURE_TLS_CRYPTO *crypto_table,
Dnx_secure_dtls_api.h150 const NX_SECURE_TLS_CRYPTO *crypto_table,
174 const NX_SECURE_TLS_CRYPTO *crypto_table,
Dnx_secure_tls_api.h169 UINT nx_secure_crypto_table_self_test(const NX_SECURE_TLS_CRYPTO *crypto_table,
Dnx_secure_tls.h1669 UINT _nx_secure_tls_metadata_size_calculate(const NX_SECURE_TLS_CRYPTO *crypto_table,
1770 UINT _nxe_secure_tls_metadata_size_calculate(const NX_SECURE_TLS_CRYPTO *crypto_table,
/NetX-Duo-v6.3.0/addons/web/
Dnx_tcpserver.h160 UINT nx_tcpserver_tls_setup(NX_TCPSERVER *server_ptr, const NX_SECURE_TLS_CRYPTO *crypto_table,
190 UINT _nx_tcpserver_tls_setup(NX_TCPSERVER *server_ptr, const NX_SECURE_TLS_CRYPTO *crypto_table,
Dnx_tcpserver.c447 UINT _nx_tcpserver_tls_setup(NX_TCPSERVER *server_ptr, const NX_SECURE_TLS_CRYPTO *crypto_table, in _nx_tcpserver_tls_setup() argument
488 …status = nx_secure_tls_session_create(tls_session, crypto_table, session_metadata, session_metadat… in _nx_tcpserver_tls_setup()
Dnx_web_http_server.h487 …ver_secure_configure(NX_WEB_HTTP_SERVER *http_server_ptr, const NX_SECURE_TLS_CRYPTO *crypto_table,
556 …ver_secure_configure(NX_WEB_HTTP_SERVER *http_server_ptr, const NX_SECURE_TLS_CRYPTO *crypto_table,
686 …ver_secure_configure(NX_WEB_HTTP_SERVER *http_server_ptr, const NX_SECURE_TLS_CRYPTO *crypto_table,
Dnx_web_http_server.c2154 …ver_secure_configure(NX_WEB_HTTP_SERVER *http_server_ptr, const NX_SECURE_TLS_CRYPTO *crypto_table, in _nxe_web_http_server_secure_configure() argument
2172 crypto_table == NX_NULL || metadata_buffer == NX_NULL || packet_buffer == NX_NULL || in _nxe_web_http_server_secure_configure()
2179 …status = _nx_web_http_server_secure_configure(http_server_ptr, crypto_table, metadata_buffer, met… in _nxe_web_http_server_secure_configure()
2267 …ver_secure_configure(NX_WEB_HTTP_SERVER *http_server_ptr, const NX_SECURE_TLS_CRYPTO *crypto_table, in _nx_web_http_server_secure_configure() argument
2286 crypto_table, metadata_buffer, metadata_size, in _nx_web_http_server_secure_configure()