]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - twister/twister.c
global style change (now * is attached to identifier not to type)
[avr-crypto-lib.git] / twister / twister.c
index b19c0d0f6257a91e0df023d37a8833b9238a3d3b..b279f6042210e9db65abe475ee1b98cfafdf66fd 100644 (file)
@@ -37,7 +37,7 @@
 # define MULT(a,b) gf256mul((a),(b), 0x4D)
 //#endif
 
-void twister_blank_round(twister_state_tctx){
+void twister_blank_round(twister_state_t *ctx){
        uint8_t i,j,k;
        uint8_t tmp[8][8];
        /* add twist counter */
@@ -76,7 +76,7 @@ void twister_blank_round(twister_state_t* ctx){
                }       
        }
 }
-void twister_mini_round(twister_state_t* ctx, const void* msg){
+void twister_mini_round(twister_state_t *ctx, const void *msg){
        /* inject message */
        uint8_t i;
        for(i=0; i<8; ++i){
@@ -86,7 +86,7 @@ void twister_mini_round(twister_state_t* ctx, const void* msg){
        twister_blank_round(ctx);
 }
 
-void twister_ctx2hash(void* dest, twister_state_t* ctx, uint16_t hashsize_b){
+void twister_ctx2hash(void *dest, twister_state_t *ctx, uint16_t hashsize_b){
        uint8_t tmp[8][8];
        uint8_t j;
        uint16_t i=hashsize_b;