zephyr/tests/net
Valerio Setti 91fa8a2b63 tests: net: socket_tls: test different TLS configurations with sockets
This commit adds a test to showcase how to configure TLS 1.2 and 1.3
socket connections against an OpenSSL server. Only a limited number
of combinations are available for now:

- TLS 1.2
	- RSA certificate and key exchange.
	- ECDSA certificate and ECDHE key exchange.

- TLS 1.3 only supports ephemeral (ECDHE) key exchange with/without
  session tickets.

Since the goal is to test TLS connection and not low level ethernet
functionalities or similar, the only supported platform is "native_sim"
where Linux sockets are used to connect to the OpenSSL server locally.

The idea is that the Zephyr application acts a client and tries to connect
to the OpenSSL server running on the same PC. For sake of simplificity a
bash script is provided to start the OpenSSL server properly.
For completeness a bash script is also provided to re-generate
certificates and keys.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2024-09-12 13:31:20 -04:00
..
6lo
all tests: net: all: Enable IPv4 ACD in the test suite 2024-06-10 00:59:28 -07:00
arp
bridge tests: net: bridge: Update the bridging tests 2024-09-06 18:01:15 -04:00
checksum_offload lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
conn_mgr_conn test: Apply semantic patch file ztest_strcmp.cocci 2024-06-14 19:25:42 +02:00
conn_mgr_monitor tests: net: cm: Increase event wait time 2024-09-10 12:37:38 -04:00
context lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
dhcpv4 tests: net: Exclude native_posix because of socket service 2024-05-20 14:25:44 +03:00
dhcpv6 tests: net: dhcpv6: Reapply LL address on iface up 2024-05-14 18:20:56 -04:00
ethernet_mgmt
hostname lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
icmp lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
icmpv4 lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
icmpv6 lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
ieee802154 net: l2: ieee802154: test association permit bit 2024-07-31 10:08:03 +02:00
iface lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
igmp
ip-addr
ipv4_fragment lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
ipv6 tests: net: ipv6: Add more test cases involving iface state changes 2024-05-20 14:26:24 +03:00
ipv6_fragment lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
lib tests: net: lib: lwm2m: content_link_format: Update BS discovery test 2024-09-10 11:43:18 +02:00
mgmt
mld tests: net: mld: Add more test cases involving iface state changes 2024-05-20 14:26:24 +03:00
mocks
neighbor
net_pkt net: pkt: Add flags to indicate the pkt should be timestamped 2024-06-13 05:40:41 -04:00
npf
offloaded_netdev
pm posix: deprecate POSIX_MAX_FDS and add POSIX_DEVICE_IO 2024-06-04 16:27:12 -05:00
ppp/driver lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
promiscuous
ptp/clock lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
route lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
route_mcast lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
shell lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
socket tests: net: socket_tls: test different TLS configurations with sockets 2024-09-12 13:31:20 -04:00
tcp misc: move lorem ipsum text to zephyr/misc/lorem_ipsum.h 2024-08-02 03:31:06 -04:00
traffic_class lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
trickle lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
tx_timestamp lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
udp lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
utils
virtual lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
vlan lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
wifi/wifi_nm Revert "tests: wifi: nm: exclude nrf7002dk" 2024-09-02 12:31:06 -04:00