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
2 Replies
Charles_Lai
Moderator
Moderator
Moderator
250 sign-ins 10 likes given 10 questions asked

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