]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/nessie_stream_test.c
some bugs fixed for SHA1-C (some may be left)
[avr-crypto-lib.git] / test_src / nessie_stream_test.c
index 461f5cbbc2e334778aba725f13823944470f3515..751669b6a4ac5451865b495e969c03f94171de4a 100644 (file)
@@ -29,7 +29,6 @@
 #include <string.h>
 #include "nessie_stream_test.h"
 #include "nessie_common.h"
-#include "uart.h"
 
 nessie_stream_ctx_t nessie_stream_ctx;
 
@@ -118,6 +117,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 +131,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);