zephyr/subsys/net/lib/sockets
Gil Pitney c51cf1e463 drivers: wifi: simplelink: Implement setsockopt() for TLS offload
Implements setsockopt() for the socket offload driver
to process the TLS tags sent in via the Zephyr setsockopt() API,
when CONFIG_NET_SOCKETS_SOCKOPT_TLS is chosen.
For each tag, the credential filenames are retrieved and
set via SimpleLink's sl_SetSockOpt() API.

Also, creates a new KConfig option for TLS_CREDENTIAL_FILENAMES.
This new option is used by apps/protocols to add TLS credentials
via filenames referring to the actual content stored on a secure
file system or flash.

Handles the IPPROTO_TLS_* socket protocol families in the
socket() offloaded API.

This was validated on the cc3220sf_launchxl with the http_get sockets
sample, with the globalsign_r2.der file loaded to secure flash via
the TI Uniflash tool, and using the TI Catalog of known good
root CA's.

Signed-off-by: Gil Pitney <gil.pitney@linaro.org>
2018-11-23 09:16:21 -05:00
..
CMakeLists.txt drivers: wifi: simplelink: Implement setsockopt() for TLS offload 2018-11-23 09:16:21 -05:00
getaddrinfo.c net: lib: Convert socket library to use log level 2018-10-04 14:13:57 +03:00
Kconfig net: Make Kconfig template variables prettier 2018-10-05 09:01:37 -04:00
socket_offload.c net: sockets: Get socket offload to build after net logging overhaul. 2018-10-11 15:51:57 +03:00
sockets_internal.h net: socket: Extract flag related functions to internal header file 2018-08-13 15:24:34 +03:00
sockets_tls.c sockets: tls: Use FD table to reach net_context 2018-11-15 17:54:40 -05:00
sockets.c net: sockets: zsock_close: Be sure to free file descriptor 2018-11-20 11:25:17 +01:00