Hi Daniel,
Your use case sounds very interesting and is one we do support. The handshake operations taking the most time are the cryptographic ones for asymmetric operations like shared secret and sign/verify. If you are using an ECC only cipher suite like ECDHE-ECDSA then you can enable our non-blocking crypto with TLS and break operations into much smaller chunks.
When the non-blocking build option is enabled the crypto calls will return WC_PENDING_E and you would just call the wolfSSL_connect/wolfSSL_accept API's again until complete.
This does require our asynchronous code from https://github.com/wolfssl/wolfAsyncCrypt.
We posted a nice blog on it here: https://www.wolfssl.com/wolfssl-bare-me … yptography
This use case is supported and used by many customers. However it might be useful to setup a call to walk you through it and hear about your use case. We will be emailing you directly to reach out.
Thanks,
David Garske, wolfSSL