Search found 123 matches

by Ritu21
Fri May 17, 2019 8:40 am
Forum: General Discussion
Topic: Heap corruption diagnostics causing heap corruption?.
Replies: 32
Views: 16940

Re: Heap corruption diagnostics causing heap corruption?.

Hi, I am re-opening this issue as I am going through the same. I really dont know who is the culprit but in my code I am using cJSON over both tcp and http platforms. After around 400-500 Rfid card swipe (this data is sent to Http and tcp servers), HTTP starts giving (0x4290) & (0x7f00) error, after...
by Ritu21
Sat May 11, 2019 4:28 am
Forum: ESP-IDF
Topic: Problem in Computing AES 256 CBC
Replies: 12
Views: 5197

Re: Problem in Computing AES 256 CBC

We used http://aes.online-domain-tools.com/ to encrypt string "true" and then used encrypted output to decrypt on esp32 but it gave some other output and not "true". We used AES CBC encryption.
by Ritu21
Fri May 10, 2019 12:47 pm
Forum: ESP-IDF
Topic: Problem in Computing AES 256 CBC
Replies: 12
Views: 5197

Re: Problem in Computing AES 256 CBC

Hi Chegewara!!! Thank you for your response!!! I am stuck in decrypting a data. Could you please check the bug in my code below???: void decrypt_data() { //Received: {"data":"5e7d6e334a4665238524fd08e6cf6a94","hash":"269379345f048e9498eb86a969462b31fd6e1acbefb4cc121542ec40d9836962","iv":"f71620b1796...
by Ritu21
Wed May 08, 2019 8:06 am
Forum: ESP-IDF
Topic: Problem in Computing AES 256 CBC
Replies: 12
Views: 5197

Re: Problem in Computing AES 256 CBC

Hi Chegewara,

How to do padding in aes encryption since it takes input in the multiple of 16 bytes.

Could you please illustrate with the help of an example.

Thanks
Ritu
by Ritu21
Tue May 07, 2019 6:37 am
Forum: ESP-IDF
Topic: mbedtls_ssl_handshake returned -0x4290
Replies: 11
Views: 5431

Re: mbedtls_ssl_handshake returned -0x4290

Hi Team,

Still waiting for your response.

Thanks
Ritu
by Ritu21
Mon May 06, 2019 1:14 pm
Forum: ESP-IDF
Topic: mbedtls_ssl_handshake returned -0x4290
Replies: 11
Views: 5431

Re: mbedtls_ssl_handshake returned -0x4290

Hi WiFive, Thanks for your response. As suggested by you, I have freed const char *post_data = cJSON_Print(rfid_data_json); memory. Again getting the same error, but after sending 170 data on server i.e the count has increased. Also, applied the same changes to other places wherever the memory was n...
by Ritu21
Mon May 06, 2019 9:38 am
Forum: ESP-IDF
Topic: mbedtls_ssl_handshake returned -0x4290
Replies: 11
Views: 5431

Re: mbedtls_ssl_handshake returned -0x4290

Hi Chegewara!!! Below is the http task which sends data to the server. void http_client(void *pvParam) { ESP_LOGI(HTTP_TAG,"http_client task started \n"); bzero(g_byNew_smartTagURLBuff, sizeof(g_byNew_smartTagURLBuff)); form_smartTagURL(g_byNew_smartTagURLBuff); bzero(g_byNew_normalTagURLBuff, sizeo...
by Ritu21
Tue Apr 30, 2019 5:50 am
Forum: ESP-IDF
Topic: mbedtls_ssl_handshake returned -0x4290
Replies: 11
Views: 5431

Re: mbedtls_ssl_handshake returned -0x4290

Hi WiFive,

If I follow the steps given under heap tracing & also a short example under this section.

https://docs.espressif.com/projects/esp ... ap-tracing

Thanks
Ritu
by Ritu21
Tue Apr 30, 2019 5:21 am
Forum: ESP-IDF
Topic: mbedtls_ssl_handshake returned -0x4290
Replies: 11
Views: 5431

Re: mbedtls_ssl_handshake returned -0x4290

After sometimes, it starts returning, mbedtls_ssl_setup returned -0x7f00.

What is this error for????

My system gets hanged after sometime.

Please help in this issue.

Thanks
Ritu.
by Ritu21
Tue Apr 30, 2019 5:12 am
Forum: ESP-IDF
Topic: mbedtls_ssl_handshake returned -0x4290
Replies: 11
Views: 5431

Re: mbedtls_ssl_handshake returned -0x4290

Hi Chegewara, From the link you have sent, I could only make out that this error is due to memory leak in TLS library. ***It seems to be a memory leak into the mbedtls library. I am using xPortGetFreeHeapSize() to check the heap size and with each ssl communication the free heap size is lower. Where...

Go to advanced search