Skip to content

Commit

Permalink
added more skeleton files
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbrett committed Jun 14, 2024
1 parent bf3b9dc commit 87fb1f9
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 3 deletions.
7 changes: 7 additions & 0 deletions demo/client/client_counter.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#include "client_counter.h"
#include "wolfhsm/wh_error.h"

int client_counter_demo(whClientContext* clientContext)
{
return WH_ERROR_OK;
}
7 changes: 7 additions & 0 deletions demo/client/client_counter.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#ifndef CLIENT_COUNTER_H
#define CLIENT_COUNTER_H
#include "wolfhsm/wh_client.h"

int client_counter_demo(whClientContext* clientContext);

#endif /* CLIENT_COUNTER_H */
7 changes: 7 additions & 0 deletions demo/client/client_crypto.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#include "client_crypto.h"
#include "wolfhsm/wh_error.h"

int client_crypto_demo(whClientContext* clientContext);
{
return WH_ERROR_OK;
}
7 changes: 7 additions & 0 deletions demo/client/client_crypto.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#ifndef CLIENT_CRYPTO_H_
#define CLIENT_CRYPTO_H_
#include "wolfhsm/wh_client.h"

int client_crypto_demo(whClientContext* clientContext);

#endif /* CLIENT_CRYPTO_H_ */
2 changes: 1 addition & 1 deletion demo/client/client_demo_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ int client_demo_driver(whClientContext* clientContext)
{
int rc = 0;

rc = client_nvm(clientContext);
rc = client_nvm_demo(clientContext);
if (rc != 0) {
return rc;
}
Expand Down
6 changes: 6 additions & 0 deletions demo/client/client_keystore.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#include "client_keystore.h"

int client_keystore_demo(whClientContext* clientContext)
{
return WH_ERROR_OK;
}
7 changes: 7 additions & 0 deletions demo/client/client_keystore.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#ifndef CLIENT_KEYSTORE_H_
#define CLIENT_KEYSTORE_H_
#include "wolfhsm/wh_client.h"

int client_keystore_demo(whClientContext* clientContext);

#endif /* CLIENT_KEYSTORE_H_ */
2 changes: 1 addition & 1 deletion demo/client/client_nvm.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @param clientContext an initialized client context
* @return 0 on success, error code on failure
*/
int client_nvm(whClientContext* clientContext)
int client_nvm_demo(whClientContext* clientContext)
{
const int NUM_OBJECTS = 3;

Expand Down
2 changes: 1 addition & 1 deletion demo/client/client_nvm.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "wolfhsm/wh_client.h"

int client_nvm(whClientContext* clientContext);
int client_nvm_demo(whClientContext* clientContext);

#endif /* CLIENT_NVM_H_ */

0 comments on commit 87fb1f9

Please sign in to comment.