X-Git-Url: https://git.cryptolib.org/avr-crypto-lib.git?a=blobdiff_plain;f=skein%2Fthreefish.h;h=56abeddb14e09716c1d9764168bc656733b531c7;hb=4b5da1dc27a791b5c448274a3db09cd035b33493;hp=3b4cc99f1eb506b29f511be8c00ab0dad1cec069;hpb=4f50c75ee5a6cc88bf7ea71957ed509e298e6c25;p=avr-crypto-lib.git diff --git a/skein/threefish.h b/skein/threefish.h index 3b4cc99..56abedd 100644 --- a/skein/threefish.h +++ b/skein/threefish.h @@ -1,7 +1,7 @@ /* threefish.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 threefish.h * \author Daniel Otte - * \email daniel.otte@rub.de + * \email bg@nerilex.org * \date 2009-03-12 * \license GPLv3 or later * \brief Implementation of the Threefish block cipher @@ -72,19 +72,19 @@ typedef struct{ } threefish1024_ctx_t; -void threefish_mix(void* data, uint8_t rot); -void threefish_invmix(void* data, uint8_t rot); +void threefish_mix(void *data, uint8_t rot); +void threefish_invmix(void *data, uint8_t rot); -void threefish256_init(const void* key, const void* tweak, threefish256_ctx_t* ctx); -void threefish512_init(const void* key, const void* tweak, threefish512_ctx_t* ctx); -void threefish1024_init(const void* key, const void* tweak, threefish1024_ctx_t* ctx); +void threefish256_init(const void *key, const void *tweak, threefish256_ctx_t *ctx); +void threefish512_init(const void *key, const void *tweak, threefish512_ctx_t *ctx); +void threefish1024_init(const void *key, const void *tweak, threefish1024_ctx_t *ctx); -void threefish256_enc(void* data, const threefish256_ctx_t* ctx); -void threefish512_enc(void* data, const threefish512_ctx_t* ctx); -void threefish1024_enc(void* data, const threefish1024_ctx_t* ctx); +void threefish256_enc(void *data, const threefish256_ctx_t *ctx); +void threefish512_enc(void *data, const threefish512_ctx_t *ctx); +void threefish1024_enc(void *data, const threefish1024_ctx_t *ctx); -void threefish256_dec(void* data, const threefish256_ctx_t* ctx); -void threefish512_dec(void* data, const threefish512_ctx_t* ctx); -void threefish1024_dec(void* data, const threefish1024_ctx_t* ctx); +void threefish256_dec(void *data, const threefish256_ctx_t *ctx); +void threefish512_dec(void *data, const threefish512_ctx_t *ctx); +void threefish1024_dec(void *data, const threefish1024_ctx_t *ctx); #endif /* THREEFISH_H_ */