/* 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"
-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);
}