v1rtu3x d0af7c1f3b Move sig_algs parsing to ssl_test_lib.c and add TLS 1.2 hex pairs
Unify the duplicated sig_algs option parsing from ssl_client2.c and
ssl_server2.c into parse_sig_algs() in ssl_test_lib.c, next to
parse_groups(). Move mbedtls_print_supported_sig_algs() there as well
(it only exists for the parse-error path) and drop its static copy
from ssl_test_common_source.c.

In addition to TLS 1.3 signature scheme names, parse_sig_algs() now
accepts a TLS 1.2 SignatureAndHashAlgorithm pair as 4 hex digits
(e.g. "0401" for SHA-256 with RSA). Documented in USAGE_SIG_ALGS.

Signed-off-by: v1rtu3x <149050962+v1rtu3x@users.noreply.github.com>
2026-10-06 12:45:48 +03:00
..
CMakeLists.txt Update paths for moved program files in CMakeLists 2025-02-19 15:30:24 +00:00
dtls_client.c Remove Deprecated Items From Sample Programs 2026-01-14 13:01:22 +00:00
dtls_server.c Remove Deprecated Items From Sample Programs 2026-01-14 13:01:22 +00:00
mini_client.c Remove Deprecated Items From Sample Programs 2026-01-14 13:01:22 +00:00
ssl_client1.c Remove Deprecated Items From Sample Programs 2026-01-14 13:01:22 +00:00
ssl_client2.c Move sig_algs parsing to ssl_test_lib.c and add TLS 1.2 hex pairs 2026-10-06 12:45:48 +03:00
ssl_context_info.c Stop using MBEDTLS_PRINTF_SIZET 2026-02-26 19:56:23 +00:00
ssl_fork_server.c Remove Deprecated Items From Sample Programs 2026-01-14 13:01:22 +00:00
ssl_mail_client.c Remove Deprecated Items From Sample Programs 2026-01-14 13:01:22 +00:00
ssl_pthread_server.c Remove Deprecated Items From Sample Programs 2026-01-14 13:01:22 +00:00
ssl_server2.c Move sig_algs parsing to ssl_test_lib.c and add TLS 1.2 hex pairs 2026-10-06 12:45:48 +03:00
ssl_server.c Remove Deprecated Items From Sample Programs 2026-01-14 13:01:22 +00:00
ssl_test_common_source.c Move sig_algs parsing to ssl_test_lib.c and add TLS 1.2 hex pairs 2026-10-06 12:45:48 +03:00
ssl_test_lib.c Move sig_algs parsing to ssl_test_lib.c and add TLS 1.2 hex pairs 2026-10-06 12:45:48 +03:00
ssl_test_lib.h Move sig_algs parsing to ssl_test_lib.c and add TLS 1.2 hex pairs 2026-10-06 12:45:48 +03:00