Home
last modified time | relevance | path

Searched refs:extension_total_length (Results 1 – 4 of 4) sorted by relevance

/NetX-Duo-v6.2.1/nx_secure/src/
Dnx_secure_dtls_send_serverhello.c85 USHORT extension_total_length; in _nx_secure_dtls_send_serverhello() local
188 extension_total_length = 10; in _nx_secure_dtls_send_serverhello()
244 extension_total_length = (USHORT)(extension_total_length + in _nx_secure_dtls_send_serverhello()
249 extension_total_length_ptr[0] = (UCHAR)((extension_total_length >> 8) & 0xFF); in _nx_secure_dtls_send_serverhello()
250 extension_total_length_ptr[1] = (UCHAR)(extension_total_length & 0xFF); in _nx_secure_dtls_send_serverhello()
Dnx_secure_dtls_send_clienthello.c107 USHORT extension_total_length; in _nx_secure_dtls_send_clienthello() local
345 extension_total_length = 18; in _nx_secure_dtls_send_clienthello()
424 extension_total_length = (USHORT)(extension_total_length + in _nx_secure_dtls_send_clienthello()
429 extension_total_length_ptr[0] = (UCHAR)((extension_total_length >> 8) & 0xFF); in _nx_secure_dtls_send_clienthello()
430 extension_total_length_ptr[1] = (UCHAR)(extension_total_length & 0xFF); in _nx_secure_dtls_send_clienthello()
438 extension_total_length = 18; in _nx_secure_dtls_send_clienthello()
442 … packet_buffer, &length, &extension_total_length, in _nx_secure_dtls_send_clienthello()
445 if (extension_total_length == 0) in _nx_secure_dtls_send_clienthello()
455 extension_total_length_ptr[0] = (UCHAR)((extension_total_length >> 8) & 0xFF); in _nx_secure_dtls_send_clienthello()
456 extension_total_length_ptr[1] = (UCHAR)(extension_total_length & 0xFF); in _nx_secure_dtls_send_clienthello()
Dnx_secure_dtls_process_clienthello.c123 INT extension_total_length; in _nx_secure_dtls_process_clienthello() local
419 extension_total_length = (packet_buffer[0] << 8) + packet_buffer[1]; in _nx_secure_dtls_process_clienthello()
423 if (packet_buffer - packet_buffer_start + extension_total_length > (INT)message_length) in _nx_secure_dtls_process_clienthello()
493 while (extension_total_length > 0) in _nx_secure_dtls_process_clienthello()
503 extension_total_length -= 4; in _nx_secure_dtls_process_clienthello()
506 if (extension_length > extension_total_length) in _nx_secure_dtls_process_clienthello()
511 extension_total_length -= extension_length; in _nx_secure_dtls_process_clienthello()
Dnx_secure_tls_process_certificate_request.c102 UINT extension_total_length; in _nx_secure_tls_process_certificate_request() local
200 extension_total_length = (UINT)((packet_buffer[length] << 8) + packet_buffer[length + 1]); in _nx_secure_tls_process_certificate_request()
204 if ((length + extension_total_length) > message_length) in _nx_secure_tls_process_certificate_request()