X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=test_src%2Fmain-a5_1-test.c;h=6addf1aa8ee5fb44ff442b61b7e5bd1e7d8d4120;hb=628319e6c3018268ef1c307976a0e81e4dc549b8;hp=34e6739cc0329bbabd53e4abaa8ad702edba06ea;hpb=701cee0d98aab48dd3192c8cc7c77eb42581bc56;p=avr-crypto-lib.git diff --git a/test_src/main-a5_1-test.c b/test_src/main-a5_1-test.c index 34e6739..6addf1a 100644 --- a/test_src/main-a5_1-test.c +++ b/test_src/main-a5_1-test.c @@ -21,18 +21,11 @@ * */ -#include "config.h" +#include "main-test-common.h" -#include "uart_i.h" -#include "debug.h" - -#include +#include "A5_1.h" #include "nessie_stream_test.h" -#include -#include -#include "cli.h" - char* algo_name = "A5_1"; /***************************************************************************** @@ -76,16 +69,10 @@ const cmdlist_entry_t cmdlist[] PROGMEM = { }; int main (void){ - DEBUG_INIT(); - - - cli_rx = (cli_rx_fpt)uart0_getc; - cli_tx = (cli_tx_fpt)uart0_putc; + main_setup(); for(;;){ - cli_putstr_P(PSTR("\r\n\r\nCrypto-VS (")); - cli_putstr(algo_name); - cli_putstr_P(PSTR(")\r\nloaded and running\r\n")); - cmd_interface(cmdlist); + welcome_msg(algo_name); + cmd_interface(cmdlist); } }