DCT network information encryption

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
agmi_3321141
Level 4
Level 4
5 likes given First like received First like given

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?

0 Likes
1 Solution

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.

View solution in original post

0 Likes
3 Replies
RaktimR_11
Moderator
Moderator
Moderator
500 replies posted 250 replies posted 100 replies posted

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

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.

0 Likes

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.

0 Likes