Home
last modified time | relevance | path

Searched refs:ecc_info (Results 1 – 5 of 5) sorted by relevance

/NetX-Duo-v6.2.1/nx_secure/src/
Dnx_secure_tls_1_3_crypto_init.c87 NX_SECURE_TLS_ECC *ecc_info; in _nx_secure_tls_1_3_crypto_init() local
97 ecc_info = &(tls_session -> nx_secure_tls_ecc); in _nx_secure_tls_1_3_crypto_init()
100 for (i = 0; i < ecc_info -> nx_secure_tls_ecc_supported_groups_count; i++) in _nx_secure_tls_1_3_crypto_init()
109 … ecdhe_data -> nx_secure_tls_ecdhe_named_curve = ecc_info -> nx_secure_tls_ecc_supported_groups[i]; in _nx_secure_tls_1_3_crypto_init()
117 …&tls_session -> nx_secure_tls_handshake_hash, ecc_info, &tls_session -> nx_secure_tls_key_material, in _nx_secure_tls_1_3_crypto_init()
Dnx_secure_dtls_send_clienthello.c527 NX_SECURE_TLS_ECC *ecc_info; in _nx_secure_dtls_send_clienthello_sec_spf_extensions() local
529 ecc_info = &(tls_session -> nx_secure_tls_ecc); in _nx_secure_dtls_send_clienthello_sec_spf_extensions()
531 if (ecc_info -> nx_secure_tls_ecc_supported_groups_count == 0) in _nx_secure_dtls_send_clienthello_sec_spf_extensions()
540 …if (available_size < (offset + 12u + (ULONG)(ecc_info -> nx_secure_tls_ecc_supported_groups_count … in _nx_secure_dtls_send_clienthello_sec_spf_extensions()
549 list_len = (USHORT)(ecc_info -> nx_secure_tls_ecc_supported_groups_count * sizeof(USHORT)); in _nx_secure_dtls_send_clienthello_sec_spf_extensions()
564 for (i = 0; i < ecc_info -> nx_secure_tls_ecc_supported_groups_count; i++) in _nx_secure_dtls_send_clienthello_sec_spf_extensions()
566 …packet_buffer[offset] = (UCHAR)((ecc_info -> nx_secure_tls_ecc_supported_groups[i] & 0xFF00) >> 8); in _nx_secure_dtls_send_clienthello_sec_spf_extensions()
567 … packet_buffer[offset + 1] = (UCHAR)(ecc_info -> nx_secure_tls_ecc_supported_groups[i] & 0x00FF); in _nx_secure_dtls_send_clienthello_sec_spf_extensions()
Dnx_secure_tls_send_clienthello_extensions.c1695 NX_SECURE_TLS_ECC *ecc_info; in _nx_secure_tls_send_clienthello_sec_spf_extensions() local
1697 ecc_info = &(tls_session -> nx_secure_tls_ecc); in _nx_secure_tls_send_clienthello_sec_spf_extensions()
1699 if (ecc_info -> nx_secure_tls_ecc_supported_groups_count == 0) in _nx_secure_tls_send_clienthello_sec_spf_extensions()
1708 …if (available_size < (offset + 12u + (ULONG)(ecc_info -> nx_secure_tls_ecc_supported_groups_count … in _nx_secure_tls_send_clienthello_sec_spf_extensions()
1717 list_len = (USHORT)(ecc_info -> nx_secure_tls_ecc_supported_groups_count * sizeof(USHORT)); in _nx_secure_tls_send_clienthello_sec_spf_extensions()
1732 for (i = 0; i < ecc_info -> nx_secure_tls_ecc_supported_groups_count; i++) in _nx_secure_tls_send_clienthello_sec_spf_extensions()
1734 …packet_buffer[offset] = (UCHAR)((ecc_info -> nx_secure_tls_ecc_supported_groups[i] & 0xFF00) >> 8); in _nx_secure_tls_send_clienthello_sec_spf_extensions()
1735 … packet_buffer[offset + 1] = (UCHAR)(ecc_info -> nx_secure_tls_ecc_supported_groups[i] & 0x00FF); in _nx_secure_tls_send_clienthello_sec_spf_extensions()
Dnx_secure_tls_process_clienthello_extensions.c522 NX_SECURE_TLS_ECC *ecc_info; in _nx_secure_tls_proc_clienthello_sec_sa_extension() local
606 ecc_info = &(tls_session -> nx_secure_tls_ecc); in _nx_secure_tls_proc_clienthello_sec_sa_extension()
609 for (k = 0; k < ecc_info -> nx_secure_tls_ecc_supported_groups_count; k++) in _nx_secure_tls_proc_clienthello_sec_sa_extension()
798 NX_SECURE_TLS_ECC *ecc_info; in _nx_secure_tls_proc_clienthello_keyshare_extension() local
823 ecc_info = &(tls_session -> nx_secure_tls_ecc); in _nx_secure_tls_proc_clienthello_keyshare_extension()
864 for (i = 0; i < ecc_info -> nx_secure_tls_ecc_supported_groups_count; i++) in _nx_secure_tls_proc_clienthello_keyshare_extension()
Dnx_secure_tls_process_serverhello_extensions.c831 NX_SECURE_TLS_ECC *ecc_info; in _nx_secure_tls_proc_serverhello_keyshare_extension() local
856 ecc_info = &(tls_session -> nx_secure_tls_ecc); in _nx_secure_tls_proc_serverhello_keyshare_extension()
863 for (i = 0; i < ecc_info -> nx_secure_tls_ecc_supported_groups_count; i++) in _nx_secure_tls_proc_serverhello_keyshare_extension()