]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/main-shacal2_enc-test.c
fixing E-Mail-Address & Copyright
[avr-crypto-lib.git] / test_src / main-shacal2_enc-test.c
index bf631ebb29bd2ed3f7352c7e20d4296d5a2ea578..d7b614c87c4760eabaeb1427693ab4ea4bf4ceb6 100644 (file)
@@ -1,7 +1,7 @@
 /* main-shacal2_enc-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
 #include "nessie_bc_test.h"
 #include "performance_test.h"
 
-charalgo_name = "Shacal2 encryption only";
+char *algo_name = "Shacal2 encryption only";
 
 /*****************************************************************************
  *  additional validation-functions                                                                                     *
  *****************************************************************************/
-void shacal2_genctx_dummy(uint8_t* key, uint16_t keysize_b, void* ctx){
+void shacal2_genctx_dummy(uint8_t *key, uint16_t keysize_b, void *ctx){
        memcpy(ctx, key, (keysize_b+7)/8);
 }
 
-void shacal2_enc_dummy(void* buffer, void* ctx){
+void shacal2_enc_dummy(void *buffer, void *ctx){
        shacal2_enc(buffer, ctx, SHACAL2_KEYSIZE);
 }