zephyr/drivers/wifi/simplelink
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
Kconfig.simplelink drivers: wifi: simplelink: move files into a dedicated subdir 2018-07-12 19:17:45 -05:00
simplelink_log.h net: sockets: Get socket offload to build after net logging overhaul. 2018-10-11 15:51:57 +03:00
simplelink_sockets.c drivers: wifi: simplelink: Implement setsockopt() for TLS offload 2018-11-23 09:16:21 -05:00
simplelink_sockets.h drivers: wifi: simplelink: Implement offloaded getaddrinfo() 2018-10-12 13:06:53 +03:00
simplelink_support.c drivers: wifi: simplelink: More fixes after logging update 2018-10-11 15:51:57 +03:00
simplelink_support.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
simplelink.c drivers: wifi: simplelink: Implement offloaded getaddrinfo() 2018-10-12 13:06:53 +03:00