FRDM-K64F, MBEDTLS

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

FRDM-K64F, MBEDTLS

1,580 次查看
a8Chcx
Contributor V

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

0 项奖励
回复
6 回复数

1,537 次查看
Celeste_Liu
NXP Employee
NXP Employee

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

0 项奖励
回复

1,531 次查看
a8Chcx
Contributor V

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

0 项奖励
回复

1,527 次查看
a8Chcx
Contributor V

Hi Celeste,

 

The testing project is attached...

 

Thanks,

Christir

0 项奖励
回复

1,507 次查看
Celeste_Liu
NXP Employee
NXP Employee

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?

 

Celeste_Liu_0-1745896060574.png

 

BRs,

Celeste

0 项奖励
回复

1,489 次查看
a8Chcx
Contributor V

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

0 项奖励
回复

1,486 次查看
a8Chcx
Contributor V

Attached project again..

0 项奖励
回复