Hi crmoratelli,
Which version of wolfSSL are you using? You can find it noted in wolfssl/version.h.
Can you try connecting to your https server using the following and send back the results?
openssl s_client -host [your host] -port [your port] -showcerts
For the wolfCrypt test I was not able to reproduce with the latest in master. But curious if changing your test so out and plain are sized as 128 and let me know your results:
byte out[128];
byte plain[128];
Also in the test try changing "ret = wc_InitRsaKey_ex(&key, HEAP_HINT, devId);" to use "ret = wc_InitRsaKey(&key);".
If you want to send an email to support@wolfssl.com with your https server host/port so we can test against it that would be wonderful.
Thanks,
David Garske, wolfSSL