Searched refs:mMasterKeyFile (Results 1 – 2 of 2) sorted by relevance
/system/security/keystore/ |
D | user_state.cpp | 36 asprintf(&mMasterKeyFile, "%s/.masterkey", mUserDir); in UserState() 41 free(mMasterKeyFile); in ~UserState() 50 if (access(mMasterKeyFile, R_OK) == 0) { in initialize() 76 return unlink(mMasterKeyFile) == 0 || errno == ENOENT; in deleteMasterKey() 117 TEMP_FAILURE_RETRY(open(mMasterKeyFile, O_WRONLY | O_TRUNC | O_CREAT, S_IRUSR | S_IWUSR)); in copyMasterKeyFile() 127 unlink(mMasterKeyFile); in copyMasterKeyFile() 139 return masterKeyBlob.writeBlob(mMasterKeyFile, &passwordAesKey, STATE_NO_ERROR, entropy); in writeMasterKey() 143 int in = TEMP_FAILURE_RETRY(open(mMasterKeyFile, O_RDONLY)); in readMasterKey() 167 ResponseCode response = masterKeyBlob.readBlob(mMasterKeyFile, &passwordAesKey, STATE_NO_ERROR); in readMasterKey()
|
D | user_state.h | 40 const char* getMasterKeyFileName() const { return mMasterKeyFile; } in getMasterKeyFileName() 78 char* mMasterKeyFile; variable
|