Hey,
I am new to ESP-IDF.
I was reading about Security features of IDF - Flash Encryption and Secure Boot.
From what I understood, for Flash Encryption a key is generated within hardware (or could be manually burned) in efuse block.
What I want to do is -
1. Encrypt/Decrypt some plaint text using the key burnt in efuse.
I read the document and there is no API to do that, I am wondering is it possible?
AES Enceyprion/Decryption using key in efuse block
Re: AES Enceyprion/Decryption using key in efuse block
Hi,
You are right. The encryption key can be internally generated within ESP32 or could be generated externally and programmed in efuse
There are two APIs for encrypted flash write & read namely esp_partition_write() and esp_partition_read()
Please refer this link for more information: https://docs.espressif.com/projects/esp ... -crypt-cnt
Regards
Hemal
You are right. The encryption key can be internally generated within ESP32 or could be generated externally and programmed in efuse
There are two APIs for encrypted flash write & read namely esp_partition_write() and esp_partition_read()
Please refer this link for more information: https://docs.espressif.com/projects/esp ... -crypt-cnt
Regards
Hemal