3 Replies Latest reply on Oct 10, 2019 12:13 AM by RaktimR_11

    DCT network information encryption

    agmi_3321141

      Hi - Is there any information on how the network information is stored in DCT for 4343 chips? Is the network password stored in plain text or with some encryption? If not supported via WICED, is there a suggested way to make the network information?

        • 1. Re: DCT network information encryption
          RaktimR_11

          By default the network information is stored as plain text in DCT. But if you want to enable encryption, you can set PLATFORM_SECUREDCT_ENABLED macro to 1 for your platform. For details regarding the underlying implementation, you can refer to 43xxx_Wi-Fi/WICED/platform/MCU/wiced_dct_external_common.c

          1 of 1 people found this helpful
          • 2. Re: DCT network information encryption
            agmi_3321141

            Is this feature supported on 4343 series chips with STM32 family? Looks like it eventually calls sflash_write_secure whose definition exists in BM4390x folder in spi_flash_compatible.c, but I don't see relevant definition for STM32. The spi_flash.c library driver says secure read/write function is not supported.

            • 3. Re: DCT network information encryption
              RaktimR_11

              With STM32 host, this feature is not supported. But you can add support for this  feature as the framework is already provided in WICED. For 4390x based device, it uses the HW crypto based encryption-decryption. If the STM32 host MCU has a HW crypto, you can create your own implementations and write the secure sflash API definitions in 43xxx_Wi-Fi/libraries/drivers/spi_flash/spi_flash.c making the read/write cycles faster.