diff --git a/tests/include.am b/tests/include.am index 1c6b5b63f..52813189a 100644 --- a/tests/include.am +++ b/tests/include.am @@ -21,4 +21,5 @@ EXTRA_DIST += tests/test.conf \ tests/test-hc128.conf \ tests/test-psk.conf \ tests/test-ntru.conf \ - tests/test-ecc.conf + tests/test-ecc.conf \ + tests/test-aesgcm.conf diff --git a/tests/suites.c b/tests/suites.c index 11415f9de..d42c82d2e 100644 --- a/tests/suites.c +++ b/tests/suites.c @@ -291,6 +291,17 @@ int SuiteTest(void) } #endif +#ifdef HAVE_AESGCM + /* add ecc extra suites */ + strcpy(argv0[1], "tests/test-aesgcm.conf"); + printf("starting aesgcm 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 + printf(" End Cipher Suite Tests\n"); return args.return_code; diff --git a/tests/test-aesgcm.conf b/tests/test-aesgcm.conf new file mode 100644 index 000000000..9efc5a578 --- /dev/null +++ b/tests/test-aesgcm.conf @@ -0,0 +1,16 @@ +# server TLSv1.2 RSA-AES128-GCM-SHA256 +-v 3 +-l AES128-GCM-SHA256 + +# client TLSv1.2 RSA-AES128-GCM-SHA256 +-v 3 +-l AES128-GCM-SHA256 + +# server TLSv1.2 RSA-AES256-GCM-SHA384 +-v 3 +-l AES256-GCM-SHA384 + +# client TLSv1.2 RSA-AES256-GCM-SHA384 +-v 3 +-l AES256-GCM-SHA384 +