mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
マスタエディタ:AESのチェック処理を追加。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2552 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
21a22bd1f7
commit
e58c77907f
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1302,6 +1302,25 @@ ECSrlResult RCSrl::mrcTWL( FILE *fp )
|
||||
"ROM Control Info.", "Mask ROM can be set. Please set One-time PROM.", false, true ) );
|
||||
}
|
||||
|
||||
if( *this->hIsMediaNand == false )
|
||||
{
|
||||
if( (this->pRomHeader->s.enable_aes == 0) || (this->pRomHeader->s.aes_target_size == 0) )
|
||||
{
|
||||
this->hErrorList->Add( gcnew RCMrcError(
|
||||
"AES暗号", 0x60, 0x67, "AES暗号が無効になっています。セキュリティ上の問題があります。",
|
||||
"AES Encryption", "AES Encryption is disable. It is a security problem.", false, true ) );
|
||||
}
|
||||
}
|
||||
else // NANDアプリ
|
||||
{
|
||||
if( (this->pRomHeader->s.enable_aes == 0) || (this->pRomHeader->s.aes_target_size == 0) || (this->pRomHeader->s.aes_target2_size == 0) )
|
||||
{
|
||||
this->hErrorList->Add( gcnew RCMrcError(
|
||||
"AES暗号", 0x60, 0x67, "AES暗号が無効になっています。セキュリティ上の問題があります。",
|
||||
"AES Encryption", "AES Encryption is disable. It is a security problem.", false, true ) );
|
||||
}
|
||||
}
|
||||
|
||||
// —\–ñ—̈æ
|
||||
System::Boolean bReserved = true;
|
||||
for( i=0; i < 7; i++ )
|
||||
|
||||
Loading…
Reference in New Issue
Block a user