]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - twister.c
renaming to AVR-Crypto-Lib
[avr-crypto-lib.git] / twister.c
index b795a2d8eebf3c35a35ce77ccce906831d3e58dd..5dd3808396eb9bb992c46bb880f573bee962311e 100644 (file)
--- a/twister.c
+++ b/twister.c
@@ -1,6 +1,6 @@
 /* twister.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
@@ -38,7 +38,7 @@
 #endif
 
 void twister_blank_round(twister_state_t* ctx){
-       uint8_t i,j,k=0;
+       uint8_t i,j,k;
        uint8_t tmp[8][8];
        /* add twist counter */
        for(i=0; i<8; ++i){
@@ -70,7 +70,7 @@ void twister_blank_round(twister_state_t* ctx){
        }
 }
 
-void twister_mini_round(twister_state_t* ctx, void* msg){
+void twister_mini_round(twister_state_t* ctx, const void* msg){
        /* inject message */
        uint8_t i;
        for(i=0; i<8; ++i){