Back to Esp Idf

Storage

docs/en/migration-guides/release-5.x/5.2/storage.rst

6.1-dev680 B
Original Source

Storage

:link_to_translation:zh_CN:[中文]

NVS Encryption

  • For SoCs with the HMAC peripheral (SOC_HMAC_SUPPORTED), turning on :doc:../../../security/flash-encryption will no longer automatically turn on :doc:../../../api-reference/storage/nvs_encryption.
  • You will need to explicitly turn on NVS encryption and select the required scheme (flash encryption-based or HMAC peripheral-based). You can select the HMAC peripheral-based scheme (:ref:CONFIG_NVS_SEC_KEY_PROTECTION_SCHEME), even if flash encryption is not enabled.
  • SoCs without the HMAC peripheral will still automatically turn on NVS encryption when flash encryption is enabled.