]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - mkfiles/grain.mk
switching to simualtion testport
[avr-crypto-lib.git] / mkfiles / grain.mk
index a79076d0b476da033fdb92a3634de6bea272e0d7..14f0969345c317ea7b4298cdbce4aebed71d8d6b 100644 (file)
@@ -4,10 +4,10 @@ ALGO_NAME := GRAIN
 # comment out the following line for removement of Grain from the build process
 STREAM_CIPHERS += $(ALGO_NAME)
 
+$(ALGO_NAME)_DIR      := grain/
 $(ALGO_NAME)_OBJ      := grain.o
-$(ALGO_NAME)_TEST_BIN := main-grain-test.o debug.o uart.o hexdigit_tab.o  \
-                         nessie_stream_test.o dbz_strings.o nessie_common.o cli.o string-extras.o \
-                                    performance_test.o
+$(ALGO_NAME)_INCDIR   := memxor/ scal/
+$(ALGO_NAME)_TESTBIN  := main-grain-test.o $(CLI_STD) $(SCAL_STD) scal_grain.o
 $(ALGO_NAME)_NESSIE_TEST      := "nessie"
 $(ALGO_NAME)_PERFORMANCE_TEST := "performance"
-
+$(ALGO_NAME)_DEF := NESSIE_ESTREAM=1