Home
last modified time | relevance | path

Searched refs:pSec0 (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/external/recovery/update_engine/
H A Drkboot.c140 PRKANDROID_IDB_SEC0 pSec0; in MakeSector0() local
142 pSec0 = (PRKANDROID_IDB_SEC0)pSector; in MakeSector0()
144 pSec0->dwTag = 0x0FF0AA55; in MakeSector0()
146 pSec0->uiRc4Flag = 1; in MakeSector0()
148 pSec0->usBootCode1Offset = 0x4; in MakeSector0()
149 pSec0->usBootCode2Offset = 0x4; in MakeSector0()
150 pSec0->usBootDataSize = m_usFlashDataSec; in MakeSector0()
151 pSec0->usBootCodeSize = m_usFlashDataSec + m_usFlashBootSec; in MakeSector0()
/OK3568_Linux_fs/external/rkupdate/
H A DRKAndroidDevice.cpp122 RKANDROID_IDB_SEC0 *pSec0; in FindIDBlock() local
123 pSec0 = (RKANDROID_IDB_SEC0 *)bData; in FindIDBlock()
124 P_RC4((BYTE *)pSec0, SECTOR_SIZE); in FindIDBlock()
126 if (pSec0->dwTag == 0x0FF0AA55) in FindIDBlock()
423 PRKANDROID_IDB_SEC0 pSec0; in MakeSector0() local
425 pSec0 = (PRKANDROID_IDB_SEC0)pSector; in MakeSector0()
427 pSec0->dwTag = 0x0FF0AA55; in MakeSector0()
430 pSec0->uiRc4Flag = 1; in MakeSector0()
432 pSec0->usBootCode1Offset = 0x4; in MakeSector0()
433 pSec0->usBootCode2Offset = 0x4; in MakeSector0()
[all …]
H A DUpgrade.cpp670 PRKANDROID_IDB_SEC0 pSec0 = (PRKANDROID_IDB_SEC0)bData; in GetPubicKeyFromExternal() local
728 if (pSec0->dwTag != 0x0FF0AA55) in GetPubicKeyFromExternal()
732 … pLog->Record(_T("ERROR:GetPubicKeyFromExternal-->check IDBlock failed,tag=0x%x"), pSec0->dwTag); in GetPubicKeyFromExternal()
736 if (pSec0->uiRc4Flag == 0) in GetPubicKeyFromExternal()