Home
last modified time | relevance | path

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

/system/security/keystore/
Dkeystore.cpp828 Blob masterKeyBlob(mMasterKey, sizeof(mMasterKey), mSalt, sizeof(mSalt), TYPE_MASTER_KEY); in writeMasterKey() local
829 return masterKeyBlob.writeBlob(mMasterKeyFile, &passwordAesKey, STATE_NO_ERROR, entropy); in writeMasterKey()
856 Blob masterKeyBlob(rawBlob); in readMasterKey() local
857 ResponseCode response = masterKeyBlob.readBlob(mMasterKeyFile, &passwordAesKey, in readMasterKey()
862 if (response == NO_ERROR && masterKeyBlob.getLength() == MASTER_KEY_SIZE_BYTES) { in readMasterKey()
871 memcpy(mMasterKey, masterKeyBlob.getValue(), MASTER_KEY_SIZE_BYTES); in readMasterKey()