mirror of
https://github.com/rvtr/ctr_eFuse.git
synced 2025-11-02 00:11:04 -04:00
ifdef抜けの修正 その2
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_eFuse@26 ff987cc8-cf2f-4642-8568-d52cce064691
This commit is contained in:
parent
33621db72c
commit
29db6706ca
@ -246,7 +246,13 @@ void hsm_finalize( void )
|
|||||||
{
|
{
|
||||||
RQCard_fips_free( &hsmCard, &hsmFips );
|
RQCard_fips_free( &hsmCard, &hsmFips );
|
||||||
RQCard_destroy( &hsmCard );
|
RQCard_destroy( &hsmCard );
|
||||||
|
|
||||||
|
#ifdef ENCRYPT_AES
|
||||||
NFKM_freekey( hsmHandle, hsmAeskeyinfo, NULL );
|
NFKM_freekey( hsmHandle, hsmAeskeyinfo, NULL );
|
||||||
|
#else // !ENCRYPT_AES
|
||||||
|
NFKM_freekey( hsmHandle, hsmRsakeyinfo, NULL );
|
||||||
|
#endif // ENCRYPT_AES
|
||||||
|
|
||||||
NFKM_freeinfo( hsmHandle, &hsmWorld, NULL );
|
NFKM_freeinfo( hsmHandle, &hsmWorld, NULL );
|
||||||
NFastApp_Disconnect( hsmConnection, NULL );
|
NFastApp_Disconnect( hsmConnection, NULL );
|
||||||
NFastApp_Finish( hsmHandle, NULL );
|
NFastApp_Finish( hsmHandle, NULL );
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user