X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=test_src%2Fmain-shacal2_enc-test.c;h=d7b614c87c4760eabaeb1427693ab4ea4bf4ceb6;hp=bf631ebb29bd2ed3f7352c7e20d4296d5a2ea578;hb=4b5da1dc27a791b5c448274a3db09cd035b33493;hpb=a45c328791dc391e6432051ee0c7972ef7fd8d9a diff --git a/test_src/main-shacal2_enc-test.c b/test_src/main-shacal2_enc-test.c index bf631eb..d7b614c 100644 --- a/test_src/main-shacal2_enc-test.c +++ b/test_src/main-shacal2_enc-test.c @@ -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 @@ -27,16 +27,16 @@ #include "nessie_bc_test.h" #include "performance_test.h" -char* algo_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); }