Embedded TCP/IP stack
4.4.1
|
fnet_tls_desc_t fnet_tls_init | ( | struct fnet_tls_params * | params | ) |
Initializes the TLS context.
params | Initialization parameters defined by fnet_tls_params. |
FNET_NULL
if an error occurs.This function initializes the TLS context.
It allocates all resources and set parameters required for TLS connection. After a successful initialization, the application may create TLS sockets using fnet_tls_socket(). The context may be shared between several sockets.