]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-twister512-test.c
twister now in ASM
[avr-crypto-lib.git] / test_src / main-twister512-test.c
index 22309d015e7e5d258115b2678785eefa3cafdf6f..c9cc667e6b53733b192808876a406d2ddf664edb 100644 (file)
@@ -113,7 +113,8 @@ void testrun_twister512(void){
                twister512(hash, &(stestv[i]), stestl[i]);
                print_hash(hash);
        }
-
+       
+#ifdef TWISTER_LONGTEST
        uart_putstr_P(PSTR("\r\n\r\n=== TWISTER-512 test suit (long test) ==="));
        char* ltest= "abcdefghbcdefghicdefghijdefghijk"
                            "efghijklfghijklmghijklmnhijklmno"; 
@@ -127,6 +128,7 @@ void testrun_twister512(void){
        }
        twister512_ctx2hash(hash, &ctx);
        print_hash(hash);
+#endif
 }