Home
last modified time | relevance | path

Searched refs:ecdhe_data (Results 1 – 7 of 7) sorted by relevance

/NetX-Duo-v6.2.1/nx_secure/src/
Dnx_secure_tls_1_3_crypto_init.c84 NX_SECURE_TLS_ECDHE_HANDSHAKE_DATA *ecdhe_data; in _nx_secure_tls_1_3_crypto_init() local
106 ecdhe_data = &tls_session -> nx_secure_tls_key_material.nx_secure_tls_ecc_key_data[i]; in _nx_secure_tls_1_3_crypto_init()
109ecdhe_data -> nx_secure_tls_ecdhe_named_curve = ecc_info -> nx_secure_tls_ecc_supported_groups[i]; in _nx_secure_tls_1_3_crypto_init()
112 length = sizeof(ecdhe_data -> nx_secure_tls_ecdhe_public_key); in _nx_secure_tls_1_3_crypto_init()
118 …&tls_session -> nx_secure_tls_credentials, ecdhe_data -> nx_secure_tls_ecdhe_named_curve, NX_FALSE, in _nx_secure_tls_1_3_crypto_init()
119ecdhe_data -> nx_secure_tls_ecdhe_public_key, &length, ecdhe_data, in _nx_secure_tls_1_3_crypto_init()
126 ecdhe_data -> nx_secure_tls_ecdhe_public_key_length = (USHORT)length; in _nx_secure_tls_1_3_crypto_init()
Dnx_secure_generate_server_key_exchange.c109 NX_SECURE_TLS_ECDHE_HANDSHAKE_DATA *ecdhe_data; in _nx_secure_generate_server_key_exchange() local
222ecdhe_data = (NX_SECURE_TLS_ECDHE_HANDSHAKE_DATA *)tls_key_material -> nx_secure_tls_new_key_mater… in _nx_secure_generate_server_key_exchange()
228 … tls_key_material, tls_credentials, ecdhe_data -> nx_secure_tls_ecdhe_named_curve, NX_TRUE, in _nx_secure_generate_server_key_exchange()
229 … data_buffer, &length, ecdhe_data, public_cipher_metadata, public_cipher_metadata_size, in _nx_secure_generate_server_key_exchange()
Dnx_secure_dtls_process_clienthello.c138 NX_SECURE_TLS_ECDHE_HANDSHAKE_DATA *ecdhe_data; in _nx_secure_dtls_process_clienthello() local
345ecdhe_data = (NX_SECURE_TLS_ECDHE_HANDSHAKE_DATA *)tls_session -> nx_secure_tls_key_material.nx_se… in _nx_secure_dtls_process_clienthello()
353 … &ecdhe_data -> nx_secure_tls_ecdhe_signature_algorithm, in _nx_secure_dtls_process_clienthello()
356 ecdhe_data -> nx_secure_tls_ecdhe_named_curve = selected_curve; in _nx_secure_dtls_process_clienthello()
361 ecdhe_data -> nx_secure_tls_ecdhe_signature_algorithm = in _nx_secure_dtls_process_clienthello()
362 …(USHORT)((ecdhe_data -> nx_secure_tls_ecdhe_signature_algorithm & 0xFF00) | NX_SECURE_TLS_SIGNATUR… in _nx_secure_dtls_process_clienthello()
372 ecdhe_data -> nx_secure_tls_ecdhe_signature_algorithm = in _nx_secure_dtls_process_clienthello()
373 …(USHORT)((ecdhe_data -> nx_secure_tls_ecdhe_signature_algorithm & 0xFF00) | NX_SECURE_TLS_SIGNATUR… in _nx_secure_dtls_process_clienthello()
Dnx_secure_tls_send_serverhello_extensions.c558 NX_SECURE_TLS_ECDHE_HANDSHAKE_DATA *ecdhe_data; in _nx_secure_tls_send_serverhello_key_share_extension() local
652 ecdhe_data = &(tls_session -> nx_secure_tls_key_material.nx_secure_tls_ecc_key_data[i]); in _nx_secure_tls_send_serverhello_key_share_extension()
653 named_curve = (USHORT)(ecdhe_data -> nx_secure_tls_ecdhe_named_curve); in _nx_secure_tls_send_serverhello_key_share_extension()
689 key_length = ecdhe_data->nx_secure_tls_ecdhe_public_key_length; in _nx_secure_tls_send_serverhello_key_share_extension()
712 …NX_SECURE_MEMCPY(&packet_buffer[offset], &ecdhe_data->nx_secure_tls_ecdhe_public_key[0], key_lengt… in _nx_secure_tls_send_serverhello_key_share_extension()
Dnx_secure_process_client_key_exchange.c122 NX_SECURE_TLS_ECDHE_HANDSHAKE_DATA *ecdhe_data; in _nx_secure_process_client_key_exchange() local
253ecdhe_data = (NX_SECURE_TLS_ECDHE_HANDSHAKE_DATA *)tls_key_material -> nx_secure_tls_new_key_mater… in _nx_secure_process_client_key_exchange()
256 …ure_tls_find_curve_method((NX_SECURE_TLS_ECC *)tls_ecc_curves, (USHORT)ecdhe_data -> nx_secure_tls… in _nx_secure_process_client_key_exchange()
263 private_key = ecdhe_data -> nx_secure_tls_ecdhe_private_key; in _nx_secure_process_client_key_exchange()
264 private_key_length = ecdhe_data -> nx_secure_tls_ecdhe_private_key_length; in _nx_secure_process_client_key_exchange()
Dnx_secure_tls_process_clienthello.c136 NX_SECURE_TLS_ECDHE_HANDSHAKE_DATA *ecdhe_data; in _nx_secure_tls_process_clienthello() local
450ecdhe_data = (NX_SECURE_TLS_ECDHE_HANDSHAKE_DATA *)tls_session -> nx_secure_tls_key_material.nx_se… in _nx_secure_tls_process_clienthello()
458 … &ecdhe_data -> nx_secure_tls_ecdhe_signature_algorithm, in _nx_secure_tls_process_clienthello()
467 ecdhe_data -> nx_secure_tls_ecdhe_named_curve = selected_curve; in _nx_secure_tls_process_clienthello()
Dnx_secure_tls_send_clienthello_extensions.c707 NX_SECURE_TLS_ECDHE_HANDSHAKE_DATA *ecdhe_data; in _nx_secure_tls_send_clienthello_key_share_extension() local
776 ecdhe_data = &tls_session -> nx_secure_tls_key_material.nx_secure_tls_ecc_key_data[entry_index]; in _nx_secure_tls_send_clienthello_key_share_extension()
779 named_curve = (USHORT)ecdhe_data->nx_secure_tls_ecdhe_named_curve; in _nx_secure_tls_send_clienthello_key_share_extension()
782 key_length = ecdhe_data->nx_secure_tls_ecdhe_public_key_length; in _nx_secure_tls_send_clienthello_key_share_extension()