Search found 11 matches

by mpulis
Thu Feb 15, 2018 9:02 am
Forum: General Discussion
Topic: Flash Encryption Query
Replies: 7
Views: 233

Re: Flash Encryption Query

So I tried the procedure on another chip. The initial state of the fuses seems correct and is as seen in Figure 1. 1.PNG After this, I set the relevant security options in the project menu for Secure Bootloader and Flash Encryption, as seen in Figure 2. 4.PNG I then burnt the pre-generated key to BL...
by mpulis
Wed Feb 14, 2018 10:35 am
Forum: General Discussion
Topic: Flash Encryption Query
Replies: 7
Views: 233

Re: Flash Encryption Query

I've changed the chip to a new one which didn't have the FLASH_CRYPT_CNT fuse as write protected. Following the same procedure, I'm still getting the error on booting up after step 4. I've noticed that the FLASH_CRYPT_CNT fuse remains as 0 after the first boot, event though if I'm understanding the ...
by mpulis
Wed Feb 14, 2018 10:23 am
Forum: General Discussion
Topic: Flash Encryption Query
Replies: 7
Views: 233

Re: Flash Encryption Query

No, I didn't manage to boot up successfully.

Looking at the eFuse summary, I've noticed that the FLASH_CRYPT_CNT fuse is write protected and set to 0. Could this have anything to do with the problem?
by mpulis
Tue Feb 13, 2018 2:32 pm
Forum: General Discussion
Topic: Flash Encryption Query
Replies: 7
Views: 233

Flash Encryption Query

Hi all, I've been trying to set up flash encryption using the following procedure: 1. Set Enable secure boot and Enable flash encryption on boot to true 2. Burn a pre-generated key to the flash-encryption eFuse block (BLK 1) 3. make 4. make flash 5. Encrypt app bin file using the same pre-generated ...
by mpulis
Fri Jan 05, 2018 2:12 pm
Forum: General Discussion
Topic: OTA updates with flash encryption
Replies: 2
Views: 140

Re: OTA updates with flash encryption

Brilliant, thanks.
by mpulis
Fri Jan 05, 2018 11:06 am
Forum: General Discussion
Topic: OTA updates with flash encryption
Replies: 2
Views: 140

OTA updates with flash encryption

Hi all, The ESP-IDF-Programming-Guide specifies that if you want to perform an OTA update on a module with flash encryption enabled, it shouldn't be a problem as long as esp_partition_write() is used. In my application I'm using esp_ota_write() during the update. Would it be correct to still use thi...
by mpulis
Fri Dec 22, 2017 9:15 am
Forum: General Discussion
Topic: Netconn memory leak issue
Replies: 2
Views: 154

Re: Netconn memory leak issue

Ah brilliant, that seems to have solved the issue! There still is a memory leak in another part of the code, which I assume is coming from the netconn_accept() function.

Thankyou very much!
by mpulis
Thu Dec 21, 2017 10:18 am
Forum: General Discussion
Topic: Netconn memory leak issue
Replies: 2
Views: 154

Netconn memory leak issue

Hi all, I'm working on a project using the ESP32 and the netconn api. While servicing incoming data on a connection, I've observed a continuous memory leak of 40 bytes on each iteration of a while loop. I've commented out most of the code in order to trace the issue until all that remained from the ...
by mpulis
Fri Nov 24, 2017 10:34 am
Forum: General Discussion
Topic: mbedTLS RSA encryption question
Replies: 0
Views: 209

mbedTLS RSA encryption question

My aim is to load a 2048-bit RSA public key from a file which was generated using OpenSSL and then use this to encrypt a message. To do this I'm using mbedTLS functions, specifically as laid out in this tutorial: https://tls.mbed.org/kb/how-to/encrypt-and-decrypt-with-rsa. The key is being loaded in...
by mpulis
Wed Nov 01, 2017 10:42 am
Forum: General Discussion
Topic: SSL over UART
Replies: 0
Views: 155

SSL over UART

Hi,

My current project is to configure the ESP32 to act as an SSL client responding to requests from a remote server. Communication with the rest of the network is being done over UART.

Is this possible using either the mbedTLS or openSSL libraries?