Skip to content

Commit

Permalink
Merge pull request #12038 from cladmi/pr/tests/crypto/add_rfc_nist_tests
Browse files Browse the repository at this point in the history
tests/sys_crypto: add RFC3610 and NIST SP 800-38C tests
  • Loading branch information
jcarrano committed Aug 21, 2019
2 parents dcc20d7 + 46c7901 commit c35cbda
Show file tree
Hide file tree
Showing 18 changed files with 1,112 additions and 278 deletions.
32 changes: 32 additions & 0 deletions tests/sys_crypto/Makefile
@@ -0,0 +1,32 @@
include ../Makefile.tests_common

# Issue with integer width
BOARD_BLACKLIST += arduino-duemilanove
BOARD_BLACKLIST += arduino-leonardo
BOARD_BLACKLIST += arduino-mega2560
BOARD_BLACKLIST += arduino-nano
BOARD_BLACKLIST += arduino-uno
BOARD_BLACKLIST += chronos
BOARD_BLACKLIST += jiminy-mega256rfr2
BOARD_BLACKLIST += mega-xplained
BOARD_BLACKLIST += msb-430
BOARD_BLACKLIST += msb-430h
BOARD_BLACKLIST += telosb
BOARD_BLACKLIST += waspmote-pro
BOARD_BLACKLIST += wsn430-v1_3b
BOARD_BLACKLIST += wsn430-v1_4
BOARD_BLACKLIST += z1

BOARD_INSUFFICIENT_MEMORY += nucleo-f031k6
BOARD_INSUFFICIENT_MEMORY += nucleo-f042k6
BOARD_INSUFFICIENT_MEMORY += nucleo-l031k6

USEMODULE += embunit

USEMODULE += crypto
USEMODULE += cipher_modes
CFLAGS += -DCRYPTO_THREEDES

TEST_ON_CI_WHITELIST += all

include $(RIOTBASE)/Makefile.include
Expand Up @@ -9,8 +9,9 @@

#include "tests-crypto.h"

void tests_crypto(void)
int main(void)
{
TESTS_START();
TESTS_RUN(tests_crypto_helper_tests());
TESTS_RUN(tests_crypto_chacha_tests());
TESTS_RUN(tests_crypto_poly1305_tests());
Expand All @@ -22,4 +23,6 @@ void tests_crypto(void)
TESTS_RUN(tests_crypto_modes_ecb_tests());
TESTS_RUN(tests_crypto_modes_cbc_tests());
TESTS_RUN(tests_crypto_modes_ctr_tests());
TESTS_END();
return 0;
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit c35cbda

Please sign in to comment.