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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
625 Views
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

Tags (1)
0 Kudos
1 Solution
399 Views
xiaoyongsu
Contributor I

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

View solution in original post

0 Kudos
2 Replies
400 Views
xiaoyongsu
Contributor I

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

0 Kudos
399 Views
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 Kudos