]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - grain/grain.h
fixing E-Mail-Address & Copyright
[avr-crypto-lib.git] / grain / grain.h
index 2526fdced5f97ea4c54c8a0a3d5be245185621cf..3a701524cfc0bee61d2d085cf9d034fe1f3b9413 100644 (file)
@@ -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_enc(grain_ctx_tctx);
-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_*/