$(1): $(2)
@echo "[cc]: $(1) <-- $(2)"
@mkdir -p $(dir $(1))
- @$(CC) $(CFLAGS_A) -I./$(strip $(3)) -c -o $(1) $(2)
+ @$(CC) $(CFLAGS_A) $(addprefix -I./,$(3)) $(addprefix -D, $(4)) -c -o $(1) $(2)
endef
# ----------------------------------------------------------------------------
$(foreach b, $($(a)_OBJ), \
$(eval $(call TargetSource_Template, \
$(BIN_DIR)$(call lc, $(a))/$(b), \
- $(call find_source_file, $(b), $($(a)_DIR) $($(a)_INCDIR) $(GLOBAL_INCDIR) ),\
- $($(a)_DIR) \
+ $(call find_source_file, $(b), $($(a)_DIR) $($(a)_INCDIR) $(GLOBAL_INCDIR) ),\
+ $($(a)_DIR) $($(a)_INCDIR) $(GLOBAL_INCDIR), \
+ $($(a)_DEFINES), \
)) \
) \
)
$(foreach b, $($(a)_TEST_BIN), \
$(eval $(call TargetSource_Template, \
$(BIN_DIR)$(call lc, $(a))/$(TEST_DIR)$(b), \
- $(call find_source_file, $(b), $($(a)_DIR) $($(a)_INCDIR) $(GLOBAL_INCDIR) ),\
- $($(a)_DIR) \
+ $(call find_source_file, $(b), $($(a)_DIR) $($(a)_INCDIR) $(GLOBAL_INCDIR) ),\
+ $($(a)_DIR) $($(a)_INCDIR) $(GLOBAL_INCDIR), \
+ $($(a)_DEFINES) \
)) \
) \
)
))\
)
+.PHONY: all
+all: cores
+
.PHONY: cores
cores: $(foreach algo, $(ALGORITHMS), $(algo)_OBJ)
#include <stdint.h>
#include <string.h>
-#include "gf256mul/gf256mul.h"
+#include "gf256mul.h"
#include "aes.h"
#include "aes_invsbox.h"
#include "aes_dec.h"
#include <stdint.h>
#include <string.h>
#include "aes.h"
-#include "gf256mul/gf256mul.h"
+#include "gf256mul.h"
#include "aes_sbox.h"
#include "aes_enc.h"
#include <avr/pgmspace.h>
MCU_TARGET = atmega644
OPTIMIZE = -Os # -Os
+DEBUG = -gdwarf-2
+WARNING = -pedantic -Wall -Wstrict-prototypes
PROGRAMMER = avr911
DEFS = -D$(call uc, $(MCU_TARGET))
FLASHCMD = avrdude -p $(MCU_TARGET) -P /dev/ttyUSB0 -c $(PROGRAMMER) -U flash:w:# no space at the end
CC = avr-gcc
CSTD = c99
-override CFLAGS_A = -MMD -MF$(DEP_DIR)$(patsubst %.o,%.d,$(notdir $(1))) -I. -Itest_src -gdwarf-2 -pedantic -std=$(CSTD) -Wall -Wstrict-prototypes $(OPTIMIZE) -mmcu=$(MCU_TARGET) $(DEFS)
-override CFLAGS = -MMD -MF$(DEP_DIR)$(patsubst %.o,%.d,$(notdir $@)) -I. -Itest_src -gdwarf-2 -pedantic -std=$(CSTD) -Wall -Wstrict-prototypes $(OPTIMIZE) -mmcu=$(MCU_TARGET) $(DEFS)
+override CFLAGS_A = -MMD -MF$(DEP_DIR)$(patsubst %.o,%.d,$(notdir $(1))) $(DEBUG) $(WARNING) -std=$(CSTD) $(OPTIMIZE) -mmcu=$(MCU_TARGET) $(DEFS)
+override CFLAGS = -MMD -MF$(DEP_DIR)$(patsubst %.o,%.d,$(notdir $@)) $(DEBUG) $(WARNING) -std=$(CSTD) $(OPTIMIZE) -mmcu=$(MCU_TARGET) $(DEFS)
override LDFLAGS = -gdwarf-2 -Wl,-Map,
override ASFLAGS = -mmcu=$(MCU_TARGET) -Wa,--gdwarf-2
#include <stdint.h>
#include "base64_dec.h"
-#include "test_src/cli.h"
+#include "cli.h"
/*
#define USE_GCC_EXTENSION
#include <string.h>
#include "bcal-cbc.h"
#include "bcal-basic.h"
-#include "memxor/memxor.h"
+#include "memxor.h"
uint8_t bcal_cbc_init(const bcdesc_t* desc, const void* key, uint16_t keysize_b, bcal_cbc_ctx_t* ctx){
ctx->desc = (bcdesc_t*)desc;
#include <string.h>
#include "bcal-cfb_byte.h"
#include "bcal-basic.h"
-#include "memxor/memxor.h"
+#include "memxor.h"
uint8_t bcal_cfb_B_init(const bcdesc_t* desc, const void* key, uint16_t keysize_b, uint16_t size_b, bcal_cfb_B_ctx_t* ctx){
#include <string.h>
#include "bcal-basic.h"
#include "bcal-cmac.h"
-#include "memxor/memxor.h"
+#include "memxor.h"
static uint8_t left_shift_be_block(void* block, uint8_t blocksize_B){
#include <string.h>
#include "bcal-basic.h"
#include "bcal-ctr.h"
-#include "memxor/memxor.h"
+#include "memxor.h"
static void increment_be(void* block, uint8_t size_B){
uint16_t c=1;
#include "bcal-cmac.h"
#include "bcal-ctr.h"
#include "bcal-eax.h"
-#include "memxor/memxor.h"
+#include "memxor.h"
uint8_t bcal_eax_init(const bcdesc_t* desc, const void* key, uint16_t keysize_b, bcal_eax_ctx_t* ctx){
uint8_t r;
#include <string.h>
#include "bcal-ofb.h"
#include "bcal-basic.h"
-#include "memxor/memxor.h"
+#include "memxor.h"
uint8_t bcal_ofb_init(const bcdesc_t* desc, const void* key, uint16_t keysize_b, bcal_ofb_ctx_t* ctx){
#include <avr/pgmspace.h>
#include <stdlib.h>
#include "blockcipher_descriptor.h"
-#include "noekeon/noekeon.h"
+#include "noekeon.h"
#include "keysize_descriptor.h"
const char noekeon_direct_str[] PROGMEM = "Noekeon-Direct";
#include <avr/pgmspace.h>
#include "blockcipher_descriptor.h"
-#include "noekeon/noekeon.h"
+#include "noekeon.h"
#include "keysize_descriptor.h"
extern const bcdesc_t noekeon_direct_desc;
#include <stdint.h>
#include <string.h>
#include <avr/pgmspace.h>
-#include "memxor/memxor.h"
+#include "memxor.h"
#include "blake_large.h"
#include "blake_common.h"
#include <stdint.h>
#include <string.h>
#include <avr/pgmspace.h>
-#include "memxor/memxor.h"
+#include "memxor.h"
#include "blake_small.h"
#include "blake_common.h"
#include <stdint.h>
#include <string.h>
#include <avr/pgmspace.h>
-#include "memxor/memxor.h"
+#include "memxor.h"
#include "bmw_small.h"
*/
-#include "memxor/memxor.h"
+#include "memxor.h"
#include "cubehash.h"
#include "cubehash_rotates.h"
#include "xchg.h"
#define DSA_H_
#include <stdint.h>
-#include "hfal/hfal-basic.h"
-#include "bigint/bigint.h"
+#include "hfal-basic.h"
+#include "bigint.h"
typedef struct{
bigint_t p;
#include <avr/pgmspace.h>
#include "cli.h"
#include "dsa.h"
-#include "bigint/bigint.h"
+#include "bigint.h"
#define DSA_KEY_BLOB_SIZE 1024
#include <stdint.h>
#include "cli.h"
-#include "bigint/bigint.h"
+#include "bigint.h"
#include "dsa.h"
#include "hashfunction_descriptor.h"
-#include "hfal/hfal-basic.h"
+#include "hfal-basic.h"
uint8_t dsa_sign_bigint(dsa_signature_t* s, const bigint_t* m,
const dsa_ctx_t* ctx, const bigint_t* k){
*/
#include <stdint.h>
-#include "bigint/bigint.h"
+#include "bigint.h"
#include "dsa.h"
-#include "hfal/hfal-basic.h"
+#include "hfal-basic.h"
uint8_t dsa_verify_bigint(const dsa_signature_t* s, const bigint_t* m,
const dsa_ctx_t* ctx){
#include "echo.h"
-#include "gf256mul/gf256mul.h"
-#include "memxor/memxor.h"
+#include "gf256mul.h"
+#include "memxor.h"
#include <stdint.h>
#include <string.h>
#include <stdint.h>
#include <string.h>
-#include "sha256/sha256.h"
+#include "sha256.h"
#include "entropium.h"
/**
*/
#include "groestl_large.h"
-#include "aes/aes_sbox.h"
-#include "gf256mul/gf256mul.h"
-#include "memxor/memxor.h"
+#include "aes_sbox.h"
+#include "gf256mul.h"
+#include "memxor.h"
#include <stdint.h>
#include <avr/pgmspace.h>
#include <string.h>
*/
#include "groestl_small.h"
-#include "aes/aes_sbox.h"
-#include "gf256mul/gf256mul.h"
-#include "memxor/memxor.h"
+#include "aes_sbox.h"
+#include "gf256mul.h"
+#include "memxor.h"
#include <stdint.h>
#include <avr/pgmspace.h>
#include <string.h>
#include <avr/pgmspace.h>
#include <stdlib.h>
#include "hashfunction_descriptor.h"
-#include "sha1/sha1.h"
+#include "sha1.h"
static const char sha1_str[] PROGMEM = "SHA-1";
#include <stdint.h>
#include <string.h>
#include "config.h"
-#include "md5/md5.h"
+#include "md5.h"
#include "hmac-md5.h"
#define IPAD 0x36
#ifndef HMACMD5_H_
#define HMACMD5_H_
-#include "md5/md5.h"
+#include "md5.h"
#define HMAC_MD5_BITS MD5_HASH_BITS
#define HMAC_MD5_BYTES MD5_HASH_BYTES
#include <stdint.h>
#include <string.h>
#include "config.h"
-#include "sha1/sha1.h"
+#include "sha1.h"
#include "hmac-sha1.h"
#define IPAD 0x36
#ifndef HMACSHA1_H_
#define HMACSHA1_H_
-#include "sha1/sha1.h"
+#include "sha1.h"
#define HMAC_SHA1_BITS SHA1_HASH_BITS
#define HMAC_SHA1_BYTES SHA1_HASH_BYTES
#include <stdint.h>
#include <string.h>
#include "config.h"
-#include "sha256/sha256.h"
+#include "sha256.h"
#include "hmac-sha256.h"
#define IPAD 0x36
#ifndef HMACSHA256_H_
#define HMACSHA256_H_
-#include "sha256/sha256.h"
+#include "sha256.h"
#define HMAC_SHA256_BITS SHA256_HASH_BITS
#define HMAC_SHA256_BYTES SHA256_HASH_BYTES
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
-#include "gf256mul/gf256mul.h"
+#include "gf256mul.h"
int print_header = 1,
print_braces = 1,
*
*/
#include <stdint.h>
-#include "gf256mul/gf256mul.h"
+#include "gf256mul.h"
uint8_t gf256mul(uint8_t a, uint8_t b, uint8_t reducer){
uint8_t i;
#include <stdlib.h>
#include <string.h>
#include <avr/pgmspace.h>
-#include "memxor/memxor.h"
+#include "memxor.h"
#include "rotate64.h"
#include "keccak.h"
#include <stdint.h>
-#include "memxor/memxor.h"
+#include "memxor.h"
void memxor(void* dest, const void* src, uint16_t n){
while(n--){
PK_CIPHERS += $(ALGO_NAME)
$(ALGO_NAME)_DIR := rsa/
-$(ALGO_NAME)_INCDIR := bigint/ noekeon/ memxor/
+$(ALGO_NAME)_INCDIR := bigint/ noekeon/ memxor/ hfal/
$(ALGO_NAME)_OBJ := bigint.o bigint_io.o bigint_add_u.o rsa.o rsa_key_blob.o
$(ALGO_NAME)_TEST_BIN := main-rsa-test.o $(CLI_STD) \
noekeon_asm.o noekeon_prng.o memxor.o
#include <string.h>
#include <stdint.h>
#include <avr/pgmspace.h>
-#include "memxor/memxor.h"
+#include "memxor.h"
#include "mqq160-sign.h"
#include "cli.h"
#include <string.h>
#include <stdint.h>
#include <avr/pgmspace.h>
-#include "memxor/memxor.h"
+#include "memxor.h"
#include "mqq160-sign.h"
/*
#include <string.h>
#include <stdint.h>
#include <avr/pgmspace.h>
-#include "memxor/memxor.h"
+#include "memxor.h"
#include "mqq160-sign.h"
static uint8_t mod20_table[32] PROGMEM = {
#include <stdlib.h>
#include <string.h>
#include <avr/pgmspace.h>
-#include "aes/aes_sbox.h"
+#include "aes_sbox.h"
#include "mugi.h"
-#include "gf256mul/gf256mul.h"
+#include "gf256mul.h"
/*
-#include "test_src/cli.h" / * only for debugging * /
+#include "cli.h" / * only for debugging * /
void dump_mugi_ctx(mugi_ctx_t* ctx){
uint8_t i;
#ifdef __AVR__
#include <avr/pgmspace.h>
#endif
-#include "noekeon/noekeon.h"
+#include "noekeon.h"
// #include "cli.h"
#define ROUND_NR 16
#define NOEKEON_CBC_ENC_H_
#include <stdint.h>
-#include "noekeon/noekeon.h"
+#include "noekeon.h"
void noekeon_cbc_enc(void* buffer, uint8_t block_cnt, const void* key);
#define NOEKEON_CTR_H_
#include <stdint.h>
-#include "noekeon/noekeon.h"
+#include "noekeon.h"
typedef struct{
uint8_t counter[16];
*
*/
-#include "noekeon/noekeon.h"
-#include "memxor/memxor.h"
+#include "noekeon.h"
+#include "memxor.h"
#include <stdint.h>
#include <string.h>
#ifndef NOEKEON_OMAC_H_
#define NOEKEON_OMAC_H_
-#include "noekeon/noekeon.h"
+#include "noekeon.h"
#include <stdint.h>
typedef uint8_t omac_noekeon_ctx_t[16];
-#include "noekeon/noekeon.h"
+#include "noekeon.h"
#include "omac_noekeon.h"
-#include "memxor/memxor.h"
+#include "memxor.h"
#include <string.h>
#include <stdint.h>
#include <stdint.h>
#include "cli.h"
-#include "bigint/bigint.h"
+#include "bigint.h"
#include "rsa.h"
uint8_t rsa_enc_bigint(bigint_t* c, const bigint_t* m,
#define RSA_H_
#include <stdint.h>
-#include "hfal/hfal-basic.h"
-#include "bigint/bigint.h"
+#include "hfal-basic.h"
+#include "bigint.h"
typedef bigint_t rsa_modulus_t;
#include <avr/pgmspace.h>
#include "cli.h"
#include "rsa.h"
-#include "bigint/bigint.h"
+#include "bigint.h"
#define RSA_KEYSIZE 1024
#include <stdint.h>
#include <string.h> /* memset() */
#include <avr/pgmspace.h>
-#include "memxor/memxor.h"
+#include "memxor.h"
#include "serpent.h"
#include "serpent-sboxes.h"
*/
#include <stdlib.h>
#include <string.h>
-#include "sha256/sha256.h"
+#include "sha256.h"
#include "config.h"
-#include "memxor/memxor.h"
+#include "memxor.h"
/*
#include <stdint.h>
#include <string.h>
-#include "sha1/sha1.h"
+#include "sha1.h"
#include "shacal1_enc.h"
void shacal1_enc(void* buffer, void* key, uint16_t keysize_b){
#include <stdint.h>
#include <string.h>
-#include "sha256/sha256.h"
+#include "sha256.h"
#include "shacal2_enc.h"
#define SHACAL2_ENC_H_
#include <stdint.h>
-#include "sha256/sha256.h"
+#include "sha256.h"
#define SHACAL2_BLOCKSIZE SHA256_HASH_BITS
#define SHACAL2_BLOCKSIZE_B ((SHACAL2_BLOCKSIZE+7)/8)
#include <stdint.h>
#include <string.h>
#include "threefish.h"
-#include "memxor/memxor.h"
+#include "memxor.h"
#include "ubi.h"
void ubi1024_init(ubi1024_ctx_t* ctx, const void* g, uint8_t type){
#include <stdint.h>
#include <string.h>
#include "threefish.h"
-#include "memxor/memxor.h"
+#include "memxor.h"
#include "ubi.h"
void ubi256_init(ubi256_ctx_t* ctx, const void* g, uint8_t type){
#include <stdint.h>
#include <string.h>
#include "threefish.h"
-#include "memxor/memxor.h"
+#include "memxor.h"
#include "ubi.h"
void ubi512_init(ubi512_ctx_t* ctx, const void* g, uint8_t type){
#include <string.h>
#include <ctype.h>
#include "blockcipher_descriptor.h"
-#include "bcal/bcal-basic.h"
-#include "bcal/bcal-cmac.h"
+#include "bcal-basic.h"
+#include "bcal-cmac.h"
#include "cmacvs.h"
#include "string-extras.h"
#include "cli.h"
#include "uart_i.h"
#include "debug.h"
-#include "aes/aes.h"
+#include "aes.h"
#include "nessie_bc_test.h"
#include "cli.h"
#include "performance_test.h"
#include "dump.h"
-#include "bcal/bcal_aes128.h"
-#include "bcal/bcal_aes192.h"
-#include "bcal/bcal_aes256.h"
-#include "bcal/bcal-cbc.h"
-#include "bcal/bcal-cfb_byte.h"
-#include "bcal/bcal-cfb_bit.h"
-#include "bcal/bcal-ofb.h"
-#include "bcal/bcal-ctr.h"
-#include "bcal/bcal-cmac.h"
-#include "bcal/bcal-eax.h"
+#include "bcal_aes128.h"
+#include "bcal_aes192.h"
+#include "bcal_aes256.h"
+#include "bcal-cbc.h"
+#include "bcal-cfb_byte.h"
+#include "bcal-cfb_bit.h"
+#include "bcal-ofb.h"
+#include "bcal-ctr.h"
+#include "bcal-cmac.h"
+#include "bcal-eax.h"
#include "cmacvs.h"
-#include "bcal/bcal-performance.h"
+#include "bcal-performance.h"
#include <stdint.h>
#include <string.h>
#include "uart_i.h"
#include "debug.h"
-#include "aes/aes.h"
+#include "aes.h"
#include "nessie_bc_test.h"
#include "cli.h"
#include "performance_test.h"
#include "blockcipher_descriptor.h"
-#include "bcal/bcal-performance.h"
-#include "bcal/bcal_aes128.h"
+#include "bcal-performance.h"
+#include "bcal_aes128.h"
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "uart_i.h"
#include "debug.h"
-#include "aes/aes.h"
+#include "aes.h"
#include "nessie_bc_test.h"
#include "cli.h"
#include "performance_test.h"
#include "blockcipher_descriptor.h"
-#include "bcal/bcal-performance.h"
-#include "bcal/bcal_aes192.h"
+#include "bcal-performance.h"
+#include "bcal_aes192.h"
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "uart_i.h"
#include "debug.h"
-#include "aes/aes.h"
+#include "aes.h"
#include "nessie_bc_test.h"
#include "cli.h"
#include "performance_test.h"
#include "blockcipher_descriptor.h"
-#include "bcal/bcal-performance.h"
-#include "bcal/bcal_aes256.h"
+#include "bcal-performance.h"
+#include "bcal_aes256.h"
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "uart_i.h"
#include "debug.h"
-#include "noekeon/noekeon.h"
-#include "noekeon/noekeon_prng.h"
+#include "noekeon.h"
+#include "noekeon_prng.h"
#include "base64_enc.h"
#include "base64_dec.h"
#include "uart_i.h"
#include "debug.h"
-#include "noekeon/noekeon.h"
-#include "noekeon/noekeon_prng.h"
+#include "noekeon.h"
+#include "noekeon_prng.h"
#include "bigint.h"
#include "bigint_io.h"
#include "blake_small.h"
#include "blake_large.h"
-#include "hfal/hfal_blake_small.h"
-#include "hfal/hfal_blake_large.h"
-#include "hfal/hfal-nessie.h"
-#include "hfal/hfal-test.h"
-#include "hfal/hfal-performance.h"
+#include "hfal_blake_small.h"
+#include "hfal_blake_large.h"
+#include "hfal-nessie.h"
+#include "hfal-test.h"
+#include "hfal-performance.h"
#include "shavs.h"
#include "cli.h"
#include "nessie_hash_test.h"
#include "bmw_small.h"
#include "bmw_large.h"
#include "cli.h"
-#include "hfal/hfal_bmw_small.h"
-#include "hfal/hfal_bmw_large.h"
+#include "hfal_bmw_small.h"
+#include "hfal_bmw_large.h"
#include "shavs.h"
#include "nessie_hash_test.h"
#include "performance_test.h"
-#include "hfal/hfal-nessie.h"
-#include "hfal/hfal-performance.h"
-#include "hfal/hfal-test.h"
+#include "hfal-nessie.h"
+#include "hfal-performance.h"
+#include "hfal-test.h"
#include <stdint.h>
#include <string.h>
#include "nessie_bc_test.h"
#include "performance_test.h"
#include "cli.h"
-#include "bcal/bcal_camellia128.h"
-#include "bcal/bcal-performance.h"
+#include "bcal_camellia128.h"
+#include "bcal-performance.h"
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include <cast5.h>
#include "nessie_bc_test.h"
#include "performance_test.h"
-#include "bcal/bcal-performance.h"
-#include "bcal/bcal_cast5.h"
+#include "bcal-performance.h"
+#include "bcal_cast5.h"
#include "cli.h"
#include <stdint.h>
#include "nessie_bc_test.h"
#include "cli.h"
#include "performance_test.h"
-#include "bcal/bcal-performance.h"
-#include "bcal/bcal_cast6.h"
+#include "bcal-performance.h"
+#include "bcal_cast6.h"
#include <stdint.h>
#include <string.h>
#include "cubehash.h"
#include "cli.h"
-#include "hfal/hfal_cubehash.h"
+#include "hfal_cubehash.h"
#include "shavs.h"
#include "nessie_hash_test.h"
#include "performance_test.h"
-#include "hfal/hfal-nessie.h"
-#include "hfal/hfal-performance.h"
-#include "hfal/hfal-test.h"
+#include "hfal-nessie.h"
+#include "hfal-performance.h"
+#include "hfal-test.h"
#include <stdint.h>
#include <string.h>
#include "nessie_bc_test.h"
#include "cli.h"
#include "performance_test.h"
-#include "bcal/bcal-performance.h"
-#include "bcal/bcal_des.h"
+#include "bcal-performance.h"
+#include "bcal_des.h"
#include <stdint.h>
#include <string.h>
#include "uart_i.h"
#include "debug.h"
-#include "noekeon/noekeon.h"
-#include "noekeon/noekeon_prng.h"
-#include "bigint/bigint.h"
-#include "bigint/bigint_io.h"
+#include "noekeon.h"
+#include "noekeon_prng.h"
+#include "bigint.h"
+#include "bigint_io.h"
#include "dsa.h"
#include "dsa_key_blob.h"
#include "cli.h"
#include "performance_test.h"
-#include "hfal/hfal_sha1.h"
-#include "base64/base64_enc.h"
-#include "base64/base64_dec.h"
+#include "hfal_sha1.h"
+#include "base64_enc.h"
+#include "base64_dec.h"
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "echo.h"
#include "cli.h"
-#include "hfal/hfal_echo.h"
+#include "hfal_echo.h"
#include "shavs.h"
#include "nessie_hash_test.h"
#include "performance_test.h"
-#include "hfal/hfal-nessie.h"
-#include "hfal/hfal-performance.h"
-#include "hfal/hfal-test.h"
+#include "hfal-nessie.h"
+#include "hfal-performance.h"
+#include "hfal-test.h"
#include <stdint.h>
#include <string.h>
#include "groestl_small.h"
#include "groestl_large.h"
-#include "hfal/hfal_groestl_small.h"
-#include "hfal/hfal_groestl_large.h"
-#include "hfal/hfal-nessie.h"
-#include "hfal/hfal-test.h"
-#include "hfal/hfal-performance.h"
+#include "hfal_groestl_small.h"
+#include "hfal_groestl_large.h"
+#include "hfal-nessie.h"
+#include "hfal-test.h"
+#include "hfal-performance.h"
#include "shavs.h"
#include "cli.h"
#include "nessie_hash_test.h"
#include "uart_i.h"
#include "debug.h"
-#include "md5/md5.h"
+#include "md5.h"
#include "hmac-md5.h"
/*
#include "base64_enc.h"
#include "uart_i.h"
#include "debug.h"
-#include "sha1/sha1.h"
+#include "sha1.h"
#include "hmac-sha1.h"
#include "nessie_mac_test.h"
#include "uart_i.h"
#include "debug.h"
-#include "sha256/sha256.h"
+#include "sha256.h"
#include "hmac-sha256.h"
#include "cli.h"
#include "keccak.h"
#include "cli.h"
-#include "hfal/hfal_keccak.h"
+#include "hfal_keccak.h"
#include "shavs.h"
#include "nessie_hash_test.h"
#include "performance_test.h"
-#include "hfal/hfal-nessie.h"
-#include "hfal/hfal-performance.h"
-#include "hfal/hfal-test.h"
+#include "hfal-nessie.h"
+#include "hfal-performance.h"
+#include "hfal-test.h"
#include <stdint.h>
#include <string.h>
#include "md5.h"
#include "nessie_hash_test.h"
#include "performance_test.h"
-#include "hfal/hfal_md5.h"
-#include "hfal/hfal-performance.h"
+#include "hfal_md5.h"
+#include "hfal-performance.h"
#include <stdint.h>
#include <string.h>
#include "nessie_bc_test.h"
#include "cli.h"
#include "performance_test.h"
-#include "bcal/bcal-performance.h"
-#include "bcal/bcal_noekeon.h"
+#include "bcal-performance.h"
+#include "bcal_noekeon.h"
#include <stdint.h>
#include <string.h>
#include "uart_i.h"
#include "debug.h"
-#include "noekeon/noekeon.h"
+#include "noekeon.h"
#include "omac_noekeon.h"
#include "cli.h"
#include "nessie_bc_test.h"
#include "cli.h"
#include "performance_test.h"
-#include "bcal/bcal-performance.h"
-#include "bcal/bcal_present.h"
+#include "bcal-performance.h"
+#include "bcal_present.h"
#include <stdlib.h>
#include <stdint.h>
#include "nessie_bc_test.h"
#include "cli.h"
#include "performance_test.h"
-#include "bcal/bcal-performance.h"
-#include "bcal/bcal_rc5.h"
+#include "bcal-performance.h"
+#include "bcal_rc5.h"
#include <stdint.h>
#include <string.h>
#include "nessie_bc_test.h"
#include "cli.h"
#include "performance_test.h"
-#include "bcal/bcal-performance.h"
-#include "bcal/bcal_rc6.h"
+#include "bcal-performance.h"
+#include "bcal_rc6.h"
#include <stdint.h>
#include <string.h>
#include "uart_i.h"
#include "debug.h"
-#include "noekeon/noekeon.h"
-#include "noekeon/noekeon_prng.h"
-#include "bigint/bigint.h"
-#include "bigint/bigint_io.h"
+#include "noekeon.h"
+#include "noekeon_prng.h"
+#include "bigint.h"
+#include "bigint_io.h"
#include "rsa.h"
#include "rsa_key_blob.h"
#include "nessie_bc_test.h"
#include "cli.h"
#include "performance_test.h"
-#include "bcal/bcal-performance.h"
-#include "bcal/bcal_seed.h"
+#include "bcal-performance.h"
+#include "bcal_seed.h"
#include <stdint.h>
#include <string.h>
#include "nessie_bc_test.h"
#include "cli.h"
#include "performance_test.h"
-#include "bcal/bcal-performance.h"
-#include "bcal/bcal_serpent.h"
+#include "bcal-performance.h"
+#include "bcal_serpent.h"
#include <stdint.h>
#include <string.h>
#include "sha1.h"
#include "nessie_hash_test.h"
-#include "hfal/hfal_sha1.h"
-#include "hfal/hfal-performance.h"
+#include "hfal_sha1.h"
+#include "hfal-performance.h"
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "cli.h"
#include "shavs.h"
-#include "hfal/hfal_sha1.h"
+#include "hfal_sha1.h"
#include "dump.h"
char* algo_name = "SHA-1";
#include "sha256.h"
#include "nessie_hash_test.h"
#include "performance_test.h"
-#include "hfal/hfal-performance.h"
-#include "hfal/hfal-nessie.h"
+#include "hfal-performance.h"
+#include "hfal-nessie.h"
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "cli.h"
#include "shavs.h"
-#include "hfal/hfal_sha256.h"
+#include "hfal_sha256.h"
#include "dump.h"
char* algo_name = "SHA-256";
#include "shabal.h"
#include "cli.h"
-#include "hfal/hfal_shabal.h"
-#include "hfal/hfal-test.h"
-#include "hfal/hfal-nessie.h"
-#include "hfal/hfal-performance.h"
+#include "hfal_shabal.h"
+#include "hfal-test.h"
+#include "hfal-nessie.h"
+#include "hfal-performance.h"
#include "shavs.h"
#include "nessie_hash_test.h"
#include "performance_test.h"
#include "debug.h"
#include "skein.h"
-#include "hfal/hfal_skein256.h"
-#include "hfal/hfal_skein512.h"
-#include "hfal/hfal_skein1024.h"
+#include "hfal_skein256.h"
+#include "hfal_skein512.h"
+#include "hfal_skein1024.h"
#include "cli.h"
#include "shavs.h"
#include "nessie_hash_test.h"
#include "performance_test.h"
-#include "hfal/hfal-performance.h"
-#include "hfal/hfal-nessie.h"
-#include "hfal/hfal-basic.h"
+#include "hfal-performance.h"
+#include "hfal-nessie.h"
+#include "hfal-basic.h"
#include <stdint.h>
#include "nessie_bc_test.h"
#include "cli.h"
#include "performance_test.h"
-#include "bcal/bcal-performance.h"
-#include "bcal/bcal_skipjack.h"
+#include "bcal-performance.h"
+#include "bcal_skipjack.h"
#include <stdint.h>
#include <string.h>
#include "nessie_bc_test.h"
#include "cli.h"
#include "performance_test.h"
-#include "bcal/bcal-performance.h"
-#include "bcal/bcal_tdes.h"
-#include "bcal/bcal_tdes2.h"
+#include "bcal-performance.h"
+#include "bcal_tdes.h"
+#include "bcal_tdes2.h"
#include <stdint.h>
#include <string.h>
#include "nessie_bc_test.h"
#include "cli.h"
#include "performance_test.h"
-#include "bcal/bcal-performance.h"
-#include "bcal/bcal_threefish256.h"
-#include "bcal/bcal_threefish512.h"
-#include "bcal/bcal_threefish1024.h"
+#include "bcal-performance.h"
+#include "bcal_threefish256.h"
+#include "bcal_threefish512.h"
+#include "bcal_threefish1024.h"
#include <stdint.h>
#include <string.h>
#include "twister-large.h"
#include "nessie_hash_test.h"
#include "performance_test.h"
-#include "hfal/hfal_twister224.h"
-#include "hfal/hfal_twister256.h"
-#include "hfal/hfal_twister384.h"
-#include "hfal/hfal_twister512.h"
-#include "hfal/hfal-nessie.h"
-#include "hfal/hfal-performance.h"
-#include "hfal/hfal-test.h"
+#include "hfal_twister224.h"
+#include "hfal_twister256.h"
+#include "hfal_twister384.h"
+#include "hfal_twister512.h"
+#include "hfal-nessie.h"
+#include "hfal-performance.h"
+#include "hfal-test.h"
#include "shavs.h"
#include "xtea.h"
#include "nessie_bc_test.h"
#include "performance_test.h"
-#include "bcal/bcal-performance.h"
-#include "bcal/bcal_xtea.h"
+#include "bcal-performance.h"
+#include "bcal_xtea.h"
#include "cli.h"
#include <stdint.h>
#include <string.h>
#include <ctype.h>
#include "hashfunction_descriptor.h"
-#include "hfal/hfal-basic.h"
+#include "hfal-basic.h"
#include "shavs.h"
#include "string-extras.h"
#include "cli.h"
#include <stdint.h>
#include <string.h>
-#include "memxor/memxor.h"
+#include "memxor.h"
#include "twister.h"
#include "twister-large.h"
#include <stdint.h>
#include <string.h>
-#include "memxor/memxor.h"
+#include "memxor.h"
#include "twister-small.h"
/*********************************************************************/
#include <stdint.h>
#include <string.h>
-#include "memxor/memxor.h"
+#include "memxor.h"
#include "twister-small.h"
/*********************************************************************/
#include <avr/pgmspace.h>
#include "twister.h"
#include "twister_tables.h"
-#include "memxor/memxor.h"
+#include "memxor.h"
//#ifndef TWISTER_MUL_TABLE
# include "gf256mul/gf256mul.h"