]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - shabal/shabal192.c
fixing E-Mail-Address & Copyright
[avr-crypto-lib.git] / shabal / shabal192.c
index 73a9b401e02021869b757b4daf2de8d382c7d1c5..95da6b03cc7a35f4ed18244b5f9791b162bb489f 100644 (file)
@@ -1,7 +1,7 @@
 /* shabal192.c */
 /*
     This file is part of the AVR-Crypto-Lib.
-    Copyright (C) 2009  Daniel Otte (daniel.otte@rub.de)
+    Copyright (C) 2006-2015 Daniel Otte (bg@nerilex.org)
 
     This program is free software: you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -19,7 +19,7 @@
 /*
  * \file    shabal192.c
  * \author  Daniel Otte
- * \email   daniel.otte@rub.de
+ * \email   bg@nerilex.org
  * \date    2009-04-27
  * \license GPLv3 or later
  * 
@@ -47,7 +47,7 @@ const uint32_t shabal192_iv[] PROGMEM = {
        0x1C096BF4, 0xAC76224B, 0x5215781C, 0xCD5D2669
 };
 
-void shabal192_init(shabal_ctx_tctx){
+void shabal192_init(shabal_ctx_t *ctx){
        uint8_t i;
        ctx->b = ctx->b_buffer;
        ctx->c = ctx->c_buffer;
@@ -63,11 +63,11 @@ void shabal192_init(shabal_ctx_t* ctx){
        }
 }
 
-void shabal192_ctx2hash(void* dest, const shabal_ctx_t* ctx){
+void shabal192_ctx2hash(void *dest, const shabal_ctx_t *ctx){
        shabal_ctx2hash(dest, ctx, 192);
 }
 
-void shabal192(void* dest, void* msg, uint32_t length_b){
+void shabal192(void *dest, void *msg, uint32_t length_b){
        shabal_ctx_t ctx;
        shabal192_init(&ctx);
        while(length_b>=SHABAL_BLOCKSIZE){