@echo " $(MACS)"
@echo " PRNG functions:"
@echo " $(PRNGS)"
- @echo " ALGORITHMS_TEST_BIN:"
- @echo " $(ALGORITHMS_TEST_BIN)"
- @echo " ALGORITHMS_TEST_BIN_MAIN:"
- @echo " $(ALGORITHMS_TEST_BIN_MAIN)"
- @echo " ALGORITHMS_TEST_BIN_MAIN_ELF:"
- @echo " $(ALGORITHMS_TEST_BIN_MAIN_ELF)"
- @echo " ALGORITHMS_TEST_BIN_MAIN_HEX:"
- @echo " $(ALGORITHMS_TEST_BIN_MAIN_HEX)"
@echo " ALGORITHMS_TEST_TARGET_ELF:"
@echo " $(ALGORITHMS_TEST_TARGET_ELF)"
@$(FLASHCMD)$(call first,$(2))
endef
-$(foreach algo, $(ALGORITHMS),$(eval $(call FLASH_TEMPLATE, $(algo), \
- $(patsubst $(BIN_DIR)%.o,$(TESTBIN_DIR)%.hex,$(firstword $($(algo)_TEST_BIN)))) ))
+#$(foreach algo, $(ALGORITHMS),$(eval $(call FLASH_TEMPLATE, $(algo), \
+# $(patsubst $(BIN_DIR)%.o,$(TESTBIN_DIR)%.hex,$(firstword $($(algo)_TEST_BIN)))) ))
+$(foreach algo, $(ALGORITHMS),$(eval $(call FLASH_TEMPLATE, $(algo), $(TESTBIN_DIR)main-$(call lc,$(algo))-test.hex) ))
#-------------------------------------------------------------------------------
+++ /dev/null
-# Makefile for Mickey128
-ALGO_NAME := MICKEY128
-
-# comment out the following line for removement of Mickey128 from the build process
-STREAM_CIPHERS += $(ALGO_NAME)
-
-$(ALGO_NAME)_OBJ := mickey128.o
-$(ALGO_NAME)_TEST_BIN := main-mickey128-test.o debug.o uart.o serial-tools.o \
- nessie_stream_test.o nessie_common.o mickey128.o cli.o
-$(ALGO_NAME)_NESSIE_TEST := "nessie"
-$(ALGO_NAME)_PEROFRMANCE_TEST := "performance"
-
#include <string.h>
#include <avr/pgmspace.h>
#include "noekeon.h"
-#include "uart.h"
+// #include "uart.h"
#define ROUND_NR 16
memcpy(dkey, key, 16);
theta((uint32_t*)nullv, (uint32_t*)dkey);
- uart_putstr_P(PSTR("\r\nTheta: "));
- uart_hexdump(dkey, 16);
+// uart_putstr_P(PSTR("\r\nTheta: "));
+// uart_hexdump(dkey, 16);
for(i=ROUND_NR-1; i>=0; --i){
rc = pgm_read_byte(rc_tab+i);