zephyr/tests
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
..
application_development
arch style: tests: comply with MISRA C:2012 Rule 15.6 2024-09-11 07:40:35 -04:00
benchmarks tests: latency_measure: Add busy threads for SMP 2024-08-26 14:45:04 -04:00
bluetooth tests: Bluetooth: Fix minor issues for bap_base unit tests 2024-09-11 14:01:46 -04:00
boards tests: boards: esp32: Use smh in cache coex test 2024-08-27 18:37:47 -04:00
boot tests: boot: mcuboot_data_sharing: Fix test 2024-09-09 15:23:16 +03:00
bsim Bluetooth: BAP: BA: Replace bools with atomic 2024-09-12 13:01:48 -04:00
cmake tests: cmake: add test cases for CMake YAML module 2024-08-23 08:02:11 -04:00
crypto mbedtls: do not set PSA_WANT_KEY_TYPE_[RSA/ECC]_KEY_PAIR_BASIC 2024-09-12 10:02:40 +02:00
drivers tests: drivers: Verify NRF GPIO driver with GPIO_NRFX_INTERRUPT=n 2024-09-12 13:03:21 -04:00
integration/kernel Kernel: Integration test 2024-06-19 13:41:06 +02:00
kconfig tests: kconfig: functions: Add min/max functions 2024-08-02 13:41:07 +02:00
kernel tests: demand_paging: add a test for on-demand sections 2024-09-11 20:18:51 -04:00
lib devicetree: add DT_INST_NUM_IRQS() 2024-09-11 09:30:17 +02:00
misc llext: use EXPORT_SYMBOL() universally 2024-09-02 12:31:52 -04:00
modules mbedtls: rename CONFIG_MBEDTLS_ZEPHYR_ENTROPY and move it 2024-08-24 07:16:51 -04:00
net tests: net: socket_tls: test different TLS configurations with sockets 2024-09-12 13:31:20 -04:00
posix tests: posix: fs: add testsuite for open truncate 2024-09-12 10:02:57 +02:00
robot resc: cmake: robot: Rename Renode variable 2024-05-28 12:54:52 +02:00
subsys llext: add a test for inter-extension linking 2024-09-12 13:02:59 -04:00
unit tests: source Zephyr before project() call 2024-08-05 16:27:09 +02:00
ztest tests: ztest: Add ztest param test. 2024-08-23 15:48:57 +01:00
test_config.yaml