X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=jh%2Fjh_simple_small_core.c;h=e824546052e8184a3c715bd39189833cb16ac43a;hp=5e5fe4f20b969709a8c1732ab684df51615b0d9b;hb=4b5da1dc27a791b5c448274a3db09cd035b33493;hpb=701cee0d98aab48dd3192c8cc7c77eb42581bc56 diff --git a/jh/jh_simple_small_core.c b/jh/jh_simple_small_core.c index 5e5fe4f..e824546 100644 --- a/jh/jh_simple_small_core.c +++ b/jh/jh_simple_small_core.c @@ -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 @@ -50,7 +50,7 @@ uint8_t jh_l(uint8_t v, uint8_t w){ } static -void jh_round(uint8_t* a, const uint8_t* rc){ +void jh_round(uint8_t *a, const uint8_t *rc){ uint8_t b[128]; uint8_t i,r=0,x,y; for(i=0; i<128; ++i){ @@ -79,7 +79,7 @@ void jh_round(uint8_t* a, const uint8_t* rc){ } static -void jh_next_round_const(uint8_t* a){ +void jh_next_round_const(uint8_t *a){ uint8_t b[32]; uint8_t i,x,y; for(i=0; i<32; ++i){ @@ -138,7 +138,7 @@ void degroup(uint8_t *a){ memcpy(a,b,128); } -void jh_encrypt(uint8_t* a){ +void jh_encrypt(uint8_t *a){ uint8_t i; uint8_t rc[32]; /* grouping */