3 Replies Latest reply on Oct 4, 2019 3:25 AM by ChMa_3922746

    Secure Write and Read to SPI Flash (CYW943907AEVAL1F)

    ChMa_3922746

      I've been combing through the code and documents trying to figure out if the following added to the make file will enable the AES encryption of data that is written to, and read from, the SPI flash:

       

      PLATFORM_SECUREDCT_ENABLED := 1

      PLATFORM_SECURESFLASH_ENABLED := 1

      GLOBAL_DEFINES += SECURE_SFLASH

       

      I see many useful functions in the file spi_flash_compatible.c, but it is not clear to me if the above automatically enables these functions, or if they need to be manually employed when an SPI with hardware encryption features is connected.

       

      Any guidance would be appreciated.

       

      Thanks!