aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-07-08 11:21:00 -0400
committerRob Austein <sra@hactrn.net>2016-07-08 11:21:00 -0400
commit8642938e49752c1e645955434b15de6a28a27ebc (patch)
treeab045141652a9cc818f19a3486e9e952ef209ccb /Makefile
parent2104d642bb86f27747107cb8e777739dc215b1f4 (diff)
Enable software hash cores on all platforms, for now, anyway.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ec43558..b6597e1 100644
--- a/Makefile
+++ b/Makefile
@@ -191,6 +191,12 @@ CFLAGS += -DHAL_STATIC_PKEY_STATE_BLOCKS=${STATIC_PKEY_STATE_BLOCKS}
CFLAGS += -I${CRYPTECH_ROOT}/sw/libhal
CFLAGS += -I${LIBTFM_BLD}
+# Enable software hash cores everywhere for now. In theory, there might be situations
+# where we don't want them on the HSM, but they're relatively harmless, and the bootstrap
+# sequence on new hardware works a lot better when we can log in before loading the FPGA.
+
+CFLAGS += -DHAL_ENABLE_SOFTWARE_HASH_CORES=1
+
export CFLAGS
export RPC_MODE