Add more ciphersuites into test cases for hrr
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
This commit is contained in:
parent
b119a35d07
commit
7bae3b616c
1 changed files with 33 additions and 2 deletions
|
@ -9214,7 +9214,22 @@ requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
requires_config_disabled MBEDTLS_USE_PSA_CRYPTO
|
requires_config_disabled MBEDTLS_USE_PSA_CRYPTO
|
||||||
requires_openssl_tls1_3
|
requires_openssl_tls1_3
|
||||||
run_test "TLS 1.3: HelloRetryRequest check - openssl" \
|
run_test "TLS 1.3: HelloRetryRequest check, ciphersuite TLS_AES_128_GCM_SHA256 - openssl" \
|
||||||
|
"$O_NEXT_SRV -ciphersuites TLS_AES_128_GCM_SHA256 -sigalgs ecdsa_secp256r1_sha256 -groups P-256 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
|
||||||
|
"$P_CLI debug_level=4 force_version=tls13" \
|
||||||
|
0 \
|
||||||
|
-c "received HelloRetryRequest message" \
|
||||||
|
-c "<= ssl_tls13_process_server_hello:is_hrr = 1" \
|
||||||
|
-c "tls13 client state: MBEDTLS_SSL_CLIENT_HELLO(1)" \
|
||||||
|
-c "HTTP/1.0 200 ok"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
|
requires_config_disabled MBEDTLS_USE_PSA_CRYPTO
|
||||||
|
requires_openssl_tls1_3
|
||||||
|
run_test "TLS 1.3: HelloRetryRequest check, ciphersuite TLS_AES_256_GCM_SHA384 - openssl" \
|
||||||
"$O_NEXT_SRV -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp256r1_sha256 -groups P-256 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
|
"$O_NEXT_SRV -ciphersuites TLS_AES_256_GCM_SHA384 -sigalgs ecdsa_secp256r1_sha256 -groups P-256 -msg -tls1_3 -num_tickets 0 -no_resume_ephemeral -no_cache" \
|
||||||
"$P_CLI debug_level=4 force_version=tls13" \
|
"$P_CLI debug_level=4 force_version=tls13" \
|
||||||
0 \
|
0 \
|
||||||
|
@ -9230,7 +9245,23 @@ requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
requires_config_enabled MBEDTLS_DEBUG_C
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
requires_config_enabled MBEDTLS_SSL_CLI_C
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
requires_config_disabled MBEDTLS_USE_PSA_CRYPTO
|
requires_config_disabled MBEDTLS_USE_PSA_CRYPTO
|
||||||
run_test "TLS 1.3: HelloRetryRequest check - gnutls" \
|
run_test "TLS 1.3: HelloRetryRequest check, ciphersuite TLS_AES_128_GCM_SHA256 - gnutls" \
|
||||||
|
"$G_NEXT_SRV -d 4 --priority=NONE:+GROUP-SECP256R1:+AES-128-GCM:+SHA256:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+VERS-TLS1.3:%NO_TICKETS --disable-client-cert" \
|
||||||
|
"$P_CLI debug_level=4 force_version=tls13" \
|
||||||
|
0 \
|
||||||
|
-c "received HelloRetryRequest message" \
|
||||||
|
-c "<= ssl_tls13_process_server_hello:is_hrr = 1" \
|
||||||
|
-c "tls13 client state: MBEDTLS_SSL_CLIENT_HELLO(1)" \
|
||||||
|
-c "HTTP/1.0 200 OK"
|
||||||
|
|
||||||
|
requires_gnutls_tls1_3
|
||||||
|
requires_gnutls_next_no_ticket
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
||||||
|
requires_config_enabled MBEDTLS_DEBUG_C
|
||||||
|
requires_config_enabled MBEDTLS_SSL_CLI_C
|
||||||
|
requires_config_disabled MBEDTLS_USE_PSA_CRYPTO
|
||||||
|
run_test "TLS 1.3: HelloRetryRequest check, ciphersuite TLS_AES_256_GCM_SHA384 - gnutls" \
|
||||||
"$G_NEXT_SRV -d 4 --priority=NONE:+GROUP-SECP256R1:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+VERS-TLS1.3:%NO_TICKETS --disable-client-cert" \
|
"$G_NEXT_SRV -d 4 --priority=NONE:+GROUP-SECP256R1:+AES-256-GCM:+SHA384:+AEAD:+SIGN-ECDSA-SECP256R1-SHA256:+VERS-TLS1.3:%NO_TICKETS --disable-client-cert" \
|
||||||
"$P_CLI debug_level=4 force_version=tls13" \
|
"$P_CLI debug_level=4 force_version=tls13" \
|
||||||
0 \
|
0 \
|
||||||
|
|
Loading…
Reference in a new issue