Home
last modified time | relevance | path

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

/system/security/keystore/
Duser_state.cpp138 Blob masterKeyBlob(mMasterKey, sizeof(mMasterKey), mSalt, sizeof(mSalt), TYPE_MASTER_KEY); in writeMasterKey() local
139 return masterKeyBlob.writeBlob(mMasterKeyFile, &passwordAesKey, STATE_NO_ERROR, entropy); in writeMasterKey()
166 Blob masterKeyBlob(rawBlob); in readMasterKey() local
167 ResponseCode response = masterKeyBlob.readBlob(mMasterKeyFile, &passwordAesKey, STATE_NO_ERROR); in readMasterKey()
171 if (response == NO_ERROR && masterKeyBlob.getLength() == MASTER_KEY_SIZE_BYTES) { in readMasterKey()
180 memcpy(mMasterKey, masterKeyBlob.getValue(), MASTER_KEY_SIZE_BYTES); in readMasterKey()