NVS Encryption Decryption

Abhiram
Posts: 22
Joined: Mon Apr 24, 2017 5:09 pm

NVS Encryption Decryption

Postby Abhiram » Wed Aug 16, 2017 6:27 am

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

tobewinner
Posts: 30
Joined: Thu Dec 10, 2015 5:27 am

Re: NVS Encryption Decryption

Postby tobewinner » Wed Aug 16, 2017 6:34 am

As far as I known, Flash Encryption doesn't support Nvs partitions now

Abhiram
Posts: 22
Joined: Mon Apr 24, 2017 5:09 pm

Re: NVS Encryption Decryption

Postby Abhiram » Wed Aug 16, 2017 7:41 am

Thanks tobewinner for your response
Can it be confirmed by Admin or Espressif ?

Thanks
Abhiram

ESP_igrr
Posts: 2067
Joined: Tue Dec 01, 2015 8:37 am

Re: NVS Encryption Decryption

Postby ESP_igrr » Wed Aug 16, 2017 11:05 am

That is true, currently NVS can not be stored in an encrypted partition. This will be rectified in the next release of IDF.

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 105 guests