Skip to content

Commit

Permalink
Merge pull request #14 from bigbrett/wolfhsm-updates
Browse files Browse the repository at this point in the history
Wolfhsm updates
  • Loading branch information
billphipps authored Aug 15, 2024
2 parents d65e823 + 85d2622 commit 3e842b3
Show file tree
Hide file tree
Showing 17 changed files with 399 additions and 209 deletions.
16 changes: 16 additions & 0 deletions demo/client/wh_demo_client_all.c
Original file line number Diff line number Diff line change
@@ -1,11 +1,27 @@
#include "wh_demo_client_all.h"
#include "wh_demo_client_nvm.h"
#include "wh_demo_client_keystore.h"
#include "wh_demo_client_crypto.h"
#include "wh_demo_client_wctest.h"
#include "wh_demo_client_wcbench.h"

int wh_DemoClient_All(whClientContext* clientContext)
{
int rc = 0;

/* wolfCrypt test and benchmark */
#ifdef WH_DEMO_WCTEST
rc = wh_DemoClient_wcTest(clientContext);
if (rc != 0) {
return rc;
}
#endif
#ifdef WH_DEMO_WCBENCH
rc = wh_DemoClient_wcBench(clientContext);
if (rc != 0) {
return rc;
}
#endif
/* NVM demos */
rc = wh_DemoClient_Nvm(clientContext);
if (rc != 0) {
Expand Down
Loading

0 comments on commit 3e842b3

Please sign in to comment.