]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - jh/jh_simple_speed_core.c
fixing E-Mail-Address & Copyright
[avr-crypto-lib.git] / jh / jh_simple_speed_core.c
index 55fbefff33011f86c20ab8aa796c654837fd88c2..1835902355f9248d00245c8774a67c9b9a06274c 100644 (file)
@@ -1,7 +1,7 @@
 /* jh_simple_speed.c */
 /*
     This file is part of the AVR-Crypto-Lib.
-    Copyright (C) 2006-2010 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
@@ -32,7 +32,7 @@
 #endif
 
 static
-void jh_round(uint8_ta, uint8_t roundno){
+void jh_round(uint8_t *a, uint8_t roundno){
        uint8_t b[128];
        uint8_t i,r=0,u,v,x,y;
        uint8_t *pr;
@@ -113,7 +113,7 @@ void degroup(uint8_t *a){
        memcpy(a,b,128);
 }
 
-void jh_encrypt(uint8_ta){
+void jh_encrypt(uint8_t *a){
        uint8_t i;
        /* grouping */
 #if DEBUG