Search found 6 matches

by skxo66
Wed May 01, 2019 6:23 am
Forum: ESP-IDF
Topic: Deal with UART in esp-idf
Replies: 1
Views: 7183

Deal with UART in esp-idf

Hello, I try to adapt arduino code in esp-idf. The code has to deal with an UART to fill a buffer in memory. In arduino I have the following code to fill a buffer via UART and It works well. int readline(int readch, char *buffer, int len) { static int pos = 0; int rpos; if (readch > 0) { switch (rea...
by skxo66
Sat Apr 27, 2019 3:46 am
Forum: ESP-IDF
Topic: Read registers using C code?
Replies: 6
Views: 9382

Re: Read registers using C code?

Hi,

thanks you all for your remarks.
I will try what you are pointing and keep you updated.

Regards
sk
by skxo66
Tue Apr 23, 2019 6:09 pm
Forum: ESP-IDF
Topic: Read registers using C code?
Replies: 6
Views: 9382

Re: mbedtls_aes_crypt_ecb VS mbed_internal_aes_encrypt ESP32

Hello esp_hermal,

thanks for your explanation.
It makes sense these registers are set to write only for real :-) and not RW.

Regards
sk
by skxo66
Sun Apr 21, 2019 5:39 pm
Forum: ESP-IDF
Topic: Read registers using C code?
Replies: 6
Views: 9382

Read registers using C code?

Hello, I would like to read back the key once I finished my crypto computation. Do you know, please, how I can read back the value of the AES stored into the registers AES_KEY_0_REG ~ AES_KEY_3_REG (0x3ff01010-0x3ff0101C), once the set_key has been processed? The reference manual shows Access R/W fo...
by skxo66
Sat Apr 20, 2019 6:52 am
Forum: ESP-IDF
Topic: mbedtls_aes_crypt_ecb VS mbed_internal_aes_encrypt ESP32
Replies: 2
Views: 3811

Re: mbedtls_aes_crypt_ecb VS mbed_internal_aes_encrypt ESP32

Hi esp_Hemal,

thanks for your detailed answer.

Regards
sk
by skxo66
Thu Apr 18, 2019 6:57 am
Forum: ESP-IDF
Topic: mbedtls_aes_crypt_ecb VS mbed_internal_aes_encrypt ESP32
Replies: 2
Views: 3811

mbedtls_aes_crypt_ecb VS mbed_internal_aes_encrypt ESP32

Hello,

I am using these two functions in two different firmware to create AES-ECB function on ESP32.
- What are the difference please (in the context of ESP32 of course)?
- Which one use the HW aes core of the EPS32?
- Is one of them deprecated?

thanks!
sk