Embedded TCP/IP stack
4.7.0
|
fnet_tls_desc_t fnet_tls_init | ( | fnet_tls_role_t | role | ) |
Initialize the TLS context.
role | TLS role. Client or server. |
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.