mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-25 04:17:34 +00:00
- When NVS encryption is enabled on SoCs with the HMAC peripheral that have flash encryption enabled, the HMAC-based NVS encryption scheme is now selected as default instead of the flash encryption-based scheme. - If your application previously used the flash encryption-based scheme, you need to manually configure the NVS encryption scheme to flash encryption from HMAC through ``menuconfig`` or your project's ``sdkconfig`` (i.e., setting ``CONFIG_NVS_SEC_KEY_PROTECT_USING_FLASH_ENC=y``).
14 lines
557 B
Plaintext
14 lines
557 B
Plaintext
# Default settings for testing this example in CI.
|
|
# This configuration is not secure, don't use it in production!
|
|
# See Flash Encryption API Guide for more details.
|
|
|
|
CONFIG_SECURE_FLASH_ENC_ENABLED=y
|
|
CONFIG_SECURE_FLASH_ENCRYPTION_MODE_DEVELOPMENT=y
|
|
CONFIG_SECURE_BOOT_ALLOW_ROM_BASIC=y
|
|
CONFIG_SECURE_BOOT_ALLOW_JTAG=y
|
|
CONFIG_SECURE_FLASH_UART_BOOTLOADER_ALLOW_ENC=y
|
|
CONFIG_SECURE_FLASH_UART_BOOTLOADER_ALLOW_DEC=y
|
|
CONFIG_SECURE_FLASH_UART_BOOTLOADER_ALLOW_CACHE=y
|
|
CONFIG_SECURE_FLASH_REQUIRE_ALREADY_ENABLED=y
|
|
CONFIG_NVS_SEC_KEY_PROTECT_USING_FLASH_ENC=y
|