mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
AESi_ResetAesKeyD関数の追加。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1116 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
20db005a9a
commit
d10d6ad2ae
@ -120,6 +120,25 @@ static inline void AESi_ResetAesKeyC( void )
|
||||
AES_Unlock();
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------------------------*
|
||||
Name: AESi_ResetAesKeyD
|
||||
|
||||
Description: set SEED/ID/KEYs filler data for slot-D
|
||||
|
||||
Arguments: None
|
||||
|
||||
Returns: None
|
||||
*---------------------------------------------------------------------------*/
|
||||
static inline void AESi_ResetAesKeyD( void )
|
||||
{
|
||||
AES_Lock();
|
||||
AES_WaitKey();
|
||||
|
||||
MI_CpuCopy32( (u32*)AESi_ResetAesKeyD + 3, (u32*)REG_AES_KEY_D1_ADDR, 40 );
|
||||
|
||||
AES_Unlock();
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------------------------*
|
||||
Name: AESi_InitKeysFIRM
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user