zephyr/subsys/net
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
..
ip net: rpl: Remove __deprecated tag to one function 2018-11-23 09:10:23 -05:00
l2 ieee802154: Remove dead code 2018-11-15 08:42:52 -05:00
lib drivers: wifi: simplelink: Implement setsockopt() for TLS offload 2018-11-23 09:16:21 -05:00
buf.c net: buf: Fix debug level setting 2018-10-23 10:36:01 +03:00
CMakeLists.txt net: l2: Move the layer 2 code into subsys/net/ 2018-06-27 17:02:59 +03:00
hostname.c net: Convert core IP stack to use log levels 2018-10-04 14:13:57 +03:00
Kconfig net: buf: Use proper Kconfig log level template 2018-10-24 15:10:33 +03:00
Kconfig.hostname net: Convert core IP stack to use log levels 2018-10-04 14:13:57 +03:00
Kconfig.template.log_config.default.net net: Convert core IP stack to use log levels 2018-10-04 14:13:57 +03:00
Kconfig.template.log_config.net net: Honor default log level 2018-10-19 16:13:48 -04:00
TODO