Home
last modified time | relevance | path

Searched refs:ecdh_method (Results 1 – 3 of 3) sorted by relevance

/NetX-Duo-v6.4.1/nx_secure/src/
Dnx_secure_generate_premaster_secret.c96 const NX_CRYPTO_METHOD *ecdh_method; in _nx_secure_generate_premaster_secret() local
146 ecdh_method = ciphersuite -> nx_secure_tls_public_cipher; in _nx_secure_generate_premaster_secret()
147 if (ecdh_method -> nx_crypto_operation == NX_NULL) in _nx_secure_generate_premaster_secret()
152 if (ecdh_method -> nx_crypto_init != NX_NULL) in _nx_secure_generate_premaster_secret()
154 status = ecdh_method -> nx_crypto_init((NX_CRYPTO_METHOD*)ecdh_method, in _nx_secure_generate_premaster_secret()
166 status = ecdh_method -> nx_crypto_operation(NX_CRYPTO_EC_CURVE_SET, handler, in _nx_secure_generate_premaster_secret()
167 (NX_CRYPTO_METHOD*)ecdh_method, NX_NULL, 0, in _nx_secure_generate_premaster_secret()
182 status = ecdh_method -> nx_crypto_operation(NX_CRYPTO_DH_SETUP, handler, in _nx_secure_generate_premaster_secret()
183 (NX_CRYPTO_METHOD*)ecdh_method, NX_NULL, 0, in _nx_secure_generate_premaster_secret()
200 status = ecdh_method -> nx_crypto_operation(NX_CRYPTO_DH_CALCULATE, handler, in _nx_secure_generate_premaster_secret()
[all …]
Dnx_secure_process_client_key_exchange.c124 const NX_CRYPTO_METHOD *ecdh_method; in _nx_secure_process_client_key_exchange() local
272 ecdh_method = ciphersuite -> nx_secure_tls_public_cipher; in _nx_secure_process_client_key_exchange()
273 if (ecdh_method -> nx_crypto_operation == NX_NULL) in _nx_secure_process_client_key_exchange()
278 if (ecdh_method -> nx_crypto_init != NX_NULL) in _nx_secure_process_client_key_exchange()
280 status = ecdh_method -> nx_crypto_init((NX_CRYPTO_METHOD *)ecdh_method, in _nx_secure_process_client_key_exchange()
292 status = ecdh_method -> nx_crypto_operation(NX_CRYPTO_EC_CURVE_SET, handler, in _nx_secure_process_client_key_exchange()
293 (NX_CRYPTO_METHOD *)ecdh_method, NX_NULL, 0, in _nx_secure_process_client_key_exchange()
305 status = ecdh_method -> nx_crypto_operation(NX_CRYPTO_DH_KEY_PAIR_IMPORT, handler, in _nx_secure_process_client_key_exchange()
306 (NX_CRYPTO_METHOD *)ecdh_method, in _nx_secure_process_client_key_exchange()
322 status = ecdh_method -> nx_crypto_operation(NX_CRYPTO_DH_CALCULATE, handler, in _nx_secure_process_client_key_exchange()
[all …]
Dnx_secure_process_server_key_exchange.c121 const NX_CRYPTO_METHOD *ecdh_method; in _nx_secure_process_server_key_exchange() local
877 ecdh_method = ciphersuite -> nx_secure_tls_public_cipher; in _nx_secure_process_server_key_exchange()
878 if (ecdh_method -> nx_crypto_operation == NX_NULL) in _nx_secure_process_server_key_exchange()
883 if (ecdh_method -> nx_crypto_init != NX_NULL) in _nx_secure_process_server_key_exchange()
885 status = ecdh_method -> nx_crypto_init((NX_CRYPTO_METHOD*)ecdh_method, in _nx_secure_process_server_key_exchange()
897 status = ecdh_method -> nx_crypto_operation(NX_CRYPTO_EC_CURVE_SET, handler, in _nx_secure_process_server_key_exchange()
898 (NX_CRYPTO_METHOD*)ecdh_method, NX_NULL, 0, in _nx_secure_process_server_key_exchange()
913 status = ecdh_method -> nx_crypto_operation(NX_CRYPTO_DH_SETUP, handler, in _nx_secure_process_server_key_exchange()
914 (NX_CRYPTO_METHOD*)ecdh_method, NX_NULL, 0, in _nx_secure_process_server_key_exchange()
932 status = ecdh_method -> nx_crypto_operation(NX_CRYPTO_DH_CALCULATE, handler, in _nx_secure_process_server_key_exchange()
[all …]