Non-volatile storage with flash encryption enabled.
Posted: Mon Oct 15, 2018 3:55 pm
Hi,
If I need to read and write nvs while my flash encryption is enabled. What steps I need to do.
I read it https://docs.espressif.com/projects/esp ... flash.html
not understood with flash encryption is enabled.
But do provide me example using while flash encryption is enabled that is I upload encrypted parition.bin
Do I need to check if flash encryption is enabled. Do I have provide encryption key in C/C++ to read and write nvs.
Kindly do reply urgently.
Populate nvs_sec_cfg_t struct using nvs_flash_read_security_cfg or nvs_flash_generate_keys APIs ????
for read/writing any file from storage area/partition. Is there special fopen to fo as well if flash encryption is enabled.
Thanks,
Naeem
If I need to read and write nvs while my flash encryption is enabled. What steps I need to do.
I read it https://docs.espressif.com/projects/esp ... flash.html
not understood with flash encryption is enabled.
But do provide me example using while flash encryption is enabled that is I upload encrypted parition.bin
Do I need to check if flash encryption is enabled. Do I have provide encryption key in C/C++ to read and write nvs.
Kindly do reply urgently.
Populate nvs_sec_cfg_t struct using nvs_flash_read_security_cfg or nvs_flash_generate_keys APIs ????
for read/writing any file from storage area/partition. Is there special fopen to fo as well if flash encryption is enabled.
Thanks,
Naeem