2019-09-23 14:10:57 +00:00
|
|
|
menu "NVS"
|
2018-07-02 11:10:43 +00:00
|
|
|
|
2019-01-25 16:10:53 +00:00
|
|
|
config NVS_ENCRYPTION
|
|
|
|
bool "Enable NVS encryption"
|
2020-12-15 03:01:39 +00:00
|
|
|
default y
|
2019-05-09 12:10:35 +00:00
|
|
|
depends on SECURE_FLASH_ENC_ENABLED
|
2019-01-25 16:10:53 +00:00
|
|
|
help
|
|
|
|
This option enables encryption for NVS. When enabled, AES-XTS is used to encrypt
|
|
|
|
the complete NVS data, except the page headers. It requires XTS encryption keys
|
|
|
|
to be stored in an encrypted partition. This means enabling flash encryption is
|
|
|
|
a pre-requisite for this feature.
|
2021-11-11 06:46:24 +00:00
|
|
|
|
|
|
|
config NVS_COMPATIBLE_PRE_V4_3_ENCRYPTION_FLAG
|
|
|
|
bool "NVS partition encrypted flag compatible with ESP-IDF before v4.3"
|
|
|
|
depends on SECURE_FLASH_ENC_ENABLED
|
|
|
|
help
|
|
|
|
Enabling this will ignore "encrypted" flag for NVS partitions. NVS encryption
|
|
|
|
scheme is different than hardware flash encryption and hence it is not recommended
|
|
|
|
to have "encrypted" flag for NVS partitions. This was not being checked in pre v4.3
|
|
|
|
IDF. Hence, if you have any devices where this flag is kept enabled in partition
|
|
|
|
table then enabling this config will allow to have same behavior as pre v4.3 IDF.
|
|
|
|
|
2018-07-02 11:10:43 +00:00
|
|
|
endmenu
|