From ee847ce2210f320a111590d2d60cc0824f93a62a Mon Sep 17 00:00:00 2001 From: kubodera_yuichi Date: Tue, 22 Dec 2009 02:18:44 +0000 Subject: [PATCH] =?UTF-8?q?linux=E3=81=A7=E3=81=AE=E3=83=93=E3=83=AB?= =?UTF-8?q?=E3=83=89=E3=82=92=E9=80=9A=E3=81=99?= 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@13 ff987cc8-cf2f-4642-8568-d52cce064691 --- cr_generate_id.c | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/cr_generate_id.c b/cr_generate_id.c index ab30fc7..bf75416 100644 --- a/cr_generate_id.c +++ b/cr_generate_id.c @@ -158,31 +158,6 @@ const char *issuerNameDev = "NintendoCA - G2_NintendoCTR2dev"; const char *issuerNameProd = "NintendoCA - G2_NintendoCTR2prod"; -#ifdef USE_HSM -// TORIAEZU : nFast variables -NFast_AppHandle hsmHandle; -NFastApp_Connection hsmConnection; -NFKM_WorldInfo *hsmWorld = NULL; // allocate -RQCard hsmCard; -RQCard_FIPS hsmFips; -M_KeyID hsmLtid; -// AES -M_KeyID hsmAeskeyid; -const NFKM_KeyIdent hsmAeskeyident = { (char*)"simple", (char*)"aes-test-key" }; -NFKM_Key *hsmAeskeyinfo = NULL; // allocate -// RSA Private -M_KeyID hsmRsaPrivkeyid, hsmRsaPubkeyid; -const NFKM_KeyIdent hsmRsakeyident = { (char*)"simple", (char*)"rsa-priv-key-2048" }; -NFKM_Key *hsmRsakeyinfo = NULL; // allocate -NFKM_ModuleInfo *hsmModuleinfo = NULL; -M_ByteBlock *hsmBlobptr = NULL; - -// functions -static int hsm_generate_random( unsigned char *buf, int bytes ); -static int hsm_get_rtc( time_t *time ); - -#endif // USE_HSM - static struct _caInfo { X509 *cert; // 証明書