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
2 changes: 1 addition & 1 deletion src/wh_client_crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -2823,6 +2823,7 @@ int wh_Client_AesGetKeyId(Aes* key, whNvmId* outId)
*outId = WH_DEVCTX_TO_KEYID(key->devCtx);
return WH_ERROR_OK;
}
#endif /* !NO_AES */

#ifdef WOLFSSL_CMAC
int wh_Client_CmacSetKeyId(Cmac* key, whNvmId keyId)
Expand Down Expand Up @@ -2868,7 +2869,6 @@ int wh_Client_Cmac(whClientContext* ctx, Cmac* cmac, CmacType type,
WH_DEBUG_CLIENT_VERBOSE("cmac key:%p key_len:%d in:%p in_len:%d out:%p out_len:%d "
"keyId:%x\n",
key, (int)keyLen, in, (int)inLen, outMac, (int)mac_len, key_id);
#endif


/* Get data pointer */
Expand Down
4 changes: 2 additions & 2 deletions wolfhsm/wh_nvm_flash_log.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
#ifndef WOLFHSM_WH_NVM_FLASH_LOG_H_
#define WOLFHSM_WH_NVM_FLASH_LOG_H_

#if defined(WOLFHSM_CFG_SERVER_NVM_FLASH_LOG)

#include "wolfhsm/wh_settings.h"

#if defined(WOLFHSM_CFG_SERVER_NVM_FLASH_LOG)

#include "wolfhsm/wh_common.h"
#include "wolfhsm/wh_flash.h"

Expand Down