1a8e1175bSopenharmony_ci#!/bin/sh
2a8e1175bSopenharmony_ci
3a8e1175bSopenharmony_ci# tls13-compat.sh
4a8e1175bSopenharmony_ci#
5a8e1175bSopenharmony_ci# Copyright The Mbed TLS Contributors
6a8e1175bSopenharmony_ci# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
7a8e1175bSopenharmony_ci#
8a8e1175bSopenharmony_ci# Purpose
9a8e1175bSopenharmony_ci#
10a8e1175bSopenharmony_ci# List TLS1.3 compat test cases. They are generated by
11a8e1175bSopenharmony_ci# `./tests/scripts/generate_tls13_compat_tests.py -a -o ./tests/opt-testcases/tls13-compat.sh`.
12a8e1175bSopenharmony_ci#
13a8e1175bSopenharmony_ci# PLEASE DO NOT EDIT THIS FILE. IF NEEDED, PLEASE MODIFY `generate_tls13_compat_tests.py`
14a8e1175bSopenharmony_ci# AND REGENERATE THIS FILE.
15a8e1175bSopenharmony_ci#
16a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
17a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
18a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
19a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
20a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
21a8e1175bSopenharmony_cirequires_openssl_tls1_3
22a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_GCM_SHA256,secp256r1,ecdsa_secp256r1_sha256" \
23a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
24a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups P-256 -msg -tls1_3" \
25a8e1175bSopenharmony_ci         0 \
26a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
27a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
28a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
29a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
30a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
31a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
32a8e1175bSopenharmony_ci
33a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
34a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
35a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
36a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
37a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
38a8e1175bSopenharmony_cirequires_openssl_tls1_3
39a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_GCM_SHA256,secp256r1,ecdsa_secp384r1_sha384" \
40a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
41a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups P-256 -msg -tls1_3" \
42a8e1175bSopenharmony_ci         0 \
43a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
44a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
45a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
46a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
47a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
48a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
49a8e1175bSopenharmony_ci
50a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
51a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
52a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
53a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
54a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
55a8e1175bSopenharmony_cirequires_openssl_tls1_3
56a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_GCM_SHA256,secp256r1,ecdsa_secp521r1_sha512" \
57a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
58a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups P-256 -msg -tls1_3" \
59a8e1175bSopenharmony_ci         0 \
60a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
61a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
62a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
63a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
64a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
65a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
66a8e1175bSopenharmony_ci
67a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
68a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
69a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
70a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
71a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
72a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
73a8e1175bSopenharmony_cirequires_openssl_tls1_3
74a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_GCM_SHA256,secp256r1,rsa_pss_rsae_sha256" \
75a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
76a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups P-256 -msg -tls1_3" \
77a8e1175bSopenharmony_ci         0 \
78a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
79a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
80a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
81a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
82a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
83a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
84a8e1175bSopenharmony_ci
85a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
86a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
87a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
88a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
89a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
90a8e1175bSopenharmony_cirequires_openssl_tls1_3
91a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_GCM_SHA256,secp384r1,ecdsa_secp256r1_sha256" \
92a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
93a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups P-384 -msg -tls1_3" \
94a8e1175bSopenharmony_ci         0 \
95a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
96a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
97a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
98a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
99a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
100a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
101a8e1175bSopenharmony_ci
102a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
103a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
104a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
105a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
106a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
107a8e1175bSopenharmony_cirequires_openssl_tls1_3
108a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_GCM_SHA256,secp384r1,ecdsa_secp384r1_sha384" \
109a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
110a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups P-384 -msg -tls1_3" \
111a8e1175bSopenharmony_ci         0 \
112a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
113a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
114a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
115a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
116a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
117a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
118a8e1175bSopenharmony_ci
119a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
120a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
121a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
122a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
123a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
124a8e1175bSopenharmony_cirequires_openssl_tls1_3
125a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_GCM_SHA256,secp384r1,ecdsa_secp521r1_sha512" \
126a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
127a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups P-384 -msg -tls1_3" \
128a8e1175bSopenharmony_ci         0 \
129a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
130a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
131a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
132a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
133a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
134a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
135a8e1175bSopenharmony_ci
136a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
137a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
138a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
139a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
140a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
141a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
142a8e1175bSopenharmony_cirequires_openssl_tls1_3
143a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_GCM_SHA256,secp384r1,rsa_pss_rsae_sha256" \
144a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
145a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups P-384 -msg -tls1_3" \
146a8e1175bSopenharmony_ci         0 \
147a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
148a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
149a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
150a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
151a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
152a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
153a8e1175bSopenharmony_ci
154a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
155a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
156a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
157a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
158a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
159a8e1175bSopenharmony_cirequires_openssl_tls1_3
160a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_GCM_SHA256,secp521r1,ecdsa_secp256r1_sha256" \
161a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
162a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups P-521 -msg -tls1_3" \
163a8e1175bSopenharmony_ci         0 \
164a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
165a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
166a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
167a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
168a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
169a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
170a8e1175bSopenharmony_ci
171a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
172a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
173a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
174a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
175a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
176a8e1175bSopenharmony_cirequires_openssl_tls1_3
177a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_GCM_SHA256,secp521r1,ecdsa_secp384r1_sha384" \
178a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
179a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups P-521 -msg -tls1_3" \
180a8e1175bSopenharmony_ci         0 \
181a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
182a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
183a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
184a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
185a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
186a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
187a8e1175bSopenharmony_ci
188a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
189a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
190a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
191a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
192a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
193a8e1175bSopenharmony_cirequires_openssl_tls1_3
194a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_GCM_SHA256,secp521r1,ecdsa_secp521r1_sha512" \
195a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
196a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups P-521 -msg -tls1_3" \
197a8e1175bSopenharmony_ci         0 \
198a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
199a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
200a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
201a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
202a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
203a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
204a8e1175bSopenharmony_ci
205a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
206a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
207a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
208a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
209a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
210a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
211a8e1175bSopenharmony_cirequires_openssl_tls1_3
212a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_GCM_SHA256,secp521r1,rsa_pss_rsae_sha256" \
213a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
214a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups P-521 -msg -tls1_3" \
215a8e1175bSopenharmony_ci         0 \
216a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
217a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
218a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
219a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
220a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
221a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
222a8e1175bSopenharmony_ci
223a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
224a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
225a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
226a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
227a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
228a8e1175bSopenharmony_cirequires_openssl_tls1_3
229a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_GCM_SHA256,x25519,ecdsa_secp256r1_sha256" \
230a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
231a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups X25519 -msg -tls1_3" \
232a8e1175bSopenharmony_ci         0 \
233a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
234a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
235a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
236a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
237a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
238a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
239a8e1175bSopenharmony_ci
240a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
241a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
242a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
243a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
244a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
245a8e1175bSopenharmony_cirequires_openssl_tls1_3
246a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_GCM_SHA256,x25519,ecdsa_secp384r1_sha384" \
247a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
248a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups X25519 -msg -tls1_3" \
249a8e1175bSopenharmony_ci         0 \
250a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
251a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
252a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
253a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
254a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
255a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
256a8e1175bSopenharmony_ci
257a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
258a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
259a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
260a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
261a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
262a8e1175bSopenharmony_cirequires_openssl_tls1_3
263a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_GCM_SHA256,x25519,ecdsa_secp521r1_sha512" \
264a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
265a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups X25519 -msg -tls1_3" \
266a8e1175bSopenharmony_ci         0 \
267a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
268a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
269a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
270a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
271a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
272a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
273a8e1175bSopenharmony_ci
274a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
275a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
276a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
277a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
278a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
279a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
280a8e1175bSopenharmony_cirequires_openssl_tls1_3
281a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_GCM_SHA256,x25519,rsa_pss_rsae_sha256" \
282a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
283a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups X25519 -msg -tls1_3" \
284a8e1175bSopenharmony_ci         0 \
285a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
286a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
287a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
288a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
289a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
290a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
291a8e1175bSopenharmony_ci
292a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
293a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
294a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
295a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
296a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
297a8e1175bSopenharmony_cirequires_openssl_tls1_3
298a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_GCM_SHA256,x448,ecdsa_secp256r1_sha256" \
299a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
300a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups X448 -msg -tls1_3" \
301a8e1175bSopenharmony_ci         0 \
302a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
303a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
304a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
305a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
306a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
307a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
308a8e1175bSopenharmony_ci
309a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
310a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
311a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
312a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
313a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
314a8e1175bSopenharmony_cirequires_openssl_tls1_3
315a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_GCM_SHA256,x448,ecdsa_secp384r1_sha384" \
316a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
317a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups X448 -msg -tls1_3" \
318a8e1175bSopenharmony_ci         0 \
319a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
320a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
321a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
322a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
323a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
324a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
325a8e1175bSopenharmony_ci
326a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
327a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
328a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
329a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
330a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
331a8e1175bSopenharmony_cirequires_openssl_tls1_3
332a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_GCM_SHA256,x448,ecdsa_secp521r1_sha512" \
333a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
334a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups X448 -msg -tls1_3" \
335a8e1175bSopenharmony_ci         0 \
336a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
337a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
338a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
339a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
340a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
341a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
342a8e1175bSopenharmony_ci
343a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
344a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
345a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
346a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
347a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
348a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
349a8e1175bSopenharmony_cirequires_openssl_tls1_3
350a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_GCM_SHA256,x448,rsa_pss_rsae_sha256" \
351a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
352a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups X448 -msg -tls1_3" \
353a8e1175bSopenharmony_ci         0 \
354a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
355a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
356a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
357a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
358a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
359a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
360a8e1175bSopenharmony_ci
361a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
362a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
363a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
364a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
365a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
366a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
367a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
368a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_GCM_SHA256,ffdhe2048,ecdsa_secp256r1_sha256" \
369a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
370a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups ffdhe2048 -msg -tls1_3" \
371a8e1175bSopenharmony_ci         0 \
372a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
373a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
374a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
375a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
376a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
377a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
378a8e1175bSopenharmony_ci
379a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
380a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
381a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
382a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
383a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
384a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
385a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
386a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_GCM_SHA256,ffdhe2048,ecdsa_secp384r1_sha384" \
387a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
388a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups ffdhe2048 -msg -tls1_3" \
389a8e1175bSopenharmony_ci         0 \
390a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
391a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
392a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
393a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
394a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
395a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
396a8e1175bSopenharmony_ci
397a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
398a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
399a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
400a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
401a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
402a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
403a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
404a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_GCM_SHA256,ffdhe2048,ecdsa_secp521r1_sha512" \
405a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
406a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups ffdhe2048 -msg -tls1_3" \
407a8e1175bSopenharmony_ci         0 \
408a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
409a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
410a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
411a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
412a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
413a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
414a8e1175bSopenharmony_ci
415a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
416a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
417a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
418a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
419a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
420a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
421a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
422a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
423a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_GCM_SHA256,ffdhe2048,rsa_pss_rsae_sha256" \
424a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
425a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups ffdhe2048 -msg -tls1_3" \
426a8e1175bSopenharmony_ci         0 \
427a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
428a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
429a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
430a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
431a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
432a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
433a8e1175bSopenharmony_ci
434a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
435a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
436a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
437a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
438a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
439a8e1175bSopenharmony_cirequires_openssl_tls1_3
440a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_256_GCM_SHA384,secp256r1,ecdsa_secp256r1_sha256" \
441a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
442a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp256r1_sha256 -groups P-256 -msg -tls1_3" \
443a8e1175bSopenharmony_ci         0 \
444a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
445a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
446a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
447a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
448a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
449a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
450a8e1175bSopenharmony_ci
451a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
452a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
453a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
454a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
455a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
456a8e1175bSopenharmony_cirequires_openssl_tls1_3
457a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_256_GCM_SHA384,secp256r1,ecdsa_secp384r1_sha384" \
458a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
459a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp384r1_sha384 -groups P-256 -msg -tls1_3" \
460a8e1175bSopenharmony_ci         0 \
461a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
462a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
463a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
464a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
465a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
466a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
467a8e1175bSopenharmony_ci
468a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
469a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
470a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
471a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
472a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
473a8e1175bSopenharmony_cirequires_openssl_tls1_3
474a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_256_GCM_SHA384,secp256r1,ecdsa_secp521r1_sha512" \
475a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
476a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp521r1_sha512 -groups P-256 -msg -tls1_3" \
477a8e1175bSopenharmony_ci         0 \
478a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
479a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
480a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
481a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
482a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
483a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
484a8e1175bSopenharmony_ci
485a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
486a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
487a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
488a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
489a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
490a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
491a8e1175bSopenharmony_cirequires_openssl_tls1_3
492a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_256_GCM_SHA384,secp256r1,rsa_pss_rsae_sha256" \
493a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
494a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs rsa_pss_rsae_sha256 -groups P-256 -msg -tls1_3" \
495a8e1175bSopenharmony_ci         0 \
496a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
497a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
498a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
499a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
500a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
501a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
502a8e1175bSopenharmony_ci
503a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
504a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
505a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
506a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
507a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
508a8e1175bSopenharmony_cirequires_openssl_tls1_3
509a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_256_GCM_SHA384,secp384r1,ecdsa_secp256r1_sha256" \
510a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
511a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp256r1_sha256 -groups P-384 -msg -tls1_3" \
512a8e1175bSopenharmony_ci         0 \
513a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
514a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
515a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
516a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
517a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
518a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
519a8e1175bSopenharmony_ci
520a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
521a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
522a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
523a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
524a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
525a8e1175bSopenharmony_cirequires_openssl_tls1_3
526a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_256_GCM_SHA384,secp384r1,ecdsa_secp384r1_sha384" \
527a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
528a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp384r1_sha384 -groups P-384 -msg -tls1_3" \
529a8e1175bSopenharmony_ci         0 \
530a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
531a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
532a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
533a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
534a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
535a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
536a8e1175bSopenharmony_ci
537a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
538a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
539a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
540a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
541a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
542a8e1175bSopenharmony_cirequires_openssl_tls1_3
543a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_256_GCM_SHA384,secp384r1,ecdsa_secp521r1_sha512" \
544a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
545a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp521r1_sha512 -groups P-384 -msg -tls1_3" \
546a8e1175bSopenharmony_ci         0 \
547a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
548a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
549a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
550a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
551a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
552a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
553a8e1175bSopenharmony_ci
554a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
555a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
556a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
557a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
558a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
559a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
560a8e1175bSopenharmony_cirequires_openssl_tls1_3
561a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_256_GCM_SHA384,secp384r1,rsa_pss_rsae_sha256" \
562a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
563a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs rsa_pss_rsae_sha256 -groups P-384 -msg -tls1_3" \
564a8e1175bSopenharmony_ci         0 \
565a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
566a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
567a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
568a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
569a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
570a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
571a8e1175bSopenharmony_ci
572a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
573a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
574a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
575a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
576a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
577a8e1175bSopenharmony_cirequires_openssl_tls1_3
578a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_256_GCM_SHA384,secp521r1,ecdsa_secp256r1_sha256" \
579a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
580a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp256r1_sha256 -groups P-521 -msg -tls1_3" \
581a8e1175bSopenharmony_ci         0 \
582a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
583a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
584a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
585a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
586a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
587a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
588a8e1175bSopenharmony_ci
589a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
590a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
591a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
592a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
593a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
594a8e1175bSopenharmony_cirequires_openssl_tls1_3
595a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_256_GCM_SHA384,secp521r1,ecdsa_secp384r1_sha384" \
596a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
597a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp384r1_sha384 -groups P-521 -msg -tls1_3" \
598a8e1175bSopenharmony_ci         0 \
599a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
600a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
601a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
602a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
603a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
604a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
605a8e1175bSopenharmony_ci
606a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
607a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
608a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
609a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
610a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
611a8e1175bSopenharmony_cirequires_openssl_tls1_3
612a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_256_GCM_SHA384,secp521r1,ecdsa_secp521r1_sha512" \
613a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
614a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp521r1_sha512 -groups P-521 -msg -tls1_3" \
615a8e1175bSopenharmony_ci         0 \
616a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
617a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
618a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
619a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
620a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
621a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
622a8e1175bSopenharmony_ci
623a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
624a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
625a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
626a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
627a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
628a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
629a8e1175bSopenharmony_cirequires_openssl_tls1_3
630a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_256_GCM_SHA384,secp521r1,rsa_pss_rsae_sha256" \
631a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
632a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs rsa_pss_rsae_sha256 -groups P-521 -msg -tls1_3" \
633a8e1175bSopenharmony_ci         0 \
634a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
635a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
636a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
637a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
638a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
639a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
640a8e1175bSopenharmony_ci
641a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
642a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
643a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
644a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
645a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
646a8e1175bSopenharmony_cirequires_openssl_tls1_3
647a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_256_GCM_SHA384,x25519,ecdsa_secp256r1_sha256" \
648a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
649a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp256r1_sha256 -groups X25519 -msg -tls1_3" \
650a8e1175bSopenharmony_ci         0 \
651a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
652a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
653a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
654a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
655a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
656a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
657a8e1175bSopenharmony_ci
658a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
659a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
660a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
661a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
662a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
663a8e1175bSopenharmony_cirequires_openssl_tls1_3
664a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_256_GCM_SHA384,x25519,ecdsa_secp384r1_sha384" \
665a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
666a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp384r1_sha384 -groups X25519 -msg -tls1_3" \
667a8e1175bSopenharmony_ci         0 \
668a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
669a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
670a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
671a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
672a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
673a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
674a8e1175bSopenharmony_ci
675a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
676a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
677a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
678a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
679a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
680a8e1175bSopenharmony_cirequires_openssl_tls1_3
681a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_256_GCM_SHA384,x25519,ecdsa_secp521r1_sha512" \
682a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
683a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp521r1_sha512 -groups X25519 -msg -tls1_3" \
684a8e1175bSopenharmony_ci         0 \
685a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
686a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
687a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
688a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
689a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
690a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
691a8e1175bSopenharmony_ci
692a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
693a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
694a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
695a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
696a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
697a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
698a8e1175bSopenharmony_cirequires_openssl_tls1_3
699a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_256_GCM_SHA384,x25519,rsa_pss_rsae_sha256" \
700a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
701a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs rsa_pss_rsae_sha256 -groups X25519 -msg -tls1_3" \
702a8e1175bSopenharmony_ci         0 \
703a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
704a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
705a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
706a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
707a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
708a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
709a8e1175bSopenharmony_ci
710a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
711a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
712a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
713a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
714a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
715a8e1175bSopenharmony_cirequires_openssl_tls1_3
716a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_256_GCM_SHA384,x448,ecdsa_secp256r1_sha256" \
717a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
718a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp256r1_sha256 -groups X448 -msg -tls1_3" \
719a8e1175bSopenharmony_ci         0 \
720a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
721a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
722a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
723a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
724a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
725a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
726a8e1175bSopenharmony_ci
727a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
728a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
729a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
730a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
731a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
732a8e1175bSopenharmony_cirequires_openssl_tls1_3
733a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_256_GCM_SHA384,x448,ecdsa_secp384r1_sha384" \
734a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
735a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp384r1_sha384 -groups X448 -msg -tls1_3" \
736a8e1175bSopenharmony_ci         0 \
737a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
738a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
739a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
740a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
741a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
742a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
743a8e1175bSopenharmony_ci
744a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
745a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
746a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
747a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
748a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
749a8e1175bSopenharmony_cirequires_openssl_tls1_3
750a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_256_GCM_SHA384,x448,ecdsa_secp521r1_sha512" \
751a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
752a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp521r1_sha512 -groups X448 -msg -tls1_3" \
753a8e1175bSopenharmony_ci         0 \
754a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
755a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
756a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
757a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
758a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
759a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
760a8e1175bSopenharmony_ci
761a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
762a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
763a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
764a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
765a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
766a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
767a8e1175bSopenharmony_cirequires_openssl_tls1_3
768a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_256_GCM_SHA384,x448,rsa_pss_rsae_sha256" \
769a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
770a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs rsa_pss_rsae_sha256 -groups X448 -msg -tls1_3" \
771a8e1175bSopenharmony_ci         0 \
772a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
773a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
774a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
775a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
776a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
777a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
778a8e1175bSopenharmony_ci
779a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
780a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
781a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
782a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
783a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
784a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
785a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
786a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_256_GCM_SHA384,ffdhe2048,ecdsa_secp256r1_sha256" \
787a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
788a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp256r1_sha256 -groups ffdhe2048 -msg -tls1_3" \
789a8e1175bSopenharmony_ci         0 \
790a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
791a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
792a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
793a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
794a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
795a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
796a8e1175bSopenharmony_ci
797a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
798a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
799a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
800a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
801a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
802a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
803a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
804a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_256_GCM_SHA384,ffdhe2048,ecdsa_secp384r1_sha384" \
805a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
806a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp384r1_sha384 -groups ffdhe2048 -msg -tls1_3" \
807a8e1175bSopenharmony_ci         0 \
808a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
809a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
810a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
811a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
812a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
813a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
814a8e1175bSopenharmony_ci
815a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
816a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
817a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
818a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
819a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
820a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
821a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
822a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_256_GCM_SHA384,ffdhe2048,ecdsa_secp521r1_sha512" \
823a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
824a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp521r1_sha512 -groups ffdhe2048 -msg -tls1_3" \
825a8e1175bSopenharmony_ci         0 \
826a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
827a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
828a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
829a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
830a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
831a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
832a8e1175bSopenharmony_ci
833a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
834a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
835a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
836a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
837a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
838a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
839a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
840a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
841a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_256_GCM_SHA384,ffdhe2048,rsa_pss_rsae_sha256" \
842a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
843a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs rsa_pss_rsae_sha256 -groups ffdhe2048 -msg -tls1_3" \
844a8e1175bSopenharmony_ci         0 \
845a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
846a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
847a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
848a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
849a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
850a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
851a8e1175bSopenharmony_ci
852a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
853a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
854a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
855a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
856a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
857a8e1175bSopenharmony_cirequires_openssl_tls1_3
858a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: CHACHA20_POLY1305_SHA256,secp256r1,ecdsa_secp256r1_sha256" \
859a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
860a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups P-256 -msg -tls1_3" \
861a8e1175bSopenharmony_ci         0 \
862a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
863a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
864a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
865a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
866a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
867a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
868a8e1175bSopenharmony_ci
869a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
870a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
871a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
872a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
873a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
874a8e1175bSopenharmony_cirequires_openssl_tls1_3
875a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: CHACHA20_POLY1305_SHA256,secp256r1,ecdsa_secp384r1_sha384" \
876a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
877a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups P-256 -msg -tls1_3" \
878a8e1175bSopenharmony_ci         0 \
879a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
880a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
881a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
882a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
883a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
884a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
885a8e1175bSopenharmony_ci
886a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
887a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
888a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
889a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
890a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
891a8e1175bSopenharmony_cirequires_openssl_tls1_3
892a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: CHACHA20_POLY1305_SHA256,secp256r1,ecdsa_secp521r1_sha512" \
893a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
894a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups P-256 -msg -tls1_3" \
895a8e1175bSopenharmony_ci         0 \
896a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
897a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
898a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
899a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
900a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
901a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
902a8e1175bSopenharmony_ci
903a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
904a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
905a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
906a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
907a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
908a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
909a8e1175bSopenharmony_cirequires_openssl_tls1_3
910a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: CHACHA20_POLY1305_SHA256,secp256r1,rsa_pss_rsae_sha256" \
911a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
912a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups P-256 -msg -tls1_3" \
913a8e1175bSopenharmony_ci         0 \
914a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
915a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
916a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
917a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
918a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
919a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
920a8e1175bSopenharmony_ci
921a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
922a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
923a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
924a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
925a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
926a8e1175bSopenharmony_cirequires_openssl_tls1_3
927a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: CHACHA20_POLY1305_SHA256,secp384r1,ecdsa_secp256r1_sha256" \
928a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
929a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups P-384 -msg -tls1_3" \
930a8e1175bSopenharmony_ci         0 \
931a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
932a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
933a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
934a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
935a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
936a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
937a8e1175bSopenharmony_ci
938a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
939a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
940a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
941a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
942a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
943a8e1175bSopenharmony_cirequires_openssl_tls1_3
944a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: CHACHA20_POLY1305_SHA256,secp384r1,ecdsa_secp384r1_sha384" \
945a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
946a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups P-384 -msg -tls1_3" \
947a8e1175bSopenharmony_ci         0 \
948a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
949a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
950a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
951a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
952a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
953a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
954a8e1175bSopenharmony_ci
955a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
956a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
957a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
958a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
959a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
960a8e1175bSopenharmony_cirequires_openssl_tls1_3
961a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: CHACHA20_POLY1305_SHA256,secp384r1,ecdsa_secp521r1_sha512" \
962a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
963a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups P-384 -msg -tls1_3" \
964a8e1175bSopenharmony_ci         0 \
965a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
966a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
967a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
968a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
969a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
970a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
971a8e1175bSopenharmony_ci
972a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
973a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
974a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
975a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
976a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
977a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
978a8e1175bSopenharmony_cirequires_openssl_tls1_3
979a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: CHACHA20_POLY1305_SHA256,secp384r1,rsa_pss_rsae_sha256" \
980a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
981a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups P-384 -msg -tls1_3" \
982a8e1175bSopenharmony_ci         0 \
983a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
984a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
985a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
986a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
987a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
988a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
989a8e1175bSopenharmony_ci
990a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
991a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
992a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
993a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
994a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
995a8e1175bSopenharmony_cirequires_openssl_tls1_3
996a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: CHACHA20_POLY1305_SHA256,secp521r1,ecdsa_secp256r1_sha256" \
997a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
998a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups P-521 -msg -tls1_3" \
999a8e1175bSopenharmony_ci         0 \
1000a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1001a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
1002a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
1003a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
1004a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1005a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1006a8e1175bSopenharmony_ci
1007a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1008a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1009a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1010a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1011a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1012a8e1175bSopenharmony_cirequires_openssl_tls1_3
1013a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: CHACHA20_POLY1305_SHA256,secp521r1,ecdsa_secp384r1_sha384" \
1014a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1015a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups P-521 -msg -tls1_3" \
1016a8e1175bSopenharmony_ci         0 \
1017a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1018a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
1019a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
1020a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
1021a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1022a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1023a8e1175bSopenharmony_ci
1024a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1025a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1026a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1027a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1028a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1029a8e1175bSopenharmony_cirequires_openssl_tls1_3
1030a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: CHACHA20_POLY1305_SHA256,secp521r1,ecdsa_secp521r1_sha512" \
1031a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1032a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups P-521 -msg -tls1_3" \
1033a8e1175bSopenharmony_ci         0 \
1034a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1035a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
1036a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
1037a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
1038a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1039a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1040a8e1175bSopenharmony_ci
1041a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1042a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1043a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1044a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1045a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
1046a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1047a8e1175bSopenharmony_cirequires_openssl_tls1_3
1048a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: CHACHA20_POLY1305_SHA256,secp521r1,rsa_pss_rsae_sha256" \
1049a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1050a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups P-521 -msg -tls1_3" \
1051a8e1175bSopenharmony_ci         0 \
1052a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1053a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
1054a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
1055a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
1056a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1057a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1058a8e1175bSopenharmony_ci
1059a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1060a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1061a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1062a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1063a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1064a8e1175bSopenharmony_cirequires_openssl_tls1_3
1065a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: CHACHA20_POLY1305_SHA256,x25519,ecdsa_secp256r1_sha256" \
1066a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1067a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups X25519 -msg -tls1_3" \
1068a8e1175bSopenharmony_ci         0 \
1069a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1070a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
1071a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
1072a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
1073a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1074a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1075a8e1175bSopenharmony_ci
1076a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1077a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1078a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1079a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1080a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1081a8e1175bSopenharmony_cirequires_openssl_tls1_3
1082a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: CHACHA20_POLY1305_SHA256,x25519,ecdsa_secp384r1_sha384" \
1083a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1084a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups X25519 -msg -tls1_3" \
1085a8e1175bSopenharmony_ci         0 \
1086a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1087a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
1088a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
1089a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
1090a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1091a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1092a8e1175bSopenharmony_ci
1093a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1094a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1095a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1096a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1097a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1098a8e1175bSopenharmony_cirequires_openssl_tls1_3
1099a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: CHACHA20_POLY1305_SHA256,x25519,ecdsa_secp521r1_sha512" \
1100a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1101a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups X25519 -msg -tls1_3" \
1102a8e1175bSopenharmony_ci         0 \
1103a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1104a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
1105a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
1106a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
1107a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1108a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1109a8e1175bSopenharmony_ci
1110a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1111a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1112a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1113a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1114a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
1115a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1116a8e1175bSopenharmony_cirequires_openssl_tls1_3
1117a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: CHACHA20_POLY1305_SHA256,x25519,rsa_pss_rsae_sha256" \
1118a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1119a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups X25519 -msg -tls1_3" \
1120a8e1175bSopenharmony_ci         0 \
1121a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1122a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
1123a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
1124a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
1125a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1126a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1127a8e1175bSopenharmony_ci
1128a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1129a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1130a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1131a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1132a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1133a8e1175bSopenharmony_cirequires_openssl_tls1_3
1134a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: CHACHA20_POLY1305_SHA256,x448,ecdsa_secp256r1_sha256" \
1135a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1136a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups X448 -msg -tls1_3" \
1137a8e1175bSopenharmony_ci         0 \
1138a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1139a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
1140a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
1141a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
1142a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1143a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1144a8e1175bSopenharmony_ci
1145a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1146a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1147a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1148a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1149a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1150a8e1175bSopenharmony_cirequires_openssl_tls1_3
1151a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: CHACHA20_POLY1305_SHA256,x448,ecdsa_secp384r1_sha384" \
1152a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1153a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups X448 -msg -tls1_3" \
1154a8e1175bSopenharmony_ci         0 \
1155a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1156a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
1157a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
1158a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
1159a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1160a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1161a8e1175bSopenharmony_ci
1162a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1163a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1164a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1165a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1166a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1167a8e1175bSopenharmony_cirequires_openssl_tls1_3
1168a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: CHACHA20_POLY1305_SHA256,x448,ecdsa_secp521r1_sha512" \
1169a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1170a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups X448 -msg -tls1_3" \
1171a8e1175bSopenharmony_ci         0 \
1172a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1173a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
1174a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
1175a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
1176a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1177a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1178a8e1175bSopenharmony_ci
1179a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1180a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1181a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1182a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1183a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
1184a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1185a8e1175bSopenharmony_cirequires_openssl_tls1_3
1186a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: CHACHA20_POLY1305_SHA256,x448,rsa_pss_rsae_sha256" \
1187a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1188a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups X448 -msg -tls1_3" \
1189a8e1175bSopenharmony_ci         0 \
1190a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1191a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
1192a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
1193a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
1194a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1195a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1196a8e1175bSopenharmony_ci
1197a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1198a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1199a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1200a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1201a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
1202a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
1203a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
1204a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: CHACHA20_POLY1305_SHA256,ffdhe2048,ecdsa_secp256r1_sha256" \
1205a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1206a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups ffdhe2048 -msg -tls1_3" \
1207a8e1175bSopenharmony_ci         0 \
1208a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1209a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
1210a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
1211a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
1212a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1213a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1214a8e1175bSopenharmony_ci
1215a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1216a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1217a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1218a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1219a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
1220a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
1221a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
1222a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: CHACHA20_POLY1305_SHA256,ffdhe2048,ecdsa_secp384r1_sha384" \
1223a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1224a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups ffdhe2048 -msg -tls1_3" \
1225a8e1175bSopenharmony_ci         0 \
1226a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1227a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
1228a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
1229a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
1230a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1231a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1232a8e1175bSopenharmony_ci
1233a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1234a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1235a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1236a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1237a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
1238a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
1239a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
1240a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: CHACHA20_POLY1305_SHA256,ffdhe2048,ecdsa_secp521r1_sha512" \
1241a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1242a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups ffdhe2048 -msg -tls1_3" \
1243a8e1175bSopenharmony_ci         0 \
1244a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1245a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
1246a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
1247a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
1248a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1249a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1250a8e1175bSopenharmony_ci
1251a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1252a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1253a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1254a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1255a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
1256a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
1257a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
1258a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
1259a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: CHACHA20_POLY1305_SHA256,ffdhe2048,rsa_pss_rsae_sha256" \
1260a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1261a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups ffdhe2048 -msg -tls1_3" \
1262a8e1175bSopenharmony_ci         0 \
1263a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1264a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
1265a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
1266a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
1267a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1268a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1269a8e1175bSopenharmony_ci
1270a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1271a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1272a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1273a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1274a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1275a8e1175bSopenharmony_cirequires_openssl_tls1_3
1276a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_SHA256,secp256r1,ecdsa_secp256r1_sha256" \
1277a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1278a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups P-256 -msg -tls1_3" \
1279a8e1175bSopenharmony_ci         0 \
1280a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1281a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
1282a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
1283a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
1284a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1285a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1286a8e1175bSopenharmony_ci
1287a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1288a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1289a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1290a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1291a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1292a8e1175bSopenharmony_cirequires_openssl_tls1_3
1293a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_SHA256,secp256r1,ecdsa_secp384r1_sha384" \
1294a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1295a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups P-256 -msg -tls1_3" \
1296a8e1175bSopenharmony_ci         0 \
1297a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1298a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
1299a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
1300a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
1301a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1302a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1303a8e1175bSopenharmony_ci
1304a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1305a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1306a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1307a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1308a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1309a8e1175bSopenharmony_cirequires_openssl_tls1_3
1310a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_SHA256,secp256r1,ecdsa_secp521r1_sha512" \
1311a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1312a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups P-256 -msg -tls1_3" \
1313a8e1175bSopenharmony_ci         0 \
1314a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1315a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
1316a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
1317a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
1318a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1319a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1320a8e1175bSopenharmony_ci
1321a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1322a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1323a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1324a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1325a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
1326a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1327a8e1175bSopenharmony_cirequires_openssl_tls1_3
1328a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_SHA256,secp256r1,rsa_pss_rsae_sha256" \
1329a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1330a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups P-256 -msg -tls1_3" \
1331a8e1175bSopenharmony_ci         0 \
1332a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1333a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
1334a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
1335a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
1336a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1337a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1338a8e1175bSopenharmony_ci
1339a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1340a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1341a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1342a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1343a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1344a8e1175bSopenharmony_cirequires_openssl_tls1_3
1345a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_SHA256,secp384r1,ecdsa_secp256r1_sha256" \
1346a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1347a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups P-384 -msg -tls1_3" \
1348a8e1175bSopenharmony_ci         0 \
1349a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1350a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
1351a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
1352a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
1353a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1354a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1355a8e1175bSopenharmony_ci
1356a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1357a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1358a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1359a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1360a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1361a8e1175bSopenharmony_cirequires_openssl_tls1_3
1362a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_SHA256,secp384r1,ecdsa_secp384r1_sha384" \
1363a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1364a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups P-384 -msg -tls1_3" \
1365a8e1175bSopenharmony_ci         0 \
1366a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1367a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
1368a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
1369a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
1370a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1371a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1372a8e1175bSopenharmony_ci
1373a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1374a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1375a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1376a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1377a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1378a8e1175bSopenharmony_cirequires_openssl_tls1_3
1379a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_SHA256,secp384r1,ecdsa_secp521r1_sha512" \
1380a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1381a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups P-384 -msg -tls1_3" \
1382a8e1175bSopenharmony_ci         0 \
1383a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1384a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
1385a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
1386a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
1387a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1388a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1389a8e1175bSopenharmony_ci
1390a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1391a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1392a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1393a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1394a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
1395a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1396a8e1175bSopenharmony_cirequires_openssl_tls1_3
1397a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_SHA256,secp384r1,rsa_pss_rsae_sha256" \
1398a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1399a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups P-384 -msg -tls1_3" \
1400a8e1175bSopenharmony_ci         0 \
1401a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1402a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
1403a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
1404a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
1405a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1406a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1407a8e1175bSopenharmony_ci
1408a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1409a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1410a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1411a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1412a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1413a8e1175bSopenharmony_cirequires_openssl_tls1_3
1414a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_SHA256,secp521r1,ecdsa_secp256r1_sha256" \
1415a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1416a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups P-521 -msg -tls1_3" \
1417a8e1175bSopenharmony_ci         0 \
1418a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1419a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
1420a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
1421a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
1422a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1423a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1424a8e1175bSopenharmony_ci
1425a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1426a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1427a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1428a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1429a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1430a8e1175bSopenharmony_cirequires_openssl_tls1_3
1431a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_SHA256,secp521r1,ecdsa_secp384r1_sha384" \
1432a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1433a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups P-521 -msg -tls1_3" \
1434a8e1175bSopenharmony_ci         0 \
1435a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1436a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
1437a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
1438a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
1439a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1440a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1441a8e1175bSopenharmony_ci
1442a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1443a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1444a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1445a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1446a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1447a8e1175bSopenharmony_cirequires_openssl_tls1_3
1448a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_SHA256,secp521r1,ecdsa_secp521r1_sha512" \
1449a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1450a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups P-521 -msg -tls1_3" \
1451a8e1175bSopenharmony_ci         0 \
1452a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1453a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
1454a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
1455a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
1456a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1457a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1458a8e1175bSopenharmony_ci
1459a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1460a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1461a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1462a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1463a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
1464a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1465a8e1175bSopenharmony_cirequires_openssl_tls1_3
1466a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_SHA256,secp521r1,rsa_pss_rsae_sha256" \
1467a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1468a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups P-521 -msg -tls1_3" \
1469a8e1175bSopenharmony_ci         0 \
1470a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1471a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
1472a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
1473a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
1474a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1475a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1476a8e1175bSopenharmony_ci
1477a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1478a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1479a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1480a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1481a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1482a8e1175bSopenharmony_cirequires_openssl_tls1_3
1483a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_SHA256,x25519,ecdsa_secp256r1_sha256" \
1484a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1485a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups X25519 -msg -tls1_3" \
1486a8e1175bSopenharmony_ci         0 \
1487a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1488a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
1489a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
1490a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
1491a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1492a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1493a8e1175bSopenharmony_ci
1494a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1495a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1496a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1497a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1498a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1499a8e1175bSopenharmony_cirequires_openssl_tls1_3
1500a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_SHA256,x25519,ecdsa_secp384r1_sha384" \
1501a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1502a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups X25519 -msg -tls1_3" \
1503a8e1175bSopenharmony_ci         0 \
1504a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1505a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
1506a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
1507a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
1508a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1509a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1510a8e1175bSopenharmony_ci
1511a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1512a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1513a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1514a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1515a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1516a8e1175bSopenharmony_cirequires_openssl_tls1_3
1517a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_SHA256,x25519,ecdsa_secp521r1_sha512" \
1518a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1519a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups X25519 -msg -tls1_3" \
1520a8e1175bSopenharmony_ci         0 \
1521a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1522a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
1523a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
1524a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
1525a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1526a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1527a8e1175bSopenharmony_ci
1528a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1529a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1530a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1531a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1532a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
1533a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1534a8e1175bSopenharmony_cirequires_openssl_tls1_3
1535a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_SHA256,x25519,rsa_pss_rsae_sha256" \
1536a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1537a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups X25519 -msg -tls1_3" \
1538a8e1175bSopenharmony_ci         0 \
1539a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1540a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
1541a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
1542a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
1543a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1544a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1545a8e1175bSopenharmony_ci
1546a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1547a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1548a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1549a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1550a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1551a8e1175bSopenharmony_cirequires_openssl_tls1_3
1552a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_SHA256,x448,ecdsa_secp256r1_sha256" \
1553a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1554a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups X448 -msg -tls1_3" \
1555a8e1175bSopenharmony_ci         0 \
1556a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1557a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
1558a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
1559a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
1560a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1561a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1562a8e1175bSopenharmony_ci
1563a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1564a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1565a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1566a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1567a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1568a8e1175bSopenharmony_cirequires_openssl_tls1_3
1569a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_SHA256,x448,ecdsa_secp384r1_sha384" \
1570a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1571a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups X448 -msg -tls1_3" \
1572a8e1175bSopenharmony_ci         0 \
1573a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1574a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
1575a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
1576a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
1577a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1578a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1579a8e1175bSopenharmony_ci
1580a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1581a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1582a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1583a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1584a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1585a8e1175bSopenharmony_cirequires_openssl_tls1_3
1586a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_SHA256,x448,ecdsa_secp521r1_sha512" \
1587a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1588a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups X448 -msg -tls1_3" \
1589a8e1175bSopenharmony_ci         0 \
1590a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1591a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
1592a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
1593a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
1594a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1595a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1596a8e1175bSopenharmony_ci
1597a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1598a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1599a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1600a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1601a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
1602a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1603a8e1175bSopenharmony_cirequires_openssl_tls1_3
1604a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_SHA256,x448,rsa_pss_rsae_sha256" \
1605a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1606a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups X448 -msg -tls1_3" \
1607a8e1175bSopenharmony_ci         0 \
1608a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1609a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
1610a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
1611a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
1612a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1613a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1614a8e1175bSopenharmony_ci
1615a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1616a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1617a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1618a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1619a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
1620a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
1621a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
1622a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_SHA256,ffdhe2048,ecdsa_secp256r1_sha256" \
1623a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1624a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups ffdhe2048 -msg -tls1_3" \
1625a8e1175bSopenharmony_ci         0 \
1626a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1627a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
1628a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
1629a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
1630a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1631a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1632a8e1175bSopenharmony_ci
1633a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1634a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1635a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1636a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1637a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
1638a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
1639a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
1640a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_SHA256,ffdhe2048,ecdsa_secp384r1_sha384" \
1641a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1642a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups ffdhe2048 -msg -tls1_3" \
1643a8e1175bSopenharmony_ci         0 \
1644a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1645a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
1646a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
1647a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
1648a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1649a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1650a8e1175bSopenharmony_ci
1651a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1652a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1653a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1654a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1655a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
1656a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
1657a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
1658a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_SHA256,ffdhe2048,ecdsa_secp521r1_sha512" \
1659a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1660a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups ffdhe2048 -msg -tls1_3" \
1661a8e1175bSopenharmony_ci         0 \
1662a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1663a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
1664a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
1665a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
1666a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1667a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1668a8e1175bSopenharmony_ci
1669a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1670a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1671a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1672a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1673a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
1674a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
1675a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
1676a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
1677a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_SHA256,ffdhe2048,rsa_pss_rsae_sha256" \
1678a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1679a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups ffdhe2048 -msg -tls1_3" \
1680a8e1175bSopenharmony_ci         0 \
1681a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1682a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
1683a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
1684a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
1685a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1686a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1687a8e1175bSopenharmony_ci
1688a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1689a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1690a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1691a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1692a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1693a8e1175bSopenharmony_cirequires_openssl_tls1_3
1694a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_8_SHA256,secp256r1,ecdsa_secp256r1_sha256" \
1695a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1696a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups P-256 -msg -tls1_3" \
1697a8e1175bSopenharmony_ci         0 \
1698a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1699a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
1700a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
1701a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
1702a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1703a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1704a8e1175bSopenharmony_ci
1705a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1706a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1707a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1708a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1709a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1710a8e1175bSopenharmony_cirequires_openssl_tls1_3
1711a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_8_SHA256,secp256r1,ecdsa_secp384r1_sha384" \
1712a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1713a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups P-256 -msg -tls1_3" \
1714a8e1175bSopenharmony_ci         0 \
1715a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1716a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
1717a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
1718a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
1719a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1720a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1721a8e1175bSopenharmony_ci
1722a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1723a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1724a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1725a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1726a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1727a8e1175bSopenharmony_cirequires_openssl_tls1_3
1728a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_8_SHA256,secp256r1,ecdsa_secp521r1_sha512" \
1729a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1730a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups P-256 -msg -tls1_3" \
1731a8e1175bSopenharmony_ci         0 \
1732a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1733a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
1734a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
1735a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
1736a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1737a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1738a8e1175bSopenharmony_ci
1739a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1740a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1741a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1742a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1743a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
1744a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1745a8e1175bSopenharmony_cirequires_openssl_tls1_3
1746a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_8_SHA256,secp256r1,rsa_pss_rsae_sha256" \
1747a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1748a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups P-256 -msg -tls1_3" \
1749a8e1175bSopenharmony_ci         0 \
1750a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1751a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
1752a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
1753a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
1754a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1755a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1756a8e1175bSopenharmony_ci
1757a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1758a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1759a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1760a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1761a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1762a8e1175bSopenharmony_cirequires_openssl_tls1_3
1763a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_8_SHA256,secp384r1,ecdsa_secp256r1_sha256" \
1764a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1765a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups P-384 -msg -tls1_3" \
1766a8e1175bSopenharmony_ci         0 \
1767a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1768a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
1769a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
1770a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
1771a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1772a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1773a8e1175bSopenharmony_ci
1774a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1775a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1776a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1777a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1778a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1779a8e1175bSopenharmony_cirequires_openssl_tls1_3
1780a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_8_SHA256,secp384r1,ecdsa_secp384r1_sha384" \
1781a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1782a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups P-384 -msg -tls1_3" \
1783a8e1175bSopenharmony_ci         0 \
1784a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1785a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
1786a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
1787a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
1788a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1789a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1790a8e1175bSopenharmony_ci
1791a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1792a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1793a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1794a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1795a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1796a8e1175bSopenharmony_cirequires_openssl_tls1_3
1797a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_8_SHA256,secp384r1,ecdsa_secp521r1_sha512" \
1798a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1799a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups P-384 -msg -tls1_3" \
1800a8e1175bSopenharmony_ci         0 \
1801a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1802a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
1803a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
1804a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
1805a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1806a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1807a8e1175bSopenharmony_ci
1808a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1809a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1810a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1811a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1812a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
1813a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1814a8e1175bSopenharmony_cirequires_openssl_tls1_3
1815a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_8_SHA256,secp384r1,rsa_pss_rsae_sha256" \
1816a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1817a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups P-384 -msg -tls1_3" \
1818a8e1175bSopenharmony_ci         0 \
1819a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1820a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
1821a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
1822a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
1823a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1824a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1825a8e1175bSopenharmony_ci
1826a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1827a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1828a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1829a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1830a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1831a8e1175bSopenharmony_cirequires_openssl_tls1_3
1832a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_8_SHA256,secp521r1,ecdsa_secp256r1_sha256" \
1833a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1834a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups P-521 -msg -tls1_3" \
1835a8e1175bSopenharmony_ci         0 \
1836a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1837a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
1838a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
1839a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
1840a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1841a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1842a8e1175bSopenharmony_ci
1843a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1844a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1845a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1846a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1847a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1848a8e1175bSopenharmony_cirequires_openssl_tls1_3
1849a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_8_SHA256,secp521r1,ecdsa_secp384r1_sha384" \
1850a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1851a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups P-521 -msg -tls1_3" \
1852a8e1175bSopenharmony_ci         0 \
1853a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1854a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
1855a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
1856a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
1857a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1858a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1859a8e1175bSopenharmony_ci
1860a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1861a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1862a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1863a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1864a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1865a8e1175bSopenharmony_cirequires_openssl_tls1_3
1866a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_8_SHA256,secp521r1,ecdsa_secp521r1_sha512" \
1867a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1868a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups P-521 -msg -tls1_3" \
1869a8e1175bSopenharmony_ci         0 \
1870a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1871a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
1872a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
1873a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
1874a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1875a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1876a8e1175bSopenharmony_ci
1877a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1878a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1879a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1880a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1881a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
1882a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1883a8e1175bSopenharmony_cirequires_openssl_tls1_3
1884a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_8_SHA256,secp521r1,rsa_pss_rsae_sha256" \
1885a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1886a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups P-521 -msg -tls1_3" \
1887a8e1175bSopenharmony_ci         0 \
1888a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1889a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
1890a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
1891a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
1892a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1893a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1894a8e1175bSopenharmony_ci
1895a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1896a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1897a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1898a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1899a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1900a8e1175bSopenharmony_cirequires_openssl_tls1_3
1901a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_8_SHA256,x25519,ecdsa_secp256r1_sha256" \
1902a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1903a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups X25519 -msg -tls1_3" \
1904a8e1175bSopenharmony_ci         0 \
1905a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1906a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
1907a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
1908a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
1909a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1910a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1911a8e1175bSopenharmony_ci
1912a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1913a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1914a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1915a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1916a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1917a8e1175bSopenharmony_cirequires_openssl_tls1_3
1918a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_8_SHA256,x25519,ecdsa_secp384r1_sha384" \
1919a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1920a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups X25519 -msg -tls1_3" \
1921a8e1175bSopenharmony_ci         0 \
1922a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1923a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
1924a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
1925a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
1926a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1927a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1928a8e1175bSopenharmony_ci
1929a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1930a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1931a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1932a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1933a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1934a8e1175bSopenharmony_cirequires_openssl_tls1_3
1935a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_8_SHA256,x25519,ecdsa_secp521r1_sha512" \
1936a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1937a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups X25519 -msg -tls1_3" \
1938a8e1175bSopenharmony_ci         0 \
1939a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1940a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
1941a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
1942a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
1943a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1944a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1945a8e1175bSopenharmony_ci
1946a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1947a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1948a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1949a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1950a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
1951a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1952a8e1175bSopenharmony_cirequires_openssl_tls1_3
1953a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_8_SHA256,x25519,rsa_pss_rsae_sha256" \
1954a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1955a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups X25519 -msg -tls1_3" \
1956a8e1175bSopenharmony_ci         0 \
1957a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1958a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
1959a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
1960a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
1961a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1962a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1963a8e1175bSopenharmony_ci
1964a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1965a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1966a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1967a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1968a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1969a8e1175bSopenharmony_cirequires_openssl_tls1_3
1970a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_8_SHA256,x448,ecdsa_secp256r1_sha256" \
1971a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1972a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups X448 -msg -tls1_3" \
1973a8e1175bSopenharmony_ci         0 \
1974a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1975a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
1976a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
1977a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
1978a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1979a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1980a8e1175bSopenharmony_ci
1981a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1982a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
1983a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
1984a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
1985a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
1986a8e1175bSopenharmony_cirequires_openssl_tls1_3
1987a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_8_SHA256,x448,ecdsa_secp384r1_sha384" \
1988a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
1989a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups X448 -msg -tls1_3" \
1990a8e1175bSopenharmony_ci         0 \
1991a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
1992a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
1993a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
1994a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
1995a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
1996a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
1997a8e1175bSopenharmony_ci
1998a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
1999a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2000a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2001a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2002a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2003a8e1175bSopenharmony_cirequires_openssl_tls1_3
2004a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_8_SHA256,x448,ecdsa_secp521r1_sha512" \
2005a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2006a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups X448 -msg -tls1_3" \
2007a8e1175bSopenharmony_ci         0 \
2008a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2009a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
2010a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
2011a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
2012a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2013a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2014a8e1175bSopenharmony_ci
2015a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2016a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2017a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2018a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2019a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
2020a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2021a8e1175bSopenharmony_cirequires_openssl_tls1_3
2022a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_8_SHA256,x448,rsa_pss_rsae_sha256" \
2023a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2024a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups X448 -msg -tls1_3" \
2025a8e1175bSopenharmony_ci         0 \
2026a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2027a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
2028a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
2029a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
2030a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2031a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2032a8e1175bSopenharmony_ci
2033a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2034a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2035a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2036a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2037a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
2038a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
2039a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
2040a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_8_SHA256,ffdhe2048,ecdsa_secp256r1_sha256" \
2041a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2042a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups ffdhe2048 -msg -tls1_3" \
2043a8e1175bSopenharmony_ci         0 \
2044a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2045a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
2046a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
2047a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
2048a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2049a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2050a8e1175bSopenharmony_ci
2051a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2052a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2053a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2054a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2055a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
2056a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
2057a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
2058a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_8_SHA256,ffdhe2048,ecdsa_secp384r1_sha384" \
2059a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2060a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups ffdhe2048 -msg -tls1_3" \
2061a8e1175bSopenharmony_ci         0 \
2062a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2063a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
2064a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
2065a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
2066a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2067a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2068a8e1175bSopenharmony_ci
2069a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2070a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2071a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2072a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2073a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
2074a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
2075a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
2076a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_8_SHA256,ffdhe2048,ecdsa_secp521r1_sha512" \
2077a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2078a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups ffdhe2048 -msg -tls1_3" \
2079a8e1175bSopenharmony_ci         0 \
2080a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2081a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
2082a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
2083a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
2084a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2085a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2086a8e1175bSopenharmony_ci
2087a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2088a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2089a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2090a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2091a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
2092a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
2093a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
2094a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
2095a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: AES_128_CCM_8_SHA256,ffdhe2048,rsa_pss_rsae_sha256" \
2096a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2097a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca_cat12.crt -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups ffdhe2048 -msg -tls1_3" \
2098a8e1175bSopenharmony_ci         0 \
2099a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2100a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
2101a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
2102a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
2103a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2104a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2105a8e1175bSopenharmony_ci
2106a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2107a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2108a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2109a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2110a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2111a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2112a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2113a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2114a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_GCM_SHA256,secp256r1,ecdsa_secp256r1_sha256" \
2115a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2116a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
2117a8e1175bSopenharmony_ci         0 \
2118a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2119a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
2120a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
2121a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
2122a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2123a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2124a8e1175bSopenharmony_ci
2125a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2126a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2127a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2128a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2129a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2130a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2131a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2132a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2133a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_GCM_SHA256,secp256r1,ecdsa_secp384r1_sha384" \
2134a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2135a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
2136a8e1175bSopenharmony_ci         0 \
2137a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2138a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
2139a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
2140a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
2141a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2142a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2143a8e1175bSopenharmony_ci
2144a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2145a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2146a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2147a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2148a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2149a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2150a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2151a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2152a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_GCM_SHA256,secp256r1,ecdsa_secp521r1_sha512" \
2153a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2154a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
2155a8e1175bSopenharmony_ci         0 \
2156a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2157a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
2158a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
2159a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
2160a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2161a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2162a8e1175bSopenharmony_ci
2163a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2164a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2165a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2166a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2167a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
2168a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2169a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2170a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2171a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2172a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_GCM_SHA256,secp256r1,rsa_pss_rsae_sha256" \
2173a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2174a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
2175a8e1175bSopenharmony_ci         0 \
2176a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2177a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
2178a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
2179a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
2180a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2181a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2182a8e1175bSopenharmony_ci
2183a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2184a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2185a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2186a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2187a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2188a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2189a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2190a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2191a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_GCM_SHA256,secp384r1,ecdsa_secp256r1_sha256" \
2192a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2193a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
2194a8e1175bSopenharmony_ci         0 \
2195a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2196a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
2197a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
2198a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
2199a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2200a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2201a8e1175bSopenharmony_ci
2202a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2203a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2204a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2205a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2206a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2207a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2208a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2209a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2210a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_GCM_SHA256,secp384r1,ecdsa_secp384r1_sha384" \
2211a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2212a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
2213a8e1175bSopenharmony_ci         0 \
2214a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2215a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
2216a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
2217a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
2218a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2219a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2220a8e1175bSopenharmony_ci
2221a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2222a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2223a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2224a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2225a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2226a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2227a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2228a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2229a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_GCM_SHA256,secp384r1,ecdsa_secp521r1_sha512" \
2230a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2231a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
2232a8e1175bSopenharmony_ci         0 \
2233a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2234a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
2235a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
2236a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
2237a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2238a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2239a8e1175bSopenharmony_ci
2240a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2241a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2242a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2243a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2244a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
2245a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2246a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2247a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2248a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2249a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_GCM_SHA256,secp384r1,rsa_pss_rsae_sha256" \
2250a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2251a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
2252a8e1175bSopenharmony_ci         0 \
2253a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2254a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
2255a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
2256a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
2257a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2258a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2259a8e1175bSopenharmony_ci
2260a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2261a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2262a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2263a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2264a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2265a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2266a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2267a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2268a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_GCM_SHA256,secp521r1,ecdsa_secp256r1_sha256" \
2269a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2270a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
2271a8e1175bSopenharmony_ci         0 \
2272a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2273a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
2274a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
2275a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
2276a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2277a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2278a8e1175bSopenharmony_ci
2279a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2280a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2281a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2282a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2283a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2284a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2285a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2286a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2287a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_GCM_SHA256,secp521r1,ecdsa_secp384r1_sha384" \
2288a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2289a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
2290a8e1175bSopenharmony_ci         0 \
2291a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2292a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
2293a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
2294a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
2295a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2296a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2297a8e1175bSopenharmony_ci
2298a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2299a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2300a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2301a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2302a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2303a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2304a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2305a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2306a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_GCM_SHA256,secp521r1,ecdsa_secp521r1_sha512" \
2307a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2308a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
2309a8e1175bSopenharmony_ci         0 \
2310a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2311a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
2312a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
2313a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
2314a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2315a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2316a8e1175bSopenharmony_ci
2317a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2318a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2319a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2320a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2321a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
2322a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2323a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2324a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2325a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2326a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_GCM_SHA256,secp521r1,rsa_pss_rsae_sha256" \
2327a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2328a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
2329a8e1175bSopenharmony_ci         0 \
2330a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2331a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
2332a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
2333a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
2334a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2335a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2336a8e1175bSopenharmony_ci
2337a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2338a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2339a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2340a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2341a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2342a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2343a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2344a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2345a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_GCM_SHA256,x25519,ecdsa_secp256r1_sha256" \
2346a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2347a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
2348a8e1175bSopenharmony_ci         0 \
2349a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2350a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
2351a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
2352a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
2353a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2354a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2355a8e1175bSopenharmony_ci
2356a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2357a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2358a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2359a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2360a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2361a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2362a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2363a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2364a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_GCM_SHA256,x25519,ecdsa_secp384r1_sha384" \
2365a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2366a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
2367a8e1175bSopenharmony_ci         0 \
2368a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2369a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
2370a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
2371a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
2372a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2373a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2374a8e1175bSopenharmony_ci
2375a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2376a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2377a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2378a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2379a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2380a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2381a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2382a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2383a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_GCM_SHA256,x25519,ecdsa_secp521r1_sha512" \
2384a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2385a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
2386a8e1175bSopenharmony_ci         0 \
2387a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2388a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
2389a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
2390a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
2391a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2392a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2393a8e1175bSopenharmony_ci
2394a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2395a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2396a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2397a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2398a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
2399a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2400a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2401a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2402a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2403a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_GCM_SHA256,x25519,rsa_pss_rsae_sha256" \
2404a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2405a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
2406a8e1175bSopenharmony_ci         0 \
2407a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2408a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
2409a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
2410a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
2411a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2412a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2413a8e1175bSopenharmony_ci
2414a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2415a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2416a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2417a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2418a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2419a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2420a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2421a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2422a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_GCM_SHA256,x448,ecdsa_secp256r1_sha256" \
2423a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2424a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
2425a8e1175bSopenharmony_ci         0 \
2426a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2427a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
2428a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
2429a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
2430a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2431a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2432a8e1175bSopenharmony_ci
2433a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2434a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2435a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2436a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2437a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2438a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2439a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2440a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2441a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_GCM_SHA256,x448,ecdsa_secp384r1_sha384" \
2442a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2443a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
2444a8e1175bSopenharmony_ci         0 \
2445a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2446a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
2447a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
2448a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
2449a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2450a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2451a8e1175bSopenharmony_ci
2452a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2453a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2454a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2455a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2456a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2457a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2458a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2459a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2460a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_GCM_SHA256,x448,ecdsa_secp521r1_sha512" \
2461a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2462a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
2463a8e1175bSopenharmony_ci         0 \
2464a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2465a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
2466a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
2467a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
2468a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2469a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2470a8e1175bSopenharmony_ci
2471a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2472a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2473a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2474a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2475a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
2476a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2477a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2478a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2479a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2480a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_GCM_SHA256,x448,rsa_pss_rsae_sha256" \
2481a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2482a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
2483a8e1175bSopenharmony_ci         0 \
2484a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2485a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
2486a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
2487a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
2488a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2489a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2490a8e1175bSopenharmony_ci
2491a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2492a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2493a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2494a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2495a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
2496a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
2497a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2498a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2499a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2500a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_GCM_SHA256,ffdhe2048,ecdsa_secp256r1_sha256" \
2501a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2502a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
2503a8e1175bSopenharmony_ci         0 \
2504a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2505a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
2506a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
2507a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
2508a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2509a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2510a8e1175bSopenharmony_ci
2511a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2512a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2513a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2514a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2515a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
2516a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
2517a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2518a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2519a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2520a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_GCM_SHA256,ffdhe2048,ecdsa_secp384r1_sha384" \
2521a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2522a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
2523a8e1175bSopenharmony_ci         0 \
2524a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2525a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
2526a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
2527a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
2528a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2529a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2530a8e1175bSopenharmony_ci
2531a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2532a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2533a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2534a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2535a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
2536a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
2537a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2538a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2539a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2540a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_GCM_SHA256,ffdhe2048,ecdsa_secp521r1_sha512" \
2541a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2542a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
2543a8e1175bSopenharmony_ci         0 \
2544a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2545a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
2546a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
2547a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
2548a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2549a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2550a8e1175bSopenharmony_ci
2551a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2552a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2553a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2554a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2555a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
2556a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
2557a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
2558a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2559a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2560a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2561a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_GCM_SHA256,ffdhe2048,rsa_pss_rsae_sha256" \
2562a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2563a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
2564a8e1175bSopenharmony_ci         0 \
2565a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2566a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
2567a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
2568a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
2569a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2570a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2571a8e1175bSopenharmony_ci
2572a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2573a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2574a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2575a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2576a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2577a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2578a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2579a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2580a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_256_GCM_SHA384,secp256r1,ecdsa_secp256r1_sha256" \
2581a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2582a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
2583a8e1175bSopenharmony_ci         0 \
2584a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2585a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
2586a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
2587a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
2588a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2589a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2590a8e1175bSopenharmony_ci
2591a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2592a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2593a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2594a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2595a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2596a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2597a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2598a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2599a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_256_GCM_SHA384,secp256r1,ecdsa_secp384r1_sha384" \
2600a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2601a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
2602a8e1175bSopenharmony_ci         0 \
2603a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2604a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
2605a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
2606a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
2607a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2608a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2609a8e1175bSopenharmony_ci
2610a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2611a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2612a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2613a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2614a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2615a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2616a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2617a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2618a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_256_GCM_SHA384,secp256r1,ecdsa_secp521r1_sha512" \
2619a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2620a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
2621a8e1175bSopenharmony_ci         0 \
2622a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2623a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
2624a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
2625a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
2626a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2627a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2628a8e1175bSopenharmony_ci
2629a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2630a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2631a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2632a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2633a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
2634a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2635a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2636a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2637a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2638a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_256_GCM_SHA384,secp256r1,rsa_pss_rsae_sha256" \
2639a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2640a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
2641a8e1175bSopenharmony_ci         0 \
2642a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2643a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
2644a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
2645a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
2646a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2647a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2648a8e1175bSopenharmony_ci
2649a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2650a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2651a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2652a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2653a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2654a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2655a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2656a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2657a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_256_GCM_SHA384,secp384r1,ecdsa_secp256r1_sha256" \
2658a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2659a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
2660a8e1175bSopenharmony_ci         0 \
2661a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2662a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
2663a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
2664a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
2665a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2666a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2667a8e1175bSopenharmony_ci
2668a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2669a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2670a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2671a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2672a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2673a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2674a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2675a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2676a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_256_GCM_SHA384,secp384r1,ecdsa_secp384r1_sha384" \
2677a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2678a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
2679a8e1175bSopenharmony_ci         0 \
2680a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2681a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
2682a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
2683a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
2684a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2685a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2686a8e1175bSopenharmony_ci
2687a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2688a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2689a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2690a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2691a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2692a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2693a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2694a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2695a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_256_GCM_SHA384,secp384r1,ecdsa_secp521r1_sha512" \
2696a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2697a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
2698a8e1175bSopenharmony_ci         0 \
2699a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2700a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
2701a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
2702a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
2703a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2704a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2705a8e1175bSopenharmony_ci
2706a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2707a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2708a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2709a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2710a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
2711a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2712a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2713a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2714a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2715a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_256_GCM_SHA384,secp384r1,rsa_pss_rsae_sha256" \
2716a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2717a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
2718a8e1175bSopenharmony_ci         0 \
2719a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2720a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
2721a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
2722a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
2723a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2724a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2725a8e1175bSopenharmony_ci
2726a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2727a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2728a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2729a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2730a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2731a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2732a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2733a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2734a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_256_GCM_SHA384,secp521r1,ecdsa_secp256r1_sha256" \
2735a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2736a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
2737a8e1175bSopenharmony_ci         0 \
2738a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2739a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
2740a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
2741a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
2742a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2743a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2744a8e1175bSopenharmony_ci
2745a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2746a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2747a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2748a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2749a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2750a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2751a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2752a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2753a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_256_GCM_SHA384,secp521r1,ecdsa_secp384r1_sha384" \
2754a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2755a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
2756a8e1175bSopenharmony_ci         0 \
2757a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2758a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
2759a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
2760a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
2761a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2762a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2763a8e1175bSopenharmony_ci
2764a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2765a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2766a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2767a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2768a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2769a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2770a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2771a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2772a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_256_GCM_SHA384,secp521r1,ecdsa_secp521r1_sha512" \
2773a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2774a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
2775a8e1175bSopenharmony_ci         0 \
2776a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2777a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
2778a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
2779a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
2780a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2781a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2782a8e1175bSopenharmony_ci
2783a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2784a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2785a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2786a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2787a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
2788a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2789a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2790a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2791a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2792a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_256_GCM_SHA384,secp521r1,rsa_pss_rsae_sha256" \
2793a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2794a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
2795a8e1175bSopenharmony_ci         0 \
2796a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2797a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
2798a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
2799a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
2800a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2801a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2802a8e1175bSopenharmony_ci
2803a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2804a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2805a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2806a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2807a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2808a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2809a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2810a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2811a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_256_GCM_SHA384,x25519,ecdsa_secp256r1_sha256" \
2812a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2813a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
2814a8e1175bSopenharmony_ci         0 \
2815a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2816a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
2817a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
2818a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
2819a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2820a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2821a8e1175bSopenharmony_ci
2822a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2823a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2824a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2825a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2826a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2827a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2828a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2829a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2830a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_256_GCM_SHA384,x25519,ecdsa_secp384r1_sha384" \
2831a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2832a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
2833a8e1175bSopenharmony_ci         0 \
2834a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2835a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
2836a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
2837a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
2838a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2839a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2840a8e1175bSopenharmony_ci
2841a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2842a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2843a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2844a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2845a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2846a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2847a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2848a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2849a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_256_GCM_SHA384,x25519,ecdsa_secp521r1_sha512" \
2850a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2851a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
2852a8e1175bSopenharmony_ci         0 \
2853a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2854a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
2855a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
2856a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
2857a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2858a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2859a8e1175bSopenharmony_ci
2860a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2861a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2862a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2863a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2864a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
2865a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2866a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2867a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2868a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2869a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_256_GCM_SHA384,x25519,rsa_pss_rsae_sha256" \
2870a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2871a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
2872a8e1175bSopenharmony_ci         0 \
2873a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2874a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
2875a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
2876a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
2877a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2878a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2879a8e1175bSopenharmony_ci
2880a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2881a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2882a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2883a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2884a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2885a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2886a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2887a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2888a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_256_GCM_SHA384,x448,ecdsa_secp256r1_sha256" \
2889a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2890a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
2891a8e1175bSopenharmony_ci         0 \
2892a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2893a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
2894a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
2895a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
2896a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2897a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2898a8e1175bSopenharmony_ci
2899a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2900a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2901a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2902a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2903a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2904a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2905a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2906a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2907a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_256_GCM_SHA384,x448,ecdsa_secp384r1_sha384" \
2908a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2909a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
2910a8e1175bSopenharmony_ci         0 \
2911a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2912a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
2913a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
2914a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
2915a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2916a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2917a8e1175bSopenharmony_ci
2918a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2919a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2920a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2921a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2922a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2923a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2924a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2925a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2926a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_256_GCM_SHA384,x448,ecdsa_secp521r1_sha512" \
2927a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2928a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
2929a8e1175bSopenharmony_ci         0 \
2930a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2931a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
2932a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
2933a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
2934a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2935a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2936a8e1175bSopenharmony_ci
2937a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2938a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2939a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2940a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2941a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
2942a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
2943a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2944a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2945a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2946a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_256_GCM_SHA384,x448,rsa_pss_rsae_sha256" \
2947a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2948a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
2949a8e1175bSopenharmony_ci         0 \
2950a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2951a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
2952a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
2953a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
2954a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2955a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2956a8e1175bSopenharmony_ci
2957a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2958a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2959a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2960a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2961a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
2962a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
2963a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2964a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2965a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2966a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_256_GCM_SHA384,ffdhe2048,ecdsa_secp256r1_sha256" \
2967a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2968a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
2969a8e1175bSopenharmony_ci         0 \
2970a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2971a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
2972a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
2973a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
2974a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2975a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2976a8e1175bSopenharmony_ci
2977a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2978a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2979a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
2980a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
2981a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
2982a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
2983a8e1175bSopenharmony_cirequires_gnutls_tls1_3
2984a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
2985a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
2986a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_256_GCM_SHA384,ffdhe2048,ecdsa_secp384r1_sha384" \
2987a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
2988a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
2989a8e1175bSopenharmony_ci         0 \
2990a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
2991a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
2992a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
2993a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
2994a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
2995a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
2996a8e1175bSopenharmony_ci
2997a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
2998a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
2999a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3000a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3001a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
3002a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
3003a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3004a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3005a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3006a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_256_GCM_SHA384,ffdhe2048,ecdsa_secp521r1_sha512" \
3007a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3008a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
3009a8e1175bSopenharmony_ci         0 \
3010a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3011a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
3012a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
3013a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
3014a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3015a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3016a8e1175bSopenharmony_ci
3017a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3018a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3019a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3020a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3021a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
3022a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
3023a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
3024a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3025a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3026a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3027a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_256_GCM_SHA384,ffdhe2048,rsa_pss_rsae_sha256" \
3028a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3029a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
3030a8e1175bSopenharmony_ci         0 \
3031a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3032a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
3033a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
3034a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
3035a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3036a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3037a8e1175bSopenharmony_ci
3038a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3039a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3040a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3041a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3042a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3043a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3044a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3045a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3046a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: CHACHA20_POLY1305_SHA256,secp256r1,ecdsa_secp256r1_sha256" \
3047a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3048a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
3049a8e1175bSopenharmony_ci         0 \
3050a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3051a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
3052a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
3053a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
3054a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3055a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3056a8e1175bSopenharmony_ci
3057a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3058a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3059a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3060a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3061a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3062a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3063a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3064a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3065a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: CHACHA20_POLY1305_SHA256,secp256r1,ecdsa_secp384r1_sha384" \
3066a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3067a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
3068a8e1175bSopenharmony_ci         0 \
3069a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3070a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
3071a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
3072a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
3073a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3074a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3075a8e1175bSopenharmony_ci
3076a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3077a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3078a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3079a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3080a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3081a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3082a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3083a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3084a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: CHACHA20_POLY1305_SHA256,secp256r1,ecdsa_secp521r1_sha512" \
3085a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3086a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
3087a8e1175bSopenharmony_ci         0 \
3088a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3089a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
3090a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
3091a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
3092a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3093a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3094a8e1175bSopenharmony_ci
3095a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3096a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3097a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3098a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3099a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
3100a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3101a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3102a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3103a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3104a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: CHACHA20_POLY1305_SHA256,secp256r1,rsa_pss_rsae_sha256" \
3105a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3106a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
3107a8e1175bSopenharmony_ci         0 \
3108a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3109a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
3110a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
3111a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
3112a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3113a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3114a8e1175bSopenharmony_ci
3115a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3116a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3117a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3118a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3119a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3120a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3121a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3122a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3123a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: CHACHA20_POLY1305_SHA256,secp384r1,ecdsa_secp256r1_sha256" \
3124a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3125a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
3126a8e1175bSopenharmony_ci         0 \
3127a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3128a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
3129a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
3130a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
3131a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3132a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3133a8e1175bSopenharmony_ci
3134a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3135a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3136a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3137a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3138a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3139a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3140a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3141a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3142a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: CHACHA20_POLY1305_SHA256,secp384r1,ecdsa_secp384r1_sha384" \
3143a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3144a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
3145a8e1175bSopenharmony_ci         0 \
3146a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3147a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
3148a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
3149a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
3150a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3151a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3152a8e1175bSopenharmony_ci
3153a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3154a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3155a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3156a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3157a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3158a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3159a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3160a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3161a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: CHACHA20_POLY1305_SHA256,secp384r1,ecdsa_secp521r1_sha512" \
3162a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3163a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
3164a8e1175bSopenharmony_ci         0 \
3165a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3166a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
3167a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
3168a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
3169a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3170a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3171a8e1175bSopenharmony_ci
3172a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3173a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3174a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3175a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3176a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
3177a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3178a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3179a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3180a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3181a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: CHACHA20_POLY1305_SHA256,secp384r1,rsa_pss_rsae_sha256" \
3182a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3183a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
3184a8e1175bSopenharmony_ci         0 \
3185a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3186a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
3187a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
3188a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
3189a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3190a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3191a8e1175bSopenharmony_ci
3192a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3193a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3194a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3195a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3196a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3197a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3198a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3199a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3200a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: CHACHA20_POLY1305_SHA256,secp521r1,ecdsa_secp256r1_sha256" \
3201a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3202a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
3203a8e1175bSopenharmony_ci         0 \
3204a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3205a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
3206a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
3207a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
3208a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3209a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3210a8e1175bSopenharmony_ci
3211a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3212a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3213a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3214a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3215a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3216a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3217a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3218a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3219a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: CHACHA20_POLY1305_SHA256,secp521r1,ecdsa_secp384r1_sha384" \
3220a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3221a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
3222a8e1175bSopenharmony_ci         0 \
3223a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3224a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
3225a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
3226a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
3227a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3228a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3229a8e1175bSopenharmony_ci
3230a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3231a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3232a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3233a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3234a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3235a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3236a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3237a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3238a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: CHACHA20_POLY1305_SHA256,secp521r1,ecdsa_secp521r1_sha512" \
3239a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3240a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
3241a8e1175bSopenharmony_ci         0 \
3242a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3243a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
3244a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
3245a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
3246a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3247a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3248a8e1175bSopenharmony_ci
3249a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3250a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3251a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3252a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3253a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
3254a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3255a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3256a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3257a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3258a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: CHACHA20_POLY1305_SHA256,secp521r1,rsa_pss_rsae_sha256" \
3259a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3260a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
3261a8e1175bSopenharmony_ci         0 \
3262a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3263a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
3264a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
3265a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
3266a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3267a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3268a8e1175bSopenharmony_ci
3269a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3270a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3271a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3272a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3273a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3274a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3275a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3276a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3277a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: CHACHA20_POLY1305_SHA256,x25519,ecdsa_secp256r1_sha256" \
3278a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3279a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
3280a8e1175bSopenharmony_ci         0 \
3281a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3282a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
3283a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
3284a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
3285a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3286a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3287a8e1175bSopenharmony_ci
3288a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3289a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3290a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3291a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3292a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3293a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3294a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3295a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3296a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: CHACHA20_POLY1305_SHA256,x25519,ecdsa_secp384r1_sha384" \
3297a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3298a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
3299a8e1175bSopenharmony_ci         0 \
3300a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3301a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
3302a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
3303a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
3304a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3305a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3306a8e1175bSopenharmony_ci
3307a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3308a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3309a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3310a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3311a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3312a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3313a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3314a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3315a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: CHACHA20_POLY1305_SHA256,x25519,ecdsa_secp521r1_sha512" \
3316a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3317a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
3318a8e1175bSopenharmony_ci         0 \
3319a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3320a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
3321a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
3322a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
3323a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3324a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3325a8e1175bSopenharmony_ci
3326a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3327a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3328a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3329a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3330a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
3331a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3332a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3333a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3334a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3335a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: CHACHA20_POLY1305_SHA256,x25519,rsa_pss_rsae_sha256" \
3336a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3337a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
3338a8e1175bSopenharmony_ci         0 \
3339a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3340a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
3341a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
3342a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
3343a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3344a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3345a8e1175bSopenharmony_ci
3346a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3347a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3348a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3349a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3350a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3351a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3352a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3353a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3354a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: CHACHA20_POLY1305_SHA256,x448,ecdsa_secp256r1_sha256" \
3355a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3356a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
3357a8e1175bSopenharmony_ci         0 \
3358a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3359a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
3360a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
3361a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
3362a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3363a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3364a8e1175bSopenharmony_ci
3365a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3366a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3367a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3368a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3369a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3370a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3371a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3372a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3373a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: CHACHA20_POLY1305_SHA256,x448,ecdsa_secp384r1_sha384" \
3374a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3375a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
3376a8e1175bSopenharmony_ci         0 \
3377a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3378a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
3379a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
3380a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
3381a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3382a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3383a8e1175bSopenharmony_ci
3384a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3385a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3386a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3387a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3388a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3389a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3390a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3391a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3392a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: CHACHA20_POLY1305_SHA256,x448,ecdsa_secp521r1_sha512" \
3393a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3394a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
3395a8e1175bSopenharmony_ci         0 \
3396a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3397a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
3398a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
3399a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
3400a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3401a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3402a8e1175bSopenharmony_ci
3403a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3404a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3405a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3406a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3407a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
3408a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3409a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3410a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3411a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3412a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: CHACHA20_POLY1305_SHA256,x448,rsa_pss_rsae_sha256" \
3413a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3414a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
3415a8e1175bSopenharmony_ci         0 \
3416a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3417a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
3418a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
3419a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
3420a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3421a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3422a8e1175bSopenharmony_ci
3423a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3424a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3425a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3426a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3427a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
3428a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
3429a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3430a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3431a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3432a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: CHACHA20_POLY1305_SHA256,ffdhe2048,ecdsa_secp256r1_sha256" \
3433a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3434a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
3435a8e1175bSopenharmony_ci         0 \
3436a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3437a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
3438a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
3439a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
3440a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3441a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3442a8e1175bSopenharmony_ci
3443a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3444a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3445a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3446a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3447a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
3448a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
3449a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3450a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3451a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3452a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: CHACHA20_POLY1305_SHA256,ffdhe2048,ecdsa_secp384r1_sha384" \
3453a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3454a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
3455a8e1175bSopenharmony_ci         0 \
3456a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3457a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
3458a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
3459a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
3460a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3461a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3462a8e1175bSopenharmony_ci
3463a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3464a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3465a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3466a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3467a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
3468a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
3469a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3470a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3471a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3472a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: CHACHA20_POLY1305_SHA256,ffdhe2048,ecdsa_secp521r1_sha512" \
3473a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3474a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
3475a8e1175bSopenharmony_ci         0 \
3476a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3477a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
3478a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
3479a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
3480a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3481a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3482a8e1175bSopenharmony_ci
3483a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3484a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3485a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3486a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3487a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
3488a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
3489a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
3490a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3491a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3492a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3493a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: CHACHA20_POLY1305_SHA256,ffdhe2048,rsa_pss_rsae_sha256" \
3494a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3495a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
3496a8e1175bSopenharmony_ci         0 \
3497a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3498a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
3499a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
3500a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
3501a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3502a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3503a8e1175bSopenharmony_ci
3504a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3505a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3506a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3507a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3508a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3509a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3510a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3511a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3512a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_SHA256,secp256r1,ecdsa_secp256r1_sha256" \
3513a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3514a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
3515a8e1175bSopenharmony_ci         0 \
3516a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3517a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
3518a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
3519a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
3520a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3521a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3522a8e1175bSopenharmony_ci
3523a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3524a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3525a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3526a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3527a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3528a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3529a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3530a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3531a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_SHA256,secp256r1,ecdsa_secp384r1_sha384" \
3532a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3533a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
3534a8e1175bSopenharmony_ci         0 \
3535a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3536a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
3537a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
3538a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
3539a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3540a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3541a8e1175bSopenharmony_ci
3542a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3543a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3544a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3545a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3546a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3547a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3548a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3549a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3550a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_SHA256,secp256r1,ecdsa_secp521r1_sha512" \
3551a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3552a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
3553a8e1175bSopenharmony_ci         0 \
3554a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3555a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
3556a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
3557a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
3558a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3559a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3560a8e1175bSopenharmony_ci
3561a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3562a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3563a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3564a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3565a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
3566a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3567a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3568a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3569a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3570a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_SHA256,secp256r1,rsa_pss_rsae_sha256" \
3571a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3572a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
3573a8e1175bSopenharmony_ci         0 \
3574a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3575a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
3576a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
3577a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
3578a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3579a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3580a8e1175bSopenharmony_ci
3581a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3582a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3583a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3584a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3585a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3586a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3587a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3588a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3589a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_SHA256,secp384r1,ecdsa_secp256r1_sha256" \
3590a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3591a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
3592a8e1175bSopenharmony_ci         0 \
3593a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3594a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
3595a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
3596a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
3597a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3598a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3599a8e1175bSopenharmony_ci
3600a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3601a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3602a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3603a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3604a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3605a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3606a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3607a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3608a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_SHA256,secp384r1,ecdsa_secp384r1_sha384" \
3609a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3610a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
3611a8e1175bSopenharmony_ci         0 \
3612a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3613a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
3614a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
3615a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
3616a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3617a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3618a8e1175bSopenharmony_ci
3619a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3620a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3621a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3622a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3623a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3624a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3625a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3626a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3627a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_SHA256,secp384r1,ecdsa_secp521r1_sha512" \
3628a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3629a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
3630a8e1175bSopenharmony_ci         0 \
3631a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3632a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
3633a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
3634a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
3635a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3636a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3637a8e1175bSopenharmony_ci
3638a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3639a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3640a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3641a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3642a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
3643a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3644a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3645a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3646a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3647a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_SHA256,secp384r1,rsa_pss_rsae_sha256" \
3648a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3649a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
3650a8e1175bSopenharmony_ci         0 \
3651a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3652a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
3653a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
3654a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
3655a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3656a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3657a8e1175bSopenharmony_ci
3658a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3659a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3660a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3661a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3662a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3663a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3664a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3665a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3666a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_SHA256,secp521r1,ecdsa_secp256r1_sha256" \
3667a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3668a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
3669a8e1175bSopenharmony_ci         0 \
3670a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3671a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
3672a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
3673a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
3674a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3675a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3676a8e1175bSopenharmony_ci
3677a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3678a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3679a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3680a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3681a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3682a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3683a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3684a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3685a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_SHA256,secp521r1,ecdsa_secp384r1_sha384" \
3686a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3687a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
3688a8e1175bSopenharmony_ci         0 \
3689a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3690a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
3691a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
3692a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
3693a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3694a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3695a8e1175bSopenharmony_ci
3696a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3697a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3698a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3699a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3700a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3701a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3702a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3703a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3704a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_SHA256,secp521r1,ecdsa_secp521r1_sha512" \
3705a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3706a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
3707a8e1175bSopenharmony_ci         0 \
3708a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3709a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
3710a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
3711a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
3712a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3713a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3714a8e1175bSopenharmony_ci
3715a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3716a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3717a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3718a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3719a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
3720a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3721a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3722a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3723a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3724a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_SHA256,secp521r1,rsa_pss_rsae_sha256" \
3725a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3726a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
3727a8e1175bSopenharmony_ci         0 \
3728a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3729a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
3730a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
3731a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
3732a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3733a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3734a8e1175bSopenharmony_ci
3735a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3736a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3737a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3738a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3739a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3740a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3741a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3742a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3743a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_SHA256,x25519,ecdsa_secp256r1_sha256" \
3744a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3745a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
3746a8e1175bSopenharmony_ci         0 \
3747a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3748a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
3749a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
3750a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
3751a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3752a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3753a8e1175bSopenharmony_ci
3754a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3755a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3756a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3757a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3758a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3759a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3760a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3761a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3762a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_SHA256,x25519,ecdsa_secp384r1_sha384" \
3763a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3764a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
3765a8e1175bSopenharmony_ci         0 \
3766a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3767a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
3768a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
3769a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
3770a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3771a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3772a8e1175bSopenharmony_ci
3773a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3774a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3775a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3776a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3777a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3778a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3779a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3780a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3781a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_SHA256,x25519,ecdsa_secp521r1_sha512" \
3782a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3783a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
3784a8e1175bSopenharmony_ci         0 \
3785a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3786a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
3787a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
3788a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
3789a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3790a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3791a8e1175bSopenharmony_ci
3792a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3793a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3794a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3795a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3796a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
3797a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3798a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3799a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3800a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3801a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_SHA256,x25519,rsa_pss_rsae_sha256" \
3802a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3803a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
3804a8e1175bSopenharmony_ci         0 \
3805a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3806a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
3807a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
3808a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
3809a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3810a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3811a8e1175bSopenharmony_ci
3812a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3813a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3814a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3815a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3816a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3817a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3818a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3819a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3820a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_SHA256,x448,ecdsa_secp256r1_sha256" \
3821a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3822a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
3823a8e1175bSopenharmony_ci         0 \
3824a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3825a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
3826a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
3827a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
3828a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3829a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3830a8e1175bSopenharmony_ci
3831a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3832a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3833a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3834a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3835a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3836a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3837a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3838a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3839a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_SHA256,x448,ecdsa_secp384r1_sha384" \
3840a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3841a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
3842a8e1175bSopenharmony_ci         0 \
3843a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3844a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
3845a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
3846a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
3847a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3848a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3849a8e1175bSopenharmony_ci
3850a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3851a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3852a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3853a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3854a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3855a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3856a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3857a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3858a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_SHA256,x448,ecdsa_secp521r1_sha512" \
3859a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3860a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
3861a8e1175bSopenharmony_ci         0 \
3862a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3863a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
3864a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
3865a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
3866a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3867a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3868a8e1175bSopenharmony_ci
3869a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3870a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3871a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3872a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3873a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
3874a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3875a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3876a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3877a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3878a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_SHA256,x448,rsa_pss_rsae_sha256" \
3879a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3880a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
3881a8e1175bSopenharmony_ci         0 \
3882a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3883a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
3884a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
3885a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
3886a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3887a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3888a8e1175bSopenharmony_ci
3889a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3890a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3891a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3892a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3893a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
3894a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
3895a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3896a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3897a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3898a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_SHA256,ffdhe2048,ecdsa_secp256r1_sha256" \
3899a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3900a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
3901a8e1175bSopenharmony_ci         0 \
3902a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3903a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
3904a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
3905a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
3906a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3907a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3908a8e1175bSopenharmony_ci
3909a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3910a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3911a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3912a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3913a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
3914a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
3915a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3916a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3917a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3918a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_SHA256,ffdhe2048,ecdsa_secp384r1_sha384" \
3919a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3920a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
3921a8e1175bSopenharmony_ci         0 \
3922a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3923a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
3924a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
3925a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
3926a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3927a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3928a8e1175bSopenharmony_ci
3929a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3930a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3931a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3932a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3933a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
3934a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
3935a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3936a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3937a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3938a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_SHA256,ffdhe2048,ecdsa_secp521r1_sha512" \
3939a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3940a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
3941a8e1175bSopenharmony_ci         0 \
3942a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3943a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
3944a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
3945a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
3946a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3947a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3948a8e1175bSopenharmony_ci
3949a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3950a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3951a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3952a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3953a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
3954a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
3955a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
3956a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3957a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3958a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3959a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_SHA256,ffdhe2048,rsa_pss_rsae_sha256" \
3960a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3961a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
3962a8e1175bSopenharmony_ci         0 \
3963a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3964a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
3965a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
3966a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
3967a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3968a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3969a8e1175bSopenharmony_ci
3970a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3971a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3972a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3973a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3974a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3975a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3976a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3977a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3978a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_8_SHA256,secp256r1,ecdsa_secp256r1_sha256" \
3979a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3980a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
3981a8e1175bSopenharmony_ci         0 \
3982a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
3983a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
3984a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
3985a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
3986a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
3987a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
3988a8e1175bSopenharmony_ci
3989a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
3990a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
3991a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
3992a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
3993a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
3994a8e1175bSopenharmony_cirequires_gnutls_tls1_3
3995a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
3996a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
3997a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_8_SHA256,secp256r1,ecdsa_secp384r1_sha384" \
3998a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
3999a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
4000a8e1175bSopenharmony_ci         0 \
4001a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
4002a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
4003a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
4004a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
4005a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
4006a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4007a8e1175bSopenharmony_ci
4008a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
4009a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4010a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4011a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4012a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4013a8e1175bSopenharmony_cirequires_gnutls_tls1_3
4014a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
4015a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
4016a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_8_SHA256,secp256r1,ecdsa_secp521r1_sha512" \
4017a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
4018a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
4019a8e1175bSopenharmony_ci         0 \
4020a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
4021a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
4022a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
4023a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
4024a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
4025a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4026a8e1175bSopenharmony_ci
4027a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
4028a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4029a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4030a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4031a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
4032a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4033a8e1175bSopenharmony_cirequires_gnutls_tls1_3
4034a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
4035a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
4036a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_8_SHA256,secp256r1,rsa_pss_rsae_sha256" \
4037a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
4038a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
4039a8e1175bSopenharmony_ci         0 \
4040a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
4041a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
4042a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
4043a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
4044a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
4045a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4046a8e1175bSopenharmony_ci
4047a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
4048a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4049a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4050a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4051a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4052a8e1175bSopenharmony_cirequires_gnutls_tls1_3
4053a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
4054a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
4055a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_8_SHA256,secp384r1,ecdsa_secp256r1_sha256" \
4056a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
4057a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
4058a8e1175bSopenharmony_ci         0 \
4059a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
4060a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
4061a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
4062a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
4063a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
4064a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4065a8e1175bSopenharmony_ci
4066a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
4067a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4068a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4069a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4070a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4071a8e1175bSopenharmony_cirequires_gnutls_tls1_3
4072a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
4073a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
4074a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_8_SHA256,secp384r1,ecdsa_secp384r1_sha384" \
4075a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
4076a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
4077a8e1175bSopenharmony_ci         0 \
4078a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
4079a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
4080a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
4081a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
4082a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
4083a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4084a8e1175bSopenharmony_ci
4085a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
4086a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4087a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4088a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4089a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4090a8e1175bSopenharmony_cirequires_gnutls_tls1_3
4091a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
4092a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
4093a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_8_SHA256,secp384r1,ecdsa_secp521r1_sha512" \
4094a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
4095a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
4096a8e1175bSopenharmony_ci         0 \
4097a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
4098a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
4099a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
4100a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
4101a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
4102a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4103a8e1175bSopenharmony_ci
4104a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
4105a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4106a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4107a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4108a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
4109a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4110a8e1175bSopenharmony_cirequires_gnutls_tls1_3
4111a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
4112a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
4113a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_8_SHA256,secp384r1,rsa_pss_rsae_sha256" \
4114a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
4115a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
4116a8e1175bSopenharmony_ci         0 \
4117a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
4118a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
4119a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
4120a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
4121a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
4122a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4123a8e1175bSopenharmony_ci
4124a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
4125a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4126a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4127a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4128a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4129a8e1175bSopenharmony_cirequires_gnutls_tls1_3
4130a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
4131a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
4132a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_8_SHA256,secp521r1,ecdsa_secp256r1_sha256" \
4133a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
4134a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
4135a8e1175bSopenharmony_ci         0 \
4136a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
4137a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
4138a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
4139a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
4140a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
4141a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4142a8e1175bSopenharmony_ci
4143a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
4144a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4145a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4146a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4147a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4148a8e1175bSopenharmony_cirequires_gnutls_tls1_3
4149a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
4150a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
4151a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_8_SHA256,secp521r1,ecdsa_secp384r1_sha384" \
4152a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
4153a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
4154a8e1175bSopenharmony_ci         0 \
4155a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
4156a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
4157a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
4158a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
4159a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
4160a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4161a8e1175bSopenharmony_ci
4162a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
4163a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4164a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4165a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4166a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4167a8e1175bSopenharmony_cirequires_gnutls_tls1_3
4168a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
4169a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
4170a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_8_SHA256,secp521r1,ecdsa_secp521r1_sha512" \
4171a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
4172a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
4173a8e1175bSopenharmony_ci         0 \
4174a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
4175a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
4176a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
4177a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
4178a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
4179a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4180a8e1175bSopenharmony_ci
4181a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
4182a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4183a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4184a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4185a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
4186a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4187a8e1175bSopenharmony_cirequires_gnutls_tls1_3
4188a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
4189a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
4190a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_8_SHA256,secp521r1,rsa_pss_rsae_sha256" \
4191a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
4192a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
4193a8e1175bSopenharmony_ci         0 \
4194a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
4195a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
4196a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
4197a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
4198a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
4199a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4200a8e1175bSopenharmony_ci
4201a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
4202a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4203a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4204a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4205a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4206a8e1175bSopenharmony_cirequires_gnutls_tls1_3
4207a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
4208a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
4209a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_8_SHA256,x25519,ecdsa_secp256r1_sha256" \
4210a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
4211a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
4212a8e1175bSopenharmony_ci         0 \
4213a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
4214a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
4215a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
4216a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
4217a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
4218a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4219a8e1175bSopenharmony_ci
4220a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
4221a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4222a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4223a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4224a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4225a8e1175bSopenharmony_cirequires_gnutls_tls1_3
4226a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
4227a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
4228a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_8_SHA256,x25519,ecdsa_secp384r1_sha384" \
4229a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
4230a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
4231a8e1175bSopenharmony_ci         0 \
4232a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
4233a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
4234a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
4235a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
4236a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
4237a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4238a8e1175bSopenharmony_ci
4239a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
4240a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4241a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4242a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4243a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4244a8e1175bSopenharmony_cirequires_gnutls_tls1_3
4245a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
4246a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
4247a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_8_SHA256,x25519,ecdsa_secp521r1_sha512" \
4248a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
4249a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
4250a8e1175bSopenharmony_ci         0 \
4251a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
4252a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
4253a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
4254a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
4255a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
4256a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4257a8e1175bSopenharmony_ci
4258a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
4259a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4260a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4261a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4262a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
4263a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4264a8e1175bSopenharmony_cirequires_gnutls_tls1_3
4265a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
4266a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
4267a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_8_SHA256,x25519,rsa_pss_rsae_sha256" \
4268a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
4269a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
4270a8e1175bSopenharmony_ci         0 \
4271a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
4272a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
4273a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
4274a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
4275a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
4276a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4277a8e1175bSopenharmony_ci
4278a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
4279a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4280a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4281a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4282a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4283a8e1175bSopenharmony_cirequires_gnutls_tls1_3
4284a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
4285a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
4286a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_8_SHA256,x448,ecdsa_secp256r1_sha256" \
4287a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
4288a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
4289a8e1175bSopenharmony_ci         0 \
4290a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
4291a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
4292a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
4293a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
4294a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
4295a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4296a8e1175bSopenharmony_ci
4297a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
4298a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4299a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4300a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4301a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4302a8e1175bSopenharmony_cirequires_gnutls_tls1_3
4303a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
4304a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
4305a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_8_SHA256,x448,ecdsa_secp384r1_sha384" \
4306a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
4307a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
4308a8e1175bSopenharmony_ci         0 \
4309a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
4310a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
4311a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
4312a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
4313a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
4314a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4315a8e1175bSopenharmony_ci
4316a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
4317a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4318a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4319a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4320a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4321a8e1175bSopenharmony_cirequires_gnutls_tls1_3
4322a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
4323a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
4324a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_8_SHA256,x448,ecdsa_secp521r1_sha512" \
4325a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
4326a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
4327a8e1175bSopenharmony_ci         0 \
4328a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
4329a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
4330a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
4331a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
4332a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
4333a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4334a8e1175bSopenharmony_ci
4335a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
4336a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4337a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4338a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4339a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
4340a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4341a8e1175bSopenharmony_cirequires_gnutls_tls1_3
4342a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
4343a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
4344a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_8_SHA256,x448,rsa_pss_rsae_sha256" \
4345a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
4346a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
4347a8e1175bSopenharmony_ci         0 \
4348a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
4349a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
4350a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
4351a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
4352a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
4353a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4354a8e1175bSopenharmony_ci
4355a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
4356a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4357a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4358a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4359a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
4360a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
4361a8e1175bSopenharmony_cirequires_gnutls_tls1_3
4362a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
4363a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
4364a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_8_SHA256,ffdhe2048,ecdsa_secp256r1_sha256" \
4365a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
4366a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
4367a8e1175bSopenharmony_ci         0 \
4368a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
4369a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
4370a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
4371a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
4372a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
4373a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4374a8e1175bSopenharmony_ci
4375a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
4376a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4377a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4378a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4379a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
4380a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
4381a8e1175bSopenharmony_cirequires_gnutls_tls1_3
4382a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
4383a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
4384a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_8_SHA256,ffdhe2048,ecdsa_secp384r1_sha384" \
4385a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
4386a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
4387a8e1175bSopenharmony_ci         0 \
4388a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
4389a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
4390a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
4391a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
4392a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
4393a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4394a8e1175bSopenharmony_ci
4395a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
4396a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4397a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4398a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4399a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
4400a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
4401a8e1175bSopenharmony_cirequires_gnutls_tls1_3
4402a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
4403a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
4404a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_8_SHA256,ffdhe2048,ecdsa_secp521r1_sha512" \
4405a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
4406a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
4407a8e1175bSopenharmony_ci         0 \
4408a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
4409a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
4410a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
4411a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
4412a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
4413a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4414a8e1175bSopenharmony_ci
4415a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
4416a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4417a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4418a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4419a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
4420a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
4421a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
4422a8e1175bSopenharmony_cirequires_gnutls_tls1_3
4423a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
4424a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
4425a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: AES_128_CCM_8_SHA256,ffdhe2048,rsa_pss_rsae_sha256" \
4426a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
4427a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca_cat12.crt --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
4428a8e1175bSopenharmony_ci         0 \
4429a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
4430a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
4431a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
4432a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
4433a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
4434a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4435a8e1175bSopenharmony_ci
4436a8e1175bSopenharmony_cirequires_openssl_tls1_3
4437a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4438a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4439a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4440a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4441a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4442a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_GCM_SHA256,secp256r1,ecdsa_secp256r1_sha256" \
4443a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups P-256 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4444a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1" \
4445a8e1175bSopenharmony_ci         0 \
4446a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4447a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4448a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
4449a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
4450a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
4451a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4452a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4453a8e1175bSopenharmony_ci
4454a8e1175bSopenharmony_cirequires_openssl_tls1_3
4455a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4456a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4457a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4458a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4459a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4460a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_GCM_SHA256,secp256r1,ecdsa_secp384r1_sha384" \
4461a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups P-256 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4462a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1" \
4463a8e1175bSopenharmony_ci         0 \
4464a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4465a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4466a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
4467a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
4468a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
4469a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4470a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4471a8e1175bSopenharmony_ci
4472a8e1175bSopenharmony_cirequires_openssl_tls1_3
4473a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4474a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4475a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4476a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4477a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4478a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_GCM_SHA256,secp256r1,ecdsa_secp521r1_sha512" \
4479a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups P-256 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4480a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1" \
4481a8e1175bSopenharmony_ci         0 \
4482a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4483a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4484a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
4485a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
4486a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
4487a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4488a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4489a8e1175bSopenharmony_ci
4490a8e1175bSopenharmony_cirequires_openssl_tls1_3
4491a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4492a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4493a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4494a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4495a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
4496a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4497a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_GCM_SHA256,secp256r1,rsa_pss_rsae_sha256" \
4498a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups P-256 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4499a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1" \
4500a8e1175bSopenharmony_ci         0 \
4501a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4502a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4503a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
4504a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
4505a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
4506a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4507a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4508a8e1175bSopenharmony_ci
4509a8e1175bSopenharmony_cirequires_openssl_tls1_3
4510a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4511a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4512a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4513a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4514a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4515a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_GCM_SHA256,secp384r1,ecdsa_secp256r1_sha256" \
4516a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups P-384 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4517a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1" \
4518a8e1175bSopenharmony_ci         0 \
4519a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4520a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4521a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
4522a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
4523a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
4524a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4525a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4526a8e1175bSopenharmony_ci
4527a8e1175bSopenharmony_cirequires_openssl_tls1_3
4528a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4529a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4530a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4531a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4532a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4533a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_GCM_SHA256,secp384r1,ecdsa_secp384r1_sha384" \
4534a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups P-384 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4535a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1" \
4536a8e1175bSopenharmony_ci         0 \
4537a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4538a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4539a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
4540a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
4541a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
4542a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4543a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4544a8e1175bSopenharmony_ci
4545a8e1175bSopenharmony_cirequires_openssl_tls1_3
4546a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4547a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4548a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4549a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4550a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4551a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_GCM_SHA256,secp384r1,ecdsa_secp521r1_sha512" \
4552a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups P-384 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4553a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1" \
4554a8e1175bSopenharmony_ci         0 \
4555a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4556a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4557a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
4558a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
4559a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
4560a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4561a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4562a8e1175bSopenharmony_ci
4563a8e1175bSopenharmony_cirequires_openssl_tls1_3
4564a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4565a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4566a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4567a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4568a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
4569a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4570a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_GCM_SHA256,secp384r1,rsa_pss_rsae_sha256" \
4571a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups P-384 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4572a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1" \
4573a8e1175bSopenharmony_ci         0 \
4574a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4575a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4576a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
4577a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
4578a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
4579a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4580a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4581a8e1175bSopenharmony_ci
4582a8e1175bSopenharmony_cirequires_openssl_tls1_3
4583a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4584a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4585a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4586a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4587a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4588a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_GCM_SHA256,secp521r1,ecdsa_secp256r1_sha256" \
4589a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups P-521 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4590a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1" \
4591a8e1175bSopenharmony_ci         0 \
4592a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4593a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4594a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
4595a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
4596a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
4597a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4598a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4599a8e1175bSopenharmony_ci
4600a8e1175bSopenharmony_cirequires_openssl_tls1_3
4601a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4602a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4603a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4604a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4605a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4606a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_GCM_SHA256,secp521r1,ecdsa_secp384r1_sha384" \
4607a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups P-521 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4608a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1" \
4609a8e1175bSopenharmony_ci         0 \
4610a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4611a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4612a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
4613a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
4614a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
4615a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4616a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4617a8e1175bSopenharmony_ci
4618a8e1175bSopenharmony_cirequires_openssl_tls1_3
4619a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4620a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4621a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4622a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4623a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4624a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_GCM_SHA256,secp521r1,ecdsa_secp521r1_sha512" \
4625a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups P-521 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4626a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1" \
4627a8e1175bSopenharmony_ci         0 \
4628a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4629a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4630a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
4631a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
4632a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
4633a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4634a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4635a8e1175bSopenharmony_ci
4636a8e1175bSopenharmony_cirequires_openssl_tls1_3
4637a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4638a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4639a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4640a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4641a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
4642a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4643a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_GCM_SHA256,secp521r1,rsa_pss_rsae_sha256" \
4644a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups P-521 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4645a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1" \
4646a8e1175bSopenharmony_ci         0 \
4647a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4648a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4649a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
4650a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
4651a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
4652a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4653a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4654a8e1175bSopenharmony_ci
4655a8e1175bSopenharmony_cirequires_openssl_tls1_3
4656a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4657a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4658a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4659a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4660a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4661a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_GCM_SHA256,x25519,ecdsa_secp256r1_sha256" \
4662a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups X25519 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4663a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x25519" \
4664a8e1175bSopenharmony_ci         0 \
4665a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4666a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4667a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
4668a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
4669a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
4670a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4671a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4672a8e1175bSopenharmony_ci
4673a8e1175bSopenharmony_cirequires_openssl_tls1_3
4674a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4675a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4676a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4677a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4678a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4679a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_GCM_SHA256,x25519,ecdsa_secp384r1_sha384" \
4680a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups X25519 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4681a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x25519" \
4682a8e1175bSopenharmony_ci         0 \
4683a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4684a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4685a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
4686a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
4687a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
4688a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4689a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4690a8e1175bSopenharmony_ci
4691a8e1175bSopenharmony_cirequires_openssl_tls1_3
4692a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4693a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4694a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4695a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4696a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4697a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_GCM_SHA256,x25519,ecdsa_secp521r1_sha512" \
4698a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups X25519 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4699a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x25519" \
4700a8e1175bSopenharmony_ci         0 \
4701a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4702a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4703a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
4704a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
4705a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
4706a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4707a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4708a8e1175bSopenharmony_ci
4709a8e1175bSopenharmony_cirequires_openssl_tls1_3
4710a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4711a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4712a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4713a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4714a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
4715a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4716a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_GCM_SHA256,x25519,rsa_pss_rsae_sha256" \
4717a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups X25519 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4718a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x25519" \
4719a8e1175bSopenharmony_ci         0 \
4720a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4721a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4722a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
4723a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
4724a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
4725a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4726a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4727a8e1175bSopenharmony_ci
4728a8e1175bSopenharmony_cirequires_openssl_tls1_3
4729a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4730a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4731a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4732a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4733a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4734a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_GCM_SHA256,x448,ecdsa_secp256r1_sha256" \
4735a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups X448 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4736a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x448" \
4737a8e1175bSopenharmony_ci         0 \
4738a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4739a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4740a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
4741a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
4742a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
4743a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4744a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4745a8e1175bSopenharmony_ci
4746a8e1175bSopenharmony_cirequires_openssl_tls1_3
4747a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4748a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4749a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4750a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4751a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4752a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_GCM_SHA256,x448,ecdsa_secp384r1_sha384" \
4753a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups X448 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4754a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x448" \
4755a8e1175bSopenharmony_ci         0 \
4756a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4757a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4758a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
4759a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
4760a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
4761a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4762a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4763a8e1175bSopenharmony_ci
4764a8e1175bSopenharmony_cirequires_openssl_tls1_3
4765a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4766a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4767a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4768a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4769a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4770a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_GCM_SHA256,x448,ecdsa_secp521r1_sha512" \
4771a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups X448 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4772a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x448" \
4773a8e1175bSopenharmony_ci         0 \
4774a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4775a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4776a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
4777a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
4778a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
4779a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4780a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4781a8e1175bSopenharmony_ci
4782a8e1175bSopenharmony_cirequires_openssl_tls1_3
4783a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4784a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4785a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4786a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4787a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
4788a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4789a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_GCM_SHA256,x448,rsa_pss_rsae_sha256" \
4790a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups X448 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4791a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x448" \
4792a8e1175bSopenharmony_ci         0 \
4793a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4794a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4795a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
4796a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
4797a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
4798a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4799a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4800a8e1175bSopenharmony_ci
4801a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
4802a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4803a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4804a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4805a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4806a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
4807a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
4808a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_GCM_SHA256,ffdhe2048,ecdsa_secp256r1_sha256" \
4809a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups ffdhe2048 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4810a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048" \
4811a8e1175bSopenharmony_ci         0 \
4812a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4813a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4814a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
4815a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
4816a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
4817a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4818a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4819a8e1175bSopenharmony_ci
4820a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
4821a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4822a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4823a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4824a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4825a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
4826a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
4827a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_GCM_SHA256,ffdhe2048,ecdsa_secp384r1_sha384" \
4828a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups ffdhe2048 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4829a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048" \
4830a8e1175bSopenharmony_ci         0 \
4831a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4832a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4833a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
4834a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
4835a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
4836a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4837a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4838a8e1175bSopenharmony_ci
4839a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
4840a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4841a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4842a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4843a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4844a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
4845a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
4846a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_GCM_SHA256,ffdhe2048,ecdsa_secp521r1_sha512" \
4847a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups ffdhe2048 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4848a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048" \
4849a8e1175bSopenharmony_ci         0 \
4850a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4851a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4852a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
4853a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
4854a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
4855a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4856a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4857a8e1175bSopenharmony_ci
4858a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
4859a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4860a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4861a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4862a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4863a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
4864a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
4865a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
4866a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_GCM_SHA256,ffdhe2048,rsa_pss_rsae_sha256" \
4867a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups ffdhe2048 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4868a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048" \
4869a8e1175bSopenharmony_ci         0 \
4870a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4871a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4872a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
4873a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
4874a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
4875a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4876a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4877a8e1175bSopenharmony_ci
4878a8e1175bSopenharmony_cirequires_openssl_tls1_3
4879a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4880a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4881a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4882a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4883a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4884a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_256_GCM_SHA384,secp256r1,ecdsa_secp256r1_sha256" \
4885a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp256r1_sha256 -groups P-256 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4886a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1" \
4887a8e1175bSopenharmony_ci         0 \
4888a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4889a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4890a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
4891a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
4892a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
4893a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4894a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4895a8e1175bSopenharmony_ci
4896a8e1175bSopenharmony_cirequires_openssl_tls1_3
4897a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4898a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4899a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4900a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4901a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4902a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_256_GCM_SHA384,secp256r1,ecdsa_secp384r1_sha384" \
4903a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp384r1_sha384 -groups P-256 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4904a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1" \
4905a8e1175bSopenharmony_ci         0 \
4906a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4907a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4908a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
4909a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
4910a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
4911a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4912a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4913a8e1175bSopenharmony_ci
4914a8e1175bSopenharmony_cirequires_openssl_tls1_3
4915a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4916a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4917a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4918a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4919a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4920a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_256_GCM_SHA384,secp256r1,ecdsa_secp521r1_sha512" \
4921a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp521r1_sha512 -groups P-256 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4922a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1" \
4923a8e1175bSopenharmony_ci         0 \
4924a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4925a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4926a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
4927a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
4928a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
4929a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4930a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4931a8e1175bSopenharmony_ci
4932a8e1175bSopenharmony_cirequires_openssl_tls1_3
4933a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4934a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4935a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4936a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4937a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
4938a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4939a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_256_GCM_SHA384,secp256r1,rsa_pss_rsae_sha256" \
4940a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs rsa_pss_rsae_sha256 -groups P-256 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4941a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1" \
4942a8e1175bSopenharmony_ci         0 \
4943a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4944a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4945a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
4946a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
4947a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
4948a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4949a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4950a8e1175bSopenharmony_ci
4951a8e1175bSopenharmony_cirequires_openssl_tls1_3
4952a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4953a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4954a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4955a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4956a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4957a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_256_GCM_SHA384,secp384r1,ecdsa_secp256r1_sha256" \
4958a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp256r1_sha256 -groups P-384 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4959a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1" \
4960a8e1175bSopenharmony_ci         0 \
4961a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4962a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4963a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
4964a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
4965a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
4966a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4967a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4968a8e1175bSopenharmony_ci
4969a8e1175bSopenharmony_cirequires_openssl_tls1_3
4970a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4971a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4972a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4973a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4974a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4975a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_256_GCM_SHA384,secp384r1,ecdsa_secp384r1_sha384" \
4976a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp384r1_sha384 -groups P-384 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4977a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1" \
4978a8e1175bSopenharmony_ci         0 \
4979a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4980a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4981a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
4982a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
4983a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
4984a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
4985a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
4986a8e1175bSopenharmony_ci
4987a8e1175bSopenharmony_cirequires_openssl_tls1_3
4988a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
4989a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
4990a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
4991a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
4992a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
4993a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_256_GCM_SHA384,secp384r1,ecdsa_secp521r1_sha512" \
4994a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp521r1_sha512 -groups P-384 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
4995a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1" \
4996a8e1175bSopenharmony_ci         0 \
4997a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
4998a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
4999a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
5000a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
5001a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
5002a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5003a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5004a8e1175bSopenharmony_ci
5005a8e1175bSopenharmony_cirequires_openssl_tls1_3
5006a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5007a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5008a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5009a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5010a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
5011a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5012a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_256_GCM_SHA384,secp384r1,rsa_pss_rsae_sha256" \
5013a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs rsa_pss_rsae_sha256 -groups P-384 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5014a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1" \
5015a8e1175bSopenharmony_ci         0 \
5016a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5017a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5018a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
5019a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
5020a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
5021a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5022a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5023a8e1175bSopenharmony_ci
5024a8e1175bSopenharmony_cirequires_openssl_tls1_3
5025a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5026a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5027a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5028a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5029a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5030a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_256_GCM_SHA384,secp521r1,ecdsa_secp256r1_sha256" \
5031a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp256r1_sha256 -groups P-521 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5032a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1" \
5033a8e1175bSopenharmony_ci         0 \
5034a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5035a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5036a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
5037a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
5038a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
5039a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5040a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5041a8e1175bSopenharmony_ci
5042a8e1175bSopenharmony_cirequires_openssl_tls1_3
5043a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5044a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5045a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5046a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5047a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5048a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_256_GCM_SHA384,secp521r1,ecdsa_secp384r1_sha384" \
5049a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp384r1_sha384 -groups P-521 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5050a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1" \
5051a8e1175bSopenharmony_ci         0 \
5052a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5053a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5054a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
5055a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
5056a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
5057a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5058a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5059a8e1175bSopenharmony_ci
5060a8e1175bSopenharmony_cirequires_openssl_tls1_3
5061a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5062a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5063a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5064a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5065a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5066a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_256_GCM_SHA384,secp521r1,ecdsa_secp521r1_sha512" \
5067a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp521r1_sha512 -groups P-521 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5068a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1" \
5069a8e1175bSopenharmony_ci         0 \
5070a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5071a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5072a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
5073a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
5074a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
5075a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5076a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5077a8e1175bSopenharmony_ci
5078a8e1175bSopenharmony_cirequires_openssl_tls1_3
5079a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5080a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5081a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5082a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5083a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
5084a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5085a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_256_GCM_SHA384,secp521r1,rsa_pss_rsae_sha256" \
5086a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs rsa_pss_rsae_sha256 -groups P-521 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5087a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1" \
5088a8e1175bSopenharmony_ci         0 \
5089a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5090a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5091a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
5092a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
5093a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
5094a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5095a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5096a8e1175bSopenharmony_ci
5097a8e1175bSopenharmony_cirequires_openssl_tls1_3
5098a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5099a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5100a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5101a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5102a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5103a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_256_GCM_SHA384,x25519,ecdsa_secp256r1_sha256" \
5104a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp256r1_sha256 -groups X25519 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5105a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=x25519" \
5106a8e1175bSopenharmony_ci         0 \
5107a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5108a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5109a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
5110a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
5111a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
5112a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5113a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5114a8e1175bSopenharmony_ci
5115a8e1175bSopenharmony_cirequires_openssl_tls1_3
5116a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5117a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5118a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5119a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5120a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5121a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_256_GCM_SHA384,x25519,ecdsa_secp384r1_sha384" \
5122a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp384r1_sha384 -groups X25519 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5123a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=x25519" \
5124a8e1175bSopenharmony_ci         0 \
5125a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5126a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5127a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
5128a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
5129a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
5130a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5131a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5132a8e1175bSopenharmony_ci
5133a8e1175bSopenharmony_cirequires_openssl_tls1_3
5134a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5135a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5136a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5137a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5138a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5139a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_256_GCM_SHA384,x25519,ecdsa_secp521r1_sha512" \
5140a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp521r1_sha512 -groups X25519 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5141a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=x25519" \
5142a8e1175bSopenharmony_ci         0 \
5143a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5144a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5145a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
5146a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
5147a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
5148a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5149a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5150a8e1175bSopenharmony_ci
5151a8e1175bSopenharmony_cirequires_openssl_tls1_3
5152a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5153a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5154a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5155a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5156a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
5157a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5158a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_256_GCM_SHA384,x25519,rsa_pss_rsae_sha256" \
5159a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs rsa_pss_rsae_sha256 -groups X25519 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5160a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=x25519" \
5161a8e1175bSopenharmony_ci         0 \
5162a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5163a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5164a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
5165a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
5166a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
5167a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5168a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5169a8e1175bSopenharmony_ci
5170a8e1175bSopenharmony_cirequires_openssl_tls1_3
5171a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5172a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5173a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5174a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5175a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5176a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_256_GCM_SHA384,x448,ecdsa_secp256r1_sha256" \
5177a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp256r1_sha256 -groups X448 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5178a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=x448" \
5179a8e1175bSopenharmony_ci         0 \
5180a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5181a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5182a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
5183a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
5184a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
5185a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5186a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5187a8e1175bSopenharmony_ci
5188a8e1175bSopenharmony_cirequires_openssl_tls1_3
5189a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5190a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5191a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5192a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5193a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5194a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_256_GCM_SHA384,x448,ecdsa_secp384r1_sha384" \
5195a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp384r1_sha384 -groups X448 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5196a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=x448" \
5197a8e1175bSopenharmony_ci         0 \
5198a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5199a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5200a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
5201a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
5202a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
5203a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5204a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5205a8e1175bSopenharmony_ci
5206a8e1175bSopenharmony_cirequires_openssl_tls1_3
5207a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5208a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5209a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5210a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5211a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5212a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_256_GCM_SHA384,x448,ecdsa_secp521r1_sha512" \
5213a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp521r1_sha512 -groups X448 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5214a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=x448" \
5215a8e1175bSopenharmony_ci         0 \
5216a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5217a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5218a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
5219a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
5220a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
5221a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5222a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5223a8e1175bSopenharmony_ci
5224a8e1175bSopenharmony_cirequires_openssl_tls1_3
5225a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5226a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5227a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5228a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5229a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
5230a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5231a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_256_GCM_SHA384,x448,rsa_pss_rsae_sha256" \
5232a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs rsa_pss_rsae_sha256 -groups X448 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5233a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=x448" \
5234a8e1175bSopenharmony_ci         0 \
5235a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5236a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5237a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
5238a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
5239a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
5240a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5241a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5242a8e1175bSopenharmony_ci
5243a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
5244a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5245a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5246a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5247a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5248a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
5249a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
5250a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_256_GCM_SHA384,ffdhe2048,ecdsa_secp256r1_sha256" \
5251a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp256r1_sha256 -groups ffdhe2048 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5252a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048" \
5253a8e1175bSopenharmony_ci         0 \
5254a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5255a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5256a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
5257a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
5258a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
5259a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5260a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5261a8e1175bSopenharmony_ci
5262a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
5263a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5264a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5265a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5266a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5267a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
5268a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
5269a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_256_GCM_SHA384,ffdhe2048,ecdsa_secp384r1_sha384" \
5270a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp384r1_sha384 -groups ffdhe2048 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5271a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048" \
5272a8e1175bSopenharmony_ci         0 \
5273a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5274a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5275a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
5276a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
5277a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
5278a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5279a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5280a8e1175bSopenharmony_ci
5281a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
5282a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5283a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5284a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5285a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5286a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
5287a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
5288a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_256_GCM_SHA384,ffdhe2048,ecdsa_secp521r1_sha512" \
5289a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp521r1_sha512 -groups ffdhe2048 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5290a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048" \
5291a8e1175bSopenharmony_ci         0 \
5292a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5293a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5294a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
5295a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
5296a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
5297a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5298a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5299a8e1175bSopenharmony_ci
5300a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
5301a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5302a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5303a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5304a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5305a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
5306a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
5307a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
5308a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_256_GCM_SHA384,ffdhe2048,rsa_pss_rsae_sha256" \
5309a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs rsa_pss_rsae_sha256 -groups ffdhe2048 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5310a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048" \
5311a8e1175bSopenharmony_ci         0 \
5312a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5313a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5314a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
5315a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
5316a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
5317a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5318a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5319a8e1175bSopenharmony_ci
5320a8e1175bSopenharmony_cirequires_openssl_tls1_3
5321a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5322a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5323a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5324a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5325a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5326a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: CHACHA20_POLY1305_SHA256,secp256r1,ecdsa_secp256r1_sha256" \
5327a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups P-256 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5328a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1" \
5329a8e1175bSopenharmony_ci         0 \
5330a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5331a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5332a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
5333a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
5334a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
5335a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5336a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5337a8e1175bSopenharmony_ci
5338a8e1175bSopenharmony_cirequires_openssl_tls1_3
5339a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5340a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5341a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5342a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5343a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5344a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: CHACHA20_POLY1305_SHA256,secp256r1,ecdsa_secp384r1_sha384" \
5345a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups P-256 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5346a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1" \
5347a8e1175bSopenharmony_ci         0 \
5348a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5349a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5350a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
5351a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
5352a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
5353a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5354a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5355a8e1175bSopenharmony_ci
5356a8e1175bSopenharmony_cirequires_openssl_tls1_3
5357a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5358a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5359a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5360a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5361a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5362a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: CHACHA20_POLY1305_SHA256,secp256r1,ecdsa_secp521r1_sha512" \
5363a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups P-256 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5364a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1" \
5365a8e1175bSopenharmony_ci         0 \
5366a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5367a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5368a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
5369a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
5370a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
5371a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5372a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5373a8e1175bSopenharmony_ci
5374a8e1175bSopenharmony_cirequires_openssl_tls1_3
5375a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5376a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5377a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5378a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5379a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
5380a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5381a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: CHACHA20_POLY1305_SHA256,secp256r1,rsa_pss_rsae_sha256" \
5382a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups P-256 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5383a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1" \
5384a8e1175bSopenharmony_ci         0 \
5385a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5386a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5387a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
5388a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
5389a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
5390a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5391a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5392a8e1175bSopenharmony_ci
5393a8e1175bSopenharmony_cirequires_openssl_tls1_3
5394a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5395a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5396a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5397a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5398a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5399a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: CHACHA20_POLY1305_SHA256,secp384r1,ecdsa_secp256r1_sha256" \
5400a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups P-384 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5401a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1" \
5402a8e1175bSopenharmony_ci         0 \
5403a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5404a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5405a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
5406a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
5407a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
5408a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5409a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5410a8e1175bSopenharmony_ci
5411a8e1175bSopenharmony_cirequires_openssl_tls1_3
5412a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5413a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5414a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5415a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5416a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5417a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: CHACHA20_POLY1305_SHA256,secp384r1,ecdsa_secp384r1_sha384" \
5418a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups P-384 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5419a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1" \
5420a8e1175bSopenharmony_ci         0 \
5421a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5422a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5423a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
5424a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
5425a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
5426a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5427a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5428a8e1175bSopenharmony_ci
5429a8e1175bSopenharmony_cirequires_openssl_tls1_3
5430a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5431a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5432a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5433a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5434a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5435a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: CHACHA20_POLY1305_SHA256,secp384r1,ecdsa_secp521r1_sha512" \
5436a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups P-384 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5437a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1" \
5438a8e1175bSopenharmony_ci         0 \
5439a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5440a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5441a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
5442a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
5443a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
5444a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5445a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5446a8e1175bSopenharmony_ci
5447a8e1175bSopenharmony_cirequires_openssl_tls1_3
5448a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5449a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5450a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5451a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5452a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
5453a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5454a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: CHACHA20_POLY1305_SHA256,secp384r1,rsa_pss_rsae_sha256" \
5455a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups P-384 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5456a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1" \
5457a8e1175bSopenharmony_ci         0 \
5458a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5459a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5460a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
5461a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
5462a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
5463a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5464a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5465a8e1175bSopenharmony_ci
5466a8e1175bSopenharmony_cirequires_openssl_tls1_3
5467a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5468a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5469a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5470a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5471a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5472a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: CHACHA20_POLY1305_SHA256,secp521r1,ecdsa_secp256r1_sha256" \
5473a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups P-521 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5474a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1" \
5475a8e1175bSopenharmony_ci         0 \
5476a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5477a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5478a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
5479a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
5480a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
5481a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5482a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5483a8e1175bSopenharmony_ci
5484a8e1175bSopenharmony_cirequires_openssl_tls1_3
5485a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5486a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5487a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5488a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5489a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5490a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: CHACHA20_POLY1305_SHA256,secp521r1,ecdsa_secp384r1_sha384" \
5491a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups P-521 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5492a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1" \
5493a8e1175bSopenharmony_ci         0 \
5494a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5495a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5496a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
5497a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
5498a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
5499a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5500a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5501a8e1175bSopenharmony_ci
5502a8e1175bSopenharmony_cirequires_openssl_tls1_3
5503a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5504a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5505a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5506a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5507a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5508a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: CHACHA20_POLY1305_SHA256,secp521r1,ecdsa_secp521r1_sha512" \
5509a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups P-521 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5510a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1" \
5511a8e1175bSopenharmony_ci         0 \
5512a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5513a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5514a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
5515a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
5516a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
5517a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5518a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5519a8e1175bSopenharmony_ci
5520a8e1175bSopenharmony_cirequires_openssl_tls1_3
5521a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5522a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5523a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5524a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5525a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
5526a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5527a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: CHACHA20_POLY1305_SHA256,secp521r1,rsa_pss_rsae_sha256" \
5528a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups P-521 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5529a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1" \
5530a8e1175bSopenharmony_ci         0 \
5531a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5532a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5533a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
5534a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
5535a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
5536a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5537a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5538a8e1175bSopenharmony_ci
5539a8e1175bSopenharmony_cirequires_openssl_tls1_3
5540a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5541a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5542a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5543a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5544a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5545a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: CHACHA20_POLY1305_SHA256,x25519,ecdsa_secp256r1_sha256" \
5546a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups X25519 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5547a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x25519" \
5548a8e1175bSopenharmony_ci         0 \
5549a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5550a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5551a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
5552a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
5553a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
5554a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5555a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5556a8e1175bSopenharmony_ci
5557a8e1175bSopenharmony_cirequires_openssl_tls1_3
5558a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5559a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5560a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5561a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5562a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5563a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: CHACHA20_POLY1305_SHA256,x25519,ecdsa_secp384r1_sha384" \
5564a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups X25519 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5565a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x25519" \
5566a8e1175bSopenharmony_ci         0 \
5567a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5568a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5569a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
5570a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
5571a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
5572a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5573a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5574a8e1175bSopenharmony_ci
5575a8e1175bSopenharmony_cirequires_openssl_tls1_3
5576a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5577a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5578a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5579a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5580a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5581a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: CHACHA20_POLY1305_SHA256,x25519,ecdsa_secp521r1_sha512" \
5582a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups X25519 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5583a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x25519" \
5584a8e1175bSopenharmony_ci         0 \
5585a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5586a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5587a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
5588a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
5589a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
5590a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5591a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5592a8e1175bSopenharmony_ci
5593a8e1175bSopenharmony_cirequires_openssl_tls1_3
5594a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5595a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5596a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5597a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5598a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
5599a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5600a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: CHACHA20_POLY1305_SHA256,x25519,rsa_pss_rsae_sha256" \
5601a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups X25519 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5602a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x25519" \
5603a8e1175bSopenharmony_ci         0 \
5604a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5605a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5606a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
5607a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
5608a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
5609a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5610a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5611a8e1175bSopenharmony_ci
5612a8e1175bSopenharmony_cirequires_openssl_tls1_3
5613a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5614a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5615a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5616a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5617a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5618a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: CHACHA20_POLY1305_SHA256,x448,ecdsa_secp256r1_sha256" \
5619a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups X448 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5620a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x448" \
5621a8e1175bSopenharmony_ci         0 \
5622a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5623a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5624a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
5625a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
5626a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
5627a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5628a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5629a8e1175bSopenharmony_ci
5630a8e1175bSopenharmony_cirequires_openssl_tls1_3
5631a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5632a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5633a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5634a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5635a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5636a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: CHACHA20_POLY1305_SHA256,x448,ecdsa_secp384r1_sha384" \
5637a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups X448 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5638a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x448" \
5639a8e1175bSopenharmony_ci         0 \
5640a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5641a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5642a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
5643a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
5644a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
5645a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5646a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5647a8e1175bSopenharmony_ci
5648a8e1175bSopenharmony_cirequires_openssl_tls1_3
5649a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5650a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5651a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5652a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5653a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5654a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: CHACHA20_POLY1305_SHA256,x448,ecdsa_secp521r1_sha512" \
5655a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups X448 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5656a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x448" \
5657a8e1175bSopenharmony_ci         0 \
5658a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5659a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5660a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
5661a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
5662a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
5663a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5664a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5665a8e1175bSopenharmony_ci
5666a8e1175bSopenharmony_cirequires_openssl_tls1_3
5667a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5668a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5669a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5670a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5671a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
5672a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5673a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: CHACHA20_POLY1305_SHA256,x448,rsa_pss_rsae_sha256" \
5674a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups X448 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5675a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x448" \
5676a8e1175bSopenharmony_ci         0 \
5677a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5678a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5679a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
5680a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
5681a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
5682a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5683a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5684a8e1175bSopenharmony_ci
5685a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
5686a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5687a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5688a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5689a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5690a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
5691a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
5692a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: CHACHA20_POLY1305_SHA256,ffdhe2048,ecdsa_secp256r1_sha256" \
5693a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups ffdhe2048 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5694a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048" \
5695a8e1175bSopenharmony_ci         0 \
5696a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5697a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5698a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
5699a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
5700a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
5701a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5702a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5703a8e1175bSopenharmony_ci
5704a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
5705a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5706a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5707a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5708a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5709a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
5710a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
5711a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: CHACHA20_POLY1305_SHA256,ffdhe2048,ecdsa_secp384r1_sha384" \
5712a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups ffdhe2048 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5713a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048" \
5714a8e1175bSopenharmony_ci         0 \
5715a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5716a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5717a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
5718a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
5719a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
5720a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5721a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5722a8e1175bSopenharmony_ci
5723a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
5724a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5725a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5726a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5727a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5728a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
5729a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
5730a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: CHACHA20_POLY1305_SHA256,ffdhe2048,ecdsa_secp521r1_sha512" \
5731a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups ffdhe2048 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5732a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048" \
5733a8e1175bSopenharmony_ci         0 \
5734a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5735a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5736a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
5737a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
5738a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
5739a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5740a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5741a8e1175bSopenharmony_ci
5742a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
5743a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5744a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5745a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5746a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5747a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
5748a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
5749a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
5750a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: CHACHA20_POLY1305_SHA256,ffdhe2048,rsa_pss_rsae_sha256" \
5751a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_CHACHA20_POLY1305_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups ffdhe2048 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5752a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048" \
5753a8e1175bSopenharmony_ci         0 \
5754a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5755a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5756a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
5757a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
5758a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
5759a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5760a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5761a8e1175bSopenharmony_ci
5762a8e1175bSopenharmony_cirequires_openssl_tls1_3
5763a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5764a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5765a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5766a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5767a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5768a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_SHA256,secp256r1,ecdsa_secp256r1_sha256" \
5769a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups P-256 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5770a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1" \
5771a8e1175bSopenharmony_ci         0 \
5772a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5773a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5774a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
5775a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
5776a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
5777a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5778a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5779a8e1175bSopenharmony_ci
5780a8e1175bSopenharmony_cirequires_openssl_tls1_3
5781a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5782a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5783a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5784a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5785a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5786a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_SHA256,secp256r1,ecdsa_secp384r1_sha384" \
5787a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups P-256 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5788a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1" \
5789a8e1175bSopenharmony_ci         0 \
5790a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5791a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5792a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
5793a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
5794a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
5795a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5796a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5797a8e1175bSopenharmony_ci
5798a8e1175bSopenharmony_cirequires_openssl_tls1_3
5799a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5800a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5801a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5802a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5803a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5804a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_SHA256,secp256r1,ecdsa_secp521r1_sha512" \
5805a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups P-256 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5806a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1" \
5807a8e1175bSopenharmony_ci         0 \
5808a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5809a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5810a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
5811a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
5812a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
5813a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5814a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5815a8e1175bSopenharmony_ci
5816a8e1175bSopenharmony_cirequires_openssl_tls1_3
5817a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5818a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5819a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5820a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5821a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
5822a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5823a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_SHA256,secp256r1,rsa_pss_rsae_sha256" \
5824a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups P-256 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5825a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1" \
5826a8e1175bSopenharmony_ci         0 \
5827a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5828a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5829a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
5830a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
5831a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
5832a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5833a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5834a8e1175bSopenharmony_ci
5835a8e1175bSopenharmony_cirequires_openssl_tls1_3
5836a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5837a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5838a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5839a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5840a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5841a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_SHA256,secp384r1,ecdsa_secp256r1_sha256" \
5842a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups P-384 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5843a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1" \
5844a8e1175bSopenharmony_ci         0 \
5845a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5846a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5847a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
5848a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
5849a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
5850a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5851a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5852a8e1175bSopenharmony_ci
5853a8e1175bSopenharmony_cirequires_openssl_tls1_3
5854a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5855a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5856a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5857a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5858a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5859a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_SHA256,secp384r1,ecdsa_secp384r1_sha384" \
5860a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups P-384 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5861a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1" \
5862a8e1175bSopenharmony_ci         0 \
5863a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5864a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5865a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
5866a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
5867a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
5868a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5869a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5870a8e1175bSopenharmony_ci
5871a8e1175bSopenharmony_cirequires_openssl_tls1_3
5872a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5873a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5874a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5875a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5876a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5877a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_SHA256,secp384r1,ecdsa_secp521r1_sha512" \
5878a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups P-384 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5879a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1" \
5880a8e1175bSopenharmony_ci         0 \
5881a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5882a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5883a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
5884a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
5885a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
5886a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5887a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5888a8e1175bSopenharmony_ci
5889a8e1175bSopenharmony_cirequires_openssl_tls1_3
5890a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5891a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5892a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5893a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5894a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
5895a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5896a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_SHA256,secp384r1,rsa_pss_rsae_sha256" \
5897a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups P-384 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5898a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1" \
5899a8e1175bSopenharmony_ci         0 \
5900a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5901a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5902a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
5903a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
5904a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
5905a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5906a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5907a8e1175bSopenharmony_ci
5908a8e1175bSopenharmony_cirequires_openssl_tls1_3
5909a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5910a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5911a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5912a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5913a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5914a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_SHA256,secp521r1,ecdsa_secp256r1_sha256" \
5915a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups P-521 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5916a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1" \
5917a8e1175bSopenharmony_ci         0 \
5918a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5919a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5920a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
5921a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
5922a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
5923a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5924a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5925a8e1175bSopenharmony_ci
5926a8e1175bSopenharmony_cirequires_openssl_tls1_3
5927a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5928a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5929a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5930a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5931a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5932a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_SHA256,secp521r1,ecdsa_secp384r1_sha384" \
5933a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups P-521 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5934a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1" \
5935a8e1175bSopenharmony_ci         0 \
5936a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5937a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5938a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
5939a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
5940a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
5941a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5942a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5943a8e1175bSopenharmony_ci
5944a8e1175bSopenharmony_cirequires_openssl_tls1_3
5945a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5946a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5947a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5948a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5949a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5950a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_SHA256,secp521r1,ecdsa_secp521r1_sha512" \
5951a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups P-521 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5952a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1" \
5953a8e1175bSopenharmony_ci         0 \
5954a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5955a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5956a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
5957a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
5958a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
5959a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5960a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5961a8e1175bSopenharmony_ci
5962a8e1175bSopenharmony_cirequires_openssl_tls1_3
5963a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5964a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5965a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5966a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5967a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
5968a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5969a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_SHA256,secp521r1,rsa_pss_rsae_sha256" \
5970a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups P-521 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5971a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1" \
5972a8e1175bSopenharmony_ci         0 \
5973a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5974a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5975a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
5976a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
5977a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
5978a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5979a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5980a8e1175bSopenharmony_ci
5981a8e1175bSopenharmony_cirequires_openssl_tls1_3
5982a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
5983a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
5984a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
5985a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
5986a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
5987a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_SHA256,x25519,ecdsa_secp256r1_sha256" \
5988a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups X25519 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
5989a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x25519" \
5990a8e1175bSopenharmony_ci         0 \
5991a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
5992a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
5993a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
5994a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
5995a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
5996a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
5997a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
5998a8e1175bSopenharmony_ci
5999a8e1175bSopenharmony_cirequires_openssl_tls1_3
6000a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6001a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6002a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6003a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6004a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6005a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_SHA256,x25519,ecdsa_secp384r1_sha384" \
6006a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups X25519 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6007a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x25519" \
6008a8e1175bSopenharmony_ci         0 \
6009a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6010a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6011a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
6012a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
6013a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
6014a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6015a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6016a8e1175bSopenharmony_ci
6017a8e1175bSopenharmony_cirequires_openssl_tls1_3
6018a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6019a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6020a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6021a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6022a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6023a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_SHA256,x25519,ecdsa_secp521r1_sha512" \
6024a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups X25519 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6025a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x25519" \
6026a8e1175bSopenharmony_ci         0 \
6027a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6028a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6029a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
6030a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
6031a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
6032a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6033a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6034a8e1175bSopenharmony_ci
6035a8e1175bSopenharmony_cirequires_openssl_tls1_3
6036a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6037a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6038a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6039a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6040a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
6041a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6042a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_SHA256,x25519,rsa_pss_rsae_sha256" \
6043a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups X25519 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6044a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x25519" \
6045a8e1175bSopenharmony_ci         0 \
6046a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6047a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6048a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
6049a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
6050a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
6051a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6052a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6053a8e1175bSopenharmony_ci
6054a8e1175bSopenharmony_cirequires_openssl_tls1_3
6055a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6056a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6057a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6058a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6059a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6060a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_SHA256,x448,ecdsa_secp256r1_sha256" \
6061a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups X448 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6062a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x448" \
6063a8e1175bSopenharmony_ci         0 \
6064a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6065a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6066a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
6067a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
6068a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
6069a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6070a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6071a8e1175bSopenharmony_ci
6072a8e1175bSopenharmony_cirequires_openssl_tls1_3
6073a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6074a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6075a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6076a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6077a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6078a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_SHA256,x448,ecdsa_secp384r1_sha384" \
6079a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups X448 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6080a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x448" \
6081a8e1175bSopenharmony_ci         0 \
6082a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6083a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6084a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
6085a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
6086a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
6087a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6088a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6089a8e1175bSopenharmony_ci
6090a8e1175bSopenharmony_cirequires_openssl_tls1_3
6091a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6092a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6093a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6094a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6095a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6096a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_SHA256,x448,ecdsa_secp521r1_sha512" \
6097a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups X448 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6098a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x448" \
6099a8e1175bSopenharmony_ci         0 \
6100a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6101a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6102a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
6103a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
6104a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
6105a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6106a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6107a8e1175bSopenharmony_ci
6108a8e1175bSopenharmony_cirequires_openssl_tls1_3
6109a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6110a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6111a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6112a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6113a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
6114a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6115a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_SHA256,x448,rsa_pss_rsae_sha256" \
6116a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups X448 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6117a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x448" \
6118a8e1175bSopenharmony_ci         0 \
6119a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6120a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6121a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
6122a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
6123a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
6124a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6125a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6126a8e1175bSopenharmony_ci
6127a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
6128a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6129a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6130a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6131a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6132a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
6133a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
6134a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_SHA256,ffdhe2048,ecdsa_secp256r1_sha256" \
6135a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups ffdhe2048 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6136a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048" \
6137a8e1175bSopenharmony_ci         0 \
6138a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6139a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6140a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
6141a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
6142a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
6143a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6144a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6145a8e1175bSopenharmony_ci
6146a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
6147a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6148a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6149a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6150a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6151a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
6152a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
6153a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_SHA256,ffdhe2048,ecdsa_secp384r1_sha384" \
6154a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups ffdhe2048 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6155a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048" \
6156a8e1175bSopenharmony_ci         0 \
6157a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6158a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6159a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
6160a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
6161a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
6162a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6163a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6164a8e1175bSopenharmony_ci
6165a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
6166a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6167a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6168a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6169a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6170a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
6171a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
6172a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_SHA256,ffdhe2048,ecdsa_secp521r1_sha512" \
6173a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups ffdhe2048 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6174a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048" \
6175a8e1175bSopenharmony_ci         0 \
6176a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6177a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6178a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
6179a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
6180a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
6181a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6182a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6183a8e1175bSopenharmony_ci
6184a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
6185a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6186a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6187a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6188a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6189a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
6190a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
6191a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
6192a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_SHA256,ffdhe2048,rsa_pss_rsae_sha256" \
6193a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_AES_128_CCM_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups ffdhe2048 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6194a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048" \
6195a8e1175bSopenharmony_ci         0 \
6196a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6197a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6198a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
6199a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
6200a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
6201a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6202a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6203a8e1175bSopenharmony_ci
6204a8e1175bSopenharmony_cirequires_openssl_tls1_3
6205a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6206a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6207a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6208a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6209a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6210a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_8_SHA256,secp256r1,ecdsa_secp256r1_sha256" \
6211a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups P-256 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6212a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1" \
6213a8e1175bSopenharmony_ci         0 \
6214a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6215a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6216a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
6217a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
6218a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
6219a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6220a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6221a8e1175bSopenharmony_ci
6222a8e1175bSopenharmony_cirequires_openssl_tls1_3
6223a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6224a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6225a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6226a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6227a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6228a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_8_SHA256,secp256r1,ecdsa_secp384r1_sha384" \
6229a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups P-256 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6230a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1" \
6231a8e1175bSopenharmony_ci         0 \
6232a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6233a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6234a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
6235a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
6236a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
6237a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6238a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6239a8e1175bSopenharmony_ci
6240a8e1175bSopenharmony_cirequires_openssl_tls1_3
6241a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6242a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6243a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6244a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6245a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6246a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_8_SHA256,secp256r1,ecdsa_secp521r1_sha512" \
6247a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups P-256 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6248a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1" \
6249a8e1175bSopenharmony_ci         0 \
6250a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6251a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6252a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
6253a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
6254a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
6255a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6256a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6257a8e1175bSopenharmony_ci
6258a8e1175bSopenharmony_cirequires_openssl_tls1_3
6259a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6260a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6261a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6262a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6263a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
6264a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6265a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_8_SHA256,secp256r1,rsa_pss_rsae_sha256" \
6266a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups P-256 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6267a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1" \
6268a8e1175bSopenharmony_ci         0 \
6269a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6270a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6271a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
6272a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
6273a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
6274a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6275a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6276a8e1175bSopenharmony_ci
6277a8e1175bSopenharmony_cirequires_openssl_tls1_3
6278a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6279a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6280a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6281a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6282a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6283a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_8_SHA256,secp384r1,ecdsa_secp256r1_sha256" \
6284a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups P-384 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6285a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1" \
6286a8e1175bSopenharmony_ci         0 \
6287a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6288a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6289a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
6290a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
6291a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
6292a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6293a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6294a8e1175bSopenharmony_ci
6295a8e1175bSopenharmony_cirequires_openssl_tls1_3
6296a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6297a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6298a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6299a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6300a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6301a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_8_SHA256,secp384r1,ecdsa_secp384r1_sha384" \
6302a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups P-384 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6303a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1" \
6304a8e1175bSopenharmony_ci         0 \
6305a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6306a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6307a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
6308a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
6309a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
6310a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6311a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6312a8e1175bSopenharmony_ci
6313a8e1175bSopenharmony_cirequires_openssl_tls1_3
6314a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6315a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6316a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6317a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6318a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6319a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_8_SHA256,secp384r1,ecdsa_secp521r1_sha512" \
6320a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups P-384 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6321a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1" \
6322a8e1175bSopenharmony_ci         0 \
6323a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6324a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6325a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
6326a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
6327a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
6328a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6329a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6330a8e1175bSopenharmony_ci
6331a8e1175bSopenharmony_cirequires_openssl_tls1_3
6332a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6333a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6334a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6335a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6336a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
6337a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6338a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_8_SHA256,secp384r1,rsa_pss_rsae_sha256" \
6339a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups P-384 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6340a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1" \
6341a8e1175bSopenharmony_ci         0 \
6342a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6343a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6344a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
6345a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
6346a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
6347a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6348a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6349a8e1175bSopenharmony_ci
6350a8e1175bSopenharmony_cirequires_openssl_tls1_3
6351a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6352a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6353a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6354a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6355a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6356a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_8_SHA256,secp521r1,ecdsa_secp256r1_sha256" \
6357a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups P-521 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6358a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1" \
6359a8e1175bSopenharmony_ci         0 \
6360a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6361a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6362a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
6363a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
6364a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
6365a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6366a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6367a8e1175bSopenharmony_ci
6368a8e1175bSopenharmony_cirequires_openssl_tls1_3
6369a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6370a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6371a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6372a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6373a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6374a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_8_SHA256,secp521r1,ecdsa_secp384r1_sha384" \
6375a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups P-521 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6376a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1" \
6377a8e1175bSopenharmony_ci         0 \
6378a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6379a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6380a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
6381a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
6382a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
6383a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6384a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6385a8e1175bSopenharmony_ci
6386a8e1175bSopenharmony_cirequires_openssl_tls1_3
6387a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6388a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6389a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6390a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6391a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6392a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_8_SHA256,secp521r1,ecdsa_secp521r1_sha512" \
6393a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups P-521 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6394a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1" \
6395a8e1175bSopenharmony_ci         0 \
6396a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6397a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6398a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
6399a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
6400a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
6401a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6402a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6403a8e1175bSopenharmony_ci
6404a8e1175bSopenharmony_cirequires_openssl_tls1_3
6405a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6406a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6407a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6408a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6409a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
6410a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6411a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_8_SHA256,secp521r1,rsa_pss_rsae_sha256" \
6412a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups P-521 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6413a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1" \
6414a8e1175bSopenharmony_ci         0 \
6415a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6416a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6417a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
6418a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
6419a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
6420a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6421a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6422a8e1175bSopenharmony_ci
6423a8e1175bSopenharmony_cirequires_openssl_tls1_3
6424a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6425a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6426a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6427a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6428a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6429a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_8_SHA256,x25519,ecdsa_secp256r1_sha256" \
6430a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups X25519 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6431a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x25519" \
6432a8e1175bSopenharmony_ci         0 \
6433a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6434a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6435a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
6436a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
6437a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
6438a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6439a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6440a8e1175bSopenharmony_ci
6441a8e1175bSopenharmony_cirequires_openssl_tls1_3
6442a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6443a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6444a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6445a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6446a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6447a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_8_SHA256,x25519,ecdsa_secp384r1_sha384" \
6448a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups X25519 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6449a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x25519" \
6450a8e1175bSopenharmony_ci         0 \
6451a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6452a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6453a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
6454a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
6455a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
6456a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6457a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6458a8e1175bSopenharmony_ci
6459a8e1175bSopenharmony_cirequires_openssl_tls1_3
6460a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6461a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6462a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6463a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6464a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6465a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_8_SHA256,x25519,ecdsa_secp521r1_sha512" \
6466a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups X25519 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6467a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x25519" \
6468a8e1175bSopenharmony_ci         0 \
6469a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6470a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6471a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
6472a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
6473a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
6474a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6475a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6476a8e1175bSopenharmony_ci
6477a8e1175bSopenharmony_cirequires_openssl_tls1_3
6478a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6479a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6480a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6481a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6482a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
6483a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6484a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_8_SHA256,x25519,rsa_pss_rsae_sha256" \
6485a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups X25519 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6486a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x25519" \
6487a8e1175bSopenharmony_ci         0 \
6488a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6489a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6490a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
6491a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
6492a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
6493a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6494a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6495a8e1175bSopenharmony_ci
6496a8e1175bSopenharmony_cirequires_openssl_tls1_3
6497a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6498a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6499a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6500a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6501a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6502a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_8_SHA256,x448,ecdsa_secp256r1_sha256" \
6503a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups X448 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6504a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x448" \
6505a8e1175bSopenharmony_ci         0 \
6506a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6507a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6508a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
6509a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
6510a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
6511a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6512a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6513a8e1175bSopenharmony_ci
6514a8e1175bSopenharmony_cirequires_openssl_tls1_3
6515a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6516a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6517a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6518a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6519a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6520a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_8_SHA256,x448,ecdsa_secp384r1_sha384" \
6521a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups X448 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6522a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x448" \
6523a8e1175bSopenharmony_ci         0 \
6524a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6525a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6526a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
6527a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
6528a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
6529a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6530a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6531a8e1175bSopenharmony_ci
6532a8e1175bSopenharmony_cirequires_openssl_tls1_3
6533a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6534a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6535a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6536a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6537a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6538a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_8_SHA256,x448,ecdsa_secp521r1_sha512" \
6539a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups X448 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6540a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x448" \
6541a8e1175bSopenharmony_ci         0 \
6542a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6543a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6544a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
6545a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
6546a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
6547a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6548a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6549a8e1175bSopenharmony_ci
6550a8e1175bSopenharmony_cirequires_openssl_tls1_3
6551a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6552a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6553a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6554a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6555a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
6556a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6557a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_8_SHA256,x448,rsa_pss_rsae_sha256" \
6558a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups X448 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6559a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x448" \
6560a8e1175bSopenharmony_ci         0 \
6561a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6562a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6563a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
6564a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
6565a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
6566a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6567a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6568a8e1175bSopenharmony_ci
6569a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
6570a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6571a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6572a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6573a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6574a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
6575a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
6576a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_8_SHA256,ffdhe2048,ecdsa_secp256r1_sha256" \
6577a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups ffdhe2048 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6578a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048" \
6579a8e1175bSopenharmony_ci         0 \
6580a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6581a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6582a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
6583a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
6584a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
6585a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6586a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6587a8e1175bSopenharmony_ci
6588a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
6589a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6590a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6591a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6592a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6593a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
6594a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
6595a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_8_SHA256,ffdhe2048,ecdsa_secp384r1_sha384" \
6596a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp384r1.crt -key data_files/ecdsa_secp384r1.key -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp384r1_sha384 -groups ffdhe2048 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6597a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048" \
6598a8e1175bSopenharmony_ci         0 \
6599a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6600a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6601a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
6602a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
6603a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
6604a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6605a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6606a8e1175bSopenharmony_ci
6607a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
6608a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6609a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6610a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6611a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6612a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
6613a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
6614a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_8_SHA256,ffdhe2048,ecdsa_secp521r1_sha512" \
6615a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp521r1.crt -key data_files/ecdsa_secp521r1.key -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs ecdsa_secp521r1_sha512 -groups ffdhe2048 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6616a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048" \
6617a8e1175bSopenharmony_ci         0 \
6618a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6619a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6620a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
6621a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
6622a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
6623a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6624a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6625a8e1175bSopenharmony_ci
6626a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
6627a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6628a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6629a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6630a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6631a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
6632a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
6633a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
6634a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: AES_128_CCM_8_SHA256,ffdhe2048,rsa_pss_rsae_sha256" \
6635a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/server2-sha256.crt -key data_files/server2.key -ciphersuites TLS_AES_128_CCM_8_SHA256 -sigalgs rsa_pss_rsae_sha256 -groups ffdhe2048 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
6636a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048" \
6637a8e1175bSopenharmony_ci         0 \
6638a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
6639a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6640a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
6641a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
6642a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
6643a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6644a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6645a8e1175bSopenharmony_ci
6646a8e1175bSopenharmony_cirequires_gnutls_tls1_3
6647a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
6648a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
6649a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6650a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6651a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6652a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6653a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6654a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_GCM_SHA256,secp256r1,ecdsa_secp256r1_sha256" \
6655a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
6656a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1" \
6657a8e1175bSopenharmony_ci         0 \
6658a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
6659a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6660a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
6661a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
6662a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
6663a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6664a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6665a8e1175bSopenharmony_ci
6666a8e1175bSopenharmony_cirequires_gnutls_tls1_3
6667a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
6668a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
6669a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6670a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6671a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6672a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6673a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6674a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_GCM_SHA256,secp256r1,ecdsa_secp384r1_sha384" \
6675a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
6676a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1" \
6677a8e1175bSopenharmony_ci         0 \
6678a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
6679a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6680a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
6681a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
6682a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
6683a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6684a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6685a8e1175bSopenharmony_ci
6686a8e1175bSopenharmony_cirequires_gnutls_tls1_3
6687a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
6688a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
6689a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6690a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6691a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6692a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6693a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6694a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_GCM_SHA256,secp256r1,ecdsa_secp521r1_sha512" \
6695a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
6696a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1" \
6697a8e1175bSopenharmony_ci         0 \
6698a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
6699a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6700a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
6701a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
6702a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
6703a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6704a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6705a8e1175bSopenharmony_ci
6706a8e1175bSopenharmony_cirequires_gnutls_tls1_3
6707a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
6708a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
6709a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6710a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6711a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6712a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6713a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
6714a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6715a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_GCM_SHA256,secp256r1,rsa_pss_rsae_sha256" \
6716a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
6717a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1" \
6718a8e1175bSopenharmony_ci         0 \
6719a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
6720a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6721a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
6722a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
6723a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
6724a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6725a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6726a8e1175bSopenharmony_ci
6727a8e1175bSopenharmony_cirequires_gnutls_tls1_3
6728a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
6729a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
6730a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6731a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6732a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6733a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6734a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6735a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_GCM_SHA256,secp384r1,ecdsa_secp256r1_sha256" \
6736a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
6737a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1" \
6738a8e1175bSopenharmony_ci         0 \
6739a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
6740a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6741a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
6742a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
6743a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
6744a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6745a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6746a8e1175bSopenharmony_ci
6747a8e1175bSopenharmony_cirequires_gnutls_tls1_3
6748a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
6749a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
6750a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6751a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6752a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6753a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6754a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6755a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_GCM_SHA256,secp384r1,ecdsa_secp384r1_sha384" \
6756a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
6757a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1" \
6758a8e1175bSopenharmony_ci         0 \
6759a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
6760a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6761a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
6762a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
6763a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
6764a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6765a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6766a8e1175bSopenharmony_ci
6767a8e1175bSopenharmony_cirequires_gnutls_tls1_3
6768a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
6769a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
6770a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6771a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6772a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6773a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6774a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6775a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_GCM_SHA256,secp384r1,ecdsa_secp521r1_sha512" \
6776a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
6777a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1" \
6778a8e1175bSopenharmony_ci         0 \
6779a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
6780a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6781a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
6782a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
6783a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
6784a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6785a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6786a8e1175bSopenharmony_ci
6787a8e1175bSopenharmony_cirequires_gnutls_tls1_3
6788a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
6789a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
6790a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6791a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6792a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6793a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6794a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
6795a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6796a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_GCM_SHA256,secp384r1,rsa_pss_rsae_sha256" \
6797a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
6798a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1" \
6799a8e1175bSopenharmony_ci         0 \
6800a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
6801a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6802a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
6803a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
6804a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
6805a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6806a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6807a8e1175bSopenharmony_ci
6808a8e1175bSopenharmony_cirequires_gnutls_tls1_3
6809a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
6810a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
6811a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6812a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6813a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6814a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6815a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6816a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_GCM_SHA256,secp521r1,ecdsa_secp256r1_sha256" \
6817a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
6818a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1" \
6819a8e1175bSopenharmony_ci         0 \
6820a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
6821a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6822a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
6823a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
6824a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
6825a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6826a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6827a8e1175bSopenharmony_ci
6828a8e1175bSopenharmony_cirequires_gnutls_tls1_3
6829a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
6830a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
6831a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6832a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6833a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6834a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6835a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6836a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_GCM_SHA256,secp521r1,ecdsa_secp384r1_sha384" \
6837a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
6838a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1" \
6839a8e1175bSopenharmony_ci         0 \
6840a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
6841a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6842a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
6843a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
6844a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
6845a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6846a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6847a8e1175bSopenharmony_ci
6848a8e1175bSopenharmony_cirequires_gnutls_tls1_3
6849a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
6850a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
6851a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6852a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6853a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6854a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6855a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6856a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_GCM_SHA256,secp521r1,ecdsa_secp521r1_sha512" \
6857a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
6858a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1" \
6859a8e1175bSopenharmony_ci         0 \
6860a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
6861a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6862a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
6863a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
6864a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
6865a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6866a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6867a8e1175bSopenharmony_ci
6868a8e1175bSopenharmony_cirequires_gnutls_tls1_3
6869a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
6870a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
6871a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6872a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6873a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6874a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6875a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
6876a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6877a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_GCM_SHA256,secp521r1,rsa_pss_rsae_sha256" \
6878a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
6879a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1" \
6880a8e1175bSopenharmony_ci         0 \
6881a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
6882a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6883a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
6884a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
6885a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
6886a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6887a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6888a8e1175bSopenharmony_ci
6889a8e1175bSopenharmony_cirequires_gnutls_tls1_3
6890a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
6891a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
6892a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6893a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6894a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6895a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6896a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6897a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_GCM_SHA256,x25519,ecdsa_secp256r1_sha256" \
6898a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
6899a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x25519" \
6900a8e1175bSopenharmony_ci         0 \
6901a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
6902a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6903a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
6904a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
6905a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
6906a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6907a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6908a8e1175bSopenharmony_ci
6909a8e1175bSopenharmony_cirequires_gnutls_tls1_3
6910a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
6911a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
6912a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6913a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6914a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6915a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6916a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6917a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_GCM_SHA256,x25519,ecdsa_secp384r1_sha384" \
6918a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
6919a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x25519" \
6920a8e1175bSopenharmony_ci         0 \
6921a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
6922a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6923a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
6924a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
6925a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
6926a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6927a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6928a8e1175bSopenharmony_ci
6929a8e1175bSopenharmony_cirequires_gnutls_tls1_3
6930a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
6931a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
6932a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6933a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6934a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6935a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6936a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6937a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_GCM_SHA256,x25519,ecdsa_secp521r1_sha512" \
6938a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
6939a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x25519" \
6940a8e1175bSopenharmony_ci         0 \
6941a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
6942a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6943a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
6944a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
6945a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
6946a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6947a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6948a8e1175bSopenharmony_ci
6949a8e1175bSopenharmony_cirequires_gnutls_tls1_3
6950a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
6951a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
6952a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6953a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6954a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6955a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6956a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
6957a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6958a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_GCM_SHA256,x25519,rsa_pss_rsae_sha256" \
6959a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
6960a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x25519" \
6961a8e1175bSopenharmony_ci         0 \
6962a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
6963a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6964a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
6965a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
6966a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
6967a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6968a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6969a8e1175bSopenharmony_ci
6970a8e1175bSopenharmony_cirequires_gnutls_tls1_3
6971a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
6972a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
6973a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6974a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6975a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6976a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6977a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6978a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_GCM_SHA256,x448,ecdsa_secp256r1_sha256" \
6979a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
6980a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x448" \
6981a8e1175bSopenharmony_ci         0 \
6982a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
6983a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
6984a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
6985a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
6986a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
6987a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
6988a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
6989a8e1175bSopenharmony_ci
6990a8e1175bSopenharmony_cirequires_gnutls_tls1_3
6991a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
6992a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
6993a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
6994a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
6995a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
6996a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
6997a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
6998a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_GCM_SHA256,x448,ecdsa_secp384r1_sha384" \
6999a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
7000a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x448" \
7001a8e1175bSopenharmony_ci         0 \
7002a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7003a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7004a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
7005a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
7006a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
7007a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7008a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7009a8e1175bSopenharmony_ci
7010a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7011a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7012a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7013a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7014a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7015a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7016a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7017a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7018a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_GCM_SHA256,x448,ecdsa_secp521r1_sha512" \
7019a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
7020a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x448" \
7021a8e1175bSopenharmony_ci         0 \
7022a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7023a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7024a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
7025a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
7026a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
7027a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7028a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7029a8e1175bSopenharmony_ci
7030a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7031a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7032a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7033a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7034a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7035a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7036a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7037a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
7038a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7039a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_GCM_SHA256,x448,rsa_pss_rsae_sha256" \
7040a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
7041a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x448" \
7042a8e1175bSopenharmony_ci         0 \
7043a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7044a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7045a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
7046a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
7047a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
7048a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7049a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7050a8e1175bSopenharmony_ci
7051a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7052a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7053a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7054a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7055a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7056a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7057a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7058a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
7059a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
7060a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_GCM_SHA256,ffdhe2048,ecdsa_secp256r1_sha256" \
7061a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
7062a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048" \
7063a8e1175bSopenharmony_ci         0 \
7064a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7065a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7066a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
7067a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
7068a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
7069a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7070a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7071a8e1175bSopenharmony_ci
7072a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7073a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7074a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7075a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7076a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7077a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7078a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7079a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
7080a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
7081a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_GCM_SHA256,ffdhe2048,ecdsa_secp384r1_sha384" \
7082a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
7083a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048" \
7084a8e1175bSopenharmony_ci         0 \
7085a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7086a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7087a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
7088a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
7089a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
7090a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7091a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7092a8e1175bSopenharmony_ci
7093a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7094a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7095a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7096a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7097a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7098a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7099a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7100a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
7101a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
7102a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_GCM_SHA256,ffdhe2048,ecdsa_secp521r1_sha512" \
7103a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
7104a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048" \
7105a8e1175bSopenharmony_ci         0 \
7106a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7107a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7108a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
7109a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
7110a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
7111a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7112a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7113a8e1175bSopenharmony_ci
7114a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7115a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7116a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7117a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7118a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7119a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7120a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7121a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
7122a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
7123a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
7124a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_GCM_SHA256,ffdhe2048,rsa_pss_rsae_sha256" \
7125a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+AES-128-GCM:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
7126a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048" \
7127a8e1175bSopenharmony_ci         0 \
7128a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7129a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7130a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
7131a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
7132a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
7133a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7134a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7135a8e1175bSopenharmony_ci
7136a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7137a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7138a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7139a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7140a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7141a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7142a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7143a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7144a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_256_GCM_SHA384,secp256r1,ecdsa_secp256r1_sha256" \
7145a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
7146a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1" \
7147a8e1175bSopenharmony_ci         0 \
7148a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7149a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7150a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
7151a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
7152a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
7153a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7154a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7155a8e1175bSopenharmony_ci
7156a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7157a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7158a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7159a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7160a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7161a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7162a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7163a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7164a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_256_GCM_SHA384,secp256r1,ecdsa_secp384r1_sha384" \
7165a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
7166a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1" \
7167a8e1175bSopenharmony_ci         0 \
7168a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7169a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7170a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
7171a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
7172a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
7173a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7174a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7175a8e1175bSopenharmony_ci
7176a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7177a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7178a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7179a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7180a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7181a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7182a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7183a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7184a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_256_GCM_SHA384,secp256r1,ecdsa_secp521r1_sha512" \
7185a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
7186a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1" \
7187a8e1175bSopenharmony_ci         0 \
7188a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7189a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7190a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
7191a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
7192a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
7193a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7194a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7195a8e1175bSopenharmony_ci
7196a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7197a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7198a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7199a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7200a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7201a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7202a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7203a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
7204a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7205a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_256_GCM_SHA384,secp256r1,rsa_pss_rsae_sha256" \
7206a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
7207a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1" \
7208a8e1175bSopenharmony_ci         0 \
7209a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7210a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7211a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
7212a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
7213a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
7214a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7215a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7216a8e1175bSopenharmony_ci
7217a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7218a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7219a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7220a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7221a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7222a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7223a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7224a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7225a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_256_GCM_SHA384,secp384r1,ecdsa_secp256r1_sha256" \
7226a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
7227a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1" \
7228a8e1175bSopenharmony_ci         0 \
7229a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7230a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7231a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
7232a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
7233a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
7234a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7235a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7236a8e1175bSopenharmony_ci
7237a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7238a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7239a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7240a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7241a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7242a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7243a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7244a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7245a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_256_GCM_SHA384,secp384r1,ecdsa_secp384r1_sha384" \
7246a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
7247a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1" \
7248a8e1175bSopenharmony_ci         0 \
7249a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7250a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7251a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
7252a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
7253a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
7254a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7255a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7256a8e1175bSopenharmony_ci
7257a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7258a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7259a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7260a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7261a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7262a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7263a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7264a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7265a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_256_GCM_SHA384,secp384r1,ecdsa_secp521r1_sha512" \
7266a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
7267a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1" \
7268a8e1175bSopenharmony_ci         0 \
7269a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7270a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7271a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
7272a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
7273a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
7274a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7275a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7276a8e1175bSopenharmony_ci
7277a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7278a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7279a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7280a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7281a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7282a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7283a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7284a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
7285a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7286a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_256_GCM_SHA384,secp384r1,rsa_pss_rsae_sha256" \
7287a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
7288a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1" \
7289a8e1175bSopenharmony_ci         0 \
7290a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7291a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7292a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
7293a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
7294a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
7295a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7296a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7297a8e1175bSopenharmony_ci
7298a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7299a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7300a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7301a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7302a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7303a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7304a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7305a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7306a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_256_GCM_SHA384,secp521r1,ecdsa_secp256r1_sha256" \
7307a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
7308a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1" \
7309a8e1175bSopenharmony_ci         0 \
7310a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7311a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7312a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
7313a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
7314a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
7315a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7316a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7317a8e1175bSopenharmony_ci
7318a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7319a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7320a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7321a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7322a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7323a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7324a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7325a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7326a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_256_GCM_SHA384,secp521r1,ecdsa_secp384r1_sha384" \
7327a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
7328a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1" \
7329a8e1175bSopenharmony_ci         0 \
7330a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7331a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7332a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
7333a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
7334a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
7335a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7336a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7337a8e1175bSopenharmony_ci
7338a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7339a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7340a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7341a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7342a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7343a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7344a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7345a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7346a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_256_GCM_SHA384,secp521r1,ecdsa_secp521r1_sha512" \
7347a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
7348a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1" \
7349a8e1175bSopenharmony_ci         0 \
7350a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7351a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7352a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
7353a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
7354a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
7355a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7356a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7357a8e1175bSopenharmony_ci
7358a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7359a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7360a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7361a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7362a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7363a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7364a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7365a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
7366a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7367a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_256_GCM_SHA384,secp521r1,rsa_pss_rsae_sha256" \
7368a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
7369a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1" \
7370a8e1175bSopenharmony_ci         0 \
7371a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7372a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7373a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
7374a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
7375a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
7376a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7377a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7378a8e1175bSopenharmony_ci
7379a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7380a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7381a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7382a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7383a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7384a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7385a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7386a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7387a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_256_GCM_SHA384,x25519,ecdsa_secp256r1_sha256" \
7388a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
7389a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=x25519" \
7390a8e1175bSopenharmony_ci         0 \
7391a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7392a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7393a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
7394a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
7395a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
7396a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7397a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7398a8e1175bSopenharmony_ci
7399a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7400a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7401a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7402a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7403a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7404a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7405a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7406a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7407a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_256_GCM_SHA384,x25519,ecdsa_secp384r1_sha384" \
7408a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
7409a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=x25519" \
7410a8e1175bSopenharmony_ci         0 \
7411a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7412a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7413a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
7414a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
7415a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
7416a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7417a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7418a8e1175bSopenharmony_ci
7419a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7420a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7421a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7422a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7423a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7424a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7425a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7426a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7427a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_256_GCM_SHA384,x25519,ecdsa_secp521r1_sha512" \
7428a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
7429a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=x25519" \
7430a8e1175bSopenharmony_ci         0 \
7431a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7432a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7433a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
7434a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
7435a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
7436a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7437a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7438a8e1175bSopenharmony_ci
7439a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7440a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7441a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7442a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7443a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7444a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7445a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7446a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
7447a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7448a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_256_GCM_SHA384,x25519,rsa_pss_rsae_sha256" \
7449a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
7450a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=x25519" \
7451a8e1175bSopenharmony_ci         0 \
7452a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7453a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7454a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
7455a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
7456a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
7457a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7458a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7459a8e1175bSopenharmony_ci
7460a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7461a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7462a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7463a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7464a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7465a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7466a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7467a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7468a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_256_GCM_SHA384,x448,ecdsa_secp256r1_sha256" \
7469a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
7470a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=x448" \
7471a8e1175bSopenharmony_ci         0 \
7472a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7473a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7474a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
7475a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
7476a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
7477a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7478a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7479a8e1175bSopenharmony_ci
7480a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7481a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7482a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7483a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7484a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7485a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7486a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7487a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7488a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_256_GCM_SHA384,x448,ecdsa_secp384r1_sha384" \
7489a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
7490a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=x448" \
7491a8e1175bSopenharmony_ci         0 \
7492a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7493a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7494a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
7495a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
7496a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
7497a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7498a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7499a8e1175bSopenharmony_ci
7500a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7501a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7502a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7503a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7504a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7505a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7506a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7507a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7508a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_256_GCM_SHA384,x448,ecdsa_secp521r1_sha512" \
7509a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
7510a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=x448" \
7511a8e1175bSopenharmony_ci         0 \
7512a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7513a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7514a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
7515a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
7516a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
7517a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7518a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7519a8e1175bSopenharmony_ci
7520a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7521a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7522a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7523a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7524a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7525a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7526a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7527a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
7528a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7529a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_256_GCM_SHA384,x448,rsa_pss_rsae_sha256" \
7530a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
7531a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=x448" \
7532a8e1175bSopenharmony_ci         0 \
7533a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7534a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7535a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
7536a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
7537a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
7538a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7539a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7540a8e1175bSopenharmony_ci
7541a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7542a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7543a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7544a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7545a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7546a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7547a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7548a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
7549a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
7550a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_256_GCM_SHA384,ffdhe2048,ecdsa_secp256r1_sha256" \
7551a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
7552a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048" \
7553a8e1175bSopenharmony_ci         0 \
7554a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7555a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7556a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
7557a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
7558a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
7559a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7560a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7561a8e1175bSopenharmony_ci
7562a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7563a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7564a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7565a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7566a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7567a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7568a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7569a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
7570a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
7571a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_256_GCM_SHA384,ffdhe2048,ecdsa_secp384r1_sha384" \
7572a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
7573a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048" \
7574a8e1175bSopenharmony_ci         0 \
7575a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7576a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7577a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
7578a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
7579a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
7580a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7581a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7582a8e1175bSopenharmony_ci
7583a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7584a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7585a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7586a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7587a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7588a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7589a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7590a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
7591a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
7592a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_256_GCM_SHA384,ffdhe2048,ecdsa_secp521r1_sha512" \
7593a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
7594a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048" \
7595a8e1175bSopenharmony_ci         0 \
7596a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7597a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7598a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
7599a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
7600a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
7601a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7602a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7603a8e1175bSopenharmony_ci
7604a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7605a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7606a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7607a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7608a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7609a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7610a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7611a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
7612a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
7613a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
7614a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_256_GCM_SHA384,ffdhe2048,rsa_pss_rsae_sha256" \
7615a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+AES-256-GCM:+SHA384:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
7616a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048" \
7617a8e1175bSopenharmony_ci         0 \
7618a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7619a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7620a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
7621a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
7622a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
7623a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7624a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7625a8e1175bSopenharmony_ci
7626a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7627a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7628a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7629a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7630a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7631a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7632a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7633a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7634a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: CHACHA20_POLY1305_SHA256,secp256r1,ecdsa_secp256r1_sha256" \
7635a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
7636a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1" \
7637a8e1175bSopenharmony_ci         0 \
7638a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7639a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7640a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
7641a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
7642a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
7643a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7644a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7645a8e1175bSopenharmony_ci
7646a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7647a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7648a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7649a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7650a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7651a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7652a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7653a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7654a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: CHACHA20_POLY1305_SHA256,secp256r1,ecdsa_secp384r1_sha384" \
7655a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
7656a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1" \
7657a8e1175bSopenharmony_ci         0 \
7658a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7659a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7660a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
7661a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
7662a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
7663a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7664a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7665a8e1175bSopenharmony_ci
7666a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7667a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7668a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7669a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7670a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7671a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7672a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7673a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7674a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: CHACHA20_POLY1305_SHA256,secp256r1,ecdsa_secp521r1_sha512" \
7675a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
7676a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1" \
7677a8e1175bSopenharmony_ci         0 \
7678a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7679a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7680a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
7681a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
7682a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
7683a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7684a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7685a8e1175bSopenharmony_ci
7686a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7687a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7688a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7689a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7690a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7691a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7692a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7693a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
7694a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7695a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: CHACHA20_POLY1305_SHA256,secp256r1,rsa_pss_rsae_sha256" \
7696a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
7697a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1" \
7698a8e1175bSopenharmony_ci         0 \
7699a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7700a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7701a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
7702a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
7703a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
7704a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7705a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7706a8e1175bSopenharmony_ci
7707a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7708a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7709a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7710a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7711a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7712a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7713a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7714a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7715a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: CHACHA20_POLY1305_SHA256,secp384r1,ecdsa_secp256r1_sha256" \
7716a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
7717a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1" \
7718a8e1175bSopenharmony_ci         0 \
7719a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7720a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7721a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
7722a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
7723a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
7724a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7725a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7726a8e1175bSopenharmony_ci
7727a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7728a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7729a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7730a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7731a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7732a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7733a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7734a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7735a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: CHACHA20_POLY1305_SHA256,secp384r1,ecdsa_secp384r1_sha384" \
7736a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
7737a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1" \
7738a8e1175bSopenharmony_ci         0 \
7739a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7740a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7741a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
7742a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
7743a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
7744a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7745a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7746a8e1175bSopenharmony_ci
7747a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7748a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7749a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7750a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7751a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7752a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7753a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7754a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7755a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: CHACHA20_POLY1305_SHA256,secp384r1,ecdsa_secp521r1_sha512" \
7756a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
7757a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1" \
7758a8e1175bSopenharmony_ci         0 \
7759a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7760a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7761a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
7762a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
7763a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
7764a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7765a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7766a8e1175bSopenharmony_ci
7767a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7768a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7769a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7770a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7771a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7772a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7773a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7774a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
7775a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7776a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: CHACHA20_POLY1305_SHA256,secp384r1,rsa_pss_rsae_sha256" \
7777a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
7778a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1" \
7779a8e1175bSopenharmony_ci         0 \
7780a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7781a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7782a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
7783a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
7784a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
7785a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7786a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7787a8e1175bSopenharmony_ci
7788a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7789a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7790a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7791a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7792a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7793a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7794a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7795a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7796a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: CHACHA20_POLY1305_SHA256,secp521r1,ecdsa_secp256r1_sha256" \
7797a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
7798a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1" \
7799a8e1175bSopenharmony_ci         0 \
7800a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7801a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7802a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
7803a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
7804a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
7805a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7806a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7807a8e1175bSopenharmony_ci
7808a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7809a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7810a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7811a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7812a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7813a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7814a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7815a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7816a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: CHACHA20_POLY1305_SHA256,secp521r1,ecdsa_secp384r1_sha384" \
7817a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
7818a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1" \
7819a8e1175bSopenharmony_ci         0 \
7820a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7821a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7822a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
7823a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
7824a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
7825a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7826a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7827a8e1175bSopenharmony_ci
7828a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7829a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7830a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7831a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7832a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7833a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7834a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7835a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7836a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: CHACHA20_POLY1305_SHA256,secp521r1,ecdsa_secp521r1_sha512" \
7837a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
7838a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1" \
7839a8e1175bSopenharmony_ci         0 \
7840a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7841a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7842a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
7843a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
7844a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
7845a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7846a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7847a8e1175bSopenharmony_ci
7848a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7849a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7850a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7851a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7852a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7853a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7854a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7855a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
7856a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7857a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: CHACHA20_POLY1305_SHA256,secp521r1,rsa_pss_rsae_sha256" \
7858a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
7859a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1" \
7860a8e1175bSopenharmony_ci         0 \
7861a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7862a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7863a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
7864a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
7865a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
7866a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7867a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7868a8e1175bSopenharmony_ci
7869a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7870a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7871a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7872a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7873a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7874a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7875a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7876a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7877a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: CHACHA20_POLY1305_SHA256,x25519,ecdsa_secp256r1_sha256" \
7878a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
7879a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x25519" \
7880a8e1175bSopenharmony_ci         0 \
7881a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7882a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7883a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
7884a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
7885a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
7886a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7887a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7888a8e1175bSopenharmony_ci
7889a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7890a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7891a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7892a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7893a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7894a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7895a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7896a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7897a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: CHACHA20_POLY1305_SHA256,x25519,ecdsa_secp384r1_sha384" \
7898a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
7899a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x25519" \
7900a8e1175bSopenharmony_ci         0 \
7901a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7902a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7903a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
7904a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
7905a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
7906a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7907a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7908a8e1175bSopenharmony_ci
7909a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7910a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7911a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7912a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7913a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7914a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7915a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7916a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7917a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: CHACHA20_POLY1305_SHA256,x25519,ecdsa_secp521r1_sha512" \
7918a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
7919a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x25519" \
7920a8e1175bSopenharmony_ci         0 \
7921a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7922a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7923a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
7924a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
7925a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
7926a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7927a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7928a8e1175bSopenharmony_ci
7929a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7930a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7931a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7932a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7933a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7934a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7935a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7936a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
7937a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7938a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: CHACHA20_POLY1305_SHA256,x25519,rsa_pss_rsae_sha256" \
7939a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
7940a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x25519" \
7941a8e1175bSopenharmony_ci         0 \
7942a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7943a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7944a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
7945a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
7946a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
7947a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7948a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7949a8e1175bSopenharmony_ci
7950a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7951a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7952a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7953a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7954a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7955a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7956a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7957a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7958a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: CHACHA20_POLY1305_SHA256,x448,ecdsa_secp256r1_sha256" \
7959a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
7960a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x448" \
7961a8e1175bSopenharmony_ci         0 \
7962a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7963a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7964a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
7965a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
7966a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
7967a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7968a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7969a8e1175bSopenharmony_ci
7970a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7971a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7972a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7973a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7974a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7975a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7976a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7977a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7978a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: CHACHA20_POLY1305_SHA256,x448,ecdsa_secp384r1_sha384" \
7979a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
7980a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x448" \
7981a8e1175bSopenharmony_ci         0 \
7982a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
7983a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
7984a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
7985a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
7986a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
7987a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
7988a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
7989a8e1175bSopenharmony_ci
7990a8e1175bSopenharmony_cirequires_gnutls_tls1_3
7991a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
7992a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
7993a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
7994a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
7995a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
7996a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
7997a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
7998a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: CHACHA20_POLY1305_SHA256,x448,ecdsa_secp521r1_sha512" \
7999a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
8000a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x448" \
8001a8e1175bSopenharmony_ci         0 \
8002a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8003a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8004a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
8005a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
8006a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
8007a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8008a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8009a8e1175bSopenharmony_ci
8010a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8011a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8012a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8013a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8014a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8015a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8016a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8017a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
8018a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8019a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: CHACHA20_POLY1305_SHA256,x448,rsa_pss_rsae_sha256" \
8020a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
8021a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x448" \
8022a8e1175bSopenharmony_ci         0 \
8023a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8024a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8025a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
8026a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
8027a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
8028a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8029a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8030a8e1175bSopenharmony_ci
8031a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8032a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8033a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8034a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8035a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8036a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8037a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8038a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
8039a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
8040a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: CHACHA20_POLY1305_SHA256,ffdhe2048,ecdsa_secp256r1_sha256" \
8041a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
8042a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048" \
8043a8e1175bSopenharmony_ci         0 \
8044a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8045a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8046a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
8047a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
8048a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
8049a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8050a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8051a8e1175bSopenharmony_ci
8052a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8053a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8054a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8055a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8056a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8057a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8058a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8059a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
8060a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
8061a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: CHACHA20_POLY1305_SHA256,ffdhe2048,ecdsa_secp384r1_sha384" \
8062a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
8063a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048" \
8064a8e1175bSopenharmony_ci         0 \
8065a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8066a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8067a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
8068a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
8069a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
8070a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8071a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8072a8e1175bSopenharmony_ci
8073a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8074a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8075a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8076a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8077a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8078a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8079a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8080a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
8081a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
8082a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: CHACHA20_POLY1305_SHA256,ffdhe2048,ecdsa_secp521r1_sha512" \
8083a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
8084a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048" \
8085a8e1175bSopenharmony_ci         0 \
8086a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8087a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8088a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
8089a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
8090a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
8091a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8092a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8093a8e1175bSopenharmony_ci
8094a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8095a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8096a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8097a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8098a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8099a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8100a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8101a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
8102a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
8103a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
8104a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: CHACHA20_POLY1305_SHA256,ffdhe2048,rsa_pss_rsae_sha256" \
8105a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+CHACHA20-POLY1305:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
8106a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048" \
8107a8e1175bSopenharmony_ci         0 \
8108a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8109a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8110a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
8111a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
8112a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
8113a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8114a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8115a8e1175bSopenharmony_ci
8116a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8117a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8118a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8119a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8120a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8121a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8122a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8123a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8124a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_SHA256,secp256r1,ecdsa_secp256r1_sha256" \
8125a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
8126a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1" \
8127a8e1175bSopenharmony_ci         0 \
8128a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8129a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8130a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
8131a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
8132a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
8133a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8134a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8135a8e1175bSopenharmony_ci
8136a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8137a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8138a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8139a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8140a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8141a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8142a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8143a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8144a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_SHA256,secp256r1,ecdsa_secp384r1_sha384" \
8145a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
8146a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1" \
8147a8e1175bSopenharmony_ci         0 \
8148a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8149a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8150a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
8151a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
8152a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
8153a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8154a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8155a8e1175bSopenharmony_ci
8156a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8157a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8158a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8159a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8160a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8161a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8162a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8163a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8164a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_SHA256,secp256r1,ecdsa_secp521r1_sha512" \
8165a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
8166a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1" \
8167a8e1175bSopenharmony_ci         0 \
8168a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8169a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8170a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
8171a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
8172a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
8173a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8174a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8175a8e1175bSopenharmony_ci
8176a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8177a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8178a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8179a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8180a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8181a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8182a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8183a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
8184a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8185a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_SHA256,secp256r1,rsa_pss_rsae_sha256" \
8186a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
8187a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1" \
8188a8e1175bSopenharmony_ci         0 \
8189a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8190a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8191a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
8192a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
8193a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
8194a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8195a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8196a8e1175bSopenharmony_ci
8197a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8198a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8199a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8200a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8201a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8202a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8203a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8204a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8205a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_SHA256,secp384r1,ecdsa_secp256r1_sha256" \
8206a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
8207a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1" \
8208a8e1175bSopenharmony_ci         0 \
8209a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8210a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8211a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
8212a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
8213a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
8214a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8215a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8216a8e1175bSopenharmony_ci
8217a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8218a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8219a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8220a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8221a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8222a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8223a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8224a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8225a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_SHA256,secp384r1,ecdsa_secp384r1_sha384" \
8226a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
8227a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1" \
8228a8e1175bSopenharmony_ci         0 \
8229a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8230a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8231a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
8232a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
8233a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
8234a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8235a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8236a8e1175bSopenharmony_ci
8237a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8238a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8239a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8240a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8241a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8242a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8243a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8244a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8245a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_SHA256,secp384r1,ecdsa_secp521r1_sha512" \
8246a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
8247a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1" \
8248a8e1175bSopenharmony_ci         0 \
8249a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8250a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8251a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
8252a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
8253a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
8254a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8255a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8256a8e1175bSopenharmony_ci
8257a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8258a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8259a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8260a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8261a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8262a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8263a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8264a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
8265a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8266a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_SHA256,secp384r1,rsa_pss_rsae_sha256" \
8267a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
8268a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1" \
8269a8e1175bSopenharmony_ci         0 \
8270a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8271a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8272a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
8273a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
8274a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
8275a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8276a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8277a8e1175bSopenharmony_ci
8278a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8279a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8280a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8281a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8282a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8283a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8284a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8285a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8286a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_SHA256,secp521r1,ecdsa_secp256r1_sha256" \
8287a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
8288a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1" \
8289a8e1175bSopenharmony_ci         0 \
8290a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8291a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8292a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
8293a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
8294a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
8295a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8296a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8297a8e1175bSopenharmony_ci
8298a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8299a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8300a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8301a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8302a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8303a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8304a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8305a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8306a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_SHA256,secp521r1,ecdsa_secp384r1_sha384" \
8307a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
8308a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1" \
8309a8e1175bSopenharmony_ci         0 \
8310a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8311a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8312a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
8313a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
8314a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
8315a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8316a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8317a8e1175bSopenharmony_ci
8318a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8319a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8320a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8321a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8322a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8323a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8324a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8325a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8326a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_SHA256,secp521r1,ecdsa_secp521r1_sha512" \
8327a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
8328a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1" \
8329a8e1175bSopenharmony_ci         0 \
8330a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8331a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8332a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
8333a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
8334a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
8335a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8336a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8337a8e1175bSopenharmony_ci
8338a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8339a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8340a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8341a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8342a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8343a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8344a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8345a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
8346a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8347a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_SHA256,secp521r1,rsa_pss_rsae_sha256" \
8348a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
8349a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1" \
8350a8e1175bSopenharmony_ci         0 \
8351a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8352a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8353a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
8354a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
8355a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
8356a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8357a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8358a8e1175bSopenharmony_ci
8359a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8360a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8361a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8362a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8363a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8364a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8365a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8366a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8367a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_SHA256,x25519,ecdsa_secp256r1_sha256" \
8368a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
8369a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x25519" \
8370a8e1175bSopenharmony_ci         0 \
8371a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8372a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8373a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
8374a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
8375a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
8376a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8377a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8378a8e1175bSopenharmony_ci
8379a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8380a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8381a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8382a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8383a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8384a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8385a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8386a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8387a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_SHA256,x25519,ecdsa_secp384r1_sha384" \
8388a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
8389a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x25519" \
8390a8e1175bSopenharmony_ci         0 \
8391a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8392a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8393a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
8394a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
8395a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
8396a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8397a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8398a8e1175bSopenharmony_ci
8399a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8400a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8401a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8402a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8403a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8404a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8405a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8406a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8407a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_SHA256,x25519,ecdsa_secp521r1_sha512" \
8408a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
8409a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x25519" \
8410a8e1175bSopenharmony_ci         0 \
8411a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8412a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8413a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
8414a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
8415a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
8416a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8417a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8418a8e1175bSopenharmony_ci
8419a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8420a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8421a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8422a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8423a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8424a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8425a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8426a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
8427a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8428a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_SHA256,x25519,rsa_pss_rsae_sha256" \
8429a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
8430a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x25519" \
8431a8e1175bSopenharmony_ci         0 \
8432a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8433a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8434a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
8435a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
8436a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
8437a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8438a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8439a8e1175bSopenharmony_ci
8440a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8441a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8442a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8443a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8444a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8445a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8446a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8447a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8448a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_SHA256,x448,ecdsa_secp256r1_sha256" \
8449a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
8450a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x448" \
8451a8e1175bSopenharmony_ci         0 \
8452a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8453a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8454a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
8455a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
8456a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
8457a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8458a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8459a8e1175bSopenharmony_ci
8460a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8461a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8462a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8463a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8464a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8465a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8466a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8467a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8468a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_SHA256,x448,ecdsa_secp384r1_sha384" \
8469a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
8470a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x448" \
8471a8e1175bSopenharmony_ci         0 \
8472a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8473a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8474a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
8475a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
8476a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
8477a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8478a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8479a8e1175bSopenharmony_ci
8480a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8481a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8482a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8483a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8484a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8485a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8486a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8487a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8488a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_SHA256,x448,ecdsa_secp521r1_sha512" \
8489a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
8490a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x448" \
8491a8e1175bSopenharmony_ci         0 \
8492a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8493a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8494a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
8495a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
8496a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
8497a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8498a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8499a8e1175bSopenharmony_ci
8500a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8501a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8502a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8503a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8504a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8505a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8506a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8507a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
8508a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8509a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_SHA256,x448,rsa_pss_rsae_sha256" \
8510a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
8511a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x448" \
8512a8e1175bSopenharmony_ci         0 \
8513a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8514a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8515a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
8516a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
8517a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
8518a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8519a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8520a8e1175bSopenharmony_ci
8521a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8522a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8523a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8524a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8525a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8526a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8527a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8528a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
8529a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
8530a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_SHA256,ffdhe2048,ecdsa_secp256r1_sha256" \
8531a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
8532a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048" \
8533a8e1175bSopenharmony_ci         0 \
8534a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8535a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8536a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
8537a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
8538a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
8539a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8540a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8541a8e1175bSopenharmony_ci
8542a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8543a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8544a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8545a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8546a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8547a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8548a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8549a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
8550a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
8551a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_SHA256,ffdhe2048,ecdsa_secp384r1_sha384" \
8552a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
8553a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048" \
8554a8e1175bSopenharmony_ci         0 \
8555a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8556a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8557a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
8558a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
8559a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
8560a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8561a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8562a8e1175bSopenharmony_ci
8563a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8564a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8565a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8566a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8567a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8568a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8569a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8570a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
8571a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
8572a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_SHA256,ffdhe2048,ecdsa_secp521r1_sha512" \
8573a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
8574a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048" \
8575a8e1175bSopenharmony_ci         0 \
8576a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8577a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8578a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
8579a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
8580a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
8581a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8582a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8583a8e1175bSopenharmony_ci
8584a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8585a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8586a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8587a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8588a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8589a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8590a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8591a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
8592a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
8593a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
8594a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_SHA256,ffdhe2048,rsa_pss_rsae_sha256" \
8595a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+AES-128-CCM:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
8596a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048" \
8597a8e1175bSopenharmony_ci         0 \
8598a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8599a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8600a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
8601a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
8602a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
8603a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8604a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8605a8e1175bSopenharmony_ci
8606a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8607a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8608a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8609a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8610a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8611a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8612a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8613a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8614a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_8_SHA256,secp256r1,ecdsa_secp256r1_sha256" \
8615a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
8616a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1" \
8617a8e1175bSopenharmony_ci         0 \
8618a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8619a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8620a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
8621a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
8622a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
8623a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8624a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8625a8e1175bSopenharmony_ci
8626a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8627a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8628a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8629a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8630a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8631a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8632a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8633a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8634a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_8_SHA256,secp256r1,ecdsa_secp384r1_sha384" \
8635a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
8636a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1" \
8637a8e1175bSopenharmony_ci         0 \
8638a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8639a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8640a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
8641a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
8642a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
8643a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8644a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8645a8e1175bSopenharmony_ci
8646a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8647a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8648a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8649a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8650a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8651a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8652a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8653a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8654a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_8_SHA256,secp256r1,ecdsa_secp521r1_sha512" \
8655a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
8656a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1" \
8657a8e1175bSopenharmony_ci         0 \
8658a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8659a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8660a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
8661a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
8662a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
8663a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8664a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8665a8e1175bSopenharmony_ci
8666a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8667a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8668a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8669a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8670a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8671a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8672a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8673a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
8674a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8675a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_8_SHA256,secp256r1,rsa_pss_rsae_sha256" \
8676a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
8677a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1" \
8678a8e1175bSopenharmony_ci         0 \
8679a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8680a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8681a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
8682a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
8683a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
8684a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8685a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8686a8e1175bSopenharmony_ci
8687a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8688a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8689a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8690a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8691a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8692a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8693a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8694a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8695a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_8_SHA256,secp384r1,ecdsa_secp256r1_sha256" \
8696a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
8697a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1" \
8698a8e1175bSopenharmony_ci         0 \
8699a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8700a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8701a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
8702a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
8703a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
8704a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8705a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8706a8e1175bSopenharmony_ci
8707a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8708a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8709a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8710a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8711a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8712a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8713a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8714a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8715a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_8_SHA256,secp384r1,ecdsa_secp384r1_sha384" \
8716a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
8717a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1" \
8718a8e1175bSopenharmony_ci         0 \
8719a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8720a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8721a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
8722a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
8723a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
8724a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8725a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8726a8e1175bSopenharmony_ci
8727a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8728a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8729a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8730a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8731a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8732a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8733a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8734a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8735a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_8_SHA256,secp384r1,ecdsa_secp521r1_sha512" \
8736a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
8737a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1" \
8738a8e1175bSopenharmony_ci         0 \
8739a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8740a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8741a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
8742a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
8743a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
8744a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8745a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8746a8e1175bSopenharmony_ci
8747a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8748a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8749a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8750a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8751a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8752a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8753a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8754a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
8755a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8756a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_8_SHA256,secp384r1,rsa_pss_rsae_sha256" \
8757a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
8758a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1" \
8759a8e1175bSopenharmony_ci         0 \
8760a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8761a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8762a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
8763a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
8764a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
8765a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8766a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8767a8e1175bSopenharmony_ci
8768a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8769a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8770a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8771a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8772a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8773a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8774a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8775a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8776a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_8_SHA256,secp521r1,ecdsa_secp256r1_sha256" \
8777a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
8778a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1" \
8779a8e1175bSopenharmony_ci         0 \
8780a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8781a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8782a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
8783a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
8784a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
8785a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8786a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8787a8e1175bSopenharmony_ci
8788a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8789a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8790a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8791a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8792a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8793a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8794a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8795a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8796a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_8_SHA256,secp521r1,ecdsa_secp384r1_sha384" \
8797a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
8798a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1" \
8799a8e1175bSopenharmony_ci         0 \
8800a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8801a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8802a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
8803a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
8804a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
8805a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8806a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8807a8e1175bSopenharmony_ci
8808a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8809a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8810a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8811a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8812a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8813a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8814a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8815a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8816a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_8_SHA256,secp521r1,ecdsa_secp521r1_sha512" \
8817a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
8818a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1" \
8819a8e1175bSopenharmony_ci         0 \
8820a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8821a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8822a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
8823a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
8824a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
8825a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8826a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8827a8e1175bSopenharmony_ci
8828a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8829a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8830a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8831a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8832a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8833a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8834a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8835a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
8836a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8837a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_8_SHA256,secp521r1,rsa_pss_rsae_sha256" \
8838a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
8839a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1" \
8840a8e1175bSopenharmony_ci         0 \
8841a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8842a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8843a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
8844a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
8845a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
8846a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8847a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8848a8e1175bSopenharmony_ci
8849a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8850a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8851a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8852a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8853a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8854a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8855a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8856a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8857a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_8_SHA256,x25519,ecdsa_secp256r1_sha256" \
8858a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
8859a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x25519" \
8860a8e1175bSopenharmony_ci         0 \
8861a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8862a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8863a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
8864a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
8865a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
8866a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8867a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8868a8e1175bSopenharmony_ci
8869a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8870a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8871a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8872a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8873a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8874a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8875a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8876a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8877a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_8_SHA256,x25519,ecdsa_secp384r1_sha384" \
8878a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
8879a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x25519" \
8880a8e1175bSopenharmony_ci         0 \
8881a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8882a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8883a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
8884a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
8885a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
8886a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8887a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8888a8e1175bSopenharmony_ci
8889a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8890a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8891a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8892a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8893a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8894a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8895a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8896a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8897a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_8_SHA256,x25519,ecdsa_secp521r1_sha512" \
8898a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
8899a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x25519" \
8900a8e1175bSopenharmony_ci         0 \
8901a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8902a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8903a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
8904a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
8905a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
8906a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8907a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8908a8e1175bSopenharmony_ci
8909a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8910a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8911a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8912a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8913a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8914a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8915a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8916a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
8917a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8918a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_8_SHA256,x25519,rsa_pss_rsae_sha256" \
8919a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
8920a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x25519" \
8921a8e1175bSopenharmony_ci         0 \
8922a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8923a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8924a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
8925a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
8926a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
8927a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8928a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8929a8e1175bSopenharmony_ci
8930a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8931a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8932a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8933a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8934a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8935a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8936a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8937a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8938a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_8_SHA256,x448,ecdsa_secp256r1_sha256" \
8939a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
8940a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x448" \
8941a8e1175bSopenharmony_ci         0 \
8942a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8943a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8944a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
8945a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
8946a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
8947a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8948a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8949a8e1175bSopenharmony_ci
8950a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8951a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8952a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8953a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8954a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8955a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8956a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8957a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8958a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_8_SHA256,x448,ecdsa_secp384r1_sha384" \
8959a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
8960a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x448" \
8961a8e1175bSopenharmony_ci         0 \
8962a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8963a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8964a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
8965a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
8966a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
8967a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8968a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8969a8e1175bSopenharmony_ci
8970a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8971a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8972a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8973a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8974a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8975a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8976a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8977a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8978a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_8_SHA256,x448,ecdsa_secp521r1_sha512" \
8979a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
8980a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x448" \
8981a8e1175bSopenharmony_ci         0 \
8982a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
8983a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
8984a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
8985a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
8986a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
8987a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
8988a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
8989a8e1175bSopenharmony_ci
8990a8e1175bSopenharmony_cirequires_gnutls_tls1_3
8991a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
8992a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
8993a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
8994a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
8995a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
8996a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
8997a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
8998a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
8999a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_8_SHA256,x448,rsa_pss_rsae_sha256" \
9000a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
9001a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x448" \
9002a8e1175bSopenharmony_ci         0 \
9003a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
9004a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9005a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
9006a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
9007a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
9008a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9009a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9010a8e1175bSopenharmony_ci
9011a8e1175bSopenharmony_cirequires_gnutls_tls1_3
9012a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
9013a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
9014a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9015a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9016a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9017a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9018a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
9019a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
9020a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_8_SHA256,ffdhe2048,ecdsa_secp256r1_sha256" \
9021a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
9022a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048" \
9023a8e1175bSopenharmony_ci         0 \
9024a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
9025a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9026a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
9027a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
9028a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
9029a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9030a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9031a8e1175bSopenharmony_ci
9032a8e1175bSopenharmony_cirequires_gnutls_tls1_3
9033a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
9034a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
9035a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9036a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9037a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9038a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9039a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
9040a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
9041a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_8_SHA256,ffdhe2048,ecdsa_secp384r1_sha384" \
9042a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp384r1.crt --x509keyfile data_files/ecdsa_secp384r1.key --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP384R1-SHA384:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
9043a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048" \
9044a8e1175bSopenharmony_ci         0 \
9045a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
9046a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9047a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
9048a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
9049a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
9050a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9051a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9052a8e1175bSopenharmony_ci
9053a8e1175bSopenharmony_cirequires_gnutls_tls1_3
9054a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
9055a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
9056a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9057a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9058a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9059a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9060a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
9061a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
9062a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_8_SHA256,ffdhe2048,ecdsa_secp521r1_sha512" \
9063a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp521r1.crt --x509keyfile data_files/ecdsa_secp521r1.key --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-ECDSA-SECP521R1-SHA512:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
9064a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048" \
9065a8e1175bSopenharmony_ci         0 \
9066a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
9067a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9068a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
9069a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
9070a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
9071a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9072a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9073a8e1175bSopenharmony_ci
9074a8e1175bSopenharmony_cirequires_gnutls_tls1_3
9075a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
9076a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
9077a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9078a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9079a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9080a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9081a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
9082a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
9083a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
9084a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: AES_128_CCM_8_SHA256,ffdhe2048,rsa_pss_rsae_sha256" \
9085a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/server2-sha256.crt --x509keyfile data_files/server2.key --priority=NONE:+AES-128-CCM-8:+SHA256:+AEAD:+SIGN-RSA-PSS-RSAE-SHA256:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
9086a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048" \
9087a8e1175bSopenharmony_ci         0 \
9088a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
9089a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9090a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
9091a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
9092a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
9093a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9094a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9095a8e1175bSopenharmony_ci
9096a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9097a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9098a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9099a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9100a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9101a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9102a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9103a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9104a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9105a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9106a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_GCM_SHA256,secp256r1,ecdsa_secp256r1_sha256" \
9107a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9108a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1" \
9109a8e1175bSopenharmony_ci         0 \
9110a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9111a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
9112a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
9113a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
9114a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9115a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9116a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
9117a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
9118a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
9119a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9120a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9121a8e1175bSopenharmony_ci
9122a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9123a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9124a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9125a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9126a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9127a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9128a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9129a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9130a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9131a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9132a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_GCM_SHA256,secp256r1,ecdsa_secp384r1_sha384" \
9133a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9134a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1" \
9135a8e1175bSopenharmony_ci         0 \
9136a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9137a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
9138a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
9139a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
9140a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9141a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9142a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
9143a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
9144a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
9145a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9146a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9147a8e1175bSopenharmony_ci
9148a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9149a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9150a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9151a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9152a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9153a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9154a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9155a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9156a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9157a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9158a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_GCM_SHA256,secp256r1,ecdsa_secp521r1_sha512" \
9159a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9160a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1" \
9161a8e1175bSopenharmony_ci         0 \
9162a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9163a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
9164a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
9165a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
9166a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9167a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9168a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
9169a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
9170a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
9171a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9172a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9173a8e1175bSopenharmony_ci
9174a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9175a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9176a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9177a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9178a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
9179a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9180a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9181a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9182a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9183a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9184a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
9185a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9186a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_GCM_SHA256,secp256r1,rsa_pss_rsae_sha256" \
9187a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9188a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1" \
9189a8e1175bSopenharmony_ci         0 \
9190a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9191a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
9192a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
9193a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
9194a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9195a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9196a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
9197a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
9198a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
9199a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9200a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9201a8e1175bSopenharmony_ci
9202a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9203a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9204a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9205a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9206a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9207a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9208a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9209a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9210a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9211a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9212a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_GCM_SHA256,secp384r1,ecdsa_secp256r1_sha256" \
9213a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9214a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1" \
9215a8e1175bSopenharmony_ci         0 \
9216a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9217a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
9218a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
9219a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
9220a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9221a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9222a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
9223a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
9224a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
9225a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9226a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9227a8e1175bSopenharmony_ci
9228a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9229a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9230a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9231a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9232a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9233a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9234a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9235a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9236a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9237a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9238a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_GCM_SHA256,secp384r1,ecdsa_secp384r1_sha384" \
9239a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9240a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1" \
9241a8e1175bSopenharmony_ci         0 \
9242a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9243a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
9244a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
9245a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
9246a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9247a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9248a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
9249a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
9250a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
9251a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9252a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9253a8e1175bSopenharmony_ci
9254a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9255a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9256a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9257a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9258a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9259a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9260a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9261a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9262a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9263a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9264a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_GCM_SHA256,secp384r1,ecdsa_secp521r1_sha512" \
9265a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9266a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1" \
9267a8e1175bSopenharmony_ci         0 \
9268a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9269a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
9270a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
9271a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
9272a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9273a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9274a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
9275a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
9276a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
9277a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9278a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9279a8e1175bSopenharmony_ci
9280a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9281a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9282a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9283a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9284a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
9285a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9286a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9287a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9288a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9289a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9290a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
9291a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9292a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_GCM_SHA256,secp384r1,rsa_pss_rsae_sha256" \
9293a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9294a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1" \
9295a8e1175bSopenharmony_ci         0 \
9296a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9297a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
9298a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
9299a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
9300a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9301a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9302a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
9303a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
9304a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
9305a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9306a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9307a8e1175bSopenharmony_ci
9308a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9309a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9310a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9311a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9312a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9313a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9314a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9315a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9316a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9317a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9318a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_GCM_SHA256,secp521r1,ecdsa_secp256r1_sha256" \
9319a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9320a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1" \
9321a8e1175bSopenharmony_ci         0 \
9322a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9323a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
9324a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
9325a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
9326a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9327a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9328a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
9329a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
9330a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
9331a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9332a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9333a8e1175bSopenharmony_ci
9334a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9335a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9336a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9337a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9338a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9339a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9340a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9341a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9342a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9343a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9344a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_GCM_SHA256,secp521r1,ecdsa_secp384r1_sha384" \
9345a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9346a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1" \
9347a8e1175bSopenharmony_ci         0 \
9348a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9349a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
9350a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
9351a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
9352a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9353a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9354a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
9355a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
9356a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
9357a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9358a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9359a8e1175bSopenharmony_ci
9360a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9361a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9362a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9363a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9364a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9365a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9366a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9367a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9368a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9369a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9370a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_GCM_SHA256,secp521r1,ecdsa_secp521r1_sha512" \
9371a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9372a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1" \
9373a8e1175bSopenharmony_ci         0 \
9374a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9375a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
9376a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
9377a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
9378a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9379a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9380a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
9381a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
9382a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
9383a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9384a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9385a8e1175bSopenharmony_ci
9386a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9387a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9388a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9389a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9390a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
9391a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9392a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9393a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9394a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9395a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9396a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
9397a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9398a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_GCM_SHA256,secp521r1,rsa_pss_rsae_sha256" \
9399a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9400a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1" \
9401a8e1175bSopenharmony_ci         0 \
9402a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9403a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
9404a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
9405a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
9406a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9407a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9408a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
9409a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
9410a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
9411a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9412a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9413a8e1175bSopenharmony_ci
9414a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9415a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9416a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9417a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9418a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9419a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9420a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9421a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9422a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9423a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9424a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_GCM_SHA256,x25519,ecdsa_secp256r1_sha256" \
9425a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9426a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x25519" \
9427a8e1175bSopenharmony_ci         0 \
9428a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9429a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
9430a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
9431a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
9432a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9433a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9434a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
9435a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
9436a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
9437a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9438a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9439a8e1175bSopenharmony_ci
9440a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9441a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9442a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9443a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9444a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9445a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9446a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9447a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9448a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9449a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9450a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_GCM_SHA256,x25519,ecdsa_secp384r1_sha384" \
9451a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9452a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x25519" \
9453a8e1175bSopenharmony_ci         0 \
9454a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9455a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
9456a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
9457a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
9458a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9459a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9460a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
9461a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
9462a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
9463a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9464a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9465a8e1175bSopenharmony_ci
9466a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9467a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9468a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9469a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9470a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9471a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9472a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9473a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9474a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9475a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9476a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_GCM_SHA256,x25519,ecdsa_secp521r1_sha512" \
9477a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9478a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x25519" \
9479a8e1175bSopenharmony_ci         0 \
9480a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9481a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
9482a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
9483a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
9484a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9485a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9486a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
9487a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
9488a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
9489a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9490a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9491a8e1175bSopenharmony_ci
9492a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9493a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9494a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9495a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9496a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
9497a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9498a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9499a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9500a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9501a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9502a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
9503a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9504a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_GCM_SHA256,x25519,rsa_pss_rsae_sha256" \
9505a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9506a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x25519" \
9507a8e1175bSopenharmony_ci         0 \
9508a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9509a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
9510a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
9511a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
9512a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9513a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9514a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
9515a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
9516a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
9517a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9518a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9519a8e1175bSopenharmony_ci
9520a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9521a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9522a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9523a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9524a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9525a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9526a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9527a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9528a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9529a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9530a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_GCM_SHA256,x448,ecdsa_secp256r1_sha256" \
9531a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9532a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x448" \
9533a8e1175bSopenharmony_ci         0 \
9534a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9535a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
9536a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
9537a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
9538a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9539a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9540a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
9541a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
9542a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
9543a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9544a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9545a8e1175bSopenharmony_ci
9546a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9547a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9548a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9549a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9550a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9551a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9552a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9553a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9554a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9555a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9556a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_GCM_SHA256,x448,ecdsa_secp384r1_sha384" \
9557a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9558a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x448" \
9559a8e1175bSopenharmony_ci         0 \
9560a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9561a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
9562a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
9563a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
9564a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9565a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9566a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
9567a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
9568a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
9569a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9570a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9571a8e1175bSopenharmony_ci
9572a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9573a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9574a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9575a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9576a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9577a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9578a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9579a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9580a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9581a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9582a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_GCM_SHA256,x448,ecdsa_secp521r1_sha512" \
9583a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9584a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x448" \
9585a8e1175bSopenharmony_ci         0 \
9586a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9587a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
9588a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
9589a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
9590a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9591a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9592a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
9593a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
9594a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
9595a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9596a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9597a8e1175bSopenharmony_ci
9598a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9599a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9600a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9601a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9602a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
9603a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9604a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9605a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9606a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9607a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9608a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
9609a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9610a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_GCM_SHA256,x448,rsa_pss_rsae_sha256" \
9611a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9612a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x448" \
9613a8e1175bSopenharmony_ci         0 \
9614a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9615a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
9616a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
9617a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
9618a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9619a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9620a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
9621a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
9622a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
9623a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9624a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9625a8e1175bSopenharmony_ci
9626a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9627a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9628a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9629a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9630a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
9631a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
9632a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9633a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9634a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9635a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9636a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
9637a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
9638a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_GCM_SHA256,ffdhe2048,ecdsa_secp256r1_sha256" \
9639a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9640a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048" \
9641a8e1175bSopenharmony_ci         0 \
9642a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9643a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
9644a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
9645a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
9646a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9647a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9648a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
9649a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
9650a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
9651a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9652a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9653a8e1175bSopenharmony_ci
9654a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9655a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9656a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9657a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9658a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
9659a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
9660a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9661a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9662a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9663a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9664a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
9665a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
9666a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_GCM_SHA256,ffdhe2048,ecdsa_secp384r1_sha384" \
9667a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9668a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048" \
9669a8e1175bSopenharmony_ci         0 \
9670a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9671a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
9672a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
9673a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
9674a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9675a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9676a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
9677a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
9678a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
9679a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9680a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9681a8e1175bSopenharmony_ci
9682a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9683a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9684a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9685a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9686a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
9687a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
9688a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9689a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9690a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9691a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9692a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
9693a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
9694a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_GCM_SHA256,ffdhe2048,ecdsa_secp521r1_sha512" \
9695a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9696a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048" \
9697a8e1175bSopenharmony_ci         0 \
9698a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9699a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
9700a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
9701a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
9702a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9703a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9704a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
9705a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
9706a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
9707a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9708a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9709a8e1175bSopenharmony_ci
9710a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9711a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9712a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9713a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9714a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
9715a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
9716a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
9717a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9718a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9719a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9720a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9721a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
9722a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
9723a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
9724a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_GCM_SHA256,ffdhe2048,rsa_pss_rsae_sha256" \
9725a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9726a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-GCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048" \
9727a8e1175bSopenharmony_ci         0 \
9728a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9729a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-GCM-SHA256 ( id=4865 )" \
9730a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
9731a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
9732a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9733a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9734a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
9735a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
9736a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
9737a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9738a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9739a8e1175bSopenharmony_ci
9740a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9741a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9742a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9743a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9744a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9745a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9746a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9747a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9748a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9749a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9750a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_256_GCM_SHA384,secp256r1,ecdsa_secp256r1_sha256" \
9751a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9752a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1" \
9753a8e1175bSopenharmony_ci         0 \
9754a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9755a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
9756a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
9757a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
9758a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9759a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9760a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
9761a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
9762a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
9763a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9764a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9765a8e1175bSopenharmony_ci
9766a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9767a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9768a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9769a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9770a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9771a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9772a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9773a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9774a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9775a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9776a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_256_GCM_SHA384,secp256r1,ecdsa_secp384r1_sha384" \
9777a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9778a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1" \
9779a8e1175bSopenharmony_ci         0 \
9780a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9781a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
9782a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
9783a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
9784a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9785a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9786a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
9787a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
9788a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
9789a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9790a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9791a8e1175bSopenharmony_ci
9792a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9793a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9794a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9795a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9796a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9797a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9798a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9799a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9800a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9801a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9802a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_256_GCM_SHA384,secp256r1,ecdsa_secp521r1_sha512" \
9803a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9804a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1" \
9805a8e1175bSopenharmony_ci         0 \
9806a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9807a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
9808a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
9809a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
9810a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9811a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9812a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
9813a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
9814a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
9815a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9816a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9817a8e1175bSopenharmony_ci
9818a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9819a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9820a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9821a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9822a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
9823a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9824a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9825a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9826a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9827a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9828a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
9829a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9830a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_256_GCM_SHA384,secp256r1,rsa_pss_rsae_sha256" \
9831a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9832a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1" \
9833a8e1175bSopenharmony_ci         0 \
9834a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9835a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
9836a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
9837a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
9838a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9839a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9840a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
9841a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
9842a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
9843a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9844a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9845a8e1175bSopenharmony_ci
9846a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9847a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9848a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9849a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9850a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9851a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9852a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9853a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9854a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9855a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9856a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_256_GCM_SHA384,secp384r1,ecdsa_secp256r1_sha256" \
9857a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9858a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1" \
9859a8e1175bSopenharmony_ci         0 \
9860a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9861a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
9862a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
9863a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
9864a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9865a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9866a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
9867a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
9868a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
9869a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9870a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9871a8e1175bSopenharmony_ci
9872a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9873a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9874a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9875a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9876a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9877a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9878a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9879a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9880a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9881a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9882a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_256_GCM_SHA384,secp384r1,ecdsa_secp384r1_sha384" \
9883a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9884a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1" \
9885a8e1175bSopenharmony_ci         0 \
9886a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9887a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
9888a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
9889a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
9890a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9891a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9892a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
9893a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
9894a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
9895a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9896a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9897a8e1175bSopenharmony_ci
9898a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9899a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9900a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9901a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9902a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9903a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9904a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9905a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9906a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9907a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9908a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_256_GCM_SHA384,secp384r1,ecdsa_secp521r1_sha512" \
9909a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9910a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1" \
9911a8e1175bSopenharmony_ci         0 \
9912a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9913a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
9914a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
9915a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
9916a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9917a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9918a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
9919a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
9920a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
9921a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9922a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9923a8e1175bSopenharmony_ci
9924a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9925a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9926a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9927a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9928a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
9929a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9930a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9931a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9932a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9933a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9934a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
9935a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9936a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_256_GCM_SHA384,secp384r1,rsa_pss_rsae_sha256" \
9937a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9938a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1" \
9939a8e1175bSopenharmony_ci         0 \
9940a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9941a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
9942a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
9943a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
9944a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9945a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9946a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
9947a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
9948a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
9949a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9950a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9951a8e1175bSopenharmony_ci
9952a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9953a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9954a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9955a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9956a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9957a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9958a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9959a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9960a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9961a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9962a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_256_GCM_SHA384,secp521r1,ecdsa_secp256r1_sha256" \
9963a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9964a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1" \
9965a8e1175bSopenharmony_ci         0 \
9966a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9967a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
9968a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
9969a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
9970a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9971a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9972a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
9973a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
9974a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
9975a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
9976a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
9977a8e1175bSopenharmony_ci
9978a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
9979a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9980a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9981a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9982a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9983a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
9984a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
9985a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
9986a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
9987a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
9988a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_256_GCM_SHA384,secp521r1,ecdsa_secp384r1_sha384" \
9989a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
9990a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1" \
9991a8e1175bSopenharmony_ci         0 \
9992a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
9993a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
9994a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
9995a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
9996a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
9997a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
9998a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
9999a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
10000a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
10001a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10002a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10003a8e1175bSopenharmony_ci
10004a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10005a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10006a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10007a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10008a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10009a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10010a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10011a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10012a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10013a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10014a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_256_GCM_SHA384,secp521r1,ecdsa_secp521r1_sha512" \
10015a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10016a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1" \
10017a8e1175bSopenharmony_ci         0 \
10018a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10019a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
10020a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
10021a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
10022a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10023a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10024a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
10025a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
10026a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
10027a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10028a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10029a8e1175bSopenharmony_ci
10030a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10031a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10032a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10033a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10034a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
10035a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10036a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10037a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10038a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10039a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10040a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
10041a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10042a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_256_GCM_SHA384,secp521r1,rsa_pss_rsae_sha256" \
10043a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10044a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1" \
10045a8e1175bSopenharmony_ci         0 \
10046a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10047a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
10048a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
10049a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
10050a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10051a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10052a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
10053a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
10054a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
10055a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10056a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10057a8e1175bSopenharmony_ci
10058a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10059a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10060a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10061a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10062a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10063a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10064a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10065a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10066a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10067a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10068a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_256_GCM_SHA384,x25519,ecdsa_secp256r1_sha256" \
10069a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10070a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=x25519" \
10071a8e1175bSopenharmony_ci         0 \
10072a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10073a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
10074a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
10075a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
10076a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10077a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10078a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
10079a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
10080a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
10081a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10082a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10083a8e1175bSopenharmony_ci
10084a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10085a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10086a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10087a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10088a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10089a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10090a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10091a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10092a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10093a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10094a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_256_GCM_SHA384,x25519,ecdsa_secp384r1_sha384" \
10095a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10096a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=x25519" \
10097a8e1175bSopenharmony_ci         0 \
10098a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10099a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
10100a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
10101a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
10102a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10103a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10104a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
10105a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
10106a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
10107a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10108a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10109a8e1175bSopenharmony_ci
10110a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10111a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10112a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10113a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10114a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10115a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10116a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10117a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10118a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10119a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10120a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_256_GCM_SHA384,x25519,ecdsa_secp521r1_sha512" \
10121a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10122a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=x25519" \
10123a8e1175bSopenharmony_ci         0 \
10124a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10125a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
10126a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
10127a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
10128a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10129a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10130a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
10131a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
10132a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
10133a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10134a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10135a8e1175bSopenharmony_ci
10136a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10137a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10138a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10139a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10140a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
10141a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10142a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10143a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10144a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10145a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10146a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
10147a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10148a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_256_GCM_SHA384,x25519,rsa_pss_rsae_sha256" \
10149a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10150a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=x25519" \
10151a8e1175bSopenharmony_ci         0 \
10152a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10153a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
10154a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
10155a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
10156a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10157a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10158a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
10159a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
10160a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
10161a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10162a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10163a8e1175bSopenharmony_ci
10164a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10165a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10166a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10167a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10168a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10169a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10170a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10171a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10172a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10173a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10174a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_256_GCM_SHA384,x448,ecdsa_secp256r1_sha256" \
10175a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10176a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=x448" \
10177a8e1175bSopenharmony_ci         0 \
10178a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10179a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
10180a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
10181a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
10182a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10183a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10184a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
10185a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
10186a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
10187a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10188a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10189a8e1175bSopenharmony_ci
10190a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10191a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10192a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10193a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10194a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10195a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10196a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10197a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10198a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10199a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10200a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_256_GCM_SHA384,x448,ecdsa_secp384r1_sha384" \
10201a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10202a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=x448" \
10203a8e1175bSopenharmony_ci         0 \
10204a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10205a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
10206a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
10207a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
10208a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10209a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10210a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
10211a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
10212a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
10213a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10214a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10215a8e1175bSopenharmony_ci
10216a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10217a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10218a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10219a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10220a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10221a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10222a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10223a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10224a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10225a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10226a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_256_GCM_SHA384,x448,ecdsa_secp521r1_sha512" \
10227a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10228a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=x448" \
10229a8e1175bSopenharmony_ci         0 \
10230a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10231a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
10232a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
10233a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
10234a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10235a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10236a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
10237a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
10238a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
10239a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10240a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10241a8e1175bSopenharmony_ci
10242a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10243a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10244a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10245a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10246a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
10247a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10248a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10249a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10250a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10251a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10252a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
10253a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10254a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_256_GCM_SHA384,x448,rsa_pss_rsae_sha256" \
10255a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10256a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=x448" \
10257a8e1175bSopenharmony_ci         0 \
10258a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10259a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
10260a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
10261a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
10262a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10263a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10264a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
10265a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
10266a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
10267a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10268a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10269a8e1175bSopenharmony_ci
10270a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10271a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10272a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10273a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10274a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
10275a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
10276a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10277a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10278a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10279a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10280a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
10281a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
10282a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_256_GCM_SHA384,ffdhe2048,ecdsa_secp256r1_sha256" \
10283a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10284a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048" \
10285a8e1175bSopenharmony_ci         0 \
10286a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10287a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
10288a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
10289a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
10290a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10291a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10292a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
10293a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
10294a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
10295a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10296a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10297a8e1175bSopenharmony_ci
10298a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10299a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10300a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10301a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10302a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
10303a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
10304a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10305a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10306a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10307a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10308a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
10309a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
10310a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_256_GCM_SHA384,ffdhe2048,ecdsa_secp384r1_sha384" \
10311a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10312a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048" \
10313a8e1175bSopenharmony_ci         0 \
10314a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10315a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
10316a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
10317a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
10318a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10319a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10320a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
10321a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
10322a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
10323a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10324a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10325a8e1175bSopenharmony_ci
10326a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10327a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10328a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10329a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10330a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
10331a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
10332a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10333a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10334a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10335a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10336a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
10337a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
10338a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_256_GCM_SHA384,ffdhe2048,ecdsa_secp521r1_sha512" \
10339a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10340a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048" \
10341a8e1175bSopenharmony_ci         0 \
10342a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10343a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
10344a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
10345a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
10346a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10347a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10348a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
10349a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
10350a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
10351a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10352a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10353a8e1175bSopenharmony_ci
10354a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10355a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10356a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10357a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10358a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
10359a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
10360a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
10361a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10362a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10363a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10364a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10365a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
10366a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
10367a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
10368a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_256_GCM_SHA384,ffdhe2048,rsa_pss_rsae_sha256" \
10369a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10370a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-256-GCM-SHA384 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048" \
10371a8e1175bSopenharmony_ci         0 \
10372a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10373a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-256-GCM-SHA384 ( id=4866 )" \
10374a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
10375a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
10376a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10377a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10378a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1302 ) - TLS1-3-AES-256-GCM-SHA384" \
10379a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
10380a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
10381a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10382a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10383a8e1175bSopenharmony_ci
10384a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10385a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10386a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10387a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10388a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10389a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10390a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10391a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10392a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10393a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10394a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: CHACHA20_POLY1305_SHA256,secp256r1,ecdsa_secp256r1_sha256" \
10395a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10396a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1" \
10397a8e1175bSopenharmony_ci         0 \
10398a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10399a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
10400a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
10401a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
10402a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10403a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10404a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
10405a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
10406a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
10407a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10408a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10409a8e1175bSopenharmony_ci
10410a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10411a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10412a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10413a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10414a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10415a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10416a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10417a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10418a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10419a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10420a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: CHACHA20_POLY1305_SHA256,secp256r1,ecdsa_secp384r1_sha384" \
10421a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10422a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1" \
10423a8e1175bSopenharmony_ci         0 \
10424a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10425a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
10426a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
10427a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
10428a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10429a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10430a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
10431a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
10432a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
10433a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10434a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10435a8e1175bSopenharmony_ci
10436a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10437a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10438a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10439a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10440a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10441a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10442a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10443a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10444a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10445a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10446a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: CHACHA20_POLY1305_SHA256,secp256r1,ecdsa_secp521r1_sha512" \
10447a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10448a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1" \
10449a8e1175bSopenharmony_ci         0 \
10450a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10451a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
10452a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
10453a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
10454a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10455a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10456a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
10457a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
10458a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
10459a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10460a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10461a8e1175bSopenharmony_ci
10462a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10463a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10464a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10465a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10466a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
10467a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10468a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10469a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10470a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10471a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10472a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
10473a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10474a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: CHACHA20_POLY1305_SHA256,secp256r1,rsa_pss_rsae_sha256" \
10475a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10476a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1" \
10477a8e1175bSopenharmony_ci         0 \
10478a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10479a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
10480a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
10481a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
10482a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10483a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10484a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
10485a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
10486a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
10487a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10488a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10489a8e1175bSopenharmony_ci
10490a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10491a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10492a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10493a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10494a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10495a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10496a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10497a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10498a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10499a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10500a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: CHACHA20_POLY1305_SHA256,secp384r1,ecdsa_secp256r1_sha256" \
10501a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10502a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1" \
10503a8e1175bSopenharmony_ci         0 \
10504a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10505a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
10506a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
10507a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
10508a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10509a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10510a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
10511a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
10512a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
10513a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10514a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10515a8e1175bSopenharmony_ci
10516a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10517a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10518a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10519a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10520a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10521a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10522a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10523a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10524a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10525a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10526a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: CHACHA20_POLY1305_SHA256,secp384r1,ecdsa_secp384r1_sha384" \
10527a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10528a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1" \
10529a8e1175bSopenharmony_ci         0 \
10530a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10531a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
10532a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
10533a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
10534a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10535a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10536a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
10537a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
10538a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
10539a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10540a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10541a8e1175bSopenharmony_ci
10542a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10543a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10544a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10545a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10546a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10547a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10548a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10549a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10550a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10551a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10552a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: CHACHA20_POLY1305_SHA256,secp384r1,ecdsa_secp521r1_sha512" \
10553a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10554a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1" \
10555a8e1175bSopenharmony_ci         0 \
10556a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10557a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
10558a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
10559a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
10560a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10561a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10562a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
10563a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
10564a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
10565a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10566a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10567a8e1175bSopenharmony_ci
10568a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10569a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10570a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10571a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10572a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
10573a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10574a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10575a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10576a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10577a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10578a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
10579a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10580a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: CHACHA20_POLY1305_SHA256,secp384r1,rsa_pss_rsae_sha256" \
10581a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10582a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1" \
10583a8e1175bSopenharmony_ci         0 \
10584a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10585a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
10586a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
10587a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
10588a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10589a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10590a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
10591a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
10592a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
10593a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10594a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10595a8e1175bSopenharmony_ci
10596a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10597a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10598a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10599a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10600a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10601a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10602a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10603a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10604a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10605a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10606a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: CHACHA20_POLY1305_SHA256,secp521r1,ecdsa_secp256r1_sha256" \
10607a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10608a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1" \
10609a8e1175bSopenharmony_ci         0 \
10610a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10611a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
10612a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
10613a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
10614a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10615a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10616a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
10617a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
10618a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
10619a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10620a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10621a8e1175bSopenharmony_ci
10622a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10623a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10624a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10625a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10626a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10627a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10628a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10629a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10630a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10631a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10632a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: CHACHA20_POLY1305_SHA256,secp521r1,ecdsa_secp384r1_sha384" \
10633a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10634a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1" \
10635a8e1175bSopenharmony_ci         0 \
10636a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10637a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
10638a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
10639a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
10640a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10641a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10642a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
10643a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
10644a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
10645a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10646a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10647a8e1175bSopenharmony_ci
10648a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10649a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10650a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10651a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10652a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10653a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10654a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10655a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10656a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10657a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10658a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: CHACHA20_POLY1305_SHA256,secp521r1,ecdsa_secp521r1_sha512" \
10659a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10660a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1" \
10661a8e1175bSopenharmony_ci         0 \
10662a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10663a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
10664a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
10665a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
10666a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10667a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10668a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
10669a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
10670a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
10671a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10672a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10673a8e1175bSopenharmony_ci
10674a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10675a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10676a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10677a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10678a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
10679a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10680a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10681a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10682a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10683a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10684a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
10685a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10686a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: CHACHA20_POLY1305_SHA256,secp521r1,rsa_pss_rsae_sha256" \
10687a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10688a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1" \
10689a8e1175bSopenharmony_ci         0 \
10690a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10691a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
10692a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
10693a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
10694a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10695a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10696a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
10697a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
10698a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
10699a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10700a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10701a8e1175bSopenharmony_ci
10702a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10703a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10704a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10705a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10706a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10707a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10708a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10709a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10710a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10711a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10712a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: CHACHA20_POLY1305_SHA256,x25519,ecdsa_secp256r1_sha256" \
10713a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10714a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x25519" \
10715a8e1175bSopenharmony_ci         0 \
10716a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10717a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
10718a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
10719a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
10720a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10721a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10722a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
10723a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
10724a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
10725a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10726a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10727a8e1175bSopenharmony_ci
10728a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10729a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10730a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10731a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10732a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10733a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10734a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10735a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10736a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10737a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10738a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: CHACHA20_POLY1305_SHA256,x25519,ecdsa_secp384r1_sha384" \
10739a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10740a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x25519" \
10741a8e1175bSopenharmony_ci         0 \
10742a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10743a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
10744a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
10745a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
10746a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10747a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10748a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
10749a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
10750a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
10751a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10752a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10753a8e1175bSopenharmony_ci
10754a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10755a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10756a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10757a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10758a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10759a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10760a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10761a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10762a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10763a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10764a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: CHACHA20_POLY1305_SHA256,x25519,ecdsa_secp521r1_sha512" \
10765a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10766a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x25519" \
10767a8e1175bSopenharmony_ci         0 \
10768a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10769a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
10770a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
10771a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
10772a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10773a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10774a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
10775a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
10776a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
10777a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10778a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10779a8e1175bSopenharmony_ci
10780a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10781a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10782a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10783a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10784a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
10785a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10786a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10787a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10788a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10789a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10790a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
10791a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10792a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: CHACHA20_POLY1305_SHA256,x25519,rsa_pss_rsae_sha256" \
10793a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10794a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x25519" \
10795a8e1175bSopenharmony_ci         0 \
10796a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10797a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
10798a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
10799a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
10800a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10801a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10802a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
10803a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
10804a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
10805a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10806a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10807a8e1175bSopenharmony_ci
10808a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10809a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10810a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10811a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10812a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10813a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10814a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10815a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10816a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10817a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10818a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: CHACHA20_POLY1305_SHA256,x448,ecdsa_secp256r1_sha256" \
10819a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10820a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x448" \
10821a8e1175bSopenharmony_ci         0 \
10822a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10823a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
10824a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
10825a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
10826a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10827a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10828a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
10829a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
10830a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
10831a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10832a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10833a8e1175bSopenharmony_ci
10834a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10835a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10836a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10837a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10838a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10839a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10840a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10841a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10842a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10843a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10844a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: CHACHA20_POLY1305_SHA256,x448,ecdsa_secp384r1_sha384" \
10845a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10846a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x448" \
10847a8e1175bSopenharmony_ci         0 \
10848a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10849a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
10850a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
10851a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
10852a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10853a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10854a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
10855a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
10856a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
10857a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10858a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10859a8e1175bSopenharmony_ci
10860a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10861a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10862a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10863a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10864a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10865a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10866a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10867a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10868a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10869a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10870a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: CHACHA20_POLY1305_SHA256,x448,ecdsa_secp521r1_sha512" \
10871a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10872a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x448" \
10873a8e1175bSopenharmony_ci         0 \
10874a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10875a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
10876a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
10877a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
10878a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10879a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10880a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
10881a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
10882a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
10883a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10884a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10885a8e1175bSopenharmony_ci
10886a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10887a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10888a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10889a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10890a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
10891a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10892a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10893a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10894a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10895a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10896a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
10897a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
10898a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: CHACHA20_POLY1305_SHA256,x448,rsa_pss_rsae_sha256" \
10899a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10900a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x448" \
10901a8e1175bSopenharmony_ci         0 \
10902a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10903a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
10904a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
10905a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
10906a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10907a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10908a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
10909a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
10910a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
10911a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10912a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10913a8e1175bSopenharmony_ci
10914a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10915a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10916a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10917a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10918a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
10919a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
10920a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10921a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10922a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10923a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10924a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
10925a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
10926a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: CHACHA20_POLY1305_SHA256,ffdhe2048,ecdsa_secp256r1_sha256" \
10927a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10928a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048" \
10929a8e1175bSopenharmony_ci         0 \
10930a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10931a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
10932a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
10933a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
10934a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10935a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10936a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
10937a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
10938a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
10939a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10940a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10941a8e1175bSopenharmony_ci
10942a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10943a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10944a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10945a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10946a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
10947a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
10948a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10949a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10950a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10951a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10952a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
10953a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
10954a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: CHACHA20_POLY1305_SHA256,ffdhe2048,ecdsa_secp384r1_sha384" \
10955a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10956a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048" \
10957a8e1175bSopenharmony_ci         0 \
10958a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10959a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
10960a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
10961a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
10962a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10963a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10964a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
10965a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
10966a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
10967a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10968a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10969a8e1175bSopenharmony_ci
10970a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10971a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10972a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10973a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10974a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
10975a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
10976a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
10977a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
10978a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
10979a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
10980a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
10981a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
10982a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: CHACHA20_POLY1305_SHA256,ffdhe2048,ecdsa_secp521r1_sha512" \
10983a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
10984a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048" \
10985a8e1175bSopenharmony_ci         0 \
10986a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
10987a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
10988a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
10989a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
10990a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
10991a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
10992a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
10993a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
10994a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
10995a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
10996a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
10997a8e1175bSopenharmony_ci
10998a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
10999a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11000a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11001a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11002a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
11003a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
11004a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
11005a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11006a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11007a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11008a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11009a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
11010a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
11011a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
11012a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: CHACHA20_POLY1305_SHA256,ffdhe2048,rsa_pss_rsae_sha256" \
11013a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11014a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-CHACHA20-POLY1305-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048" \
11015a8e1175bSopenharmony_ci         0 \
11016a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11017a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-CHACHA20-POLY1305-SHA256 ( id=4867 )" \
11018a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
11019a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
11020a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11021a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11022a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1303 ) - TLS1-3-CHACHA20-POLY1305-SHA256" \
11023a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
11024a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
11025a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11026a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11027a8e1175bSopenharmony_ci
11028a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11029a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11030a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11031a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11032a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11033a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11034a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11035a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11036a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11037a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11038a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_SHA256,secp256r1,ecdsa_secp256r1_sha256" \
11039a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11040a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1" \
11041a8e1175bSopenharmony_ci         0 \
11042a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11043a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
11044a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
11045a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
11046a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11047a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11048a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
11049a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
11050a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
11051a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11052a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11053a8e1175bSopenharmony_ci
11054a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11055a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11056a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11057a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11058a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11059a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11060a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11061a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11062a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11063a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11064a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_SHA256,secp256r1,ecdsa_secp384r1_sha384" \
11065a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11066a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1" \
11067a8e1175bSopenharmony_ci         0 \
11068a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11069a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
11070a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
11071a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
11072a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11073a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11074a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
11075a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
11076a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
11077a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11078a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11079a8e1175bSopenharmony_ci
11080a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11081a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11082a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11083a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11084a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11085a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11086a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11087a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11088a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11089a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11090a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_SHA256,secp256r1,ecdsa_secp521r1_sha512" \
11091a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11092a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1" \
11093a8e1175bSopenharmony_ci         0 \
11094a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11095a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
11096a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
11097a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
11098a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11099a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11100a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
11101a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
11102a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
11103a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11104a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11105a8e1175bSopenharmony_ci
11106a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11107a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11108a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11109a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11110a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
11111a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11112a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11113a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11114a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11115a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11116a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
11117a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11118a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_SHA256,secp256r1,rsa_pss_rsae_sha256" \
11119a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11120a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1" \
11121a8e1175bSopenharmony_ci         0 \
11122a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11123a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
11124a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
11125a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
11126a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11127a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11128a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
11129a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
11130a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
11131a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11132a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11133a8e1175bSopenharmony_ci
11134a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11135a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11136a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11137a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11138a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11139a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11140a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11141a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11142a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11143a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11144a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_SHA256,secp384r1,ecdsa_secp256r1_sha256" \
11145a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11146a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1" \
11147a8e1175bSopenharmony_ci         0 \
11148a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11149a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
11150a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
11151a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
11152a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11153a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11154a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
11155a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
11156a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
11157a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11158a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11159a8e1175bSopenharmony_ci
11160a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11161a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11162a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11163a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11164a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11165a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11166a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11167a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11168a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11169a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11170a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_SHA256,secp384r1,ecdsa_secp384r1_sha384" \
11171a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11172a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1" \
11173a8e1175bSopenharmony_ci         0 \
11174a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11175a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
11176a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
11177a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
11178a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11179a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11180a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
11181a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
11182a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
11183a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11184a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11185a8e1175bSopenharmony_ci
11186a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11187a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11188a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11189a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11190a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11191a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11192a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11193a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11194a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11195a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11196a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_SHA256,secp384r1,ecdsa_secp521r1_sha512" \
11197a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11198a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1" \
11199a8e1175bSopenharmony_ci         0 \
11200a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11201a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
11202a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
11203a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
11204a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11205a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11206a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
11207a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
11208a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
11209a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11210a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11211a8e1175bSopenharmony_ci
11212a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11213a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11214a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11215a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11216a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
11217a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11218a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11219a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11220a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11221a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11222a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
11223a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11224a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_SHA256,secp384r1,rsa_pss_rsae_sha256" \
11225a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11226a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1" \
11227a8e1175bSopenharmony_ci         0 \
11228a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11229a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
11230a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
11231a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
11232a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11233a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11234a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
11235a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
11236a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
11237a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11238a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11239a8e1175bSopenharmony_ci
11240a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11241a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11242a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11243a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11244a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11245a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11246a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11247a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11248a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11249a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11250a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_SHA256,secp521r1,ecdsa_secp256r1_sha256" \
11251a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11252a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1" \
11253a8e1175bSopenharmony_ci         0 \
11254a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11255a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
11256a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
11257a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
11258a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11259a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11260a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
11261a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
11262a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
11263a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11264a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11265a8e1175bSopenharmony_ci
11266a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11267a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11268a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11269a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11270a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11271a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11272a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11273a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11274a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11275a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11276a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_SHA256,secp521r1,ecdsa_secp384r1_sha384" \
11277a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11278a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1" \
11279a8e1175bSopenharmony_ci         0 \
11280a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11281a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
11282a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
11283a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
11284a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11285a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11286a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
11287a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
11288a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
11289a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11290a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11291a8e1175bSopenharmony_ci
11292a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11293a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11294a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11295a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11296a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11297a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11298a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11299a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11300a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11301a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11302a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_SHA256,secp521r1,ecdsa_secp521r1_sha512" \
11303a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11304a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1" \
11305a8e1175bSopenharmony_ci         0 \
11306a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11307a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
11308a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
11309a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
11310a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11311a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11312a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
11313a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
11314a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
11315a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11316a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11317a8e1175bSopenharmony_ci
11318a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11319a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11320a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11321a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11322a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
11323a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11324a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11325a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11326a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11327a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11328a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
11329a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11330a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_SHA256,secp521r1,rsa_pss_rsae_sha256" \
11331a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11332a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1" \
11333a8e1175bSopenharmony_ci         0 \
11334a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11335a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
11336a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
11337a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
11338a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11339a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11340a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
11341a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
11342a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
11343a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11344a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11345a8e1175bSopenharmony_ci
11346a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11347a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11348a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11349a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11350a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11351a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11352a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11353a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11354a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11355a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11356a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_SHA256,x25519,ecdsa_secp256r1_sha256" \
11357a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11358a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x25519" \
11359a8e1175bSopenharmony_ci         0 \
11360a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11361a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
11362a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
11363a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
11364a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11365a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11366a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
11367a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
11368a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
11369a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11370a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11371a8e1175bSopenharmony_ci
11372a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11373a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11374a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11375a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11376a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11377a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11378a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11379a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11380a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11381a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11382a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_SHA256,x25519,ecdsa_secp384r1_sha384" \
11383a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11384a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x25519" \
11385a8e1175bSopenharmony_ci         0 \
11386a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11387a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
11388a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
11389a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
11390a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11391a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11392a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
11393a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
11394a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
11395a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11396a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11397a8e1175bSopenharmony_ci
11398a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11399a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11400a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11401a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11402a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11403a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11404a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11405a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11406a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11407a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11408a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_SHA256,x25519,ecdsa_secp521r1_sha512" \
11409a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11410a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x25519" \
11411a8e1175bSopenharmony_ci         0 \
11412a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11413a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
11414a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
11415a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
11416a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11417a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11418a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
11419a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
11420a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
11421a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11422a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11423a8e1175bSopenharmony_ci
11424a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11425a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11426a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11427a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11428a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
11429a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11430a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11431a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11432a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11433a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11434a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
11435a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11436a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_SHA256,x25519,rsa_pss_rsae_sha256" \
11437a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11438a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x25519" \
11439a8e1175bSopenharmony_ci         0 \
11440a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11441a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
11442a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
11443a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
11444a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11445a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11446a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
11447a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
11448a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
11449a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11450a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11451a8e1175bSopenharmony_ci
11452a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11453a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11454a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11455a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11456a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11457a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11458a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11459a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11460a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11461a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11462a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_SHA256,x448,ecdsa_secp256r1_sha256" \
11463a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11464a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x448" \
11465a8e1175bSopenharmony_ci         0 \
11466a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11467a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
11468a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
11469a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
11470a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11471a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11472a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
11473a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
11474a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
11475a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11476a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11477a8e1175bSopenharmony_ci
11478a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11479a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11480a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11481a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11482a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11483a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11484a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11485a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11486a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11487a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11488a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_SHA256,x448,ecdsa_secp384r1_sha384" \
11489a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11490a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x448" \
11491a8e1175bSopenharmony_ci         0 \
11492a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11493a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
11494a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
11495a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
11496a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11497a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11498a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
11499a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
11500a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
11501a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11502a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11503a8e1175bSopenharmony_ci
11504a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11505a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11506a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11507a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11508a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11509a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11510a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11511a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11512a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11513a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11514a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_SHA256,x448,ecdsa_secp521r1_sha512" \
11515a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11516a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x448" \
11517a8e1175bSopenharmony_ci         0 \
11518a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11519a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
11520a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
11521a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
11522a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11523a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11524a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
11525a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
11526a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
11527a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11528a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11529a8e1175bSopenharmony_ci
11530a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11531a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11532a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11533a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11534a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
11535a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11536a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11537a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11538a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11539a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11540a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
11541a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11542a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_SHA256,x448,rsa_pss_rsae_sha256" \
11543a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11544a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x448" \
11545a8e1175bSopenharmony_ci         0 \
11546a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11547a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
11548a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
11549a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
11550a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11551a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11552a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
11553a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
11554a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
11555a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11556a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11557a8e1175bSopenharmony_ci
11558a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11559a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11560a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11561a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11562a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
11563a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
11564a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11565a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11566a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11567a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11568a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
11569a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
11570a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_SHA256,ffdhe2048,ecdsa_secp256r1_sha256" \
11571a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11572a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048" \
11573a8e1175bSopenharmony_ci         0 \
11574a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11575a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
11576a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
11577a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
11578a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11579a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11580a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
11581a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
11582a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
11583a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11584a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11585a8e1175bSopenharmony_ci
11586a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11587a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11588a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11589a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11590a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
11591a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
11592a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11593a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11594a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11595a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11596a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
11597a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
11598a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_SHA256,ffdhe2048,ecdsa_secp384r1_sha384" \
11599a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11600a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048" \
11601a8e1175bSopenharmony_ci         0 \
11602a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11603a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
11604a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
11605a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
11606a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11607a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11608a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
11609a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
11610a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
11611a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11612a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11613a8e1175bSopenharmony_ci
11614a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11615a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11616a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11617a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11618a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
11619a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
11620a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11621a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11622a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11623a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11624a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
11625a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
11626a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_SHA256,ffdhe2048,ecdsa_secp521r1_sha512" \
11627a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11628a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048" \
11629a8e1175bSopenharmony_ci         0 \
11630a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11631a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
11632a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
11633a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
11634a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11635a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11636a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
11637a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
11638a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
11639a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11640a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11641a8e1175bSopenharmony_ci
11642a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11643a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11644a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11645a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11646a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
11647a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
11648a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
11649a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11650a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11651a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11652a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11653a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
11654a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
11655a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
11656a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_SHA256,ffdhe2048,rsa_pss_rsae_sha256" \
11657a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11658a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048" \
11659a8e1175bSopenharmony_ci         0 \
11660a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11661a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-SHA256 ( id=4868 )" \
11662a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
11663a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
11664a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11665a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11666a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1304 ) - TLS1-3-AES-128-CCM-SHA256" \
11667a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
11668a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
11669a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11670a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11671a8e1175bSopenharmony_ci
11672a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11673a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11674a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11675a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11676a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11677a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11678a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11679a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11680a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11681a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11682a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_8_SHA256,secp256r1,ecdsa_secp256r1_sha256" \
11683a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11684a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1" \
11685a8e1175bSopenharmony_ci         0 \
11686a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11687a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
11688a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
11689a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
11690a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11691a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11692a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
11693a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
11694a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
11695a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11696a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11697a8e1175bSopenharmony_ci
11698a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11699a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11700a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11701a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11702a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11703a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11704a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11705a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11706a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11707a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11708a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_8_SHA256,secp256r1,ecdsa_secp384r1_sha384" \
11709a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11710a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp256r1" \
11711a8e1175bSopenharmony_ci         0 \
11712a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11713a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
11714a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
11715a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
11716a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11717a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11718a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
11719a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
11720a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
11721a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11722a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11723a8e1175bSopenharmony_ci
11724a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11725a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11726a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11727a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11728a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11729a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11730a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11731a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11732a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11733a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11734a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_8_SHA256,secp256r1,ecdsa_secp521r1_sha512" \
11735a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11736a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp256r1" \
11737a8e1175bSopenharmony_ci         0 \
11738a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11739a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
11740a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
11741a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
11742a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11743a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11744a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
11745a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
11746a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
11747a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11748a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11749a8e1175bSopenharmony_ci
11750a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11751a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11752a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11753a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11754a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
11755a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11756a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11757a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11758a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11759a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11760a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
11761a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11762a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_8_SHA256,secp256r1,rsa_pss_rsae_sha256" \
11763a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11764a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp256r1" \
11765a8e1175bSopenharmony_ci         0 \
11766a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11767a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
11768a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
11769a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
11770a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11771a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11772a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
11773a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
11774a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
11775a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11776a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11777a8e1175bSopenharmony_ci
11778a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11779a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11780a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11781a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11782a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11783a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11784a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11785a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11786a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11787a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11788a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_8_SHA256,secp384r1,ecdsa_secp256r1_sha256" \
11789a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11790a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1" \
11791a8e1175bSopenharmony_ci         0 \
11792a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11793a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
11794a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
11795a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
11796a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11797a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11798a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
11799a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
11800a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
11801a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11802a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11803a8e1175bSopenharmony_ci
11804a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11805a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11806a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11807a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11808a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11809a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11810a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11811a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11812a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11813a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11814a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_8_SHA256,secp384r1,ecdsa_secp384r1_sha384" \
11815a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11816a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp384r1" \
11817a8e1175bSopenharmony_ci         0 \
11818a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11819a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
11820a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
11821a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
11822a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11823a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11824a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
11825a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
11826a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
11827a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11828a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11829a8e1175bSopenharmony_ci
11830a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11831a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11832a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11833a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11834a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11835a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11836a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11837a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11838a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11839a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11840a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_8_SHA256,secp384r1,ecdsa_secp521r1_sha512" \
11841a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11842a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp384r1" \
11843a8e1175bSopenharmony_ci         0 \
11844a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11845a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
11846a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
11847a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
11848a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11849a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11850a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
11851a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
11852a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
11853a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11854a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11855a8e1175bSopenharmony_ci
11856a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11857a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11858a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11859a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11860a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
11861a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11862a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11863a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11864a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11865a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11866a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
11867a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11868a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_8_SHA256,secp384r1,rsa_pss_rsae_sha256" \
11869a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11870a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp384r1" \
11871a8e1175bSopenharmony_ci         0 \
11872a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11873a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
11874a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
11875a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
11876a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11877a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11878a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
11879a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
11880a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
11881a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11882a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11883a8e1175bSopenharmony_ci
11884a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11885a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11886a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11887a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11888a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11889a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11890a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11891a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11892a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11893a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11894a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_8_SHA256,secp521r1,ecdsa_secp256r1_sha256" \
11895a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11896a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1" \
11897a8e1175bSopenharmony_ci         0 \
11898a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11899a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
11900a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
11901a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
11902a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11903a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11904a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
11905a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
11906a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
11907a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11908a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11909a8e1175bSopenharmony_ci
11910a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11911a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11912a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11913a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11914a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11915a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11916a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11917a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11918a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11919a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11920a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_8_SHA256,secp521r1,ecdsa_secp384r1_sha384" \
11921a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11922a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=secp521r1" \
11923a8e1175bSopenharmony_ci         0 \
11924a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11925a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
11926a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
11927a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
11928a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11929a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11930a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
11931a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
11932a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
11933a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11934a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11935a8e1175bSopenharmony_ci
11936a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11937a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11938a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11939a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11940a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11941a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11942a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11943a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11944a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11945a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11946a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_8_SHA256,secp521r1,ecdsa_secp521r1_sha512" \
11947a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11948a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=secp521r1" \
11949a8e1175bSopenharmony_ci         0 \
11950a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11951a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
11952a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
11953a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
11954a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11955a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11956a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
11957a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
11958a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
11959a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11960a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11961a8e1175bSopenharmony_ci
11962a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11963a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11964a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11965a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11966a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
11967a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11968a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11969a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11970a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11971a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11972a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
11973a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11974a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_8_SHA256,secp521r1,rsa_pss_rsae_sha256" \
11975a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
11976a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=secp521r1" \
11977a8e1175bSopenharmony_ci         0 \
11978a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
11979a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
11980a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
11981a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
11982a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
11983a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
11984a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
11985a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
11986a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
11987a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
11988a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
11989a8e1175bSopenharmony_ci
11990a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
11991a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11992a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11993a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11994a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
11995a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
11996a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
11997a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
11998a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
11999a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12000a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_8_SHA256,x25519,ecdsa_secp256r1_sha256" \
12001a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12002a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x25519" \
12003a8e1175bSopenharmony_ci         0 \
12004a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12005a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
12006a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
12007a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
12008a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12009a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
12010a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
12011a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
12012a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
12013a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
12014a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
12015a8e1175bSopenharmony_ci
12016a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12017a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12018a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12019a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12020a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12021a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
12022a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12023a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12024a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12025a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12026a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_8_SHA256,x25519,ecdsa_secp384r1_sha384" \
12027a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12028a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x25519" \
12029a8e1175bSopenharmony_ci         0 \
12030a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12031a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
12032a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
12033a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
12034a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12035a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
12036a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
12037a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
12038a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
12039a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
12040a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
12041a8e1175bSopenharmony_ci
12042a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12043a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12044a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12045a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12046a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12047a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
12048a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12049a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12050a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12051a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12052a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_8_SHA256,x25519,ecdsa_secp521r1_sha512" \
12053a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12054a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x25519" \
12055a8e1175bSopenharmony_ci         0 \
12056a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12057a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
12058a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
12059a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
12060a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12061a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
12062a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
12063a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
12064a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
12065a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
12066a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
12067a8e1175bSopenharmony_ci
12068a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12069a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12070a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12071a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12072a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
12073a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12074a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
12075a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12076a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12077a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12078a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
12079a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12080a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_8_SHA256,x25519,rsa_pss_rsae_sha256" \
12081a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12082a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x25519" \
12083a8e1175bSopenharmony_ci         0 \
12084a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12085a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
12086a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
12087a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
12088a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12089a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
12090a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
12091a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
12092a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
12093a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
12094a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
12095a8e1175bSopenharmony_ci
12096a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12097a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12098a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12099a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12100a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12101a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
12102a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12103a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12104a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12105a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12106a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_8_SHA256,x448,ecdsa_secp256r1_sha256" \
12107a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12108a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=x448" \
12109a8e1175bSopenharmony_ci         0 \
12110a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12111a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
12112a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
12113a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
12114a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12115a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
12116a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
12117a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
12118a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
12119a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
12120a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
12121a8e1175bSopenharmony_ci
12122a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12123a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12124a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12125a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12126a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12127a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
12128a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12129a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12130a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12131a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12132a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_8_SHA256,x448,ecdsa_secp384r1_sha384" \
12133a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12134a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=x448" \
12135a8e1175bSopenharmony_ci         0 \
12136a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12137a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
12138a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
12139a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
12140a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12141a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
12142a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
12143a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
12144a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
12145a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
12146a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
12147a8e1175bSopenharmony_ci
12148a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12149a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12150a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12151a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12152a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12153a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
12154a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12155a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12156a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12157a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12158a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_8_SHA256,x448,ecdsa_secp521r1_sha512" \
12159a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12160a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=x448" \
12161a8e1175bSopenharmony_ci         0 \
12162a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12163a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
12164a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
12165a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
12166a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12167a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
12168a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
12169a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
12170a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
12171a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
12172a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
12173a8e1175bSopenharmony_ci
12174a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12175a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12176a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12177a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12178a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
12179a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12180a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
12181a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12182a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12183a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12184a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
12185a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12186a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_8_SHA256,x448,rsa_pss_rsae_sha256" \
12187a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12188a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=x448" \
12189a8e1175bSopenharmony_ci         0 \
12190a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12191a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
12192a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
12193a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
12194a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12195a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
12196a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
12197a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
12198a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
12199a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
12200a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
12201a8e1175bSopenharmony_ci
12202a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12203a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12204a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12205a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12206a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
12207a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
12208a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
12209a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12210a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12211a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12212a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
12213a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
12214a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_8_SHA256,ffdhe2048,ecdsa_secp256r1_sha256" \
12215a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12216a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048" \
12217a8e1175bSopenharmony_ci         0 \
12218a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12219a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
12220a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x403" \
12221a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
12222a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12223a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
12224a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
12225a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0403 )" \
12226a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
12227a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
12228a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
12229a8e1175bSopenharmony_ci
12230a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12231a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12232a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12233a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12234a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
12235a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
12236a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
12237a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12238a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12239a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12240a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
12241a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
12242a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_8_SHA256,ffdhe2048,ecdsa_secp384r1_sha384" \
12243a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp384r1.crt key_file=data_files/ecdsa_secp384r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12244a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp384r1_sha384 groups=ffdhe2048" \
12245a8e1175bSopenharmony_ci         0 \
12246a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12247a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
12248a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x503" \
12249a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
12250a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12251a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
12252a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
12253a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0503 )" \
12254a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
12255a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
12256a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
12257a8e1175bSopenharmony_ci
12258a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12259a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12260a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12261a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12262a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
12263a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
12264a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
12265a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12266a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12267a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12268a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
12269a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
12270a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_8_SHA256,ffdhe2048,ecdsa_secp521r1_sha512" \
12271a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp521r1.crt key_file=data_files/ecdsa_secp521r1.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12272a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=ecdsa_secp521r1_sha512 groups=ffdhe2048" \
12273a8e1175bSopenharmony_ci         0 \
12274a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12275a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
12276a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x603" \
12277a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
12278a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12279a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
12280a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
12281a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0603 )" \
12282a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
12283a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
12284a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
12285a8e1175bSopenharmony_ci
12286a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12287a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12288a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12289a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12290a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
12291a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
12292a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
12293a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
12294a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12295a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12296a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12297a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_X509_RSASSA_PSS_SUPPORT
12298a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
12299a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
12300a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: AES_128_CCM_8_SHA256,ffdhe2048,rsa_pss_rsae_sha256" \
12301a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/server2-sha256.crt key_file=data_files/server2.key debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12302a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca_cat12.crt debug_level=4 force_ciphersuite=TLS1-3-AES-128-CCM-8-SHA256 sig_algs=rsa_pss_rsae_sha256 groups=ffdhe2048" \
12303a8e1175bSopenharmony_ci         0 \
12304a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12305a8e1175bSopenharmony_ci         -s "server hello, chosen ciphersuite: TLS1-3-AES-128-CCM-8-SHA256 ( id=4869 )" \
12306a8e1175bSopenharmony_ci         -s "received signature algorithm: 0x804" \
12307a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
12308a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12309a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
12310a8e1175bSopenharmony_ci         -c "server hello, chosen ciphersuite: ( 1305 ) - TLS1-3-AES-128-CCM-8-SHA256" \
12311a8e1175bSopenharmony_ci         -c "Certificate Verify: Signature algorithm ( 0804 )" \
12312a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
12313a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
12314a8e1175bSopenharmony_ci         -C "received HelloRetryRequest message"
12315a8e1175bSopenharmony_ci
12316a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12317a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12318a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12319a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12320a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12321a8e1175bSopenharmony_cirequires_openssl_tls1_3
12322a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR secp256r1 -> secp384r1" \
12323a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12324a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups P-256:P-384 -msg -tls1_3" \
12325a8e1175bSopenharmony_ci         0 \
12326a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12327a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
12328a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12329a8e1175bSopenharmony_ci         -s "HRR selected_group: secp384r1"
12330a8e1175bSopenharmony_ci
12331a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12332a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12333a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12334a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12335a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12336a8e1175bSopenharmony_cirequires_openssl_tls1_3
12337a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR secp256r1 -> secp521r1" \
12338a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12339a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups P-256:P-521 -msg -tls1_3" \
12340a8e1175bSopenharmony_ci         0 \
12341a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12342a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
12343a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12344a8e1175bSopenharmony_ci         -s "HRR selected_group: secp521r1"
12345a8e1175bSopenharmony_ci
12346a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12347a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12348a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12349a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12350a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12351a8e1175bSopenharmony_cirequires_openssl_tls1_3
12352a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR secp256r1 -> x25519" \
12353a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12354a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups P-256:X25519 -msg -tls1_3" \
12355a8e1175bSopenharmony_ci         0 \
12356a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12357a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
12358a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12359a8e1175bSopenharmony_ci         -s "HRR selected_group: x25519"
12360a8e1175bSopenharmony_ci
12361a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12362a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12363a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12364a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12365a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12366a8e1175bSopenharmony_cirequires_openssl_tls1_3
12367a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR secp256r1 -> x448" \
12368a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12369a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups P-256:X448 -msg -tls1_3" \
12370a8e1175bSopenharmony_ci         0 \
12371a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12372a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
12373a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12374a8e1175bSopenharmony_ci         -s "HRR selected_group: x448"
12375a8e1175bSopenharmony_ci
12376a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12377a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12378a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12379a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12380a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
12381a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
12382a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
12383a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR secp256r1 -> ffdhe2048" \
12384a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12385a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups P-256:ffdhe2048 -msg -tls1_3" \
12386a8e1175bSopenharmony_ci         0 \
12387a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12388a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
12389a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12390a8e1175bSopenharmony_ci         -s "HRR selected_group: ffdhe2048"
12391a8e1175bSopenharmony_ci
12392a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12393a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12394a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12395a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12396a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12397a8e1175bSopenharmony_cirequires_openssl_tls1_3
12398a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR secp384r1 -> secp256r1" \
12399a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12400a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups P-384:P-256 -msg -tls1_3" \
12401a8e1175bSopenharmony_ci         0 \
12402a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12403a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
12404a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12405a8e1175bSopenharmony_ci         -s "HRR selected_group: secp256r1"
12406a8e1175bSopenharmony_ci
12407a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12408a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12409a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12410a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12411a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12412a8e1175bSopenharmony_cirequires_openssl_tls1_3
12413a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR secp384r1 -> secp521r1" \
12414a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12415a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups P-384:P-521 -msg -tls1_3" \
12416a8e1175bSopenharmony_ci         0 \
12417a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12418a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
12419a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12420a8e1175bSopenharmony_ci         -s "HRR selected_group: secp521r1"
12421a8e1175bSopenharmony_ci
12422a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12423a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12424a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12425a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12426a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12427a8e1175bSopenharmony_cirequires_openssl_tls1_3
12428a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR secp384r1 -> x25519" \
12429a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12430a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups P-384:X25519 -msg -tls1_3" \
12431a8e1175bSopenharmony_ci         0 \
12432a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12433a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
12434a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12435a8e1175bSopenharmony_ci         -s "HRR selected_group: x25519"
12436a8e1175bSopenharmony_ci
12437a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12438a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12439a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12440a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12441a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12442a8e1175bSopenharmony_cirequires_openssl_tls1_3
12443a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR secp384r1 -> x448" \
12444a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12445a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups P-384:X448 -msg -tls1_3" \
12446a8e1175bSopenharmony_ci         0 \
12447a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12448a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
12449a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12450a8e1175bSopenharmony_ci         -s "HRR selected_group: x448"
12451a8e1175bSopenharmony_ci
12452a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12453a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12454a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12455a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12456a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
12457a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
12458a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
12459a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR secp384r1 -> ffdhe2048" \
12460a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12461a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups P-384:ffdhe2048 -msg -tls1_3" \
12462a8e1175bSopenharmony_ci         0 \
12463a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12464a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
12465a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12466a8e1175bSopenharmony_ci         -s "HRR selected_group: ffdhe2048"
12467a8e1175bSopenharmony_ci
12468a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12469a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12470a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12471a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12472a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12473a8e1175bSopenharmony_cirequires_openssl_tls1_3
12474a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR secp521r1 -> secp256r1" \
12475a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12476a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups P-521:P-256 -msg -tls1_3" \
12477a8e1175bSopenharmony_ci         0 \
12478a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12479a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
12480a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12481a8e1175bSopenharmony_ci         -s "HRR selected_group: secp256r1"
12482a8e1175bSopenharmony_ci
12483a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12484a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12485a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12486a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12487a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12488a8e1175bSopenharmony_cirequires_openssl_tls1_3
12489a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR secp521r1 -> secp384r1" \
12490a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12491a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups P-521:P-384 -msg -tls1_3" \
12492a8e1175bSopenharmony_ci         0 \
12493a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12494a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
12495a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12496a8e1175bSopenharmony_ci         -s "HRR selected_group: secp384r1"
12497a8e1175bSopenharmony_ci
12498a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12499a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12500a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12501a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12502a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12503a8e1175bSopenharmony_cirequires_openssl_tls1_3
12504a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR secp521r1 -> x25519" \
12505a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12506a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups P-521:X25519 -msg -tls1_3" \
12507a8e1175bSopenharmony_ci         0 \
12508a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12509a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
12510a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12511a8e1175bSopenharmony_ci         -s "HRR selected_group: x25519"
12512a8e1175bSopenharmony_ci
12513a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12514a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12515a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12516a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12517a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12518a8e1175bSopenharmony_cirequires_openssl_tls1_3
12519a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR secp521r1 -> x448" \
12520a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12521a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups P-521:X448 -msg -tls1_3" \
12522a8e1175bSopenharmony_ci         0 \
12523a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12524a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
12525a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12526a8e1175bSopenharmony_ci         -s "HRR selected_group: x448"
12527a8e1175bSopenharmony_ci
12528a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12529a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12530a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12531a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12532a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
12533a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
12534a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
12535a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR secp521r1 -> ffdhe2048" \
12536a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12537a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups P-521:ffdhe2048 -msg -tls1_3" \
12538a8e1175bSopenharmony_ci         0 \
12539a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12540a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
12541a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12542a8e1175bSopenharmony_ci         -s "HRR selected_group: ffdhe2048"
12543a8e1175bSopenharmony_ci
12544a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12545a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12546a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12547a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12548a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12549a8e1175bSopenharmony_cirequires_openssl_tls1_3
12550a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR x25519 -> secp256r1" \
12551a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12552a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups X25519:P-256 -msg -tls1_3" \
12553a8e1175bSopenharmony_ci         0 \
12554a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12555a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
12556a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12557a8e1175bSopenharmony_ci         -s "HRR selected_group: secp256r1"
12558a8e1175bSopenharmony_ci
12559a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12560a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12561a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12562a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12563a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12564a8e1175bSopenharmony_cirequires_openssl_tls1_3
12565a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR x25519 -> secp384r1" \
12566a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12567a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups X25519:P-384 -msg -tls1_3" \
12568a8e1175bSopenharmony_ci         0 \
12569a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12570a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
12571a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12572a8e1175bSopenharmony_ci         -s "HRR selected_group: secp384r1"
12573a8e1175bSopenharmony_ci
12574a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12575a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12576a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12577a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12578a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12579a8e1175bSopenharmony_cirequires_openssl_tls1_3
12580a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR x25519 -> secp521r1" \
12581a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12582a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups X25519:P-521 -msg -tls1_3" \
12583a8e1175bSopenharmony_ci         0 \
12584a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12585a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
12586a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12587a8e1175bSopenharmony_ci         -s "HRR selected_group: secp521r1"
12588a8e1175bSopenharmony_ci
12589a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12590a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12591a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12592a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12593a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12594a8e1175bSopenharmony_cirequires_openssl_tls1_3
12595a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR x25519 -> x448" \
12596a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12597a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups X25519:X448 -msg -tls1_3" \
12598a8e1175bSopenharmony_ci         0 \
12599a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12600a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
12601a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12602a8e1175bSopenharmony_ci         -s "HRR selected_group: x448"
12603a8e1175bSopenharmony_ci
12604a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12605a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12606a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12607a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12608a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
12609a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
12610a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
12611a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR x25519 -> ffdhe2048" \
12612a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12613a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups X25519:ffdhe2048 -msg -tls1_3" \
12614a8e1175bSopenharmony_ci         0 \
12615a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12616a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
12617a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12618a8e1175bSopenharmony_ci         -s "HRR selected_group: ffdhe2048"
12619a8e1175bSopenharmony_ci
12620a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12621a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12622a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12623a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12624a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12625a8e1175bSopenharmony_cirequires_openssl_tls1_3
12626a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR x448 -> secp256r1" \
12627a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12628a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups X448:P-256 -msg -tls1_3" \
12629a8e1175bSopenharmony_ci         0 \
12630a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12631a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
12632a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12633a8e1175bSopenharmony_ci         -s "HRR selected_group: secp256r1"
12634a8e1175bSopenharmony_ci
12635a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12636a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12637a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12638a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12639a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12640a8e1175bSopenharmony_cirequires_openssl_tls1_3
12641a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR x448 -> secp384r1" \
12642a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12643a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups X448:P-384 -msg -tls1_3" \
12644a8e1175bSopenharmony_ci         0 \
12645a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12646a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
12647a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12648a8e1175bSopenharmony_ci         -s "HRR selected_group: secp384r1"
12649a8e1175bSopenharmony_ci
12650a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12651a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12652a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12653a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12654a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12655a8e1175bSopenharmony_cirequires_openssl_tls1_3
12656a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR x448 -> secp521r1" \
12657a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12658a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups X448:P-521 -msg -tls1_3" \
12659a8e1175bSopenharmony_ci         0 \
12660a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12661a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
12662a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12663a8e1175bSopenharmony_ci         -s "HRR selected_group: secp521r1"
12664a8e1175bSopenharmony_ci
12665a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12666a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12667a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12668a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12669a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12670a8e1175bSopenharmony_cirequires_openssl_tls1_3
12671a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR x448 -> x25519" \
12672a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12673a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups X448:X25519 -msg -tls1_3" \
12674a8e1175bSopenharmony_ci         0 \
12675a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12676a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
12677a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12678a8e1175bSopenharmony_ci         -s "HRR selected_group: x25519"
12679a8e1175bSopenharmony_ci
12680a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12681a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12682a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12683a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12684a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
12685a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
12686a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
12687a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR x448 -> ffdhe2048" \
12688a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12689a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups X448:ffdhe2048 -msg -tls1_3" \
12690a8e1175bSopenharmony_ci         0 \
12691a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12692a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
12693a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12694a8e1175bSopenharmony_ci         -s "HRR selected_group: ffdhe2048"
12695a8e1175bSopenharmony_ci
12696a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12697a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12698a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12699a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12700a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12701a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
12702a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR ffdhe2048 -> secp256r1" \
12703a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12704a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups ffdhe2048:P-256 -msg -tls1_3" \
12705a8e1175bSopenharmony_ci         0 \
12706a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12707a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
12708a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12709a8e1175bSopenharmony_ci         -s "HRR selected_group: secp256r1"
12710a8e1175bSopenharmony_ci
12711a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12712a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12713a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12714a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12715a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12716a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
12717a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR ffdhe2048 -> secp384r1" \
12718a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12719a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups ffdhe2048:P-384 -msg -tls1_3" \
12720a8e1175bSopenharmony_ci         0 \
12721a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12722a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
12723a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12724a8e1175bSopenharmony_ci         -s "HRR selected_group: secp384r1"
12725a8e1175bSopenharmony_ci
12726a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12727a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12728a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12729a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12730a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12731a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
12732a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR ffdhe2048 -> secp521r1" \
12733a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12734a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups ffdhe2048:P-521 -msg -tls1_3" \
12735a8e1175bSopenharmony_ci         0 \
12736a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12737a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
12738a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12739a8e1175bSopenharmony_ci         -s "HRR selected_group: secp521r1"
12740a8e1175bSopenharmony_ci
12741a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12742a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12743a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12744a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12745a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12746a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
12747a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR ffdhe2048 -> x25519" \
12748a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12749a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups ffdhe2048:X25519 -msg -tls1_3" \
12750a8e1175bSopenharmony_ci         0 \
12751a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12752a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
12753a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12754a8e1175bSopenharmony_ci         -s "HRR selected_group: x25519"
12755a8e1175bSopenharmony_ci
12756a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12757a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12758a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12759a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12760a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12761a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
12762a8e1175bSopenharmony_cirun_test "TLS 1.3 O->m: HRR ffdhe2048 -> x448" \
12763a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12764a8e1175bSopenharmony_ci         "$O_NEXT_CLI_NO_CERT -CAfile data_files/test-ca2.crt -groups ffdhe2048:X448 -msg -tls1_3" \
12765a8e1175bSopenharmony_ci         0 \
12766a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12767a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
12768a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12769a8e1175bSopenharmony_ci         -s "HRR selected_group: x448"
12770a8e1175bSopenharmony_ci
12771a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12772a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12773a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12774a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12775a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12776a8e1175bSopenharmony_cirequires_gnutls_tls1_3
12777a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
12778a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
12779a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR secp256r1 -> secp384r1" \
12780a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12781a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP256R1:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
12782a8e1175bSopenharmony_ci         0 \
12783a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12784a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
12785a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12786a8e1175bSopenharmony_ci         -s "HRR selected_group: secp384r1"
12787a8e1175bSopenharmony_ci
12788a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12789a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12790a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12791a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12792a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12793a8e1175bSopenharmony_cirequires_gnutls_tls1_3
12794a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
12795a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
12796a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR secp256r1 -> secp521r1" \
12797a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12798a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP256R1:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
12799a8e1175bSopenharmony_ci         0 \
12800a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12801a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
12802a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12803a8e1175bSopenharmony_ci         -s "HRR selected_group: secp521r1"
12804a8e1175bSopenharmony_ci
12805a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12806a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12807a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12808a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12809a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12810a8e1175bSopenharmony_cirequires_gnutls_tls1_3
12811a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
12812a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
12813a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR secp256r1 -> x25519" \
12814a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12815a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP256R1:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
12816a8e1175bSopenharmony_ci         0 \
12817a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12818a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
12819a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12820a8e1175bSopenharmony_ci         -s "HRR selected_group: x25519"
12821a8e1175bSopenharmony_ci
12822a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12823a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12824a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12825a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12826a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12827a8e1175bSopenharmony_cirequires_gnutls_tls1_3
12828a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
12829a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
12830a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR secp256r1 -> x448" \
12831a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12832a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP256R1:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
12833a8e1175bSopenharmony_ci         0 \
12834a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12835a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
12836a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12837a8e1175bSopenharmony_ci         -s "HRR selected_group: x448"
12838a8e1175bSopenharmony_ci
12839a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12840a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12841a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12842a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12843a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
12844a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
12845a8e1175bSopenharmony_cirequires_gnutls_tls1_3
12846a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
12847a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
12848a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR secp256r1 -> ffdhe2048" \
12849a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12850a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP256R1:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
12851a8e1175bSopenharmony_ci         0 \
12852a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12853a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
12854a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12855a8e1175bSopenharmony_ci         -s "HRR selected_group: ffdhe2048"
12856a8e1175bSopenharmony_ci
12857a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12858a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12859a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12860a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12861a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12862a8e1175bSopenharmony_cirequires_gnutls_tls1_3
12863a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
12864a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
12865a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR secp384r1 -> secp256r1" \
12866a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12867a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP384R1:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
12868a8e1175bSopenharmony_ci         0 \
12869a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12870a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
12871a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12872a8e1175bSopenharmony_ci         -s "HRR selected_group: secp256r1"
12873a8e1175bSopenharmony_ci
12874a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12875a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12876a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12877a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12878a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12879a8e1175bSopenharmony_cirequires_gnutls_tls1_3
12880a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
12881a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
12882a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR secp384r1 -> secp521r1" \
12883a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12884a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP384R1:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
12885a8e1175bSopenharmony_ci         0 \
12886a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12887a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
12888a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12889a8e1175bSopenharmony_ci         -s "HRR selected_group: secp521r1"
12890a8e1175bSopenharmony_ci
12891a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12892a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12893a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12894a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12895a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12896a8e1175bSopenharmony_cirequires_gnutls_tls1_3
12897a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
12898a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
12899a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR secp384r1 -> x25519" \
12900a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12901a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP384R1:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
12902a8e1175bSopenharmony_ci         0 \
12903a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12904a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
12905a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12906a8e1175bSopenharmony_ci         -s "HRR selected_group: x25519"
12907a8e1175bSopenharmony_ci
12908a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12909a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12910a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12911a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12912a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12913a8e1175bSopenharmony_cirequires_gnutls_tls1_3
12914a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
12915a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
12916a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR secp384r1 -> x448" \
12917a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12918a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP384R1:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
12919a8e1175bSopenharmony_ci         0 \
12920a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12921a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
12922a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12923a8e1175bSopenharmony_ci         -s "HRR selected_group: x448"
12924a8e1175bSopenharmony_ci
12925a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12926a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12927a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12928a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12929a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
12930a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
12931a8e1175bSopenharmony_cirequires_gnutls_tls1_3
12932a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
12933a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
12934a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR secp384r1 -> ffdhe2048" \
12935a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12936a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP384R1:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
12937a8e1175bSopenharmony_ci         0 \
12938a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12939a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
12940a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12941a8e1175bSopenharmony_ci         -s "HRR selected_group: ffdhe2048"
12942a8e1175bSopenharmony_ci
12943a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12944a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12945a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12946a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12947a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12948a8e1175bSopenharmony_cirequires_gnutls_tls1_3
12949a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
12950a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
12951a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR secp521r1 -> secp256r1" \
12952a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12953a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP521R1:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
12954a8e1175bSopenharmony_ci         0 \
12955a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12956a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
12957a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12958a8e1175bSopenharmony_ci         -s "HRR selected_group: secp256r1"
12959a8e1175bSopenharmony_ci
12960a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12961a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12962a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12963a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12964a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12965a8e1175bSopenharmony_cirequires_gnutls_tls1_3
12966a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
12967a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
12968a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR secp521r1 -> secp384r1" \
12969a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12970a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP521R1:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
12971a8e1175bSopenharmony_ci         0 \
12972a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12973a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
12974a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12975a8e1175bSopenharmony_ci         -s "HRR selected_group: secp384r1"
12976a8e1175bSopenharmony_ci
12977a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12978a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12979a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12980a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12981a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12982a8e1175bSopenharmony_cirequires_gnutls_tls1_3
12983a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
12984a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
12985a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR secp521r1 -> x25519" \
12986a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
12987a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP521R1:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
12988a8e1175bSopenharmony_ci         0 \
12989a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
12990a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
12991a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
12992a8e1175bSopenharmony_ci         -s "HRR selected_group: x25519"
12993a8e1175bSopenharmony_ci
12994a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
12995a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
12996a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
12997a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
12998a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
12999a8e1175bSopenharmony_cirequires_gnutls_tls1_3
13000a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
13001a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
13002a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR secp521r1 -> x448" \
13003a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
13004a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP521R1:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
13005a8e1175bSopenharmony_ci         0 \
13006a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
13007a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
13008a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
13009a8e1175bSopenharmony_ci         -s "HRR selected_group: x448"
13010a8e1175bSopenharmony_ci
13011a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
13012a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13013a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13014a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13015a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
13016a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
13017a8e1175bSopenharmony_cirequires_gnutls_tls1_3
13018a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
13019a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
13020a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR secp521r1 -> ffdhe2048" \
13021a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
13022a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP521R1:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
13023a8e1175bSopenharmony_ci         0 \
13024a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
13025a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
13026a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
13027a8e1175bSopenharmony_ci         -s "HRR selected_group: ffdhe2048"
13028a8e1175bSopenharmony_ci
13029a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
13030a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13031a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13032a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13033a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13034a8e1175bSopenharmony_cirequires_gnutls_tls1_3
13035a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
13036a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
13037a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR x25519 -> secp256r1" \
13038a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
13039a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-X25519:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
13040a8e1175bSopenharmony_ci         0 \
13041a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
13042a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
13043a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
13044a8e1175bSopenharmony_ci         -s "HRR selected_group: secp256r1"
13045a8e1175bSopenharmony_ci
13046a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
13047a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13048a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13049a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13050a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13051a8e1175bSopenharmony_cirequires_gnutls_tls1_3
13052a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
13053a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
13054a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR x25519 -> secp384r1" \
13055a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
13056a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-X25519:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
13057a8e1175bSopenharmony_ci         0 \
13058a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
13059a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
13060a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
13061a8e1175bSopenharmony_ci         -s "HRR selected_group: secp384r1"
13062a8e1175bSopenharmony_ci
13063a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
13064a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13065a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13066a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13067a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13068a8e1175bSopenharmony_cirequires_gnutls_tls1_3
13069a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
13070a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
13071a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR x25519 -> secp521r1" \
13072a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
13073a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-X25519:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
13074a8e1175bSopenharmony_ci         0 \
13075a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
13076a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
13077a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
13078a8e1175bSopenharmony_ci         -s "HRR selected_group: secp521r1"
13079a8e1175bSopenharmony_ci
13080a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
13081a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13082a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13083a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13084a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13085a8e1175bSopenharmony_cirequires_gnutls_tls1_3
13086a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
13087a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
13088a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR x25519 -> x448" \
13089a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
13090a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-X25519:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
13091a8e1175bSopenharmony_ci         0 \
13092a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
13093a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
13094a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
13095a8e1175bSopenharmony_ci         -s "HRR selected_group: x448"
13096a8e1175bSopenharmony_ci
13097a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
13098a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13099a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13100a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13101a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
13102a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
13103a8e1175bSopenharmony_cirequires_gnutls_tls1_3
13104a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
13105a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
13106a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR x25519 -> ffdhe2048" \
13107a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
13108a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-X25519:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
13109a8e1175bSopenharmony_ci         0 \
13110a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
13111a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
13112a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
13113a8e1175bSopenharmony_ci         -s "HRR selected_group: ffdhe2048"
13114a8e1175bSopenharmony_ci
13115a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
13116a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13117a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13118a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13119a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13120a8e1175bSopenharmony_cirequires_gnutls_tls1_3
13121a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
13122a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
13123a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR x448 -> secp256r1" \
13124a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
13125a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-X448:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
13126a8e1175bSopenharmony_ci         0 \
13127a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
13128a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
13129a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
13130a8e1175bSopenharmony_ci         -s "HRR selected_group: secp256r1"
13131a8e1175bSopenharmony_ci
13132a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
13133a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13134a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13135a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13136a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13137a8e1175bSopenharmony_cirequires_gnutls_tls1_3
13138a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
13139a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
13140a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR x448 -> secp384r1" \
13141a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
13142a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-X448:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
13143a8e1175bSopenharmony_ci         0 \
13144a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
13145a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
13146a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
13147a8e1175bSopenharmony_ci         -s "HRR selected_group: secp384r1"
13148a8e1175bSopenharmony_ci
13149a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
13150a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13151a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13152a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13153a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13154a8e1175bSopenharmony_cirequires_gnutls_tls1_3
13155a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
13156a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
13157a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR x448 -> secp521r1" \
13158a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
13159a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-X448:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
13160a8e1175bSopenharmony_ci         0 \
13161a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
13162a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
13163a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
13164a8e1175bSopenharmony_ci         -s "HRR selected_group: secp521r1"
13165a8e1175bSopenharmony_ci
13166a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
13167a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13168a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13169a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13170a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13171a8e1175bSopenharmony_cirequires_gnutls_tls1_3
13172a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
13173a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
13174a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR x448 -> x25519" \
13175a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
13176a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-X448:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
13177a8e1175bSopenharmony_ci         0 \
13178a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
13179a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
13180a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
13181a8e1175bSopenharmony_ci         -s "HRR selected_group: x25519"
13182a8e1175bSopenharmony_ci
13183a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
13184a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13185a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13186a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13187a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
13188a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
13189a8e1175bSopenharmony_cirequires_gnutls_tls1_3
13190a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
13191a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
13192a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR x448 -> ffdhe2048" \
13193a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
13194a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-X448:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
13195a8e1175bSopenharmony_ci         0 \
13196a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
13197a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
13198a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
13199a8e1175bSopenharmony_ci         -s "HRR selected_group: ffdhe2048"
13200a8e1175bSopenharmony_ci
13201a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
13202a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13203a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13204a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13205a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13206a8e1175bSopenharmony_cirequires_gnutls_tls1_3
13207a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
13208a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
13209a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR ffdhe2048 -> secp256r1" \
13210a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
13211a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-FFDHE2048:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
13212a8e1175bSopenharmony_ci         0 \
13213a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
13214a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
13215a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
13216a8e1175bSopenharmony_ci         -s "HRR selected_group: secp256r1"
13217a8e1175bSopenharmony_ci
13218a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
13219a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13220a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13221a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13222a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13223a8e1175bSopenharmony_cirequires_gnutls_tls1_3
13224a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
13225a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
13226a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR ffdhe2048 -> secp384r1" \
13227a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
13228a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-FFDHE2048:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
13229a8e1175bSopenharmony_ci         0 \
13230a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
13231a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
13232a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
13233a8e1175bSopenharmony_ci         -s "HRR selected_group: secp384r1"
13234a8e1175bSopenharmony_ci
13235a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
13236a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13237a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13238a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13239a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13240a8e1175bSopenharmony_cirequires_gnutls_tls1_3
13241a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
13242a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
13243a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR ffdhe2048 -> secp521r1" \
13244a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
13245a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-FFDHE2048:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
13246a8e1175bSopenharmony_ci         0 \
13247a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
13248a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
13249a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
13250a8e1175bSopenharmony_ci         -s "HRR selected_group: secp521r1"
13251a8e1175bSopenharmony_ci
13252a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
13253a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13254a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13255a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13256a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13257a8e1175bSopenharmony_cirequires_gnutls_tls1_3
13258a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
13259a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
13260a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR ffdhe2048 -> x25519" \
13261a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
13262a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-FFDHE2048:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
13263a8e1175bSopenharmony_ci         0 \
13264a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
13265a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
13266a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
13267a8e1175bSopenharmony_ci         -s "HRR selected_group: x25519"
13268a8e1175bSopenharmony_ci
13269a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
13270a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13271a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13272a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13273a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13274a8e1175bSopenharmony_cirequires_gnutls_tls1_3
13275a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
13276a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
13277a8e1175bSopenharmony_cirun_test "TLS 1.3 G->m: HRR ffdhe2048 -> x448" \
13278a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
13279a8e1175bSopenharmony_ci         "$G_NEXT_CLI_NO_CERT --debug=4 --single-key-share --x509cafile data_files/test-ca2.crt --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-FFDHE2048:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
13280a8e1175bSopenharmony_ci         0 \
13281a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
13282a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
13283a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
13284a8e1175bSopenharmony_ci         -s "HRR selected_group: x448"
13285a8e1175bSopenharmony_ci
13286a8e1175bSopenharmony_cirequires_openssl_tls1_3
13287a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13288a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13289a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13290a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13291a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13292a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR secp256r1 -> secp384r1" \
13293a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups P-384 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13294a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1,secp384r1" \
13295a8e1175bSopenharmony_ci         0 \
13296a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13297a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13298a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
13299a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
13300a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13301a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13302a8e1175bSopenharmony_ci         -c "selected_group ( 24 )"
13303a8e1175bSopenharmony_ci
13304a8e1175bSopenharmony_cirequires_openssl_tls1_3
13305a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13306a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13307a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13308a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13309a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13310a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR secp256r1 -> secp521r1" \
13311a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups P-521 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13312a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1,secp521r1" \
13313a8e1175bSopenharmony_ci         0 \
13314a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13315a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13316a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
13317a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
13318a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13319a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13320a8e1175bSopenharmony_ci         -c "selected_group ( 25 )"
13321a8e1175bSopenharmony_ci
13322a8e1175bSopenharmony_cirequires_openssl_tls1_3
13323a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13324a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13325a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13326a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13327a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13328a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR secp256r1 -> x25519" \
13329a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups X25519 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13330a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1,x25519" \
13331a8e1175bSopenharmony_ci         0 \
13332a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13333a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13334a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
13335a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
13336a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13337a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13338a8e1175bSopenharmony_ci         -c "selected_group ( 29 )"
13339a8e1175bSopenharmony_ci
13340a8e1175bSopenharmony_cirequires_openssl_tls1_3
13341a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13342a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13343a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13344a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13345a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13346a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR secp256r1 -> x448" \
13347a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups X448 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13348a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1,x448" \
13349a8e1175bSopenharmony_ci         0 \
13350a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13351a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13352a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
13353a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
13354a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13355a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13356a8e1175bSopenharmony_ci         -c "selected_group ( 30 )"
13357a8e1175bSopenharmony_ci
13358a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
13359a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13360a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13361a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13362a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13363a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13364a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
13365a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
13366a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR secp256r1 -> ffdhe2048" \
13367a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups ffdhe2048 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13368a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1,ffdhe2048" \
13369a8e1175bSopenharmony_ci         0 \
13370a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13371a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13372a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
13373a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
13374a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13375a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13376a8e1175bSopenharmony_ci         -c "selected_group ( 256 )"
13377a8e1175bSopenharmony_ci
13378a8e1175bSopenharmony_cirequires_openssl_tls1_3
13379a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13380a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13381a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13382a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13383a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13384a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR secp384r1 -> secp256r1" \
13385a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups P-256 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13386a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1,secp256r1" \
13387a8e1175bSopenharmony_ci         0 \
13388a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13389a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13390a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
13391a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
13392a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13393a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13394a8e1175bSopenharmony_ci         -c "selected_group ( 23 )"
13395a8e1175bSopenharmony_ci
13396a8e1175bSopenharmony_cirequires_openssl_tls1_3
13397a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13398a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13399a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13400a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13401a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13402a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR secp384r1 -> secp521r1" \
13403a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups P-521 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13404a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1,secp521r1" \
13405a8e1175bSopenharmony_ci         0 \
13406a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13407a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13408a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
13409a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
13410a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13411a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13412a8e1175bSopenharmony_ci         -c "selected_group ( 25 )"
13413a8e1175bSopenharmony_ci
13414a8e1175bSopenharmony_cirequires_openssl_tls1_3
13415a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13416a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13417a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13418a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13419a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13420a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR secp384r1 -> x25519" \
13421a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups X25519 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13422a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1,x25519" \
13423a8e1175bSopenharmony_ci         0 \
13424a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13425a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13426a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
13427a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
13428a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13429a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13430a8e1175bSopenharmony_ci         -c "selected_group ( 29 )"
13431a8e1175bSopenharmony_ci
13432a8e1175bSopenharmony_cirequires_openssl_tls1_3
13433a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13434a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13435a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13436a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13437a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13438a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR secp384r1 -> x448" \
13439a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups X448 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13440a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1,x448" \
13441a8e1175bSopenharmony_ci         0 \
13442a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13443a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13444a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
13445a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
13446a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13447a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13448a8e1175bSopenharmony_ci         -c "selected_group ( 30 )"
13449a8e1175bSopenharmony_ci
13450a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
13451a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13452a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13453a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13454a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13455a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13456a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
13457a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
13458a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR secp384r1 -> ffdhe2048" \
13459a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups ffdhe2048 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13460a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1,ffdhe2048" \
13461a8e1175bSopenharmony_ci         0 \
13462a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13463a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13464a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
13465a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
13466a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13467a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13468a8e1175bSopenharmony_ci         -c "selected_group ( 256 )"
13469a8e1175bSopenharmony_ci
13470a8e1175bSopenharmony_cirequires_openssl_tls1_3
13471a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13472a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13473a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13474a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13475a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13476a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR secp521r1 -> secp256r1" \
13477a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups P-256 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13478a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1,secp256r1" \
13479a8e1175bSopenharmony_ci         0 \
13480a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13481a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13482a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
13483a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
13484a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13485a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13486a8e1175bSopenharmony_ci         -c "selected_group ( 23 )"
13487a8e1175bSopenharmony_ci
13488a8e1175bSopenharmony_cirequires_openssl_tls1_3
13489a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13490a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13491a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13492a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13493a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13494a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR secp521r1 -> secp384r1" \
13495a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups P-384 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13496a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1,secp384r1" \
13497a8e1175bSopenharmony_ci         0 \
13498a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13499a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13500a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
13501a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
13502a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13503a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13504a8e1175bSopenharmony_ci         -c "selected_group ( 24 )"
13505a8e1175bSopenharmony_ci
13506a8e1175bSopenharmony_cirequires_openssl_tls1_3
13507a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13508a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13509a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13510a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13511a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13512a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR secp521r1 -> x25519" \
13513a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups X25519 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13514a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1,x25519" \
13515a8e1175bSopenharmony_ci         0 \
13516a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13517a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13518a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
13519a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
13520a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13521a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13522a8e1175bSopenharmony_ci         -c "selected_group ( 29 )"
13523a8e1175bSopenharmony_ci
13524a8e1175bSopenharmony_cirequires_openssl_tls1_3
13525a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13526a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13527a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13528a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13529a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13530a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR secp521r1 -> x448" \
13531a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups X448 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13532a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1,x448" \
13533a8e1175bSopenharmony_ci         0 \
13534a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13535a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13536a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
13537a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
13538a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13539a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13540a8e1175bSopenharmony_ci         -c "selected_group ( 30 )"
13541a8e1175bSopenharmony_ci
13542a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
13543a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13544a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13545a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13546a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13547a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13548a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
13549a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
13550a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR secp521r1 -> ffdhe2048" \
13551a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups ffdhe2048 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13552a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1,ffdhe2048" \
13553a8e1175bSopenharmony_ci         0 \
13554a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13555a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13556a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
13557a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
13558a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13559a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13560a8e1175bSopenharmony_ci         -c "selected_group ( 256 )"
13561a8e1175bSopenharmony_ci
13562a8e1175bSopenharmony_cirequires_openssl_tls1_3
13563a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13564a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13565a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13566a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13567a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13568a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR x25519 -> secp256r1" \
13569a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups P-256 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13570a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519,secp256r1" \
13571a8e1175bSopenharmony_ci         0 \
13572a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13573a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13574a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
13575a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
13576a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13577a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13578a8e1175bSopenharmony_ci         -c "selected_group ( 23 )"
13579a8e1175bSopenharmony_ci
13580a8e1175bSopenharmony_cirequires_openssl_tls1_3
13581a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13582a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13583a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13584a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13585a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13586a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR x25519 -> secp384r1" \
13587a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups P-384 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13588a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519,secp384r1" \
13589a8e1175bSopenharmony_ci         0 \
13590a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13591a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13592a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
13593a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
13594a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13595a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13596a8e1175bSopenharmony_ci         -c "selected_group ( 24 )"
13597a8e1175bSopenharmony_ci
13598a8e1175bSopenharmony_cirequires_openssl_tls1_3
13599a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13600a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13601a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13602a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13603a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13604a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR x25519 -> secp521r1" \
13605a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups P-521 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13606a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519,secp521r1" \
13607a8e1175bSopenharmony_ci         0 \
13608a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13609a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13610a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
13611a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
13612a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13613a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13614a8e1175bSopenharmony_ci         -c "selected_group ( 25 )"
13615a8e1175bSopenharmony_ci
13616a8e1175bSopenharmony_cirequires_openssl_tls1_3
13617a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13618a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13619a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13620a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13621a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13622a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR x25519 -> x448" \
13623a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups X448 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13624a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519,x448" \
13625a8e1175bSopenharmony_ci         0 \
13626a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13627a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13628a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
13629a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
13630a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13631a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13632a8e1175bSopenharmony_ci         -c "selected_group ( 30 )"
13633a8e1175bSopenharmony_ci
13634a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
13635a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13636a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13637a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13638a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13639a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13640a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
13641a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
13642a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR x25519 -> ffdhe2048" \
13643a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups ffdhe2048 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13644a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519,ffdhe2048" \
13645a8e1175bSopenharmony_ci         0 \
13646a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13647a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13648a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
13649a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
13650a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13651a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13652a8e1175bSopenharmony_ci         -c "selected_group ( 256 )"
13653a8e1175bSopenharmony_ci
13654a8e1175bSopenharmony_cirequires_openssl_tls1_3
13655a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13656a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13657a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13658a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13659a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13660a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR x448 -> secp256r1" \
13661a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups P-256 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13662a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448,secp256r1" \
13663a8e1175bSopenharmony_ci         0 \
13664a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13665a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13666a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
13667a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
13668a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13669a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13670a8e1175bSopenharmony_ci         -c "selected_group ( 23 )"
13671a8e1175bSopenharmony_ci
13672a8e1175bSopenharmony_cirequires_openssl_tls1_3
13673a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13674a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13675a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13676a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13677a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13678a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR x448 -> secp384r1" \
13679a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups P-384 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13680a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448,secp384r1" \
13681a8e1175bSopenharmony_ci         0 \
13682a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13683a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13684a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
13685a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
13686a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13687a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13688a8e1175bSopenharmony_ci         -c "selected_group ( 24 )"
13689a8e1175bSopenharmony_ci
13690a8e1175bSopenharmony_cirequires_openssl_tls1_3
13691a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13692a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13693a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13694a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13695a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13696a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR x448 -> secp521r1" \
13697a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups P-521 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13698a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448,secp521r1" \
13699a8e1175bSopenharmony_ci         0 \
13700a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13701a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13702a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
13703a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
13704a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13705a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13706a8e1175bSopenharmony_ci         -c "selected_group ( 25 )"
13707a8e1175bSopenharmony_ci
13708a8e1175bSopenharmony_cirequires_openssl_tls1_3
13709a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13710a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13711a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13712a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13713a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13714a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR x448 -> x25519" \
13715a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups X25519 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13716a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448,x25519" \
13717a8e1175bSopenharmony_ci         0 \
13718a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13719a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13720a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
13721a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
13722a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13723a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13724a8e1175bSopenharmony_ci         -c "selected_group ( 29 )"
13725a8e1175bSopenharmony_ci
13726a8e1175bSopenharmony_cirequires_openssl_tls1_3_with_ffdh
13727a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13728a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13729a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13730a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13731a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13732a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
13733a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
13734a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR x448 -> ffdhe2048" \
13735a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups ffdhe2048 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13736a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448,ffdhe2048" \
13737a8e1175bSopenharmony_ci         0 \
13738a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13739a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13740a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
13741a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
13742a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13743a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13744a8e1175bSopenharmony_ci         -c "selected_group ( 256 )"
13745a8e1175bSopenharmony_ci
13746a8e1175bSopenharmony_cirequires_openssl_tls1_3
13747a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13748a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13749a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13750a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13751a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13752a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
13753a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
13754a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR ffdhe2048 -> secp256r1" \
13755a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups P-256 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13756a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048,secp256r1" \
13757a8e1175bSopenharmony_ci         0 \
13758a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13759a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13760a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
13761a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
13762a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13763a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13764a8e1175bSopenharmony_ci         -c "selected_group ( 23 )"
13765a8e1175bSopenharmony_ci
13766a8e1175bSopenharmony_cirequires_openssl_tls1_3
13767a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13768a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13769a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13770a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13771a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13772a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
13773a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
13774a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR ffdhe2048 -> secp384r1" \
13775a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups P-384 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13776a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048,secp384r1" \
13777a8e1175bSopenharmony_ci         0 \
13778a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13779a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13780a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
13781a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
13782a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13783a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13784a8e1175bSopenharmony_ci         -c "selected_group ( 24 )"
13785a8e1175bSopenharmony_ci
13786a8e1175bSopenharmony_cirequires_openssl_tls1_3
13787a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13788a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13789a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13790a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13791a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13792a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
13793a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
13794a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR ffdhe2048 -> secp521r1" \
13795a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups P-521 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13796a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048,secp521r1" \
13797a8e1175bSopenharmony_ci         0 \
13798a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13799a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13800a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
13801a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
13802a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13803a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13804a8e1175bSopenharmony_ci         -c "selected_group ( 25 )"
13805a8e1175bSopenharmony_ci
13806a8e1175bSopenharmony_cirequires_openssl_tls1_3
13807a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13808a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13809a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13810a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13811a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13812a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
13813a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
13814a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR ffdhe2048 -> x25519" \
13815a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups X25519 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13816a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048,x25519" \
13817a8e1175bSopenharmony_ci         0 \
13818a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13819a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13820a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
13821a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
13822a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13823a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13824a8e1175bSopenharmony_ci         -c "selected_group ( 29 )"
13825a8e1175bSopenharmony_ci
13826a8e1175bSopenharmony_cirequires_openssl_tls1_3
13827a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13828a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13829a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13830a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13831a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13832a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
13833a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
13834a8e1175bSopenharmony_cirun_test "TLS 1.3 m->O: HRR ffdhe2048 -> x448" \
13835a8e1175bSopenharmony_ci         "$O_NEXT_SRV_NO_CERT -cert data_files/ecdsa_secp256r1.crt -key data_files/ecdsa_secp256r1.key -groups X448 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
13836a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048,x448" \
13837a8e1175bSopenharmony_ci         0 \
13838a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 ok" \
13839a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13840a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
13841a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
13842a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13843a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13844a8e1175bSopenharmony_ci         -c "selected_group ( 30 )"
13845a8e1175bSopenharmony_ci
13846a8e1175bSopenharmony_cirequires_gnutls_tls1_3
13847a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
13848a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
13849a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13850a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13851a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13852a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13853a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13854a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR secp256r1 -> secp384r1" \
13855a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
13856a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1,secp384r1" \
13857a8e1175bSopenharmony_ci         0 \
13858a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
13859a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13860a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
13861a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
13862a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13863a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13864a8e1175bSopenharmony_ci         -c "selected_group ( 24 )"
13865a8e1175bSopenharmony_ci
13866a8e1175bSopenharmony_cirequires_gnutls_tls1_3
13867a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
13868a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
13869a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13870a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13871a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13872a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13873a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13874a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR secp256r1 -> secp521r1" \
13875a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
13876a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1,secp521r1" \
13877a8e1175bSopenharmony_ci         0 \
13878a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
13879a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13880a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
13881a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
13882a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13883a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13884a8e1175bSopenharmony_ci         -c "selected_group ( 25 )"
13885a8e1175bSopenharmony_ci
13886a8e1175bSopenharmony_cirequires_gnutls_tls1_3
13887a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
13888a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
13889a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13890a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13891a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13892a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13893a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13894a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR secp256r1 -> x25519" \
13895a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
13896a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1,x25519" \
13897a8e1175bSopenharmony_ci         0 \
13898a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
13899a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13900a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
13901a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
13902a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13903a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13904a8e1175bSopenharmony_ci         -c "selected_group ( 29 )"
13905a8e1175bSopenharmony_ci
13906a8e1175bSopenharmony_cirequires_gnutls_tls1_3
13907a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
13908a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
13909a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13910a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13911a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13912a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13913a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13914a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR secp256r1 -> x448" \
13915a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
13916a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1,x448" \
13917a8e1175bSopenharmony_ci         0 \
13918a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
13919a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13920a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
13921a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
13922a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13923a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13924a8e1175bSopenharmony_ci         -c "selected_group ( 30 )"
13925a8e1175bSopenharmony_ci
13926a8e1175bSopenharmony_cirequires_gnutls_tls1_3
13927a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
13928a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
13929a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13930a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13931a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13932a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13933a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13934a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
13935a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
13936a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR secp256r1 -> ffdhe2048" \
13937a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
13938a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1,ffdhe2048" \
13939a8e1175bSopenharmony_ci         0 \
13940a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
13941a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13942a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
13943a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
13944a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13945a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13946a8e1175bSopenharmony_ci         -c "selected_group ( 256 )"
13947a8e1175bSopenharmony_ci
13948a8e1175bSopenharmony_cirequires_gnutls_tls1_3
13949a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
13950a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
13951a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13952a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13953a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13954a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13955a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13956a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR secp384r1 -> secp256r1" \
13957a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
13958a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1,secp256r1" \
13959a8e1175bSopenharmony_ci         0 \
13960a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
13961a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13962a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
13963a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
13964a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13965a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13966a8e1175bSopenharmony_ci         -c "selected_group ( 23 )"
13967a8e1175bSopenharmony_ci
13968a8e1175bSopenharmony_cirequires_gnutls_tls1_3
13969a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
13970a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
13971a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13972a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13973a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13974a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13975a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13976a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR secp384r1 -> secp521r1" \
13977a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
13978a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1,secp521r1" \
13979a8e1175bSopenharmony_ci         0 \
13980a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
13981a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
13982a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
13983a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
13984a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
13985a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
13986a8e1175bSopenharmony_ci         -c "selected_group ( 25 )"
13987a8e1175bSopenharmony_ci
13988a8e1175bSopenharmony_cirequires_gnutls_tls1_3
13989a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
13990a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
13991a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
13992a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
13993a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
13994a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
13995a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
13996a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR secp384r1 -> x25519" \
13997a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
13998a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1,x25519" \
13999a8e1175bSopenharmony_ci         0 \
14000a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
14001a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14002a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
14003a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
14004a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14005a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14006a8e1175bSopenharmony_ci         -c "selected_group ( 29 )"
14007a8e1175bSopenharmony_ci
14008a8e1175bSopenharmony_cirequires_gnutls_tls1_3
14009a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
14010a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
14011a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14012a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14013a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14014a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14015a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14016a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR secp384r1 -> x448" \
14017a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
14018a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1,x448" \
14019a8e1175bSopenharmony_ci         0 \
14020a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
14021a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14022a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
14023a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
14024a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14025a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14026a8e1175bSopenharmony_ci         -c "selected_group ( 30 )"
14027a8e1175bSopenharmony_ci
14028a8e1175bSopenharmony_cirequires_gnutls_tls1_3
14029a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
14030a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
14031a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14032a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14033a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14034a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14035a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14036a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
14037a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
14038a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR secp384r1 -> ffdhe2048" \
14039a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
14040a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1,ffdhe2048" \
14041a8e1175bSopenharmony_ci         0 \
14042a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
14043a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14044a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
14045a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
14046a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14047a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14048a8e1175bSopenharmony_ci         -c "selected_group ( 256 )"
14049a8e1175bSopenharmony_ci
14050a8e1175bSopenharmony_cirequires_gnutls_tls1_3
14051a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
14052a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
14053a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14054a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14055a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14056a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14057a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14058a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR secp521r1 -> secp256r1" \
14059a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
14060a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1,secp256r1" \
14061a8e1175bSopenharmony_ci         0 \
14062a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
14063a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14064a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
14065a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
14066a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14067a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14068a8e1175bSopenharmony_ci         -c "selected_group ( 23 )"
14069a8e1175bSopenharmony_ci
14070a8e1175bSopenharmony_cirequires_gnutls_tls1_3
14071a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
14072a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
14073a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14074a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14075a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14076a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14077a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14078a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR secp521r1 -> secp384r1" \
14079a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
14080a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1,secp384r1" \
14081a8e1175bSopenharmony_ci         0 \
14082a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
14083a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14084a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
14085a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
14086a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14087a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14088a8e1175bSopenharmony_ci         -c "selected_group ( 24 )"
14089a8e1175bSopenharmony_ci
14090a8e1175bSopenharmony_cirequires_gnutls_tls1_3
14091a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
14092a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
14093a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14094a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14095a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14096a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14097a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14098a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR secp521r1 -> x25519" \
14099a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
14100a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1,x25519" \
14101a8e1175bSopenharmony_ci         0 \
14102a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
14103a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14104a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
14105a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
14106a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14107a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14108a8e1175bSopenharmony_ci         -c "selected_group ( 29 )"
14109a8e1175bSopenharmony_ci
14110a8e1175bSopenharmony_cirequires_gnutls_tls1_3
14111a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
14112a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
14113a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14114a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14115a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14116a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14117a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14118a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR secp521r1 -> x448" \
14119a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
14120a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1,x448" \
14121a8e1175bSopenharmony_ci         0 \
14122a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
14123a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14124a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
14125a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
14126a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14127a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14128a8e1175bSopenharmony_ci         -c "selected_group ( 30 )"
14129a8e1175bSopenharmony_ci
14130a8e1175bSopenharmony_cirequires_gnutls_tls1_3
14131a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
14132a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
14133a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14134a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14135a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14136a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14137a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14138a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
14139a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
14140a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR secp521r1 -> ffdhe2048" \
14141a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
14142a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1,ffdhe2048" \
14143a8e1175bSopenharmony_ci         0 \
14144a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
14145a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14146a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
14147a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
14148a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14149a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14150a8e1175bSopenharmony_ci         -c "selected_group ( 256 )"
14151a8e1175bSopenharmony_ci
14152a8e1175bSopenharmony_cirequires_gnutls_tls1_3
14153a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
14154a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
14155a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14156a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14157a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14158a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14159a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14160a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR x25519 -> secp256r1" \
14161a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
14162a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519,secp256r1" \
14163a8e1175bSopenharmony_ci         0 \
14164a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
14165a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14166a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
14167a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
14168a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14169a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14170a8e1175bSopenharmony_ci         -c "selected_group ( 23 )"
14171a8e1175bSopenharmony_ci
14172a8e1175bSopenharmony_cirequires_gnutls_tls1_3
14173a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
14174a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
14175a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14176a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14177a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14178a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14179a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14180a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR x25519 -> secp384r1" \
14181a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
14182a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519,secp384r1" \
14183a8e1175bSopenharmony_ci         0 \
14184a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
14185a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14186a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
14187a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
14188a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14189a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14190a8e1175bSopenharmony_ci         -c "selected_group ( 24 )"
14191a8e1175bSopenharmony_ci
14192a8e1175bSopenharmony_cirequires_gnutls_tls1_3
14193a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
14194a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
14195a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14196a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14197a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14198a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14199a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14200a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR x25519 -> secp521r1" \
14201a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
14202a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519,secp521r1" \
14203a8e1175bSopenharmony_ci         0 \
14204a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
14205a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14206a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
14207a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
14208a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14209a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14210a8e1175bSopenharmony_ci         -c "selected_group ( 25 )"
14211a8e1175bSopenharmony_ci
14212a8e1175bSopenharmony_cirequires_gnutls_tls1_3
14213a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
14214a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
14215a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14216a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14217a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14218a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14219a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14220a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR x25519 -> x448" \
14221a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
14222a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519,x448" \
14223a8e1175bSopenharmony_ci         0 \
14224a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
14225a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14226a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
14227a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
14228a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14229a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14230a8e1175bSopenharmony_ci         -c "selected_group ( 30 )"
14231a8e1175bSopenharmony_ci
14232a8e1175bSopenharmony_cirequires_gnutls_tls1_3
14233a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
14234a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
14235a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14236a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14237a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14238a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14239a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14240a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
14241a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
14242a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR x25519 -> ffdhe2048" \
14243a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
14244a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519,ffdhe2048" \
14245a8e1175bSopenharmony_ci         0 \
14246a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
14247a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14248a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
14249a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
14250a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14251a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14252a8e1175bSopenharmony_ci         -c "selected_group ( 256 )"
14253a8e1175bSopenharmony_ci
14254a8e1175bSopenharmony_cirequires_gnutls_tls1_3
14255a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
14256a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
14257a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14258a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14259a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14260a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14261a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14262a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR x448 -> secp256r1" \
14263a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
14264a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448,secp256r1" \
14265a8e1175bSopenharmony_ci         0 \
14266a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
14267a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14268a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
14269a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
14270a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14271a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14272a8e1175bSopenharmony_ci         -c "selected_group ( 23 )"
14273a8e1175bSopenharmony_ci
14274a8e1175bSopenharmony_cirequires_gnutls_tls1_3
14275a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
14276a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
14277a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14278a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14279a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14280a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14281a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14282a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR x448 -> secp384r1" \
14283a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
14284a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448,secp384r1" \
14285a8e1175bSopenharmony_ci         0 \
14286a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
14287a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14288a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
14289a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
14290a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14291a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14292a8e1175bSopenharmony_ci         -c "selected_group ( 24 )"
14293a8e1175bSopenharmony_ci
14294a8e1175bSopenharmony_cirequires_gnutls_tls1_3
14295a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
14296a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
14297a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14298a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14299a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14300a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14301a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14302a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR x448 -> secp521r1" \
14303a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
14304a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448,secp521r1" \
14305a8e1175bSopenharmony_ci         0 \
14306a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
14307a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14308a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
14309a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
14310a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14311a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14312a8e1175bSopenharmony_ci         -c "selected_group ( 25 )"
14313a8e1175bSopenharmony_ci
14314a8e1175bSopenharmony_cirequires_gnutls_tls1_3
14315a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
14316a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
14317a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14318a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14319a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14320a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14321a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14322a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR x448 -> x25519" \
14323a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
14324a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448,x25519" \
14325a8e1175bSopenharmony_ci         0 \
14326a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
14327a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14328a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
14329a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
14330a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14331a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14332a8e1175bSopenharmony_ci         -c "selected_group ( 29 )"
14333a8e1175bSopenharmony_ci
14334a8e1175bSopenharmony_cirequires_gnutls_tls1_3
14335a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
14336a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
14337a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14338a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14339a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14340a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14341a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14342a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
14343a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
14344a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR x448 -> ffdhe2048" \
14345a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-FFDHE2048:+VERS-TLS1.3:%NO_TICKETS" \
14346a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448,ffdhe2048" \
14347a8e1175bSopenharmony_ci         0 \
14348a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
14349a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14350a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
14351a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
14352a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14353a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14354a8e1175bSopenharmony_ci         -c "selected_group ( 256 )"
14355a8e1175bSopenharmony_ci
14356a8e1175bSopenharmony_cirequires_gnutls_tls1_3
14357a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
14358a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
14359a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14360a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14361a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14362a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14363a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14364a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
14365a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
14366a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR ffdhe2048 -> secp256r1" \
14367a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP256R1:+VERS-TLS1.3:%NO_TICKETS" \
14368a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048,secp256r1" \
14369a8e1175bSopenharmony_ci         0 \
14370a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
14371a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14372a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
14373a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
14374a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14375a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14376a8e1175bSopenharmony_ci         -c "selected_group ( 23 )"
14377a8e1175bSopenharmony_ci
14378a8e1175bSopenharmony_cirequires_gnutls_tls1_3
14379a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
14380a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
14381a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14382a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14383a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14384a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14385a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14386a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
14387a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
14388a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR ffdhe2048 -> secp384r1" \
14389a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP384R1:+VERS-TLS1.3:%NO_TICKETS" \
14390a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048,secp384r1" \
14391a8e1175bSopenharmony_ci         0 \
14392a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
14393a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14394a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
14395a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
14396a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14397a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14398a8e1175bSopenharmony_ci         -c "selected_group ( 24 )"
14399a8e1175bSopenharmony_ci
14400a8e1175bSopenharmony_cirequires_gnutls_tls1_3
14401a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
14402a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
14403a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14404a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14405a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14406a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14407a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14408a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
14409a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
14410a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR ffdhe2048 -> secp521r1" \
14411a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-SECP521R1:+VERS-TLS1.3:%NO_TICKETS" \
14412a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048,secp521r1" \
14413a8e1175bSopenharmony_ci         0 \
14414a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
14415a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14416a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
14417a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
14418a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14419a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14420a8e1175bSopenharmony_ci         -c "selected_group ( 25 )"
14421a8e1175bSopenharmony_ci
14422a8e1175bSopenharmony_cirequires_gnutls_tls1_3
14423a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
14424a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
14425a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14426a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14427a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14428a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14429a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14430a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
14431a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
14432a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR ffdhe2048 -> x25519" \
14433a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-X25519:+VERS-TLS1.3:%NO_TICKETS" \
14434a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048,x25519" \
14435a8e1175bSopenharmony_ci         0 \
14436a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
14437a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14438a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
14439a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
14440a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14441a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14442a8e1175bSopenharmony_ci         -c "selected_group ( 29 )"
14443a8e1175bSopenharmony_ci
14444a8e1175bSopenharmony_cirequires_gnutls_tls1_3
14445a8e1175bSopenharmony_cirequires_gnutls_next_no_ticket
14446a8e1175bSopenharmony_cirequires_gnutls_next_disable_tls13_compat
14447a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14448a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14449a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14450a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14451a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14452a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
14453a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
14454a8e1175bSopenharmony_cirun_test "TLS 1.3 m->G: HRR ffdhe2048 -> x448" \
14455a8e1175bSopenharmony_ci         "$G_NEXT_SRV_NO_CERT --http --disable-client-cert --debug=4 --x509certfile data_files/ecdsa_secp256r1.crt --x509keyfile data_files/ecdsa_secp256r1.key --priority=NONE:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+GROUP-X448:+VERS-TLS1.3:%NO_TICKETS" \
14456a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048,x448" \
14457a8e1175bSopenharmony_ci         0 \
14458a8e1175bSopenharmony_ci         -c "HTTP/1.0 200 OK" \
14459a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14460a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
14461a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
14462a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14463a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14464a8e1175bSopenharmony_ci         -c "selected_group ( 30 )"
14465a8e1175bSopenharmony_ci
14466a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
14467a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14468a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14469a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14470a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14471a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14472a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14473a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14474a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14475a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14476a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR secp256r1 -> secp384r1" \
14477a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
14478a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1,secp384r1" \
14479a8e1175bSopenharmony_ci         0 \
14480a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
14481a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
14482a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
14483a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14484a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
14485a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
14486a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14487a8e1175bSopenharmony_ci         -s "HRR selected_group: secp384r1" \
14488a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14489a8e1175bSopenharmony_ci         -c "selected_group ( 24 )"
14490a8e1175bSopenharmony_ci
14491a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
14492a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14493a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14494a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14495a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14496a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14497a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14498a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14499a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14500a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14501a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR secp256r1 -> secp521r1" \
14502a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
14503a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1,secp521r1" \
14504a8e1175bSopenharmony_ci         0 \
14505a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
14506a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
14507a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
14508a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14509a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
14510a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
14511a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14512a8e1175bSopenharmony_ci         -s "HRR selected_group: secp521r1" \
14513a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14514a8e1175bSopenharmony_ci         -c "selected_group ( 25 )"
14515a8e1175bSopenharmony_ci
14516a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
14517a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14518a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14519a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14520a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14521a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14522a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14523a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14524a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14525a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14526a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR secp256r1 -> x25519" \
14527a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
14528a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1,x25519" \
14529a8e1175bSopenharmony_ci         0 \
14530a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
14531a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
14532a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
14533a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14534a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
14535a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
14536a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14537a8e1175bSopenharmony_ci         -s "HRR selected_group: x25519" \
14538a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14539a8e1175bSopenharmony_ci         -c "selected_group ( 29 )"
14540a8e1175bSopenharmony_ci
14541a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
14542a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14543a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14544a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14545a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14546a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14547a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14548a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14549a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14550a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14551a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR secp256r1 -> x448" \
14552a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
14553a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1,x448" \
14554a8e1175bSopenharmony_ci         0 \
14555a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
14556a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
14557a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
14558a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14559a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
14560a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
14561a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14562a8e1175bSopenharmony_ci         -s "HRR selected_group: x448" \
14563a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14564a8e1175bSopenharmony_ci         -c "selected_group ( 30 )"
14565a8e1175bSopenharmony_ci
14566a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
14567a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14568a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14569a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14570a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
14571a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
14572a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14573a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14574a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14575a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14576a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14577a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
14578a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
14579a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR secp256r1 -> ffdhe2048" \
14580a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
14581a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1,ffdhe2048" \
14582a8e1175bSopenharmony_ci         0 \
14583a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
14584a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
14585a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
14586a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14587a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
14588a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
14589a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14590a8e1175bSopenharmony_ci         -s "HRR selected_group: ffdhe2048" \
14591a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14592a8e1175bSopenharmony_ci         -c "selected_group ( 256 )"
14593a8e1175bSopenharmony_ci
14594a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
14595a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14596a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14597a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14598a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14599a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14600a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14601a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14602a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14603a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14604a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR secp384r1 -> secp256r1" \
14605a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
14606a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1,secp256r1" \
14607a8e1175bSopenharmony_ci         0 \
14608a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
14609a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
14610a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
14611a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14612a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
14613a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
14614a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14615a8e1175bSopenharmony_ci         -s "HRR selected_group: secp256r1" \
14616a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14617a8e1175bSopenharmony_ci         -c "selected_group ( 23 )"
14618a8e1175bSopenharmony_ci
14619a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
14620a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14621a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14622a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14623a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14624a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14625a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14626a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14627a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14628a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14629a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR secp384r1 -> secp521r1" \
14630a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
14631a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1,secp521r1" \
14632a8e1175bSopenharmony_ci         0 \
14633a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
14634a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
14635a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
14636a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14637a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
14638a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
14639a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14640a8e1175bSopenharmony_ci         -s "HRR selected_group: secp521r1" \
14641a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14642a8e1175bSopenharmony_ci         -c "selected_group ( 25 )"
14643a8e1175bSopenharmony_ci
14644a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
14645a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14646a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14647a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14648a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14649a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14650a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14651a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14652a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14653a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14654a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR secp384r1 -> x25519" \
14655a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
14656a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1,x25519" \
14657a8e1175bSopenharmony_ci         0 \
14658a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
14659a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
14660a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
14661a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14662a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
14663a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
14664a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14665a8e1175bSopenharmony_ci         -s "HRR selected_group: x25519" \
14666a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14667a8e1175bSopenharmony_ci         -c "selected_group ( 29 )"
14668a8e1175bSopenharmony_ci
14669a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
14670a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14671a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14672a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14673a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14674a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14675a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14676a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14677a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14678a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14679a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR secp384r1 -> x448" \
14680a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
14681a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1,x448" \
14682a8e1175bSopenharmony_ci         0 \
14683a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
14684a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
14685a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
14686a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14687a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
14688a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
14689a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14690a8e1175bSopenharmony_ci         -s "HRR selected_group: x448" \
14691a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14692a8e1175bSopenharmony_ci         -c "selected_group ( 30 )"
14693a8e1175bSopenharmony_ci
14694a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
14695a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14696a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14697a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14698a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
14699a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
14700a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14701a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14702a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14703a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14704a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14705a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
14706a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
14707a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR secp384r1 -> ffdhe2048" \
14708a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
14709a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1,ffdhe2048" \
14710a8e1175bSopenharmony_ci         0 \
14711a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
14712a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
14713a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
14714a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14715a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
14716a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
14717a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14718a8e1175bSopenharmony_ci         -s "HRR selected_group: ffdhe2048" \
14719a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14720a8e1175bSopenharmony_ci         -c "selected_group ( 256 )"
14721a8e1175bSopenharmony_ci
14722a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
14723a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14724a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14725a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14726a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14727a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14728a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14729a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14730a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14731a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14732a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR secp521r1 -> secp256r1" \
14733a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
14734a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1,secp256r1" \
14735a8e1175bSopenharmony_ci         0 \
14736a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
14737a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
14738a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
14739a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14740a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
14741a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
14742a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14743a8e1175bSopenharmony_ci         -s "HRR selected_group: secp256r1" \
14744a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14745a8e1175bSopenharmony_ci         -c "selected_group ( 23 )"
14746a8e1175bSopenharmony_ci
14747a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
14748a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14749a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14750a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14751a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14752a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14753a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14754a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14755a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14756a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14757a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR secp521r1 -> secp384r1" \
14758a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
14759a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1,secp384r1" \
14760a8e1175bSopenharmony_ci         0 \
14761a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
14762a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
14763a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
14764a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14765a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
14766a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
14767a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14768a8e1175bSopenharmony_ci         -s "HRR selected_group: secp384r1" \
14769a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14770a8e1175bSopenharmony_ci         -c "selected_group ( 24 )"
14771a8e1175bSopenharmony_ci
14772a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
14773a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14774a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14775a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14776a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14777a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14778a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14779a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14780a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14781a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14782a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR secp521r1 -> x25519" \
14783a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
14784a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1,x25519" \
14785a8e1175bSopenharmony_ci         0 \
14786a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
14787a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
14788a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
14789a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14790a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
14791a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
14792a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14793a8e1175bSopenharmony_ci         -s "HRR selected_group: x25519" \
14794a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14795a8e1175bSopenharmony_ci         -c "selected_group ( 29 )"
14796a8e1175bSopenharmony_ci
14797a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
14798a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14799a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14800a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14801a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14802a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14803a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14804a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14805a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14806a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14807a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR secp521r1 -> x448" \
14808a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
14809a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1,x448" \
14810a8e1175bSopenharmony_ci         0 \
14811a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
14812a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
14813a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
14814a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14815a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
14816a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
14817a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14818a8e1175bSopenharmony_ci         -s "HRR selected_group: x448" \
14819a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14820a8e1175bSopenharmony_ci         -c "selected_group ( 30 )"
14821a8e1175bSopenharmony_ci
14822a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
14823a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14824a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14825a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14826a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
14827a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
14828a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14829a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14830a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14831a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14832a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14833a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
14834a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
14835a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR secp521r1 -> ffdhe2048" \
14836a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
14837a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1,ffdhe2048" \
14838a8e1175bSopenharmony_ci         0 \
14839a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
14840a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
14841a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
14842a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14843a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
14844a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
14845a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14846a8e1175bSopenharmony_ci         -s "HRR selected_group: ffdhe2048" \
14847a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14848a8e1175bSopenharmony_ci         -c "selected_group ( 256 )"
14849a8e1175bSopenharmony_ci
14850a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
14851a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14852a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14853a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14854a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14855a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14856a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14857a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14858a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14859a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14860a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR x25519 -> secp256r1" \
14861a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
14862a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519,secp256r1" \
14863a8e1175bSopenharmony_ci         0 \
14864a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
14865a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
14866a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
14867a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14868a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
14869a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
14870a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14871a8e1175bSopenharmony_ci         -s "HRR selected_group: secp256r1" \
14872a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14873a8e1175bSopenharmony_ci         -c "selected_group ( 23 )"
14874a8e1175bSopenharmony_ci
14875a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
14876a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14877a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14878a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14879a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14880a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14881a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14882a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14883a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14884a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14885a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR x25519 -> secp384r1" \
14886a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
14887a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519,secp384r1" \
14888a8e1175bSopenharmony_ci         0 \
14889a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
14890a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
14891a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
14892a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14893a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
14894a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
14895a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14896a8e1175bSopenharmony_ci         -s "HRR selected_group: secp384r1" \
14897a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14898a8e1175bSopenharmony_ci         -c "selected_group ( 24 )"
14899a8e1175bSopenharmony_ci
14900a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
14901a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14902a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14903a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14904a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14905a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14906a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14907a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14908a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14909a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14910a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR x25519 -> secp521r1" \
14911a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
14912a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519,secp521r1" \
14913a8e1175bSopenharmony_ci         0 \
14914a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
14915a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
14916a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
14917a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14918a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
14919a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
14920a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14921a8e1175bSopenharmony_ci         -s "HRR selected_group: secp521r1" \
14922a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14923a8e1175bSopenharmony_ci         -c "selected_group ( 25 )"
14924a8e1175bSopenharmony_ci
14925a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
14926a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14927a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14928a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14929a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14930a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14931a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14932a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14933a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14934a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14935a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR x25519 -> x448" \
14936a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
14937a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519,x448" \
14938a8e1175bSopenharmony_ci         0 \
14939a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
14940a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
14941a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
14942a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14943a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
14944a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
14945a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14946a8e1175bSopenharmony_ci         -s "HRR selected_group: x448" \
14947a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14948a8e1175bSopenharmony_ci         -c "selected_group ( 30 )"
14949a8e1175bSopenharmony_ci
14950a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
14951a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14952a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14953a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14954a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
14955a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
14956a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14957a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14958a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14959a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14960a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14961a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
14962a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
14963a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR x25519 -> ffdhe2048" \
14964a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
14965a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519,ffdhe2048" \
14966a8e1175bSopenharmony_ci         0 \
14967a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
14968a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
14969a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
14970a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14971a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
14972a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
14973a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14974a8e1175bSopenharmony_ci         -s "HRR selected_group: ffdhe2048" \
14975a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
14976a8e1175bSopenharmony_ci         -c "selected_group ( 256 )"
14977a8e1175bSopenharmony_ci
14978a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
14979a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14980a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14981a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14982a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14983a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
14984a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
14985a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
14986a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
14987a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
14988a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR x448 -> secp256r1" \
14989a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
14990a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448,secp256r1" \
14991a8e1175bSopenharmony_ci         0 \
14992a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
14993a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
14994a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
14995a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
14996a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
14997a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
14998a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
14999a8e1175bSopenharmony_ci         -s "HRR selected_group: secp256r1" \
15000a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
15001a8e1175bSopenharmony_ci         -c "selected_group ( 23 )"
15002a8e1175bSopenharmony_ci
15003a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
15004a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
15005a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
15006a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
15007a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
15008a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
15009a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
15010a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
15011a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
15012a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
15013a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR x448 -> secp384r1" \
15014a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
15015a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448,secp384r1" \
15016a8e1175bSopenharmony_ci         0 \
15017a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
15018a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
15019a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
15020a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
15021a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
15022a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
15023a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
15024a8e1175bSopenharmony_ci         -s "HRR selected_group: secp384r1" \
15025a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
15026a8e1175bSopenharmony_ci         -c "selected_group ( 24 )"
15027a8e1175bSopenharmony_ci
15028a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
15029a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
15030a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
15031a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
15032a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
15033a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
15034a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
15035a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
15036a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
15037a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
15038a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR x448 -> secp521r1" \
15039a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
15040a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448,secp521r1" \
15041a8e1175bSopenharmony_ci         0 \
15042a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
15043a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
15044a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
15045a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
15046a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
15047a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
15048a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
15049a8e1175bSopenharmony_ci         -s "HRR selected_group: secp521r1" \
15050a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
15051a8e1175bSopenharmony_ci         -c "selected_group ( 25 )"
15052a8e1175bSopenharmony_ci
15053a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
15054a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
15055a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
15056a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
15057a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
15058a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
15059a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
15060a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
15061a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
15062a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
15063a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR x448 -> x25519" \
15064a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
15065a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448,x25519" \
15066a8e1175bSopenharmony_ci         0 \
15067a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
15068a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
15069a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
15070a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
15071a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
15072a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
15073a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
15074a8e1175bSopenharmony_ci         -s "HRR selected_group: x25519" \
15075a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
15076a8e1175bSopenharmony_ci         -c "selected_group ( 29 )"
15077a8e1175bSopenharmony_ci
15078a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
15079a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
15080a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
15081a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
15082a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
15083a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
15084a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
15085a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
15086a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
15087a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
15088a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
15089a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
15090a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
15091a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR x448 -> ffdhe2048" \
15092a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
15093a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448,ffdhe2048" \
15094a8e1175bSopenharmony_ci         0 \
15095a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
15096a8e1175bSopenharmony_ci         -s "got named group: ffdhe2048(0100)" \
15097a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
15098a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
15099a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
15100a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
15101a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
15102a8e1175bSopenharmony_ci         -s "HRR selected_group: ffdhe2048" \
15103a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
15104a8e1175bSopenharmony_ci         -c "selected_group ( 256 )"
15105a8e1175bSopenharmony_ci
15106a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
15107a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
15108a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
15109a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
15110a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
15111a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
15112a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
15113a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
15114a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
15115a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
15116a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
15117a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
15118a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR ffdhe2048 -> secp256r1" \
15119a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp256r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
15120a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048,secp256r1" \
15121a8e1175bSopenharmony_ci         0 \
15122a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
15123a8e1175bSopenharmony_ci         -s "got named group: secp256r1(0017)" \
15124a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
15125a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
15126a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
15127a8e1175bSopenharmony_ci         -c "NamedGroup: secp256r1 ( 17 )" \
15128a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
15129a8e1175bSopenharmony_ci         -s "HRR selected_group: secp256r1" \
15130a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
15131a8e1175bSopenharmony_ci         -c "selected_group ( 23 )"
15132a8e1175bSopenharmony_ci
15133a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
15134a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
15135a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
15136a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
15137a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
15138a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
15139a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
15140a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
15141a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
15142a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
15143a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
15144a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
15145a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR ffdhe2048 -> secp384r1" \
15146a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp384r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
15147a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048,secp384r1" \
15148a8e1175bSopenharmony_ci         0 \
15149a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
15150a8e1175bSopenharmony_ci         -s "got named group: secp384r1(0018)" \
15151a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
15152a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
15153a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
15154a8e1175bSopenharmony_ci         -c "NamedGroup: secp384r1 ( 18 )" \
15155a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
15156a8e1175bSopenharmony_ci         -s "HRR selected_group: secp384r1" \
15157a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
15158a8e1175bSopenharmony_ci         -c "selected_group ( 24 )"
15159a8e1175bSopenharmony_ci
15160a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
15161a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
15162a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
15163a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
15164a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
15165a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
15166a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
15167a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
15168a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
15169a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
15170a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
15171a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
15172a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR ffdhe2048 -> secp521r1" \
15173a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=secp521r1 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
15174a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048,secp521r1" \
15175a8e1175bSopenharmony_ci         0 \
15176a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
15177a8e1175bSopenharmony_ci         -s "got named group: secp521r1(0019)" \
15178a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
15179a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
15180a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
15181a8e1175bSopenharmony_ci         -c "NamedGroup: secp521r1 ( 19 )" \
15182a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
15183a8e1175bSopenharmony_ci         -s "HRR selected_group: secp521r1" \
15184a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
15185a8e1175bSopenharmony_ci         -c "selected_group ( 25 )"
15186a8e1175bSopenharmony_ci
15187a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
15188a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
15189a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
15190a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
15191a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
15192a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
15193a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
15194a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
15195a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
15196a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
15197a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
15198a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
15199a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR ffdhe2048 -> x25519" \
15200a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x25519 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
15201a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048,x25519" \
15202a8e1175bSopenharmony_ci         0 \
15203a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
15204a8e1175bSopenharmony_ci         -s "got named group: x25519(001d)" \
15205a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
15206a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
15207a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
15208a8e1175bSopenharmony_ci         -c "NamedGroup: x25519 ( 1d )" \
15209a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
15210a8e1175bSopenharmony_ci         -s "HRR selected_group: x25519" \
15211a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
15212a8e1175bSopenharmony_ci         -c "selected_group ( 29 )"
15213a8e1175bSopenharmony_ci
15214a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_SRV_C
15215a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
15216a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
15217a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
15218a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
15219a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_CLI_C
15220a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_DEBUG_C
15221a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
15222a8e1175bSopenharmony_cirequires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
15223a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_ECDH
15224a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_ALG_FFDH
15225a8e1175bSopenharmony_cirequires_config_enabled PSA_WANT_DH_RFC7919_2048
15226a8e1175bSopenharmony_cirun_test "TLS 1.3 m->m: HRR ffdhe2048 -> x448" \
15227a8e1175bSopenharmony_ci         "$P_SRV crt_file=data_files/ecdsa_secp256r1.crt key_file=data_files/ecdsa_secp256r1.key debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=x448 tls13_kex_modes=ephemeral cookies=0 tickets=0" \
15228a8e1175bSopenharmony_ci         "$P_CLI ca_file=data_files/test-ca2.crt debug_level=4 sig_algs=ecdsa_secp256r1_sha256 groups=ffdhe2048,x448" \
15229a8e1175bSopenharmony_ci         0 \
15230a8e1175bSopenharmony_ci         -s "Protocol is TLSv1.3" \
15231a8e1175bSopenharmony_ci         -s "got named group: x448(001e)" \
15232a8e1175bSopenharmony_ci         -s "Certificate verification was skipped" \
15233a8e1175bSopenharmony_ci         -c "Protocol is TLSv1.3" \
15234a8e1175bSopenharmony_ci         -c "NamedGroup: ffdhe2048 ( 100 )" \
15235a8e1175bSopenharmony_ci         -c "NamedGroup: x448 ( 1e )" \
15236a8e1175bSopenharmony_ci         -c "Verifying peer X.509 certificate... ok" \
15237a8e1175bSopenharmony_ci         -s "HRR selected_group: x448" \
15238a8e1175bSopenharmony_ci         -c "received HelloRetryRequest message" \
15239a8e1175bSopenharmony_ci         -c "selected_group ( 30 )"
15240