]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/nessie_stream_test.c
fixing E-Mail-Address & Copyright
[avr-crypto-lib.git] / test_src / nessie_stream_test.c
index 662259da15d44a48f686665e9362148f2aa0cb4c..16001ae19a9735e916aacff620b07ec87d929d1e 100644 (file)
@@ -1,7 +1,7 @@
 /* nessie_stream_test.c */
 /*
     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 @@
 /**
  * 
  * author: Daniel Otte
- * email:  daniel.otte@rub.de
+ * email:  bg@nerilex.org
  * license: GPLv3
  * 
  * a suit for running the nessie-tests for streamciphers
@@ -38,7 +38,7 @@ nessie_stream_ctx_t nessie_stream_ctx;
 
 
 static 
-void nessie_gen_block(void* ctx, uint8_t* block){
+void nessie_gen_block(void *ctx, uint8_t *block){
        uint16_t i;
        for(i=0; i<BLOCKSIZE_B; ++i){
                block[i] = nessie_stream_ctx.cipher_enc(ctx);
@@ -46,7 +46,7 @@ void nessie_gen_block(void* ctx, uint8_t* block){
 }
 
 static
-void nessie_stream_enc(uint8_tkey){
+void nessie_stream_enc(uint8_t *key){
        uint8_t ctx[nessie_stream_ctx.ctx_size_B];
        uint8_t buffer[BLOCKSIZE_B];
        uint8_t xorbuffer[BLOCKSIZE_B];
@@ -90,7 +90,7 @@ void nessie_stream_enc(uint8_t* key){
 
 
 static
-void nessie_stream_enc_large(uint8_tkey){
+void nessie_stream_enc_large(uint8_t *key){
        uint8_t ctx[nessie_stream_ctx.ctx_size_B];
        uint8_t buffer[BLOCKSIZE_B];
        uint8_t xorbuffer[BLOCKSIZE_B];