mirror of
https://github.com/rvtr/ctr_eFuse.git
synced 2025-11-02 00:11:04 -04:00
ifdef抜けの修正 その3
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_eFuse@27 ff987cc8-cf2f-4642-8568-d52cce064691
This commit is contained in:
parent
29db6706ca
commit
a30768d33e
@ -143,15 +143,14 @@ M_ByteBlock *hsmBlobptr = NULL;
|
|||||||
M_KeyID hsmAeskeyid;
|
M_KeyID hsmAeskeyid;
|
||||||
const NFKM_KeyIdent hsmAeskeyident = { (char*)"simple", (char*)"aes-test-key" };
|
const NFKM_KeyIdent hsmAeskeyident = { (char*)"simple", (char*)"aes-test-key" };
|
||||||
NFKM_Key *hsmAeskeyinfo = NULL; // allocate
|
NFKM_Key *hsmAeskeyinfo = NULL; // allocate
|
||||||
|
|
||||||
static int hsm_aes_load_key( void );
|
|
||||||
#else // !ENCRYPT_AES
|
#else // !ENCRYPT_AES
|
||||||
M_KeyID hsmRsaPrivkeyid, hsmRsaPubkeyid;
|
M_KeyID hsmRsaPrivkeyid, hsmRsaPubkeyid;
|
||||||
const NFKM_KeyIdent hsmRsakeyident = { (char*)"simple", (char*)"rsa-priv-key-2048" };
|
const NFKM_KeyIdent hsmRsakeyident = { (char*)"simple", (char*)"rsa-priv-key-2048" };
|
||||||
NFKM_Key *hsmRsakeyinfo = NULL; // allocate
|
NFKM_Key *hsmRsakeyinfo = NULL; // allocate
|
||||||
|
#endif // ENCRYPT_AES
|
||||||
|
|
||||||
static int hsm_rsa_load_keypair( void );
|
static int hsm_rsa_load_keypair( void );
|
||||||
#endif // ENCRYPT_AES
|
static int hsm_aes_load_key( void );
|
||||||
|
|
||||||
// init HSM
|
// init HSM
|
||||||
int hsm_initialize( void )
|
int hsm_initialize( void )
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user