Skip to content

Commit 0e94a29

Browse files
committed
Remove WOLFHSM_CFG_TEST_POSIX gate on key wrap demo
1 parent e114cbe commit 0e94a29

File tree

4 files changed

+0
-11
lines changed

4 files changed

+0
-11
lines changed

examples/demo/client/wh_demo_client_all.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,12 @@ int wh_DemoClient_All(whClientContext* clientContext)
4646
}
4747
#endif
4848

49-
#ifdef WOLFHSM_CFG_TEST_POSIX
5049
#ifdef WOLFHSM_CFG_KEYWRAP
5150
rc = wh_DemoClient_KeyWrap(clientContext);
5251
if (rc != 0) {
5352
return rc;
5453
}
5554
#endif /* WOLFHSM_CFG_KEYWRAP */
56-
#endif /* WOLFHSM_CFG_TEST_POSIX */
5755

5856
/**Crypto demos */
5957
#ifndef NO_RSA

examples/posix/wh_posix_client/Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,6 @@ SRC_C += $(wildcard $(WOLFSSL_DIR)/wolfcrypt/benchmark/*.c)
105105
# wolfHSM source files
106106
SRC_C += $(wildcard $(WOLFHSM_DIR)/src/*.c)
107107

108-
# wolfHSM test code
109-
SRC_C += $(WOLFHSM_DIR)/test/wh_test_keywrap.c
110-
111108
# wolfHSM port/HAL code
112109
SRC_C += $(wildcard $(WOLFHSM_PORT_DIR)/*.c)
113110

test/wh_test_keywrap.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
#include "wolfssl/wolfcrypt/types.h"
2828

2929
#include "wolfhsm/wh_error.h"
30-
#include "wolfhsm/wh_flash.h"
3130

3231
#ifdef WOLFHSM_CFG_KEYWRAP
3332

test/wh_test_keywrap.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@
2424
#include "wolfhsm/wh_flash.h"
2525

2626
int whTest_Client_KeyWrap(whClientContext* ctx);
27-
int whTest_Client_WriteWrappedKeysToNvm(whClientContext* client, void* flashCtx,
28-
whFlashCb* flashCb);
29-
int whTest_Client_UseWrappedKeysFromNvm(whClientContext* client, void* flashCtx,
30-
whFlashCb* flashCb);
3127
int whTest_KeyWrapClientConfig(whClientConfig* cf);
3228

33-
3429
#endif /* WH_TEST_COMM_H_ */

0 commit comments

Comments
 (0)