You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/12/31 14:20:37 UTC

[GitHub] [incubator-nuttx] gustavonihei opened a new pull request #5133: ESP32-S2 / ESP32-C3: Add support for enabling hardware Flash Encryption on boot

gustavonihei opened a new pull request #5133:
URL: https://github.com/apache/incubator-nuttx/pull/5133


   ## Summary
   This PR intends to add support for the **ESP32-S2 and ESP32-C3** chips for encrypting the contents of the SPI Flash on boot using the MCUboot bootloader.
   
   It follows the same process as the **ESP32** support, contributed on https://github.com/apache/incubator-nuttx/pull/5117.
   
   **Flash encryption** is intended for encrypting the contents of the off-chip flash memory. Once this feature is enabled, firmware is flashed as plaintext, and then the data is encrypted in place on the first boot. As a result, physical readout of flash will not be sufficient to recover most flash contents.
   
   ### Documentation
   ESP32-C3: https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/security/flash-encryption.html
   ESP32-S2: https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/security/flash-encryption.html
   
   ## Impact
   This new feature is activated by the MCUboot bootloader image.
   The NuttX application image will rely on existing SPI Flash driver, which already implements the encrypted standard operations.
   Should not bring any impact to current users if the feature is not explicitly enabled.
   
   ## Testing
   `esp32c3-devkitc` and `esp32s2-saola-1` with custom defconfigs.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #5133: ESP32-S2 / ESP32-C3: Add support for enabling hardware Flash Encryption on boot

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged pull request #5133:
URL: https://github.com/apache/incubator-nuttx/pull/5133


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org