From a30768d33edd7f130882b9bf1d26dd29e05c067d Mon Sep 17 00:00:00 2001 From: kubodera_yuichi Date: Tue, 22 Dec 2009 06:51:29 +0000 Subject: [PATCH] =?UTF-8?q?ifdef=E6=8A=9C=E3=81=91=E3=81=AE=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=20=E3=81=9D=E3=81=AE3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_eFuse@27 ff987cc8-cf2f-4642-8568-d52cce064691 --- cr_hsm_code.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cr_hsm_code.c b/cr_hsm_code.c index b784779..fff6cd3 100644 --- a/cr_hsm_code.c +++ b/cr_hsm_code.c @@ -143,15 +143,14 @@ M_ByteBlock *hsmBlobptr = NULL; M_KeyID hsmAeskeyid; const NFKM_KeyIdent hsmAeskeyident = { (char*)"simple", (char*)"aes-test-key" }; NFKM_Key *hsmAeskeyinfo = NULL; // allocate - -static int hsm_aes_load_key( void ); #else // !ENCRYPT_AES M_KeyID hsmRsaPrivkeyid, hsmRsaPubkeyid; const NFKM_KeyIdent hsmRsakeyident = { (char*)"simple", (char*)"rsa-priv-key-2048" }; NFKM_Key *hsmRsakeyinfo = NULL; // allocate +#endif // ENCRYPT_AES static int hsm_rsa_load_keypair( void ); -#endif // ENCRYPT_AES +static int hsm_aes_load_key( void ); // init HSM int hsm_initialize( void )