TODO:OCSカード関連処理除去着手

git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_eFuse@63 ff987cc8-cf2f-4642-8568-d52cce064691
This commit is contained in:
kubodera_yuichi 2009-12-23 07:18:11 +00:00
parent 93975b9029
commit 95b38c32fb

View File

@ -202,7 +202,8 @@ int hsm_initialize( void )
} }
// TODO:この辺りのOCSカード処理は必要 // TODO:この辺りのOCSカード処理は必要
#if 0
// init Card-Loading Lib(RQCard) // init Card-Loading Lib(RQCard)
ret_code = RQCard_init( &hsmCard, hsmHandle, hsmConnection, hsmWorld, NULL ); ret_code = RQCard_init( &hsmCard, hsmHandle, hsmConnection, hsmWorld, NULL );
if ( ret_code != CR_GENID_SUCCESS ) if ( ret_code != CR_GENID_SUCCESS )
@ -218,7 +219,7 @@ int hsm_initialize( void )
printf( "error(%d) : RQCard_fips_init\n", ret_code ); printf( "error(%d) : RQCard_fips_init\n", ret_code );
return ret_code; return ret_code;
} }
// select Card-Auth UI // select Card-Auth UI
ret_code = RQCard_ui_scroll( &hsmCard ); ret_code = RQCard_ui_scroll( &hsmCard );
if ( ret_code != CR_GENID_SUCCESS ) if ( ret_code != CR_GENID_SUCCESS )
@ -226,6 +227,7 @@ int hsm_initialize( void )
printf( "error(%d) : RQCard_ui_scroll\n", ret_code ); printf( "error(%d) : RQCard_ui_scroll\n", ret_code );
return ret_code; return ret_code;
} }
#endif
#ifdef ENCRYPT_AES #ifdef ENCRYPT_AES
// load aes dev key // load aes dev key