We are using Wiced SDK-3.3.1 with BESL library with ARM-CortexM4 platform. We have developed a test program which tests the TCP connection over SSL. This program does not use ca certificates so the authentication mode is set to SSL_VERIFY_NONE. When we tried running this program, the program got fail. When we debug it further, found that it is failing in ssl_handshake_client_async() function. Our observation is, first two iterations of ssl_handshake_client_async() API returns SUCCESS but third iteration returns TLS_ERROR_OUT_OF_MEMORY error.
We also tried increasing the Heap size(upto 64K) but that did not help. It would be helpful if you could guide us, also if you have any sample test program for the same please point us to it.