zephyr/subsys/net/lib/sockets
Robert Lubos 7ad2e604bb net: sockets: tls: Add options to control session caching on a socket
Introduce TLS socket options, which allow to configure session caching
on a socket.

The cache can be enabled on a socket with TLS_SESSION_CACHE option.
Once cache is enabled on a socket, the session will be stored for re-use
after a sucessfull handshake. If a socket is attempting to connect to a
host for which session is stored, the session will be resumed and mbed
TLS will attempt to use a simplified handshake procedure.
The server-side management of sessions is fully controlled by mbed TLS
after session caching is enabled on a socket.

The other TLS_SESSION_CACHE_PURGE option allows to clear all of the
cache entries, releasing the memory allocated for sessions.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2022-04-28 11:31:07 +02:00
..
CMakeLists.txt net: socket: Add option to create native TLS sock with offloaded TCP 2022-04-20 11:27:05 +02:00
getaddrinfo.c net: sockets: getaddrinfo: Fix possible crash when callback is delayed 2022-02-01 14:18:33 -06:00
getnameinfo.c
Kconfig net: sockets: tls: Add options to control session caching on a socket 2022-04-28 11:31:07 +02:00
socket_dispatcher.c net: socket: Add option to create native TLS sock with offloaded TCP 2022-04-20 11:27:05 +02:00
socket_offload.c
socketpair.c everywhere: fix typos 2022-03-18 13:24:08 -04:00
sockets_can.c sys: util: Change return type of ARRAY_SIZE to size_t 2022-03-23 14:09:23 +01:00
sockets_internal.h net: socket: Add option to create native TLS sock with offloaded TCP 2022-04-20 11:27:05 +02:00
sockets_misc.c
sockets_net_mgmt.c net: sockets: Add socket processing priority 2021-09-28 20:11:26 -04:00
sockets_packet.c net: socket: packet: Add EtherCAT protocol support 2021-12-20 17:49:10 +01:00
sockets_select.c
sockets_tls.c net: sockets: tls: Add options to control session caching on a socket 2022-04-28 11:31:07 +02:00
sockets.c net: add sndbuf socket option 2022-04-11 10:23:31 +02:00