diff options
author | Paul Selkirk <paul@psgd.org> | 2015-06-18 13:49:13 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2015-06-18 13:49:13 -0400 |
commit | e98ac60b21e5d2f66e22e117a793f3665101e170 (patch) | |
tree | 6947c14e7ea13fba82d8adb4bca7e0f324e236e4 | |
parent | 6fde50c9dd78be8662f7e84833d5c696b087ab9a (diff) |
build all cores with i2c
-rw-r--r-- | i2c/build/Makefile | 23 | ||||
-rwxr-xr-x | sw/Makefile.i2c | 8 |
2 files changed, 28 insertions, 3 deletions
diff --git a/i2c/build/Makefile b/i2c/build/Makefile index b383078..1859da3 100644 --- a/i2c/build/Makefile +++ b/i2c/build/Makefile @@ -14,9 +14,10 @@ vfiles = \ ../../common/rtl/ipcore/clkmgr_dcm.v \ ../../../common/core_selector/src/rtl/core_selector.v \ ../../../common/core_selector/src/rtl/global_selector.v \ - ../../../common/core_selector/src/rtl/cipher_selector.v \ ../../../common/core_selector/src/rtl/hash_selector.v \ ../../../common/core_selector/src/rtl/rng_selector.v \ + ../../../common/core_selector/src/rtl/cipher_selector.v \ + ../../../common/core_selector/src/rtl/math_selector.v \ ../../../../comm/i2c/src/rtl/i2c_regs.v \ ../../../../comm/i2c/src/rtl/i2c_core.v \ ../../../../comm/coretest/src/rtl/coretest.v \ @@ -41,9 +42,27 @@ vfiles = \ ../../../../rng/trng/src/rtl/trng_csprng.v \ ../../../../rng/trng/src/rtl/trng_csprng_fifo.v \ ../../../../rng/trng/src/rtl/trng_mixer.v \ + ../../../../cipher/aes/src/rtl/aes.v \ + ../../../../cipher/aes/src/rtl/aes_core.v \ + ../../../../cipher/aes/src/rtl/aes_decipher_block.v \ + ../../../../cipher/aes/src/rtl/aes_encipher_block.v \ + ../../../../cipher/aes/src/rtl/aes_inv_sbox.v \ + ../../../../cipher/aes/src/rtl/aes_key_mem.v \ + ../../../../cipher/aes/src/rtl/aes_sbox.v \ ../../../../cipher/chacha/src/rtl/chacha.v \ ../../../../cipher/chacha/src/rtl/chacha_core.v \ - ../../../../cipher/chacha/src/rtl/chacha_qr.v + ../../../../cipher/chacha/src/rtl/chacha_qr.v \ + ../../../../math/modexp/src/rtl/adder32.v \ + ../../../../math/modexp/src/rtl/blockmem1r1w.v \ + ../../../../math/modexp/src/rtl/blockmem2r1wptr.v \ + ../../../../math/modexp/src/rtl/blockmem2r1w.v \ + ../../../../math/modexp/src/rtl/blockmem2rptr1w.v \ + ../../../../math/modexp/src/rtl/modexp.v \ + ../../../../math/modexp/src/rtl/modexp_core.v \ + ../../../../math/modexp/src/rtl/montprod.v \ + ../../../../math/modexp/src/rtl/residue.v \ + ../../../../math/modexp/src/rtl/shl32.v \ + ../../../../math/modexp/src/rtl/shr32.v include xilinx.mk diff --git a/sw/Makefile.i2c b/sw/Makefile.i2c index 98cd541..5348918 100755 --- a/sw/Makefile.i2c +++ b/sw/Makefile.i2c @@ -2,7 +2,7 @@ CC = gcc CFLAGS = -Wall -fPIC LIB = libcryptech_i2c.a -BIN = hash_i2c hash_tester_i2c trng_extractor_i2c trng_tester_i2c +BIN = hash_i2c hash_tester_i2c trng_extractor_i2c trng_tester_i2c aes_tester_i2c modexp_tester_i2c INC = cryptech.h PREFIX = /usr/local @@ -24,6 +24,12 @@ hash_tester_i2c: hash_tester.o $(LIB) trng_tester_i2c: trng_tester.o $(LIB) $(CC) -o $@ $^ +aes_tester_i2c: aes_tester.o $(LIB) + $(CC) -o $@ $^ + +modexp_tester_i2c: modexp_tester.o $(LIB) + $(CC) -o $@ $^ + hash_i2c: hash.o $(LIB) $(CC) -o $@ $^ |