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.
WICED Studio Wi-Fi Combo
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:
- Though CYW943907AEVAL1F has a crypto core, it might not support the actual HTTPS encryption algorithm you are testing with.
- The acceleration for mbedtls is not enabled by default.
- Performance tuning is sophisticated and more information is required.
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.