Home
last modified time | relevance | path

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

/system/security/keystore/
Duser_state.cpp78 memset(mMasterKey.data(), 0, mMasterKey.size()); in zeroizeMasterKeysInMemory()
107 mMasterKey = (*src)->mMasterKey; in copyMasterKey()
145 Blob masterKeyBlob(mMasterKey.data(), mMasterKey.size(), mSalt, sizeof(mSalt), in writeMasterKey()
201 mMasterKey = std::vector<uint8_t>(masterKeyBlob.getValue(), in readMasterKey()
279 mMasterKey.resize(MASTER_KEY_SIZE_BYTES); in generateMasterKey()
280 if (!RAND_bytes(mMasterKey.data(), mMasterKey.size())) { in generateMasterKey()
Duser_state.h70 const std::vector<uint8_t>& getEncryptionKey() const { return mMasterKey; } in getEncryptionKey()
99 std::vector<uint8_t> mMasterKey; variable