]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-twister256-test.c
twister now in ASM
[avr-crypto-lib.git] / test_src / main-twister256-test.c
index 9467456ac416c7be19a8ee52895867eea0967a1b..e9d3c59461407203928ed88630fc94ae9b740f48 100644 (file)
@@ -110,7 +110,8 @@ void testrun_twister256(void){
                twister256(&hash, &(stestv[i]), stestl[i]);
                print_hash(hash);
        }
-
+       
+#ifdef TWISTER_LONGTEST
        uart_putstr_P(PSTR("\r\n\r\n=== TWISTER-256 test suit (long test) ==="));
        char* ltest= "abcdefghbcdefghicdefghijdefghijk"
                            "efghijklfghijklmghijklmnhijklmno"; 
@@ -124,6 +125,7 @@ void testrun_twister256(void){
        }
        twister256_ctx2hash(hash, &ctx);
        print_hash(hash);
+#endif
 }