In my code now, we're just storing the key as a constant, so we initialize the AES context thus:
Code: Select all
esp_aes_setkey_enc( &context, &key, 256);
Code: Select all
esp_aes_setkey_enc( &context, &key, 256);
What is key_status and read protect of BLOCK3 used for?ESP_igrr wrote:AFAIK it is not possible to use flash encryption key to AES-encrypt arbitrary data.
Users browsing this forum: No registered users and 311 guests