AnsweredAssumed Answered

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

Question asked by Xiaoyong Su on Apr 15, 2016
Latest reply on Apr 19, 2016 by Xiaoyong Su

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

Outcomes