MbedTLS over LWIP TCP stack


I want to add TLS over TCP. We have integrated LWIP for TCP/IP . We have used netconn api of the LWIP for establishing a TCP connection . We are using FreeRTOS in our project .We are planning to use coreMQTT library of FreeRTOS to communicate with the cloud . Before this we need to bring TLS over TCP . Can we use api’s of mbedTLS directly over these netconn api’s to bring TLS connection . Any information regarding this is highly appreciated.

Thanks in advance