HTTPS speed problem

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
AntonSadkov
Level 1
Level 1
First solution authored 5 sign-ins First reply posted

Good afternoon. I am facing HTTPS speed issue on CYW943907AEVAL1F platform.
When downloading a file via HTTPS, the speed drops almost 8 times, relative to HTTP (without encryption).
Interestingly, the chip has a crypto core.
Perhaps someone has already worked on this issue?
I'm attaching the test results.

0 Likes
1 Solution

Try to enable and integrate the library below in your project to see if it helps:

https://github.com/Infineon/cy-mbedtls-acceleration

 

View solution in original post

0 Likes
3 Replies
Charles_Lai
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 sign-ins

Hi,

Thanks for reporting the issue. Embedded devices are usually stressed to receive HTTPS connections so it's common to see HTTPS connections got lower speeds. Please consider:

  1. Though CYW943907AEVAL1F has a crypto core, it might not support the actual HTTPS encryption algorithm you are testing with.
  2. The acceleration for mbedtls is not enabled by default.
  3. Performance tuning is sophisticated and more information is required.

Best regards

0 Likes

Hi, 
Yes, I understand that HTTPS connection will be slower, I would like to know by how much. To see if there is anything we can do in our project?
"The acceleration for mbedtls is not enabled by default." - can you tell me how to enable acceleration? The documentation says to add the PLATFORM_HAS_HW_CRYPTO_SUPPORT macro. And it's already installed in the make file of the platform.

0 Likes

Try to enable and integrate the library below in your project to see if it helps:

https://github.com/Infineon/cy-mbedtls-acceleration

 

0 Likes