Topic: WolfSSL with callback functions


In my project I use ESP8266 and Gprs module A6. The A6 is implementing the tcpip layer. I can send and receive bytes streams from the A6 to the ESP by uart communication.

However , I want secure connection with TLS running in the ESP.
Can I supply wolfSSL two callback function one for tcp read one for tcp write. And the WolfSsl take care about the whole handshake and encryption?


Re: WolfSSL with callback functions

Hi daniel571,

Yes. We support settings a read/write IO callback and context.

See this useful blog post.

Let me know if you have any further issues or questions.

David Garske, wolfSSL