zephyr/subsys/net/lib
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
..
app net: Rename net_is_xxx...() functions to net_xxx_is...() 2018-11-02 14:52:33 -04:00
coap net: coap: Deprecate net_pkt based CoAP library 2018-11-22 09:08:46 -05:00
config net: lib: init: Remove remaining SYS_LOG usage 2018-10-22 11:11:35 +03:00
dns net: Rename net_is_xxx...() functions to net_xxx_is...() 2018-11-02 14:52:33 -04:00
http logging: Fix errors in log usage 2018-11-10 12:38:29 -05:00
lwm2m net: coap: Move both CoAP implementations into one Kconfig 2018-11-22 09:08:46 -05:00
mqtt net: mqtt: Mark existing implementation as legacy 2018-11-19 09:31:01 -05:00
mqtt_sock net: mqtt: Add TLS socket transport 2018-11-19 09:31:01 -05:00
openthread dts_fixups: Use DT_ prefix in all defined labels not related to Kconfig 2018-11-13 10:44:42 -06:00
sntp sys_clock: Make clock_always_on true by default 2018-10-16 15:03:10 -04:00
sockets drivers: wifi: simplelink: Implement setsockopt() for TLS offload 2018-11-23 09:16:21 -05:00
tls_credentials drivers: wifi: simplelink: Implement setsockopt() for TLS offload 2018-11-23 09:16:21 -05:00
websocket net: Make Kconfig template variables prettier 2018-10-05 09:01:37 -04:00
CMakeLists.txt net: coap: Move both CoAP implementations into one Kconfig 2018-11-22 09:08:46 -05:00
Kconfig net: coap: Move both CoAP implementations into one Kconfig 2018-11-22 09:08:46 -05:00