NVS Encryption doesn't work

AlexESP32
Posts: 65
Joined: Thu Oct 03, 2019 9:41 am

NVS Encryption doesn't work

Postby AlexESP32 » Wed Jun 24, 2020 12:12 pm

Is NVS Encryption possible in ESP32?

I tried the encryption with this manual:
https://dev.to/kkentzo/how-to-encrypt-t ... esp32-4n9k

I generated the nvs key, encrypted nvs partition and flashed this partitions into flash.

Unfortunately I get his issue when I include the nvs_secure_initialize() function:
undefined reference to
`nvs::EncrMgr::getInstance()
`nvs::EncrMgr::setSecurityContext(unsigned int, unsigned int, nvs_sec_cfg_t*)'
`nvs::EncrMgr::getInstance()'
`nvs::EncrMgr::setSecurityContext(unsigned int, unsigned int, nvs_sec_cfg_t*)'

Maybe someone can help me.

Thank you ;)

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 177 guests