Fix various issues
Signed-off-by: Xiaokang Qian <xiaokang.qian@arm.com>
This commit is contained in:
parent
8f7d7c7aaf
commit
cffb18cee7
2 changed files with 93 additions and 118 deletions
|
@ -1640,7 +1640,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk/psk, good" \
|
run_test "TLS 1.3: m->m: psk/psk, good" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -1653,31 +1653,31 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk/psk, fail - no common id" \
|
run_test "TLS 1.3: m->m: psk/psk, fail - no common id" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0d0e0f tls13_kex_modes=psk" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0d0e0f tls13_kex_modes=psk" \
|
||||||
1 \
|
1 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
-c "client hello, adding PSK binder list" \
|
-c "client hello, adding PSK binder list" \
|
||||||
-s "No matched PSK or ticket" \
|
-s "No matched PSK or ticket"
|
||||||
-s "ClientHello message misses mandatory extensions."
|
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_config_enabled MBEDTLS_SSL_SRV_C
|
requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk/psk, fail - no common psk" \
|
run_test "TLS 1.3: m->m: psk/psk, fail - no common psk" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
"$P_CLI nbio=2 debug_level=5 psk_identity=0a0b0c psk=040506 tls13_kex_modes=psk" \
|
||||||
1 \
|
1 \
|
||||||
-c "skip pre_shared_key extensions" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
-s "ClientHello message misses mandatory extensions."
|
-c "client hello, adding PSK binder list" \
|
||||||
|
-s "Invalid binder."
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_config_enabled MBEDTLS_SSL_SRV_C
|
requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk/psk_ephemeral, fail - no common kex mode" \
|
run_test "TLS 1.3: m->m: psk/psk_ephemeral, fail - no common kex mode" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
||||||
1 \
|
1 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -1689,7 +1689,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk/ephemeral, fail - no common kex mode" \
|
run_test "TLS 1.3: m->m: psk/ephemeral, fail - no common kex mode" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
||||||
1 \
|
1 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -1701,7 +1701,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk/ephemeral_all, fail - no common kex mode" \
|
run_test "TLS 1.3: m->m: psk/ephemeral_all, fail - no common kex mode" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
||||||
1 \
|
1 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -1713,7 +1713,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk/psk_all, good" \
|
run_test "TLS 1.3: m->m: psk/psk_all, good" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -1726,7 +1726,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk/psk_all, fail - no common id" \
|
run_test "TLS 1.3: m->m: psk/psk_all, fail - no common id" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0d0e0f tls13_kex_modes=psk" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0d0e0f tls13_kex_modes=psk" \
|
||||||
1 \
|
1 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -1739,18 +1739,18 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk/psk_all, fail - no common psk" \
|
run_test "TLS 1.3: m->m: psk/psk_all, fail - no common psk" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
"$P_CLI nbio=2 debug_level=5 psk_identity=0a0b0c psk=040506 tls13_kex_modes=psk" \
|
||||||
1 \
|
1 \
|
||||||
-c "skip pre_shared_key extensions" \
|
-c "skip pre_shared_key extensions" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
-s "ClientHello message misses mandatory extensions."
|
-s "Invalid binder."
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_config_enabled MBEDTLS_SSL_SRV_C
|
requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk/all, good" \
|
run_test "TLS 1.3: m->m: psk/all, good" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -1763,7 +1763,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk/all, fail - no common id" \
|
run_test "TLS 1.3: m->m: psk/all, fail - no common id" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0d0e0f tls13_kex_modes=psk" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0d0e0f tls13_kex_modes=psk" \
|
||||||
1 \
|
1 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -1776,11 +1776,11 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk/all, fail - no common psk" \
|
run_test "TLS 1.3: m->m: psk/all, fail - no common psk" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
"$P_CLI nbio=2 debug_level=5 psk_identity=0a0b0c psk=040506 tls13_kex_modes=psk" \
|
||||||
1 \
|
1 \
|
||||||
-c "skip pre_shared_key extensions" \
|
-c "skip pre_shared_key extensions" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
-s "ClientHello message misses mandatory extensions."
|
-s "Invalid binder."
|
||||||
|
|
||||||
# psk_ephemeral mode in client
|
# psk_ephemeral mode in client
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
@ -1788,7 +1788,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_ephemeral/psk, fail - no common kex mode" \
|
run_test "TLS 1.3: m->m: psk_ephemeral/psk, fail - no common kex mode" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
||||||
1 \
|
1 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -1800,7 +1800,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_ephemeral/psk_ephemeral, good" \
|
run_test "TLS 1.3: m->m: psk_ephemeral/psk_ephemeral, good" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -1813,7 +1813,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_ephemeral/psk_ephemeral, fail - no common id" \
|
run_test "TLS 1.3: m->m: psk_ephemeral/psk_ephemeral, fail - no common id" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0d0e0f tls13_kex_modes=psk_ephemeral" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0d0e0f tls13_kex_modes=psk_ephemeral" \
|
||||||
1 \
|
1 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -1826,18 +1826,19 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_ephemeral/psk_ephemeral, fail - no common psk" \
|
run_test "TLS 1.3: m->m: psk_ephemeral/psk_ephemeral, fail - no common psk" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
"$P_CLI nbio=2 debug_level=5 psk_identity=0a0b0c psk=040506 tls13_kex_modes=psk_ephemeral" \
|
||||||
1 \
|
1 \
|
||||||
-c "skip pre_shared_key extensions" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
-s "ClientHello message misses mandatory extensions."
|
-c "client hello, adding PSK binder list" \
|
||||||
|
-s "Invalid binder."
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_config_enabled MBEDTLS_SSL_SRV_C
|
requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_ephemeral/ephemeral, fail - no common kex mode" \
|
run_test "TLS 1.3: m->m: psk_ephemeral/ephemeral, fail - no common kex mode" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
||||||
1 \
|
1 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -1849,7 +1850,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_ephemeral/ephemeral_all, good" \
|
run_test "TLS 1.3: m->m: psk_ephemeral/ephemeral_all, good" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -1862,7 +1863,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_ephemeral/ephemeral_all, fail - no common id" \
|
run_test "TLS 1.3: m->m: psk_ephemeral/ephemeral_all, fail - no common id" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0d0e0f tls13_kex_modes=psk_ephemeral" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0d0e0f tls13_kex_modes=psk_ephemeral" \
|
||||||
1 \
|
1 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -1875,18 +1876,19 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_ephemeral/ephemeral_all, fail - no common psk" \
|
run_test "TLS 1.3: m->m: psk_ephemeral/ephemeral_all, fail - no common psk" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
"$P_CLI nbio=2 debug_level=5 psk_identity=0a0b0c psk=040506 tls13_kex_modes=psk_ephemeral" \
|
||||||
1 \
|
1 \
|
||||||
-c "skip pre_shared_key extensions" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
-s "ClientHello message misses mandatory extensions."
|
-c "client hello, adding PSK binder list" \
|
||||||
|
-s "Invalid binder."
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_config_enabled MBEDTLS_SSL_SRV_C
|
requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_ephemeral/psk_all, good" \
|
run_test "TLS 1.3: m->m: psk_ephemeral/psk_all, good" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -1899,7 +1901,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_ephemeral/psk_all, fail - no common id" \
|
run_test "TLS 1.3: m->m: psk_ephemeral/psk_all, fail - no common id" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0d0e0f tls13_kex_modes=psk_ephemeral" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0d0e0f tls13_kex_modes=psk_ephemeral" \
|
||||||
1 \
|
1 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -1912,7 +1914,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_ephemeral/psk_all, fail - no common psk" \
|
run_test "TLS 1.3: m->m: psk_ephemeral/psk_all, fail - no common psk" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
"$P_CLI nbio=2 debug_level=5 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
||||||
1 \
|
1 \
|
||||||
-c "skip pre_shared_key extensions" \
|
-c "skip pre_shared_key extensions" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -1923,7 +1925,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_ephemeral/all, good" \
|
run_test "TLS 1.3: m->m: psk_ephemeral/all, good" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -1936,7 +1938,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_ephemeral/all, fail - no common id" \
|
run_test "TLS 1.3: m->m: psk_ephemeral/all, fail - no common id" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0d0e0f tls13_kex_modes=psk_ephemeral" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0d0e0f tls13_kex_modes=psk_ephemeral" \
|
||||||
1 \
|
1 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -1949,7 +1951,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_ephemeral/all, fail - no common psk" \
|
run_test "TLS 1.3: m->m: psk_ephemeral/all, fail - no common psk" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
"$P_CLI nbio=2 debug_level=5 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
||||||
1 \
|
1 \
|
||||||
-c "skip pre_shared_key extensions" \
|
-c "skip pre_shared_key extensions" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -1961,7 +1963,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: ephemeral/psk, fail - no common kex mode" \
|
run_test "TLS 1.3: m->m: ephemeral/psk, fail - no common kex mode" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral" \
|
||||||
1 \
|
1 \
|
||||||
-s "ClientHello message misses mandatory extensions."
|
-s "ClientHello message misses mandatory extensions."
|
||||||
|
|
||||||
|
@ -1970,7 +1972,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: ephemeral/psk_ephemeral, fail - no common kex mode" \
|
run_test "TLS 1.3: m->m: ephemeral/psk_ephemeral, fail - no common kex mode" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral" \
|
||||||
1 \
|
1 \
|
||||||
-s "ClientHello message misses mandatory extensions."
|
-s "ClientHello message misses mandatory extensions."
|
||||||
|
|
||||||
|
@ -1979,7 +1981,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: ephemeral/ephemeral, good" \
|
run_test "TLS 1.3: m->m: ephemeral/ephemeral, good" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral" \
|
||||||
0 \
|
0 \
|
||||||
-c "Server selected key exchange mode: ephemeral" \
|
-c "Server selected key exchange mode: ephemeral" \
|
||||||
-c "HTTP/1.0 200 OK"
|
-c "HTTP/1.0 200 OK"
|
||||||
|
@ -1989,7 +1991,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: ephemeral/ephemeral_all, good" \
|
run_test "TLS 1.3: m->m: ephemeral/ephemeral_all, good" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral" \
|
||||||
0 \
|
0 \
|
||||||
-c "Server selected key exchange mode: ephemeral" \
|
-c "Server selected key exchange mode: ephemeral" \
|
||||||
-c "HTTP/1.0 200 OK"
|
-c "HTTP/1.0 200 OK"
|
||||||
|
@ -1999,7 +2001,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: ephemeral/psk_all, fail - no common kex mode" \
|
run_test "TLS 1.3: m->m: ephemeral/psk_all, fail - no common kex mode" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral" \
|
||||||
1 \
|
1 \
|
||||||
-s "ClientHello message misses mandatory extensions."
|
-s "ClientHello message misses mandatory extensions."
|
||||||
|
|
||||||
|
@ -2008,7 +2010,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: ephemeral/all, good" \
|
run_test "TLS 1.3: m->m: ephemeral/all, good" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral" \
|
||||||
0 \
|
0 \
|
||||||
-c "Server selected key exchange mode: ephemeral" \
|
-c "Server selected key exchange mode: ephemeral" \
|
||||||
-c "HTTP/1.0 200 OK"
|
-c "HTTP/1.0 200 OK"
|
||||||
|
@ -2019,7 +2021,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: ephemeral_all/psk, fail - no common kex mode" \
|
run_test "TLS 1.3: m->m: ephemeral_all/psk, fail - no common kex mode" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
||||||
1 \
|
1 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2031,7 +2033,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: ephemeral_all/psk_ephemeral, good" \
|
run_test "TLS 1.3: m->m: ephemeral_all/psk_ephemeral, good" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2044,7 +2046,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: ephemeral_all/psk_ephemeral, fail - no common id" \
|
run_test "TLS 1.3: m->m: ephemeral_all/psk_ephemeral, fail - no common id" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0d0e0f tls13_kex_modes=ephemeral_all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0d0e0f tls13_kex_modes=ephemeral_all" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2057,7 +2059,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: ephemeral_all/psk_ephemeral, fail - no common psk" \
|
run_test "TLS 1.3: m->m: ephemeral_all/psk_ephemeral, fail - no common psk" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
"$P_CLI nbio=2 debug_level=5 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
||||||
0 \
|
0 \
|
||||||
-c "skip pre_shared_key extensions" \
|
-c "skip pre_shared_key extensions" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2068,7 +2070,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: ephemeral_all/ephemeral, good" \
|
run_test "TLS 1.3: m->m: ephemeral_all/ephemeral, good" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2082,7 +2084,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: ephemeral_all/ephemeral_all, good" \
|
run_test "TLS 1.3: m->m: ephemeral_all/ephemeral_all, good" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2095,7 +2097,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: ephemeral_all/ephemeral_all,good,fallback to ephemeral" \
|
run_test "TLS 1.3: m->m: ephemeral_all/ephemeral_all,good,fallback to ephemeral" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0d0e0f tls13_kex_modes=ephemeral_all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0d0e0f tls13_kex_modes=ephemeral_all" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2108,7 +2110,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: ephemeral_all/psk_all, good" \
|
run_test "TLS 1.3: m->m: ephemeral_all/psk_all, good" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2121,7 +2123,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: ephemeral_all/psk_all, fail - no common id" \
|
run_test "TLS 1.3: m->m: ephemeral_all/psk_all, fail - no common id" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0d0e0f tls13_kex_modes=ephemeral_all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0d0e0f tls13_kex_modes=ephemeral_all" \
|
||||||
1 \
|
1 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2134,7 +2136,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: ephemeral_all/psk_all, fail - no common psk" \
|
run_test "TLS 1.3: m->m: ephemeral_all/psk_all, fail - no common psk" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
"$P_CLI nbio=2 debug_level=5 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
||||||
1 \
|
1 \
|
||||||
-c "skip pre_shared_key extensions" \
|
-c "skip pre_shared_key extensions" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2145,7 +2147,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: ephemeral_all/all, good" \
|
run_test "TLS 1.3: m->m: ephemeral_all/all, good" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2158,7 +2160,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: ephemeral_all/all, fail - no common id" \
|
run_test "TLS 1.3: m->m: ephemeral_all/all, fail - no common id" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0d0e0f tls13_kex_modes=ephemeral_all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0d0e0f tls13_kex_modes=ephemeral_all" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2171,7 +2173,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: ephemeral_all/all, fail - no common psk" \
|
run_test "TLS 1.3: m->m: ephemeral_all/all, fail - no common psk" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
"$P_CLI nbio=2 debug_level=5 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
||||||
0 \
|
0 \
|
||||||
-c "skip pre_shared_key extensions" \
|
-c "skip pre_shared_key extensions" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2183,7 +2185,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_all/psk, good" \
|
run_test "TLS 1.3: m->m: psk_all/psk, good" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2196,7 +2198,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_all/psk, fail - no common kex mode" \
|
run_test "TLS 1.3: m->m: psk_all/psk, fail - no common kex mode" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0d0e0f tls13_kex_modes=psk_all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0d0e0f tls13_kex_modes=psk_all" \
|
||||||
1 \
|
1 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2208,7 +2210,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_all/psk, fail - no common psk" \
|
run_test "TLS 1.3: m->m: psk_all/psk, fail - no common psk" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0d0e0f tls13_kex_modes=psk_all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0d0e0f tls13_kex_modes=psk_all" \
|
||||||
1 \
|
1 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2220,7 +2222,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_all/psk_ephemeral, good" \
|
run_test "TLS 1.3: m->m: psk_all/psk_ephemeral, good" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2233,7 +2235,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_all/psk_ephemeral, fail - no common id" \
|
run_test "TLS 1.3: m->m: psk_all/psk_ephemeral, fail - no common id" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0d0e0f tls13_kex_modes=psk_all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0d0e0f tls13_kex_modes=psk_all" \
|
||||||
1 \
|
1 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2246,7 +2248,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_all/psk_ephemeral, fail - no common psk" \
|
run_test "TLS 1.3: m->m: psk_all/psk_ephemeral, fail - no common psk" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
"$P_CLI nbio=2 debug_level=5 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
||||||
1 \
|
1 \
|
||||||
-c "skip pre_shared_key extensions" \
|
-c "skip pre_shared_key extensions" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2257,7 +2259,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_all/ephemeral, fail - no common kex mode" \
|
run_test "TLS 1.3: m->m: psk_all/ephemeral, fail - no common kex mode" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
||||||
1 \
|
1 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2269,7 +2271,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_all/ephemeral_all, good" \
|
run_test "TLS 1.3: m->m: psk_all/ephemeral_all, good" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2282,7 +2284,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_all/ephemeral_all, fail - no common id" \
|
run_test "TLS 1.3: m->m: psk_all/ephemeral_all, fail - no common id" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0d0e0f tls13_kex_modes=psk_all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0d0e0f tls13_kex_modes=psk_all" \
|
||||||
1 \
|
1 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2295,7 +2297,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_all/ephemeral_all, good - no common psk" \
|
run_test "TLS 1.3: m->m: psk_all/ephemeral_all, good - no common psk" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
"$P_CLI nbio=2 debug_level=5 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
||||||
1 \
|
1 \
|
||||||
-c "skip pre_shared_key extensions" \
|
-c "skip pre_shared_key extensions" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2306,7 +2308,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_all/psk_all, good" \
|
run_test "TLS 1.3: m->m: psk_all/psk_all, good" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2319,7 +2321,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_all/psk_all, fail - no common id" \
|
run_test "TLS 1.3: m->m: psk_all/psk_all, fail - no common id" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0d0e0f tls13_kex_modes=psk_all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0d0e0f tls13_kex_modes=psk_all" \
|
||||||
1 \
|
1 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2332,7 +2334,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_all/psk_all, fail - no common psk" \
|
run_test "TLS 1.3: m->m: psk_all/psk_all, fail - no common psk" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
"$P_CLI nbio=2 debug_level=5 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
||||||
1 \
|
1 \
|
||||||
-c "skip pre_shared_key extensions" \
|
-c "skip pre_shared_key extensions" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2343,7 +2345,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_all/all, good" \
|
run_test "TLS 1.3: m->m: psk_all/all, good" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2356,7 +2358,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_all/all, fail - no common id" \
|
run_test "TLS 1.3: m->m: psk_all/all, fail - no common id" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0d0e0f tls13_kex_modes=psk_all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0d0e0f tls13_kex_modes=psk_all" \
|
||||||
1 \
|
1 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2369,7 +2371,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: psk_all/all, fail - no common psk" \
|
run_test "TLS 1.3: m->m: psk_all/all, fail - no common psk" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
"$P_CLI nbio=2 debug_level=5 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
||||||
1 \
|
1 \
|
||||||
-c "skip pre_shared_key extensions" \
|
-c "skip pre_shared_key extensions" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2381,7 +2383,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: all/psk, good" \
|
run_test "TLS 1.3: m->m: all/psk, good" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2394,7 +2396,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: all/psk, fail - no common kex mode" \
|
run_test "TLS 1.3: m->m: all/psk, fail - no common kex mode" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0d0e0f tls13_kex_modes=all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0d0e0f tls13_kex_modes=all" \
|
||||||
1 \
|
1 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2406,7 +2408,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: all/psk, fail - no common psk" \
|
run_test "TLS 1.3: m->m: all/psk, fail - no common psk" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0d0e0f tls13_kex_modes=all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0d0e0f tls13_kex_modes=all" \
|
||||||
1 \
|
1 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2418,7 +2420,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: all/psk_ephemeral, good" \
|
run_test "TLS 1.3: m->m: all/psk_ephemeral, good" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2431,7 +2433,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: all/psk_ephemeral, fail - no common id" \
|
run_test "TLS 1.3: m->m: all/psk_ephemeral, fail - no common id" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0d0e0f tls13_kex_modes=all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0d0e0f tls13_kex_modes=all" \
|
||||||
1 \
|
1 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2444,7 +2446,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: all/psk_ephemeral, fail - no common psk" \
|
run_test "TLS 1.3: m->m: all/psk_ephemeral, fail - no common psk" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_ephemeral" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk_identity=0a0b0c tls13_kex_modes=all" \
|
"$P_CLI nbio=2 debug_level=5 psk_identity=0a0b0c tls13_kex_modes=all" \
|
||||||
1 \
|
1 \
|
||||||
-c "skip pre_shared_key extensions" \
|
-c "skip pre_shared_key extensions" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2455,7 +2457,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: all/ephemeral, good" \
|
run_test "TLS 1.3: m->m: all/ephemeral, good" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2468,7 +2470,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: all/ephemeral_all, good" \
|
run_test "TLS 1.3: m->m: all/ephemeral_all, good" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2481,7 +2483,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: all/ephemeral_all, good - no common id" \
|
run_test "TLS 1.3: m->m: all/ephemeral_all, good - no common id" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0d0e0f tls13_kex_modes=all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0d0e0f tls13_kex_modes=all" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2495,7 +2497,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: all/ephemeral_all, good - no common psk" \
|
run_test "TLS 1.3: m->m: all/ephemeral_all, good - no common psk" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk_identity=0a0b0c tls13_kex_modes=all" \
|
"$P_CLI nbio=2 debug_level=5 psk_identity=0a0b0c tls13_kex_modes=all" \
|
||||||
0 \
|
0 \
|
||||||
-c "skip pre_shared_key extensions" \
|
-c "skip pre_shared_key extensions" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2507,7 +2509,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: all/psk_all, good" \
|
run_test "TLS 1.3: m->m: all/psk_all, good" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2520,7 +2522,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: all/psk_all, fail - no common id" \
|
run_test "TLS 1.3: m->m: all/psk_all, fail - no common id" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0d0e0f tls13_kex_modes=all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0d0e0f tls13_kex_modes=all" \
|
||||||
1 \
|
1 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2533,7 +2535,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: all/psk_all, fail - no common psk" \
|
run_test "TLS 1.3: m->m: all/psk_all, fail - no common psk" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk_all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk_identity=0a0b0c tls13_kex_modes=all" \
|
"$P_CLI nbio=2 debug_level=5 psk_identity=0a0b0c tls13_kex_modes=all" \
|
||||||
1 \
|
1 \
|
||||||
-c "skip pre_shared_key extensions" \
|
-c "skip pre_shared_key extensions" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2544,7 +2546,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: all/all, good" \
|
run_test "TLS 1.3: m->m: all/all, good" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2557,7 +2559,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: all/all, good - no common id, fallback to ephemeral" \
|
run_test "TLS 1.3: m->m: all/all, good - no common id, fallback to ephemeral" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0d0e0f tls13_kex_modes=all" \
|
"$P_CLI nbio=2 debug_level=5 psk=010203 psk_identity=0d0e0f tls13_kex_modes=all" \
|
||||||
0 \
|
0 \
|
||||||
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
-c "client hello, adding pre_shared_key extension, omitting PSK binder list" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2570,7 +2572,7 @@ requires_config_enabled MBEDTLS_SSL_SRV_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->m: all/all, good - no common psk, fallback to ephemeral" \
|
run_test "TLS 1.3: m->m: all/all, good - no common psk, fallback to ephemeral" \
|
||||||
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
"$P_SRV nbio=2 debug_level=5 force_version=tls13 psk=010203 psk_identity=0a0b0c tls13_kex_modes=all" \
|
||||||
"$P_CLI nbio=2 debug_level=5 force_version=tls13 psk_identity=0a0b0c tls13_kex_modes=all" \
|
"$P_CLI nbio=2 debug_level=5 psk_identity=0a0b0c tls13_kex_modes=all" \
|
||||||
0 \
|
0 \
|
||||||
-c "skip pre_shared_key extensions" \
|
-c "skip pre_shared_key extensions" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -2990,7 +2992,7 @@ requires_any_configs_enabled MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED MBEDTLS_KE
|
||||||
MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED
|
MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED
|
||||||
run_test "TLS 1.3: m->O: ephemeral_all/all, fail,no common psk" \
|
run_test "TLS 1.3: m->O: ephemeral_all/all, fail,no common psk" \
|
||||||
"$O_NEXT_SRV -msg -debug -tls1_3 -psk_identity 0a0b0c -psk 010203 -nocert" \
|
"$O_NEXT_SRV -msg -debug -tls1_3 -psk_identity 0a0b0c -psk 010203 -nocert" \
|
||||||
"$P_CLI debug_level=4 force_version=tls13 psk_identity=0a0b0c tls13_kex_modes=ephemeral_all" \
|
"$P_CLI debug_level=4 force_version=tls13 psk_identity=0a0b0c -psk 040506 tls13_kex_modes=ephemeral_all" \
|
||||||
1 \
|
1 \
|
||||||
-c "=> write client hello" \
|
-c "=> write client hello" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -3081,7 +3083,7 @@ requires_any_configs_enabled MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED MBEDTLS_KE
|
||||||
MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED
|
MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED
|
||||||
run_test "TLS 1.3: m->O: all/all, fail,no common psk, no fallback" \
|
run_test "TLS 1.3: m->O: all/all, fail,no common psk, no fallback" \
|
||||||
"$O_NEXT_SRV -msg -debug -tls1_3 -psk_identity 0a0b0c -psk 010203 -nocert" \
|
"$O_NEXT_SRV -msg -debug -tls1_3 -psk_identity 0a0b0c -psk 010203 -nocert" \
|
||||||
"$P_CLI debug_level=4 force_version=tls13 psk_identity=0a0b0c tls13_kex_modes=all" \
|
"$P_CLI debug_level=4 force_version=tls13 psk_identity=0a0b0c -psk 010203 tls13_kex_modes=all" \
|
||||||
1 \
|
1 \
|
||||||
-c "=> write client hello" \
|
-c "=> write client hello" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -3092,7 +3094,6 @@ run_test "TLS 1.3: m->O: all/all, fail,no common psk, no fallback" \
|
||||||
#GNUTLS-SERVER psk mode
|
#GNUTLS-SERVER psk mode
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_gnutls_next_no_ticket
|
|
||||||
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
requires_config_enabled MBEDTLS_DEBUG_C
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
|
@ -3112,7 +3113,6 @@ run_test "TLS 1.3: m->G: psk/all, good" \
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_gnutls_next_no_ticket
|
|
||||||
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
requires_config_enabled MBEDTLS_DEBUG_C
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
|
@ -3132,7 +3132,6 @@ run_test "TLS 1.3: m->G: psk/psk_or_ephemeral, good" \
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_gnutls_next_no_ticket
|
|
||||||
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
requires_config_enabled MBEDTLS_DEBUG_C
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
|
@ -3151,7 +3150,6 @@ run_test "TLS 1.3: m->G: psk/ephemeral_all, fail - no common kex mode" \
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_gnutls_next_no_ticket
|
|
||||||
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
requires_config_enabled MBEDTLS_DEBUG_C
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
|
@ -3170,7 +3168,6 @@ run_test "TLS 1.3: m->G: psk/all, fail - no common id" \
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_gnutls_next_no_ticket
|
|
||||||
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
requires_config_enabled MBEDTLS_DEBUG_C
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
|
@ -3189,13 +3186,12 @@ run_test "TLS 1.3: m->G: psk/psk, fail - no common id" \
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_gnutls_next_no_ticket
|
|
||||||
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
requires_config_enabled MBEDTLS_DEBUG_C
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3: m->G: psk/ephemeral_all, fail, no common psk" \
|
run_test "TLS 1.3: m->G: psk/ephemeral_all, fail, no common psk" \
|
||||||
"$G_NEXT_SRV -d 4 --priority=NORMAL:-VERS-ALL:+VERS-TLS1.3:-KX-ALL:+ECDHE-PSK:+DHE-PSK:-PSK:+CIPHER-ALL --pskpasswd=data_files/simplepass.psk" \
|
"$G_NEXT_SRV -d 4 --priority=NORMAL:-VERS-ALL:+VERS-TLS1.3:-KX-ALL:+ECDHE-PSK:+DHE-PSK:-PSK:+CIPHER-ALL --pskpasswd=data_files/simplepass.psk" \
|
||||||
"$P_CLI debug_level=4 force_version=tls13 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
"$P_CLI debug_level=4 force_version=tls13 psk_identity=0a0b0c -psk 010203 tls13_kex_modes=psk" \
|
||||||
1 \
|
1 \
|
||||||
-c "=> write client hello" \
|
-c "=> write client hello" \
|
||||||
-c "client hello, adding psk_key_exchange_modes extension" \
|
-c "client hello, adding psk_key_exchange_modes extension" \
|
||||||
|
@ -3207,7 +3203,6 @@ run_test "TLS 1.3: m->G: psk/ephemeral_all, fail, no common psk" \
|
||||||
#GNUTLS-SERVER psk_all mode
|
#GNUTLS-SERVER psk_all mode
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_gnutls_next_no_ticket
|
|
||||||
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
requires_config_enabled MBEDTLS_DEBUG_C
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
|
@ -3227,7 +3222,6 @@ run_test "TLS 1.3: m->G: psk_all/all, good" \
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_gnutls_next_no_ticket
|
|
||||||
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
requires_config_enabled MBEDTLS_DEBUG_C
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
|
@ -3247,7 +3241,6 @@ run_test "TLS 1.3: m->G: psk_all/psk, good" \
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_gnutls_next_no_ticket
|
|
||||||
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
requires_config_enabled MBEDTLS_DEBUG_C
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
|
@ -3266,7 +3259,6 @@ run_test "TLS 1.3: m->G: psk_all/ephemeral_all, fail - no fallback" \
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_gnutls_next_no_ticket
|
|
||||||
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
requires_config_enabled MBEDTLS_DEBUG_C
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
|
@ -3285,7 +3277,6 @@ run_test "TLS 1.3: m->G: psk_all/all, fail - no common id" \
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_gnutls_next_no_ticket
|
|
||||||
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
requires_config_enabled MBEDTLS_DEBUG_C
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
|
@ -3304,7 +3295,6 @@ run_test "TLS 1.3: m->G: psk_all/psk, fail - no common id" \
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_gnutls_next_no_ticket
|
|
||||||
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
requires_config_enabled MBEDTLS_DEBUG_C
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
|
@ -3322,7 +3312,6 @@ run_test "TLS 1.3: m->G: psk_all/ephemeral_all, fail, no common psk" \
|
||||||
#GNUTLS-SERVER psk_ephemeral mode
|
#GNUTLS-SERVER psk_ephemeral mode
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_gnutls_next_no_ticket
|
|
||||||
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
requires_config_enabled MBEDTLS_DEBUG_C
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
|
@ -3342,7 +3331,6 @@ run_test "TLS 1.3: m->G: psk_ephemeral/all, good" \
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_gnutls_next_no_ticket
|
|
||||||
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
requires_config_enabled MBEDTLS_DEBUG_C
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
|
@ -3361,7 +3349,6 @@ run_test "TLS 1.3: m->G: psk_ephemeral/psk, fail - no common kex mode" \
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_gnutls_next_no_ticket
|
|
||||||
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
requires_config_enabled MBEDTLS_DEBUG_C
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
|
@ -3381,7 +3368,6 @@ run_test "TLS 1.3: m->G: psk_ephemeral/ephemeral_all, good" \
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_gnutls_next_no_ticket
|
|
||||||
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
requires_config_enabled MBEDTLS_DEBUG_C
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
|
@ -3399,7 +3385,6 @@ run_test "TLS 1.3: m->G: psk_ephemeral/dhe_all, fail, key material mismatch"
|
||||||
#GNUTLS-SERVER ephemeral mode
|
#GNUTLS-SERVER ephemeral mode
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_gnutls_next_no_ticket
|
|
||||||
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
requires_config_enabled MBEDTLS_DEBUG_C
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
|
@ -3416,7 +3401,6 @@ run_test "TLS 1.3: m->G: ephemeral/all, good" \
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_gnutls_next_no_ticket
|
|
||||||
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
requires_config_enabled MBEDTLS_DEBUG_C
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
|
@ -3433,7 +3417,6 @@ run_test "TLS 1.3: m->G: ephemeral/psk, good" \
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_gnutls_next_no_ticket
|
|
||||||
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
requires_config_enabled MBEDTLS_DEBUG_C
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
|
@ -3451,7 +3434,6 @@ run_test "TLS 1.3: m->G: ephemeral/ephemeral_all, good" \
|
||||||
#GNUTLS-SERVER ephemeral_all mode
|
#GNUTLS-SERVER ephemeral_all mode
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_gnutls_next_no_ticket
|
|
||||||
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
requires_config_enabled MBEDTLS_DEBUG_C
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
|
@ -3471,7 +3453,6 @@ run_test "TLS 1.3: m->G: ephemeral_all/all, good" \
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_gnutls_next_no_ticket
|
|
||||||
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
requires_config_enabled MBEDTLS_DEBUG_C
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
|
@ -3491,7 +3472,6 @@ run_test "TLS 1.3: m->G: ephemeral_all/psk, good - fallback to ephemeral" \
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_gnutls_next_no_ticket
|
|
||||||
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
requires_config_enabled MBEDTLS_DEBUG_C
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
|
@ -3511,7 +3491,6 @@ run_test "TLS 1.3: m->G: ephemeral_all/ephemeral_all, good" \
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_gnutls_next_no_ticket
|
|
||||||
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
requires_config_enabled MBEDTLS_DEBUG_C
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
|
@ -3531,7 +3510,6 @@ run_test "TLS 1.3: m->G: dhe_all/dhe_all,good,psk mismatch,fallback to dhe" \
|
||||||
#GNUTLS-SERVER all mode
|
#GNUTLS-SERVER all mode
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_gnutls_next_no_ticket
|
|
||||||
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
requires_config_enabled MBEDTLS_DEBUG_C
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
|
@ -3551,7 +3529,6 @@ run_test "TLS 1.3: m->G: all/all, good" \
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_gnutls_next_no_ticket
|
|
||||||
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
requires_config_enabled MBEDTLS_DEBUG_C
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
|
@ -3571,7 +3548,6 @@ run_test "TLS 1.3: m->G: all/psk, good" \
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_gnutls_next_no_ticket
|
|
||||||
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
requires_config_enabled MBEDTLS_DEBUG_C
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
|
@ -3591,7 +3567,6 @@ run_test "TLS 1.3: m->G: all/ephemeral_all, good" \
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
requires_gnutls_tls1_3
|
requires_gnutls_tls1_3
|
||||||
requires_gnutls_next_no_ticket
|
|
||||||
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
requires_config_enabled MBEDTLS_DEBUG_C
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
|
|
|
@ -12127,7 +12127,7 @@ requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
requires_config_enabled MBEDTLS_DEBUG_C
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
run_test "TLS 1.3, default suite, PSK - gnutls" \
|
run_test "TLS 1.3, default suite, PSK - gnutls" \
|
||||||
"$G_NEXT_SRV -d 4 --priority=NORMAL:-VERS-ALL:+VERS-TLS1.3:+ECDHE-PSK:+DHE-PSK:+PSK:+CIPHER-ALL:%NO_TICKETS --pskhint=0a0b0c --pskpasswd=data_files/simplepass.psk" \
|
"$G_NEXT_SRV -d 4 --priority=NORMAL:-VERS-ALL:+VERS-TLS1.3:+ECDHE-PSK:+DHE-PSK:+PSK:+CIPHER-ALL --pskpasswd=data_files/simplepass.psk" \
|
||||||
"$P_CLI debug_level=4 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
"$P_CLI debug_level=4 psk=010203 psk_identity=0a0b0c tls13_kex_modes=psk" \
|
||||||
0 \
|
0 \
|
||||||
-c "=> write client hello" \
|
-c "=> write client hello" \
|
||||||
|
|
Loading…
Reference in a new issue