File tree Expand file tree Collapse file tree 3 files changed +6
-13
lines changed
Expand file tree Collapse file tree 3 files changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -1212,8 +1212,7 @@ ifeq ($(ARCH), AURIX_TC3)
12121212 ifeq ($(WOLFHSM_SERVER),1)
12131213 USE_GCC_HEADLESS =0
12141214
1215- CFLAGS += -I$(WOLFHSM_INFINEON_TC3XX ) /port/server \
1216- -I$(WOLFHSM_INFINEON_TC3XX ) /port/server/config
1215+ CFLAGS += -I$(WOLFHSM_INFINEON_TC3XX ) /port/server
12171216
12181217 OBJS += $(WOLFHSM_INFINEON_TC3XX ) /port/server/port_halflash_df1.o \
12191218 $(WOLFHSM_INFINEON_TC3XX ) /port/server/io.o \
@@ -1292,8 +1291,9 @@ ifeq ($(ARCH), AURIX_TC3)
12921291
12931292 ifeq ($(WOLFHSM_CLIENT),1)
12941293 CFLAGS += -I$(WOLFHSM_INFINEON_TC3XX ) /port/client
1295- # All source files in port/client but listed as *.o files
1296- OBJS += $(patsubst % .c,% .o,$(wildcard $(WOLFHSM_INFINEON_TC3XX ) /port/client/* .c) )
1294+ OBJS += $(WOLFHSM_INFINEON_TC3XX ) /port/client/hsm_ipc.o \
1295+ $(WOLFHSM_INFINEON_TC3XX ) /port/client/io.o \
1296+ $(WOLFHSM_INFINEON_TC3XX ) /port/client/tchsm_hh_host.o
12971297 endif
12981298
12991299 endif # !AURIX_TC3_HSM
Original file line number Diff line number Diff line change 8989/* wolfHSM client context and configuration */
9090#if defined(WOLFBOOT_ENABLE_WOLFHSM_CLIENT )
9191
92- static int _cancelCb (uint16_t cancelSeq );
9392static int _connectCb (void * context , whCommConnected connect );
9493
9594/* Client configuration/contexts */
@@ -702,13 +701,6 @@ void ext_flash_unlock(void)
702701
703702#ifdef WOLFBOOT_ENABLE_WOLFHSM_CLIENT
704703
705- static int _cancelCb (uint16_t cancelSeq )
706- {
707- HSM_SHM_CORE0_CANCEL_SEQ = cancelSeq ;
708- (void )tchsmHhHost2Hsm_Notify (TCHSM_HOST2HSM_NOTIFY_CANCEL );
709- return 0 ;
710- }
711-
712704static int _connectCb (void * context , whCommConnected connect )
713705{
714706 int ret ;
@@ -756,7 +748,6 @@ int hal_hsm_init_connect(void)
756748
757749 whClientConfig c_conf [1 ] = {{
758750 .comm = cc_conf ,
759- .cancelCb = _cancelCb ,
760751 }};
761752
762753 rc = hsm_ipc_init ();
Original file line number Diff line number Diff line change @@ -895,7 +895,9 @@ ifeq ($(WOLFHSM_CLIENT),1)
895895 $(WOLFBOOT_LIB_WOLFHSM ) /src/wh_client_nvm.o \
896896 $(WOLFBOOT_LIB_WOLFHSM ) /src/wh_client_cryptocb.o \
897897 $(WOLFBOOT_LIB_WOLFHSM ) /src/wh_client_crypto.o \
898+ $(WOLFBOOT_LIB_WOLFHSM ) /src/wh_client_dma.o \
898899 $(WOLFBOOT_LIB_WOLFHSM ) /src/wh_crypto.o \
900+ $(WOLFBOOT_LIB_WOLFHSM ) /src/wh_dma.o \
899901 $(WOLFBOOT_LIB_WOLFHSM ) /src/wh_utils.o \
900902 $(WOLFBOOT_LIB_WOLFHSM ) /src/wh_comm.o \
901903 $(WOLFBOOT_LIB_WOLFHSM ) /src/wh_message_comm.o \
You can’t perform that action at this time.
0 commit comments