]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/nessie_stream_test.c
forgot hfal_shabval.*
[avr-crypto-lib.git] / test_src / nessie_stream_test.c
index 9aecdbee3ba97ca29e968ed7467c0acc9485c3bd..cc4ac1ff5b8ee320929c2d289e947deeb0018439 100644 (file)
@@ -1,6 +1,6 @@
 /* nessie_stream_test.c */
 /*
-    This file is part of the This file is part of the AVR-Crypto-Lib.
+    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
@@ -118,6 +118,7 @@ void nessie_stream_enc_large(uint8_t* key){
        for(i=0; i<((65472-0)/BLOCKSIZE_B-1); ++i){
                nessie_gen_block(ctx, buffer);
                memxor(xorbuffer, buffer, BLOCKSIZE_B);
+               NESSIE_SEND_ALIVE_A(i);
        }
        
        nessie_gen_block(ctx, buffer);
@@ -131,6 +132,7 @@ void nessie_stream_enc_large(uint8_t* key){
        for(i=0; i<((131008-65536)/BLOCKSIZE_B-1); ++i){
                nessie_gen_block(ctx, buffer);
                memxor(xorbuffer, buffer, BLOCKSIZE_B);
+               NESSIE_SEND_ALIVE_A(i);
        }
        
        nessie_gen_block(ctx, buffer);