X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=grain%2Fgrain.h;h=3a701524cfc0bee61d2d085cf9d034fe1f3b9413;hp=06e8c7898c06a80305bf12843d81b6be1c7602c9;hb=4b5da1dc27a791b5c448274a3db09cd035b33493;hpb=2a5b018aa71694c5021f41e469234c3c5adb8784 diff --git a/grain/grain.h b/grain/grain.h index 06e8c78..3a70152 100644 --- a/grain/grain.h +++ b/grain/grain.h @@ -1,7 +1,7 @@ /* grain.h */ /* This file is part of the AVR-Crypto-Lib. - Copyright (C) 2008 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 grain.h * \author Daniel Otte - * \email daniel.otte@rub.de + * \email bg@nerilex.org * \license GPLv3 or later * \brief implementation of the Grain streamcipher */ @@ -35,8 +35,8 @@ typedef struct gain_ctx_st{ uint8_t nfsr[10]; } grain_ctx_t; -uint8_t grain_getbyte(grain_ctx_t* ctx); -uint8_t grain_enc(grain_ctx_t* ctx); -void grain_init(const void* key, const void* iv, grain_ctx_t* ctx); +uint8_t grain_getbyte(grain_ctx_t *ctx); +uint8_t grain_enc(grain_ctx_t *ctx); +void grain_init(const void *key, const void *iv, grain_ctx_t *ctx); #endif /*GRAIN_H_*/