AES鍵初期化判定を修正

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1013 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
yutaka 2008-03-31 06:21:34 +00:00
parent 19d9bf5a75
commit 567af02285
2 changed files with 2 additions and 2 deletions

View File

@ -150,7 +150,7 @@ static void PostInit(void)
/*
AES関連 (NAND暗号化の鍵変更を含む)
*/
if ( !*(u8*)HW_TWL_RED_LAUNCHER_VER )
if ( OSi_GetFromFirmAddr()->aes_key[2][0] )
{
AESi_PreInitKeys();
}

View File

@ -150,7 +150,7 @@ static void PostInit(void)
/*
AES関連 (NAND暗号化の鍵変更を含む)
*/
if ( !*(u8*)HW_TWL_RED_LAUNCHER_VER )
if ( OSi_GetFromFirmAddr()->aes_key[2][0] )
{
AESi_PreInitKeys();
}