/*#include */ #include #include #include "bs.h" #include "aes.h" #include "utils.h" #include "../clock.h" #define RUN_TESTS #include "testbench/app.h" #ifdef RUN_TESTS #include "tests/tests.h" #endif #ifdef TEST_FOOTPRINT #define printf(fmt, ...) (0) #define fprintf(f,fmt, ...) (0) #else #include #endif int main(int argc, char * argv[]) { clock_prepare(); clock_start(); #ifdef RUN_TESTS #ifndef TEST_FOOTPRINT aes_ecb_test(); #endif aes_ctr_test(); #else cli_app(argc,argv); #endif clock_stop(); print_total_clock(); return 0; }