From 8a56c7a95e662862cfe78b834ccb091e95d5372f Mon Sep 17 00:00:00 2001 From: J08nY Date: Mon, 25 Nov 2019 17:45:35 +0100 Subject: Add libtommath, HOST build, and a simple PRNG. --- pyecsca/codegen/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'pyecsca/codegen/Makefile') diff --git a/pyecsca/codegen/Makefile b/pyecsca/codegen/Makefile index 50c1940..d99a1ce 100644 --- a/pyecsca/codegen/Makefile +++ b/pyecsca/codegen/Makefile @@ -1,12 +1,14 @@ TARGET = pyecsca-codegen -SRC += main.c ecdh.c ecdsa.c hash/hash.c +SRC += main.c bn.c ecdh.c ecdsa.c hash/hash.c prng/prng.c -CDEFS += -DHASH=HASH_SHA1 +CDEFS += -DHASH=HASH_SHA224 -MKDIR_LIST += hash +MKDIR_LIST += hash prng -EXTRAINCDIRS += hash +EXTRAINCDIRS += hash prng ../../ext/libtommath/ + +LDFLAGS += ../../ext/libtommath/libtommath.a include simpleserial/Makefile.simpleserial -- cgit v1.3.1