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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
1,225件の閲覧回数
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 解決策
999件の閲覧回数
xiaoyongsu
Contributor I

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

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,000件の閲覧回数
xiaoyongsu
Contributor I

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

0 件の賞賛
返信
999件の閲覧回数
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 件の賞賛
返信