]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/nessie_bc_test.c
fixing E-Mail-Address & Copyright
[avr-crypto-lib.git] / test_src / nessie_bc_test.c
index 6d55c57f539866533bf4139fa474cc7d7ea054fe..1d28adae96d8c7a10c2598db62adc789dc426cc8 100644 (file)
@@ -1,7 +1,7 @@
 /* nessie_bc_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 blockciphers
@@ -36,12 +36,12 @@ void nessie_bc_init(void){
        memset(&nessie_bc_ctx, 0, sizeof(nessie_bc_ctx_t));     
 }
 static
-void nessie_bc_free(voidctx){
+void nessie_bc_free(void *ctx){
        if(nessie_bc_ctx.cipher_free)
                nessie_bc_ctx.cipher_free(ctx);
 }
 
-void nessie_bc_enc(uint8_t* key, uint8_t* pt){
+void nessie_bc_enc(uint8_t *key, uint8_t *pt){
        uint8_t ctx[nessie_bc_ctx.ctx_size_B];
        uint8_t buffer[nessie_bc_ctx.blocksize_B];
        uint16_t i;
@@ -76,7 +76,7 @@ void nessie_bc_enc(uint8_t* key, uint8_t* pt){
        nessie_bc_free(ctx);
 }
 
-void nessie_bc_dec(uint8_t* key, uint8_t* ct){
+void nessie_bc_dec(uint8_t *key, uint8_t *ct){
        uint8_t ctx[nessie_bc_ctx.ctx_size_B];
        uint8_t buffer[nessie_bc_ctx.blocksize_B];