Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion arch.mk
Original file line number Diff line number Diff line change
Expand Up @@ -1170,6 +1170,8 @@ ifeq ($(ARCH),sim)
WH_NVM_HEX ?= whNvmImage.hex
WH_NVM_PART_SIZE ?= 16384 # must match partition size in hal/sim.c
WH_NVM_BASE_ADDRESS ?= 0x0

CFLAGS += -DWOLFHSM_CFG_NO_SYS_TIME
endif
endif

Expand Down Expand Up @@ -1198,7 +1200,8 @@ ifeq ($(ARCH), AURIX_TC3)
# Makefile shennanigans for "if (WOLFHSM_CLIENT==1 || WOLFHSM_SERVER==1)"
ifneq ($(filter 1,$(WOLFHSM_CLIENT) $(WOLFHSM_SERVER)),)
# Common wolfHSM port files
CFLAGS += -I$(WOLFHSM_INFINEON_TC3XX)/port -DWOLFHSM_CFG_DMA
CFLAGS += -I$(WOLFHSM_INFINEON_TC3XX)/port -DWOLFHSM_CFG_DMA \
-DWOLFHSM_CFG_NO_SYS_TIME
OBJS += $(WOLFHSM_INFINEON_TC3XX)/port/tchsm_common.o \
$(WOLFHSM_INFINEON_TC3XX)/port/tchsm_hsmhost.o
# General wolfHSM files
Expand Down
2 changes: 1 addition & 1 deletion lib/wolfHSM
Submodule wolfHSM updated 46 files
+4 −0 benchmark/config/wolfhsm_cfg.h
+1 −20 benchmark/wh_bench_ops.c
+4 −0 examples/posix/wh_posix_client/wolfhsm_cfg.h
+3 −0 examples/posix/wh_posix_server/user_settings.h
+4 −0 examples/posix/wh_posix_server/wolfhsm_cfg.h
+342 −0 port/posix/posix_log_file.c
+76 −0 port/posix/posix_log_file.h
+38 −0 port/posix/posix_time.c
+32 −0 port/posix/posix_time.h
+12 −15 src/wh_client.c
+739 −0 src/wh_client_crypto.c
+118 −0 src/wh_client_cryptocb.c
+50 −0 src/wh_crypto.c
+235 −0 src/wh_log.c
+98 −0 src/wh_log_printf.c
+180 −0 src/wh_log_ringbuf.c
+15 −15 src/wh_message_comm.c
+203 −2 src/wh_message_crypto.c
+14 −23 src/wh_message_customcb.c
+69 −14 src/wh_server.c
+0 −11 src/wh_server_counter.c
+588 −20 src/wh_server_crypto.c
+66 −92 src/wh_server_keystore.c
+1 −4 src/wh_server_she.c
+3 −0 test/config/user_settings.h
+7 −0 test/config/wolfhsm_cfg.h
+4 −0 test/wh_test.c
+41 −41 test/wh_test_clientserver.c
+1 −1 test/wh_test_common.h
+674 −31 test/wh_test_crypto.c
+1,586 −0 test/wh_test_log.c
+66 −0 test/wh_test_log.h
+17 −15 test/wh_test_nvm_flash.c
+4 −4 test/wh_test_she.c
+1 −1 tools/whnvmtool/Makefile
+1 −1 tools/whnvmtool/test/Makefile
+77 −0 wolfhsm/wh_client_crypto.h
+10 −1 wolfhsm/wh_crypto.h
+1 −1 wolfhsm/wh_error.h
+376 −0 wolfhsm/wh_log.h
+66 −0 wolfhsm/wh_log_printf.h
+71 −0 wolfhsm/wh_log_ringbuf.h
+148 −2 wolfhsm/wh_message_crypto.h
+7 −0 wolfhsm/wh_server.h
+10 −0 wolfhsm/wh_server_crypto.h
+40 −4 wolfhsm/wh_settings.h