mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Koen Zandberg
f4a4f5d0b1
Add a test case to the crypto tests testing the chacha20poly1305 algorithm with the test vectors from rfc 8439.
25 lines
776 B
C
25 lines
776 B
C
/*
|
|
* Copyright (C) 2014 Philipp Rosenkranz
|
|
* Copyright (C) 2014 Nico von Geyso
|
|
*
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
* directory for more details.
|
|
*/
|
|
|
|
#include "tests-crypto.h"
|
|
|
|
void tests_crypto(void)
|
|
{
|
|
TESTS_RUN(tests_crypto_helper_tests());
|
|
TESTS_RUN(tests_crypto_chacha_tests());
|
|
TESTS_RUN(tests_crypto_poly1305_tests());
|
|
TESTS_RUN(tests_crypto_chacha20poly1305_tests());
|
|
TESTS_RUN(tests_crypto_aes_tests());
|
|
TESTS_RUN(tests_crypto_cipher_tests());
|
|
TESTS_RUN(tests_crypto_modes_ccm_tests());
|
|
TESTS_RUN(tests_crypto_modes_ecb_tests());
|
|
TESTS_RUN(tests_crypto_modes_cbc_tests());
|
|
TESTS_RUN(tests_crypto_modes_ctr_tests());
|
|
}
|