MQX only supports up to three SSL connections at same time?

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

MQX only supports up to three SSL connections at same time?

跳至解决方案
1,227 次查看
xiaoyongsu
Contributor I

Anyone has experience on SSL connections? On embedded device we are developing, K64 120MHz MCU, we can only get up to 3 SSL connections at same time. the fourth connection fails at CYASSL_Accept with error code -318  which is RSA_PRIVATE_ERROR. Further down, the error happened after the server send hello, and try to decode key from client, the call backs are ProcessReply ->DoHandShakeMsg -> DoHandShakeMsgType -> DoClientKeyExchange -> RSAPrivateDecryptInline -> RSAFunction->mp_exptmod->mp_exptmod_fast,

The error occurs at x == 17 for mp_mul.

  /* create upper table */

  for (x = (1 << (winsize - 1)) + 1; x < (1 << winsize); x++) {

    if ((err = mp_mul (&M[x - 1], &M[1], &M[x])) != MP_OKAY) {

      goto LBL_RES;

    }

    if ((err = redux (&M[x], P, mp)) != MP_OKAY) {

      goto LBL_RES;

    }

  }

Are there anyway that we can support more than 3 SSL connections?

Thanks,

Xiaoyong

标记 (1)
0 项奖励
回复
1 解答
1,001 次查看
xiaoyongsu
Contributor I

Thanks for reply. It turned out we are running low on RAM.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,002 次查看
xiaoyongsu
Contributor I

Thanks for reply. It turned out we are running low on RAM.

0 项奖励
回复
1,001 次查看
soledad
NXP Employee
NXP Employee

Hello Xiaoyong,

It is available CyaSSL for MQX RTCS, however this software library is developed  by our partner WolfSSL, unfortunately we don't support CyaSSL project. You will need to get help from CyaSSL community.

https://wolfssl.com/wolfSSL/Products-wolfssl.html

https://wolfssl.com/wolfSSL/Community.html


Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复