X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=twister.c;h=494a7a11f72cfd44bc7efad4d777ecf0bcf9cc50;hb=3caccd2034e682222162e24c256d20bf65d7c649;hp=b795a2d8eebf3c35a35ce77ccce906831d3e58dd;hpb=6718048fd9038c98523eae722545bb0279e0bc21;p=avr-crypto-lib.git diff --git a/twister.c b/twister.c index b795a2d..494a7a1 100644 --- a/twister.c +++ b/twister.c @@ -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){