Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/rkupdate/
H A DUpgrade.cpp664 bool GetPubicKeyFromExternal(char *szDev, CRKLog *pLog, unsigned char *pKey, unsigned int &nKeySize) in GetPubicKeyFromExternal() argument
761 nKeySize = nRsaByte * 2 + 2; in GetPubicKeyFromExternal()
776 bool GetPubicKeyFromDevice(CRKLog *pLog, unsigned char *pKey, unsigned int &nKeySize) in GetPubicKeyFromDevice() argument
797 bRet = pDevice->GetPublicKey(pKey, nKeySize); in GetPubicKeyFromDevice()
818 bool UnlockDevice(CRKImage *pImage, CRKLog *pLog, unsigned char *pKey, unsigned int nKeySize) in UnlockDevice() argument
876 UINT nKeySize = 514; in do_rk_firmware_upgrade() local
1102 UINT nKeySize = 514; in do_rk_partition_upgrade() local
1138 bRet = GetPubicKeyFromDevice(pLog, key, nKeySize); in do_rk_partition_upgrade()
1142 bRet = GetPubicKeyFromExternal(szBootDev, pLog, key, nKeySize); in do_rk_partition_upgrade()
1161 if (!UnlockDevice(pImage, pLog, key, nKeySize)) in do_rk_partition_upgrade()
H A DRKAndroidDevice.h204 bool GetPublicKey(unsigned char *pKey, unsigned int &nKeySize);
H A DRKAndroidDevice.cpp3307 bool CRKAndroidDevice::GetPublicKey(unsigned char *pKey, unsigned int &nKeySize) in GetPublicKey() argument
3395 nKeySize = nRsaByte * 2 + 2; in GetPublicKey()