diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 435ea232d..780f996a3 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -1455,10 +1455,14 @@ component_test_tls1_2_ecjpake_compatibility() { make -C programs ssl/ssl_server2 ssl/ssl_client2 make -C programs test/udp_proxy test/query_compile_time_config - msg "test: server w/o USE_PSA - client w/ USE_PSA" - P_SRV=../s2_no_use_psa tests/ssl-opt.sh -f ECJPAKE -e ECJPAKE_OPAQUE_PW - msg "test: client w/o USE_PSA - server w/ USE_PSA" - P_CLI=../c2_no_use_psa tests/ssl-opt.sh -f ECJPAKE -e ECJPAKE_OPAQUE_PW + msg "test: server w/o USE_PSA - client w/ USE_PSA, text password" + P_SRV=../s2_no_use_psa tests/ssl-opt.sh -f "ECJPAKE: working, TLS" + msg "test: server w/o USE_PSA - client w/ USE_PSA, opaque password" + P_SRV=../s2_no_use_psa tests/ssl-opt.sh -f "ECJPAKE: opaque password client only, working, TLS" + msg "test: client w/o USE_PSA - server w/ USE_PSA, text password" + P_CLI=../c2_no_use_psa tests/ssl-opt.sh -f "ECJPAKE: working, TLS" + msg "test: client w/o USE_PSA - server w/ USE_PSA, opaque password" + P_CLI=../c2_no_use_psa tests/ssl-opt.sh -f "ECJPAKE: opaque password server only, working, TLS" rm s2_no_use_psa c2_no_use_psa } diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh index 547a0f55c..3906d3ed1 100755 --- a/tests/ssl-opt.sh +++ b/tests/ssl-opt.sh @@ -8010,7 +8010,7 @@ run_test "ECJPAKE: working, TLS" \ requires_config_enabled MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED requires_config_enabled MBEDTLS_USE_PSA_CRYPTO requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2 -run_test "ECJPAKE_OPAQUE_PW: working, TLS, opaque password client+server" \ +run_test "ECJPAKE: opaque password client+server, working, TLS" \ "$P_SRV debug_level=3 ecjpake_pw=bla ecjpake_pw_opaque=1" \ "$P_CLI debug_level=3 ecjpake_pw=bla ecjpake_pw_opaque=1\ force_ciphersuite=TLS-ECJPAKE-WITH-AES-128-CCM-8" \ @@ -8031,7 +8031,7 @@ run_test "ECJPAKE_OPAQUE_PW: working, TLS, opaque password client+server" \ requires_config_enabled MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED requires_config_enabled MBEDTLS_USE_PSA_CRYPTO requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2 -run_test "ECJPAKE_OPAQUE_PW: working, TLS, opaque password client only" \ +run_test "ECJPAKE: opaque password client only, working, TLS" \ "$P_SRV debug_level=3 ecjpake_pw=bla" \ "$P_CLI debug_level=3 ecjpake_pw=bla ecjpake_pw_opaque=1\ force_ciphersuite=TLS-ECJPAKE-WITH-AES-128-CCM-8" \ @@ -8052,7 +8052,7 @@ run_test "ECJPAKE_OPAQUE_PW: working, TLS, opaque password client only" \ requires_config_enabled MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED requires_config_enabled MBEDTLS_USE_PSA_CRYPTO requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2 -run_test "ECJPAKE_OPAQUE_PW: working, TLS, opaque password server only" \ +run_test "ECJPAKE: opaque password server only, working, TLS" \ "$P_SRV debug_level=3 ecjpake_pw=bla ecjpake_pw_opaque=1" \ "$P_CLI debug_level=3 ecjpake_pw=bla\ force_ciphersuite=TLS-ECJPAKE-WITH-AES-128-CCM-8" \