[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 09/20] tests: test for chacha20-poly1305@xxxxxxxxxxx
[Thread Prev] | [Thread Next]
- Subject: [PATCH 09/20] tests: test for chacha20-poly1305@xxxxxxxxxxx
- From: Alberto Aguirre <albaguirre@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Wed, 28 Feb 2018 10:24:56 -0600
- To: libssh@xxxxxxxxxx
From: Aris Adamantiadis <aris@xxxxxxxxxxxx> --- tests/client/torture_algorithms.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/client/torture_algorithms.c b/tests/client/torture_algorithms.c index ce7d36ad..685ab305 100644 --- a/tests/client/torture_algorithms.c +++ b/tests/client/torture_algorithms.c @@ -265,6 +265,10 @@ static void torture_algorithms_blowfish_cbc_hmac_sha2_512(void **state) { } #endif +static void torture_algorithms_chacha20_poly1305(void **state) { + test_algorithm(*state, NULL/*kex*/, "chacha20-poly1305@xxxxxxxxxxx", NULL); +} + static void torture_algorithms_zlib(void **state) { struct torture_state *s = *state; ssh_session session = s->ssh.session; @@ -445,6 +449,9 @@ int torture_run_tests(void) { session_setup, session_teardown), #endif + cmocka_unit_test_setup_teardown(torture_algorithms_chacha20_poly1305, + session_setup, + session_teardown), cmocka_unit_test_setup_teardown(torture_algorithms_zlib, session_setup, session_teardown), -- 2.14.1
[PATCH 00/20] Add chacha20-poly1305 support | Alberto Aguirre <albaguirre@xxxxxxxxx> |