Page 1 of 1

NVS Encryption Decryption

Posted: Wed Aug 16, 2017 6:27 am
by Abhiram
Hi all ,

I need to store few Data structures in NVS area Encrypted.
I could understand from Forum and ESP32 docs that Flash encryption is supported.

Can I do Encryption / Decryption only for NVS area with out enabling Flash encryption.

If so what is the way to store my Key - Value pairs with encryption.
Any APIs for the same ? request forum to help in this regard
thanks
Abhiram

Re: NVS Encryption Decryption

Posted: Wed Aug 16, 2017 6:34 am
by tobewinner
As far as I known, Flash Encryption doesn't support Nvs partitions now

Re: NVS Encryption Decryption

Posted: Wed Aug 16, 2017 7:41 am
by Abhiram
Thanks tobewinner for your response
Can it be confirmed by Admin or Espressif ?

Thanks
Abhiram

Re: NVS Encryption Decryption

Posted: Wed Aug 16, 2017 11:05 am
by ESP_igrr
That is true, currently NVS can not be stored in an encrypted partition. This will be rectified in the next release of IDF.