clearing up inclusion structure for easier integration in supercop

This commit is contained in:
bg 2010-11-01 22:55:41 +00:00
parent 8007e094d9
commit b8d6b2bd3d
102 changed files with 214 additions and 207 deletions

View File

@ -70,7 +70,7 @@ define TargetSource_Template
$(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
# ----------------------------------------------------------------------------
@ -92,8 +92,9 @@ $(foreach a, $(ALGORITHMS), \
$(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), \
)) \
) \
)
@ -102,8 +103,9 @@ $(foreach a, $(ALGORITHMS), \
$(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) \
)) \
) \
)
@ -226,6 +228,9 @@ $(foreach algo, $(ALGORITHMS), \
))\
)
.PHONY: all
all: cores
.PHONY: cores
cores: $(foreach algo, $(ALGORITHMS), $(algo)_OBJ)

View File

@ -19,7 +19,7 @@
#include <stdint.h>
#include <string.h>
#include "gf256mul/gf256mul.h"
#include "gf256mul.h"
#include "aes.h"
#include "aes_invsbox.h"
#include "aes_dec.h"

View File

@ -28,7 +28,7 @@
#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>

View File

@ -1,6 +1,8 @@
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
@ -27,8 +29,8 @@ AUTOASM_OPT = -S
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

View File

@ -29,7 +29,7 @@
#include <stdint.h>
#include "base64_dec.h"
#include "test_src/cli.h"
#include "cli.h"
/*
#define USE_GCC_EXTENSION

View File

@ -21,7 +21,7 @@
#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;

View File

@ -22,7 +22,7 @@
#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){

View File

@ -22,7 +22,7 @@
#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){

View File

@ -22,7 +22,7 @@
#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;

View File

@ -24,7 +24,7 @@
#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;

View File

@ -21,7 +21,7 @@
#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){

View File

@ -3,7 +3,7 @@
#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";

View File

@ -2,7 +2,7 @@
#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;

View File

@ -28,7 +28,7 @@
#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"

View File

@ -28,7 +28,7 @@
#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"

View File

@ -28,7 +28,7 @@
#include <stdint.h>
#include <string.h>
#include <avr/pgmspace.h>
#include "memxor/memxor.h"
#include "memxor.h"
#include "bmw_small.h"

View File

@ -26,7 +26,7 @@
*/
#include "memxor/memxor.h"
#include "memxor.h"
#include "cubehash.h"
#include "cubehash_rotates.h"
#include "xchg.h"

View File

@ -21,8 +21,8 @@
#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;

View File

@ -22,7 +22,7 @@
#include <avr/pgmspace.h>
#include "cli.h"
#include "dsa.h"
#include "bigint/bigint.h"
#include "bigint.h"
#define DSA_KEY_BLOB_SIZE 1024

View File

@ -19,10 +19,10 @@
#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){

View File

@ -18,9 +18,9 @@
*/
#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){

View File

@ -19,8 +19,8 @@
#include "echo.h"
#include "gf256mul/gf256mul.h"
#include "memxor/memxor.h"
#include "gf256mul.h"
#include "memxor.h"
#include <stdint.h>
#include <string.h>

View File

@ -48,7 +48,7 @@
#include <stdint.h>
#include <string.h>
#include "sha256/sha256.h"
#include "sha256.h"
#include "entropium.h"
/**

View File

@ -26,9 +26,9 @@
*/
#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>

View File

@ -26,9 +26,9 @@
*/
#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>

View File

@ -28,7 +28,7 @@
#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";

View File

@ -31,7 +31,7 @@
#include <stdint.h>
#include <string.h>
#include "config.h"
#include "md5/md5.h"
#include "md5.h"
#include "hmac-md5.h"
#define IPAD 0x36

View File

@ -19,7 +19,7 @@
#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

View File

@ -31,7 +31,7 @@
#include <stdint.h>
#include <string.h>
#include "config.h"
#include "sha1/sha1.h"
#include "sha1.h"
#include "hmac-sha1.h"
#define IPAD 0x36

View File

@ -19,7 +19,7 @@
#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

View File

@ -31,7 +31,7 @@
#include <stdint.h>
#include <string.h>
#include "config.h"
#include "sha256/sha256.h"
#include "sha256.h"
#include "hmac-sha256.h"
#define IPAD 0x36

View File

@ -19,7 +19,7 @@
#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

View File

@ -28,7 +28,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
#include "gf256mul/gf256mul.h"
#include "gf256mul.h"
int print_header = 1,
print_braces = 1,

View File

@ -25,7 +25,7 @@
*
*/
#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;

View File

@ -21,7 +21,7 @@
#include <stdlib.h>
#include <string.h>
#include <avr/pgmspace.h>
#include "memxor/memxor.h"
#include "memxor.h"
#include "rotate64.h"
#include "keccak.h"

View File

@ -1,6 +1,6 @@
#include <stdint.h>
#include "memxor/memxor.h"
#include "memxor.h"
void memxor(void* dest, const void* src, uint16_t n){
while(n--){

View File

@ -5,7 +5,7 @@ ALGO_NAME := RSA
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

View File

@ -18,7 +18,7 @@
#include <string.h>
#include <stdint.h>
#include <avr/pgmspace.h>
#include "memxor/memxor.h"
#include "memxor.h"
#include "mqq160-sign.h"
#include "cli.h"

View File

@ -31,7 +31,7 @@
#include <string.h>
#include <stdint.h>
#include <avr/pgmspace.h>
#include "memxor/memxor.h"
#include "memxor.h"
#include "mqq160-sign.h"
/*

View File

@ -31,7 +31,7 @@
#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 = {

View File

@ -29,12 +29,12 @@
#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;

View File

@ -31,7 +31,7 @@
#ifdef __AVR__
#include <avr/pgmspace.h>
#endif
#include "noekeon/noekeon.h"
#include "noekeon.h"
// #include "cli.h"
#define ROUND_NR 16

View File

@ -2,7 +2,7 @@
#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);

View File

@ -30,7 +30,7 @@
#define NOEKEON_CTR_H_
#include <stdint.h>
#include "noekeon/noekeon.h"
#include "noekeon.h"
typedef struct{
uint8_t counter[16];

View File

@ -24,8 +24,8 @@
*
*/
#include "noekeon/noekeon.h"
#include "memxor/memxor.h"
#include "noekeon.h"
#include "memxor.h"
#include <stdint.h>
#include <string.h>

View File

@ -27,7 +27,7 @@
#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];

View File

@ -1,6 +1,6 @@
#include "noekeon/noekeon.h"
#include "noekeon.h"
#include "omac_noekeon.h"
#include "memxor/memxor.h"
#include "memxor.h"
#include <string.h>
#include <stdint.h>

View File

@ -19,7 +19,7 @@
#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,

View File

@ -21,8 +21,8 @@
#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;

View File

@ -22,7 +22,7 @@
#include <avr/pgmspace.h>
#include "cli.h"
#include "rsa.h"
#include "bigint/bigint.h"
#include "bigint.h"
#define RSA_KEYSIZE 1024

View File

@ -26,7 +26,7 @@
#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"

View File

@ -33,10 +33,10 @@
*/
#include <stdlib.h>
#include <string.h>
#include "sha256/sha256.h"
#include "sha256.h"
#include "config.h"
#include "memxor/memxor.h"
#include "memxor.h"
/*

View File

@ -28,7 +28,7 @@
#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){

View File

@ -28,7 +28,7 @@
#include <stdint.h>
#include <string.h>
#include "sha256/sha256.h"
#include "sha256.h"
#include "shacal2_enc.h"

View File

@ -20,7 +20,7 @@
#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)

View File

@ -27,7 +27,7 @@
#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){

View File

@ -27,7 +27,7 @@
#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){

View File

@ -27,7 +27,7 @@
#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){

View File

@ -30,8 +30,8 @@
#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"

View File

@ -26,25 +26,25 @@
#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>

View File

@ -26,13 +26,13 @@
#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>

View File

@ -26,13 +26,13 @@
#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>

View File

@ -26,13 +26,13 @@
#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>

View File

@ -26,8 +26,8 @@
#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"

View File

@ -26,8 +26,8 @@
#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"

View File

@ -28,11 +28,11 @@
#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"

View File

@ -28,14 +28,14 @@
#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>

View File

@ -30,8 +30,8 @@
#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>

View File

@ -29,8 +29,8 @@
#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>

View File

@ -12,8 +12,8 @@
#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>

View File

@ -27,13 +27,13 @@
#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>

View File

@ -30,8 +30,8 @@
#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>

View File

@ -26,18 +26,18 @@
#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>

View File

@ -27,13 +27,13 @@
#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>

View File

@ -28,11 +28,11 @@
#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"

View File

@ -26,7 +26,7 @@
#include "uart_i.h"
#include "debug.h"
#include "md5/md5.h"
#include "md5.h"
#include "hmac-md5.h"
/*
#include "base64_enc.h"

View File

@ -26,7 +26,7 @@
#include "uart_i.h"
#include "debug.h"
#include "sha1/sha1.h"
#include "sha1.h"
#include "hmac-sha1.h"
#include "nessie_mac_test.h"

View File

@ -26,7 +26,7 @@
#include "uart_i.h"
#include "debug.h"
#include "sha256/sha256.h"
#include "sha256.h"
#include "hmac-sha256.h"
#include "cli.h"

View File

@ -27,13 +27,13 @@
#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>

View File

@ -29,8 +29,8 @@
#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>

View File

@ -30,8 +30,8 @@
#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>

View File

@ -26,7 +26,7 @@
#include "uart_i.h"
#include "debug.h"
#include "noekeon/noekeon.h"
#include "noekeon.h"
#include "omac_noekeon.h"
#include "cli.h"

View File

@ -30,8 +30,8 @@
#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>

View File

@ -30,8 +30,8 @@
#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>

View File

@ -30,8 +30,8 @@
#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>

View File

@ -26,10 +26,10 @@
#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"

View File

@ -35,8 +35,8 @@
#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>

View File

@ -30,8 +30,8 @@
#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>

View File

@ -28,15 +28,15 @@
#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";

View File

@ -29,15 +29,15 @@
#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";

View File

@ -28,10 +28,10 @@
#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"

View File

@ -27,16 +27,16 @@
#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>

View File

@ -30,8 +30,8 @@
#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>

View File

@ -30,9 +30,9 @@
#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>

View File

@ -30,10 +30,10 @@
#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>

View File

@ -30,13 +30,13 @@
#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"

View File

@ -29,8 +29,8 @@
#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>

View File

@ -30,7 +30,7 @@
#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"

View File

@ -19,7 +19,7 @@
#include <stdint.h>
#include <string.h>
#include "memxor/memxor.h"
#include "memxor.h"
#include "twister.h"
#include "twister-large.h"

View File

@ -2,7 +2,7 @@
#include <stdint.h>
#include <string.h>
#include "memxor/memxor.h"
#include "memxor.h"
#include "twister-small.h"
/*********************************************************************/

Some files were not shown because too many files have changed in this diff Show More