鍵設定周りを分割整理

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@341 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
yutaka 2007-12-11 08:39:19 +00:00
parent 887c0b4f6e
commit 090a572280

View File

@ -39,6 +39,29 @@ extern "C" {
*---------------------------------------------------------------------------*/
void AESi_InitKeysForApp( u8 game_code[4] );
/*---------------------------------------------------------------------------*
Name: AESi_InitKeysForHard
Description: set IDs depending on the system hardware.
you SHOULD NOT use this for standard applications.
Arguments: fuse camouflaged fuse id
Returns: None
*---------------------------------------------------------------------------*/
void AESi_InitKeysForHard( u8 fuse[8] );
/*---------------------------------------------------------------------------*
Name: AESi_ResetAesKey
Description: set SEED/KEYs by dummy data without seed[3]
Arguments: None
Returns: None
*---------------------------------------------------------------------------*/
void AESi_ResetAesKey( void );
/*---------------------------------------------------------------------------*
Name: AESi_InitKeysFIRM
@ -52,6 +75,7 @@ void AESi_InitKeysForApp( u8 game_code[4] );
static inline void AESi_InitKeysFIRM( void )
{
AESi_InitKeysForApp( (u8*)((ROM_Header_Short*)HW_TWL_ROM_HEADER_BUF)->game_code );
AESi_ResetAesKey();
}
/*---------------------------------------------------------------------------*