File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -675,6 +675,23 @@ component_test_rsa_no_crt () {
675
675
if_build_succeeded tests/compat.sh -t RSA
676
676
}
677
677
678
+ component_test_new_ecdh_context () {
679
+ msg " build: new ECDH context (ASan build)" # ~ 6 min
680
+ scripts/config.pl unset MBEDTLS_ECDH_LEGACY_CONTEXT
681
+ CC=gcc cmake -D CMAKE_BUILD_TYPE:String=Asan .
682
+ make
683
+
684
+ msg " test: new ECDH context - main suites (inc. selftests) (ASan build)" # ~ 50s
685
+ make test
686
+
687
+ msg " test: new ECDH context - ECDH-related part of ssl-opt.sh (ASan build)" # ~ 5s
688
+ if_build_succeeded tests/ssl-opt.sh -f ECDH
689
+
690
+ msg " test: new ECDH context - compat.sh with some ECDH ciphersuites (ASan build)" # ~ 3 min
691
+ # Exclude some symmetric ciphers that are redundant here to gain time.
692
+ if_build_succeeded tests/compat.sh -f ECDH -V NO -e ' ARCFOUR\|ARIA\|CAMELLIA\|CHACHA\|DES\|RC4'
693
+ }
694
+
678
695
component_test_small_ssl_out_content_len () {
679
696
msg " build: small SSL_OUT_CONTENT_LEN (ASan build)"
680
697
scripts/config.pl set MBEDTLS_SSL_IN_CONTENT_LEN 16384
You can’t perform that action at this time.
0 commit comments