Skip to content

Azure RTOS 6.1.11

Compare
Choose a tag to compare
@yuxin-azrtos yuxin-azrtos released this 26 Apr 07:00
· 96 commits to master since this release

Azure RTOS NetX Duo 6.1.11 release contains the following features and changes:

    Files are modified to correct the random value in case NX_RAND returns negative value:
        nx_tcp_client_socket_bind.c
        nx_udp_socket_bind.c

    Files are modified to add internal IP address change notification for mDNS:
        nx_api.h
        nx_icmpv6_perform_DAD.c
        nx_icmpv6_process_ra.c
        nx_ip_interface_address_set.c
        nx_rarp_packet_receive.c
        nxd_ipv6_address_set.c

    Other modified file:
        nx_api.h                                Updated product constants.
        nx_arp_packet_receive.c                 Fixed compiler errors.

        nx_azure_iot*                           Updated the source code to be compatible with azure-sdk-for-c 1.3.0.
                                                Corrected the mutex timeout of getting packet id.

        nx_web_http_client.c                    Released invalid packet.

        nx_web_http_server.c                    Supported ECC configuration.

        nx_web_http_server.h                    Supported ECC configuration.

        nx_tcpserver.c                          Supported ECC configuration.
                                                Corrected the wait option of TLS connection.

        nx_tcpserver.h                          Supported ECC configuration.

        nxd_mdns.c                              Corrected the random value.
                                                Fixed compiler warnings.
                                                Fixed the issue of timer when NX_IP_PERIODIC_RATE is redefined.
                                                Used internal ip address change notification.

        nxd_mdns.h                              Fixed the issue of timer when NX_IP_PERIODIC_RATE is redefined.


        nxd_dhcp_client.c                       Set the IP header pointer.

        nxd_http_client.c                       Corrected the status when received error code.

        nx_auto_ip.c                            Fixed compiler warnings.


        nx_secure_tls.h                         Enabled AEAD when TLS 1.3 is enabled.
        nx_secure_tls_session_renegotiate.c     Changed from error checking to assert.
        nx_secure_x509_expiration_check.c       Changed LONG to ULONG to extend the time range.
        nx_secure_tls_remote_certificate_buffer_allocate.c
                                                Added assert to check for zero
        nx_secure_x509.c                        Improved internal logic
        nx_secure_x509_certificate_revocation_list_parse.c
                                                Improved internal logic    
        nx_secure_tls_session_keys_set.c        Improved internal logic    


    Files are modified to improve code coverage results:
        nx_secure_tls_process_certificate_verify.c
        nx_secure_tls_verify_mac.c
        nx_secure_tls_record_payload_encrypt.c
        nx_secure_x509_certificate_verify.c
        nx_secure_x509_crl_revocation_check.c
        nx_secure_tls_send_record.c
        nx_secure_x509_certificate_chain_verify.c
        nx_secure_tls_session_receive.c
        nx_secure_tls_session_receive_records.c
        nx_secure_tls_record_payload_decrypt.c

    Files are modified to remove unnecessary checking for coverage:
        nx_secure_tls_ecc_generate_keys.c
        nx_secure_tls_generate_premaster_secret.c
        nx_secure_tls_process_record.c
        nx_secure_tls_process_remote_certificate.c
        nx_secure_tls_process_server_key_exchange.c
        nx_secure_tls_send_certificate.c
        nx_secure_tls_send_certificate_verify.c
        nx_secure_tls_session_start.c
        nx_secure_tls_process_certificate_verify.c 
        nx_secure_tls_process_handshake_header.c   
        nx_secure_tls_send_clienthello_extensions.c
        nx_secure_tls_send_serverhello_extensions.c
        nx_secure_tls_session_create_ext.c
        nx_secure_x509_expiration_check.c
        nx_secure_tls_send_clienthello.c


    File is modified to add null pointer checking:
        nx_secure_tls_session_create_ext.c

    File is modified to correct the number of the extensions to fix the crash issue when processing ClientHello without extensions:
        nx_secure_tls_process_clienthello.c

    File is modified to check data size used for pkcs#1.5 padding when sending ClientKeyExchange message:
        nx_secure_tls_send_client_key_exchange.c            

    File is modified to add exception case:
        nx_secure_tls_send_clienthello_extensions.c

    File is modified to fix the issue of endless loop:
        nx_secure_tls_record_payload_decrypt.c

    Files are modified to remove public key format checking in key share extension handling and allow the crypto method to check the format:
        nx_secure_tls_process_clienthello_extensions.c
        nx_secure_tls_process_serverhello_extensions.c

    File is modified to correct the operation for verification:
        nx_crypto_pkcs1_v1.5.c

    File is modified to clean up the memory functions for self test:
        nx_crypto.h

    File is moved to vendor-specific folder:
        nx_crypto_module_start.c

    Files are modified to add support of curve25519:
        nx_crypto_const.h
        nx_crypto_ec.h
        nx_crypto_ecdh.h
        nx_crypto_ec.c
        nx_crypto_ecdh.c
        nx_crypto_generic_ciphersuites.c
        nx_crypto_methods.c

    File is modified to fix integer division by zero bug:
        nx_crypto_huge_number.c