HomeSort by relevance Sort by last modified time
    Searched refs:mMasterKeyFile (Results 1 - 2 of 2) sorted by null

  /system/security/keystore/
user_state.cpp 36 asprintf(&mMasterKeyFile, "%s/.masterkey", mUserDir);
41 free(mMasterKeyFile);
50 if (access(mMasterKeyFile, R_OK) == 0) {
76 return unlink(mMasterKeyFile) == 0 || errno == ENOENT;
117 TEMP_FAILURE_RETRY(open(mMasterKeyFile, O_WRONLY | O_TRUNC | O_CREAT, S_IRUSR | S_IWUSR));
127 unlink(mMasterKeyFile);
139 return masterKeyBlob.writeBlob(mMasterKeyFile, &passwordAesKey, STATE_NO_ERROR, entropy);
143 int in = TEMP_FAILURE_RETRY(open(mMasterKeyFile, O_RDONLY));
167 ResponseCode response = masterKeyBlob.readBlob(mMasterKeyFile, &passwordAesKey, STATE_NO_ERROR);
user_state.h 40 const char* getMasterKeyFileName() const { return mMasterKeyFile; }
78 char* mMasterKeyFile;

Completed in 236 milliseconds