]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-twister256-test.c
renaming to AVR-Crypto-Lib
[avr-crypto-lib.git] / test_src / main-twister256-test.c
index 9467456ac416c7be19a8ee52895867eea0967a1b..25ae0896f8bc134b549d5fbe4d87c917be3c9804 100644 (file)
@@ -1,6 +1,6 @@
 /* main-twister256-test.c */
 /*
-    This file is part of the Crypto-avr-lib/microcrypt-lib.
+    This file is part of the This file is part of the AVR-Crypto-Lib.
     Copyright (C) 2008  Daniel Otte (daniel.otte@rub.de)
 
     This program is free software: you can redistribute it and/or modify
@@ -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
 }