]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-twister512-test.c
renaming to AVR-Crypto-Lib
[avr-crypto-lib.git] / test_src / main-twister512-test.c
index 22309d015e7e5d258115b2678785eefa3cafdf6f..8ec706cfc0842f955ba19359565155b034b34547 100644 (file)
@@ -1,6 +1,6 @@
 /* main-twister512-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
@@ -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
 }