diff options
author | Daiki Ueno <dueno@redhat.com> | 2018-08-07 11:43:32 +0200 |
---|---|---|
committer | Daiki Ueno <dueno@redhat.com> | 2018-08-08 11:19:20 +0200 |
commit | 05c99c612069c6cdcb5bdfa457275ded9b321fb8 (patch) | |
tree | 9a3b02f083bbd645b54024b711e6ac1366beb69f /tests/tls12-ffdhe.c | |
parent | b1e9703c5bfd12ed60664176de594a6cc453ea99 (diff) | |
download | gnutls-05c99c612069c6cdcb5bdfa457275ded9b321fb8.tar.gz |
algorithms: add support for FFDHE6144
Signed-off-by: Daiki Ueno <dueno@redhat.com>
Diffstat (limited to 'tests/tls12-ffdhe.c')
-rw-r--r-- | tests/tls12-ffdhe.c | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/tests/tls12-ffdhe.c b/tests/tls12-ffdhe.c index cfedf2701f..d68452147a 100644 --- a/tests/tls12-ffdhe.c +++ b/tests/tls12-ffdhe.c @@ -152,7 +152,8 @@ static void try(test_case_st *test) if (test->group) { if (test->group == GNUTLS_GROUP_FFDHE2048 || test->group == GNUTLS_GROUP_FFDHE3072 || - test->group == GNUTLS_GROUP_FFDHE4096 || test->group == GNUTLS_GROUP_FFDHE8192) { + test->group == GNUTLS_GROUP_FFDHE4096 || test->group == GNUTLS_GROUP_FFDHE6144 || + test->group == GNUTLS_GROUP_FFDHE8192) { if (!(gnutls_session_get_flags(client) & GNUTLS_SFLAGS_RFC7919)) { fail("%s: gnutls_session_get_flags(client) reports that no RFC7919 negotiation was performed!\n", test->name); } @@ -211,6 +212,15 @@ test_case_st tests[] = { .client_prio = "NORMAL:-KX-ALL:+ANON-DH:-VERS-ALL:+VERS-TLS1.2:-GROUP-ALL:+GROUP-FFDHE4096" }, { + .name = "TLS 1.2 ANON-DH (FFDHE6144)", + .group = GNUTLS_GROUP_FFDHE6144, + .client_ret = 0, + .server_ret = 0, + .have_anon_cred = 1, + .server_prio = "NORMAL:-KX-ALL:+ANON-DH:-VERS-ALL:+VERS-TLS1.2:-GROUP-ALL:+GROUP-FFDHE6144", + .client_prio = "NORMAL:-KX-ALL:+ANON-DH:-VERS-ALL:+VERS-TLS1.2:-GROUP-ALL:+GROUP-FFDHE6144" + }, + { .name = "TLS 1.2 ANON-DH (FFDHE8192)", .group = GNUTLS_GROUP_FFDHE8192, .client_ret = 0, @@ -255,6 +265,15 @@ test_case_st tests[] = { .client_prio = "NORMAL:-KX-ALL:+DHE-PSK:-VERS-ALL:+VERS-TLS1.2:-GROUP-ALL:+GROUP-FFDHE4096" }, { + .name = "TLS 1.2 DHE-PSK (FFDHE6144)", + .client_ret = 0, + .server_ret = 0, + .group = GNUTLS_GROUP_FFDHE6144, + .have_psk_cred = 1, + .server_prio = "NORMAL:-KX-ALL:+DHE-PSK:-VERS-ALL:+VERS-TLS1.2:-GROUP-ALL:+GROUP-FFDHE6144", + .client_prio = "NORMAL:-KX-ALL:+DHE-PSK:-VERS-ALL:+VERS-TLS1.2:-GROUP-ALL:+GROUP-FFDHE6144" + }, + { .name = "TLS 1.2 DHE-PSK (FFDHE8192)", .group = GNUTLS_GROUP_FFDHE8192, .client_ret = 0, @@ -303,6 +322,16 @@ test_case_st tests[] = { .client_prio = "NORMAL:-KX-ALL:+DHE-RSA:-VERS-ALL:+VERS-TLS1.2:-GROUP-ALL:+GROUP-FFDHE4096" }, { + .name = "TLS 1.2 DHE-RSA (FFDHE6144)", + .group = GNUTLS_GROUP_FFDHE6144, + .client_ret = 0, + .server_ret = 0, + .have_cert_cred = 1, + .have_rsa_sign_cert = 1, + .server_prio = "NORMAL:-KX-ALL:+DHE-RSA:-VERS-ALL:+VERS-TLS1.2:-GROUP-ALL:+GROUP-FFDHE6144", + .client_prio = "NORMAL:-KX-ALL:+DHE-RSA:-VERS-ALL:+VERS-TLS1.2:-GROUP-ALL:+GROUP-FFDHE6144" + }, + { .name = "TLS 1.2 DHE-RSA (FFDHE8192)", .group = GNUTLS_GROUP_FFDHE8192, .client_ret = 0, |