From 6299d449e89ac4f59cd41770b0bc45377eca89b6 Mon Sep 17 00:00:00 2001 From: yoshida_teruhisa Date: Thu, 4 Jun 2009 02:24:19 +0000 Subject: [PATCH] =?UTF-8?q?NAM=20=E3=81=AE=E7=A8=AE=E7=BD=AE=E3=81=8D?= =?UTF-8?q?=E5=A0=B4=E3=81=8C=E9=96=93=E9=81=95=E3=81=A3=E3=81=A6=E3=81=84?= =?UTF-8?q?=E3=81=9F=E3=81=AE=E3=81=A7=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/branches/20090601_test_sd_boot@2836 b08762b0-b915-fc4b-9d8c-17b2551a87ff --- build/libraries_sysmenu/sysmenu/common/src/decryptAES.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/libraries_sysmenu/sysmenu/common/src/decryptAES.c b/build/libraries_sysmenu/sysmenu/common/src/decryptAES.c index c2b66074..37141824 100644 --- a/build/libraries_sysmenu/sysmenu/common/src/decryptAES.c +++ b/build/libraries_sysmenu/sysmenu/common/src/decryptAES.c @@ -31,6 +31,8 @@ #define SYSM_DECODE_AES_MESSAGE_ARRAY_MAX 8 // extern data----------------------------------------------------------------- +extern void SDK_SEA_KEY_STORE(void); + // function's prototype------------------------------------------------------- // global variable------------------------------------------------------------- // static variable------------------------------------------------------------- @@ -455,7 +457,7 @@ static void SYSMi_setSDCopyKeyToAESSlotC( void ) &( OSi_GetFromFirmAddr()->rsa_pubkey[ 3 ][ 0x10 ] ) : (void *)dev_seedNAM; void *pSeedSlotC = ( SCFG_GetBondingOption() == SCFG_OP_PRODUCT ) ? &( OSi_GetFromFirmAddr()->rsa_pubkey[ 3 ][ 0x20 ] ) : (void *)dev_seedSlotC; - MI_CpuCopy8( pSeedNAM, (u8 *)HW_LAUNCHER_DELIVER_PARAM_BUF + 0x20, AES_BLOCK_SIZE ); + MI_CpuCopy8( pSeedNAM, (u8 *)SDK_SEA_KEY_STORE + 0x20, AES_BLOCK_SIZE ); // AESスロットのデフォルト値セット AES_Lock();