Hi,
I am testing MbedTLS function on FRDM-K64 @120MHz by using HTTPS Server.
And I have the following questions:
1) When I use software based library. When I call "while ((ret = mbedtls_ssl_handshake(&(tlsDataParams.ssl))) != 0)", it took about 900ms.
2) When I use MMCAU library from NXP. When I call "while ((ret = mbedtls_ssl_handshake(&(tlsDataParams.ssl))) != 0)", it took about 850ms.
Can anybody tell me if it is reasonable?
Based on document on Web, it should be 10 times' fast than software library when using MMCAU?
Can anyone help me to improve the performance?
Thanks,
Christie
Hello @a8Chcx ,
Thanks for your post.
Are you using a custom board? Have you used the SDK demo?
Would it be convenient for you to tell me the process to reproduce the issue? Or you can send me your code, and I'll help you check it.
BRs,
Celeste
Hi Celeste,
I am using FRDM-K64F board. The project is based on MbedTLS HTTPS server.
I did minor modification for HTTPS client and try to talk to HTTPS Server to measure the time...
I am using "MCUXpresso IDE v11.5.0 [Build 7232] [2022-01-11]" with SDK2.10.0.
Please check the attached testing project...
and let me know your testing results...
Thanks,
Christie
Hi Christir,
I tried your testing project. However, there were a lot of error reports. Could you please check it and send us a correct project again?
BRs,
Celeste
Hi Celeste,
I tried to compile the project again and works fine.
Please check the debug directory and there is *.axf file that is generated today.
I am using "MCUXpresso IDE v11.5.0 [Build 7232] [2022-01-11]" and SDK2.10.0
You need to set "LWIP_DNS=1" in preprocessing because I am using name conversion function.
Thanks,
Christie