[Cryptech-Commits] [core/platform/novena] 02/02: build all cores with i2c
git at cryptech.is
git at cryptech.is
Thu Jun 18 17:51:33 UTC 2015
This is an automated email from the git hooks/post-receive script.
paul at psgd.org pushed a commit to branch master
in repository core/platform/novena.
commit e98ac60b21e5d2f66e22e117a793f3665101e170
Author: Paul Selkirk <paul at psgd.org>
Date: Thu Jun 18 13:49:13 2015 -0400
build all cores with i2c
---
i2c/build/Makefile | 23 +++++++++++++++++++++--
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 $@ $^
More information about the Commits
mailing list