mirror of
https://github.com/rvtr/ctr_eFuse.git
synced 2025-11-02 00:11:04 -04:00
ifdef抜けの修正 その4
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_eFuse@28 ff987cc8-cf2f-4642-8568-d52cce064691
This commit is contained in:
parent
a30768d33e
commit
de0d9f3712
@ -128,7 +128,9 @@
|
|||||||
#include "rqcard-fips.h"
|
#include "rqcard-fips.h"
|
||||||
// nShield optional
|
// nShield optional
|
||||||
#include "simplebignum.h"
|
#include "simplebignum.h"
|
||||||
|
#endif // USE_HSM
|
||||||
|
|
||||||
|
#ifdef USE_HSM
|
||||||
// TORIAEZU : nFast variables
|
// TORIAEZU : nFast variables
|
||||||
NFast_AppHandle hsmHandle;
|
NFast_AppHandle hsmHandle;
|
||||||
NFastApp_Connection hsmConnection;
|
NFastApp_Connection hsmConnection;
|
||||||
@ -149,9 +151,12 @@ const NFKM_KeyIdent hsmRsakeyident = { (char*)"simple", (char*)"rsa-priv-key-204
|
|||||||
NFKM_Key *hsmRsakeyinfo = NULL; // allocate
|
NFKM_Key *hsmRsakeyinfo = NULL; // allocate
|
||||||
#endif // ENCRYPT_AES
|
#endif // ENCRYPT_AES
|
||||||
|
|
||||||
|
#endif // USE_HSM
|
||||||
|
|
||||||
static int hsm_rsa_load_keypair( void );
|
static int hsm_rsa_load_keypair( void );
|
||||||
static int hsm_aes_load_key( void );
|
static int hsm_aes_load_key( void );
|
||||||
|
|
||||||
|
#ifdef USE_HSM
|
||||||
// init HSM
|
// init HSM
|
||||||
int hsm_initialize( void )
|
int hsm_initialize( void )
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user