forked from wolfSSL/wolfssl
added build test cases for ECC-SHA384 test suites.
This commit is contained in:
@@ -24,6 +24,7 @@ EXTRA_DIST += tests/test.conf \
|
|||||||
tests/test-psk.conf \
|
tests/test-psk.conf \
|
||||||
tests/test-ntru.conf \
|
tests/test-ntru.conf \
|
||||||
tests/test-ecc.conf \
|
tests/test-ecc.conf \
|
||||||
|
tests/test-ecc-sha384.conf \
|
||||||
tests/test-aesgcm.conf \
|
tests/test-aesgcm.conf \
|
||||||
tests/test-aesgcm-ecc.conf \
|
tests/test-aesgcm-ecc.conf \
|
||||||
tests/test-aesgcm-openssl.conf \
|
tests/test-aesgcm-openssl.conf \
|
||||||
|
@@ -357,6 +357,16 @@ int SuiteTest(void)
|
|||||||
printf("error from script %d\n", args.return_code);
|
printf("error from script %d\n", args.return_code);
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
#ifdef CYASSL_SHA384
|
||||||
|
/* add ecc extra suites */
|
||||||
|
strcpy(argv0[1], "tests/test-ecc-sha384.conf");
|
||||||
|
printf("starting ecc-sha384 extra cipher suite tests\n");
|
||||||
|
test_harness(&args);
|
||||||
|
if (args.return_code != 0) {
|
||||||
|
printf("error from script %d\n", args.return_code);
|
||||||
|
exit(EXIT_FAILURE);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_AESGCM
|
#ifdef HAVE_AESGCM
|
||||||
|
40
tests/test-ecc-sha384.conf
Normal file
40
tests/test-ecc-sha384.conf
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
# server TLSv1.2 ECDHE-RSA-AES256-SHA384
|
||||||
|
-v 3
|
||||||
|
-l ECDHE-RSA-AES256-SHA384
|
||||||
|
|
||||||
|
# client TLSv1.2 ECDHE-RSA-AES256-SHA384
|
||||||
|
-v 3
|
||||||
|
-l ECDHE-RSA-AES256-SHA384
|
||||||
|
|
||||||
|
# server TLSv1.2 ECDHE-ECDSA-AES256-SHA384
|
||||||
|
-v 3
|
||||||
|
-l ECDHE-ECDSA-AES256-SHA384
|
||||||
|
-c ./certs/server-ecc.pem
|
||||||
|
-k ./certs/ecc-key.pem
|
||||||
|
|
||||||
|
# client TLSv1.2 ECDHE-ECDSA-AES256-SHA384
|
||||||
|
-v 3
|
||||||
|
-l ECDHE-ECDSA-AES256-SHA384
|
||||||
|
-A ./certs/server-ecc.pem
|
||||||
|
|
||||||
|
# server TLSv1.2 ECDH-RSA-AES256-SHA384
|
||||||
|
-v 3
|
||||||
|
-l ECDH-RSA-AES256-SHA384
|
||||||
|
-c ./certs/server-ecc-rsa.pem
|
||||||
|
-k ./certs/ecc-key.pem
|
||||||
|
|
||||||
|
# client TLSv1.2 ECDH-RSA-AES256-SHA384
|
||||||
|
-v 3
|
||||||
|
-l ECDH-RSA-AES256-SHA384
|
||||||
|
|
||||||
|
# server TLSv1.2 ECDH-ECDSA-AES256-SHA384
|
||||||
|
-v 3
|
||||||
|
-l ECDH-ECDSA-AES256-SHA384
|
||||||
|
-c ./certs/server-ecc.pem
|
||||||
|
-k ./certs/ecc-key.pem
|
||||||
|
|
||||||
|
# client TLSv1.2 ECDH-ECDSA-AES256-SHA384
|
||||||
|
-v 3
|
||||||
|
-l ECDH-ECDSA-AES256-SHA384
|
||||||
|
-A ./certs/server-ecc.pem
|
||||||
|
|
Reference in New Issue
Block a user