Home
last modified time | relevance | path

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

/system/security/keystore/
DKeyStore.cpp242 std::tuple<ResponseCode, Blob, Blob> KeyStore::get(const LockedKeyBlobEntry& blobfile) { in get() argument
245 uid_t userId = get_user_id(blobfile->uid()); in get()
253 maybeLogKeyIntegrityViolation(blobfile, type); in get()
257 result = blobfile.readBlobs(userState->getEncryptionKey(), userState->getState()); in get()
272 if ((rc = this->put(blobfile, keyBlob, {})) != ResponseCode::NO_ERROR || in get()
273 (result = blobfile.readBlobs(userState->getEncryptionKey(), userState->getState()), in get()
283 ResponseCode KeyStore::put(const LockedKeyBlobEntry& blobfile, Blob keyBlob, in put() argument
285 auto userState = mUserStateDB.getUserStateByUid(blobfile->uid()); in put()
286 return blobfile.writeBlobs(std::move(keyBlob), std::move(characteristicsBlob), in put()
290 ResponseCode KeyStore::del(const LockedKeyBlobEntry& blobfile) { in del() argument
[all …]
DKeyStore.h123 std::tuple<ResponseCode, Blob, Blob> get(const LockedKeyBlobEntry& blobfile);
124 ResponseCode put(const LockedKeyBlobEntry& blobfile, Blob keyBlob, Blob characteristicsBlob);
125 ResponseCode del(const LockedKeyBlobEntry& blobfile);
127 std::string addGrant(const LockedKeyBlobEntry& blobfile, uid_t granteeUid);
128 bool removeGrant(const LockedKeyBlobEntry& blobfile, const uid_t granteeUid);
131 ResponseCode importKey(const uint8_t* key, size_t keyLen, const LockedKeyBlobEntry& blobfile,
Dgrant_store.h67 std::string put(const uid_t uid, const LockedKeyBlobEntry& blobfile);
Dkeymaster_worker.cpp96 void KeymasterWorker::deleteOldKeyOnUpgrade(const LockedKeyBlobEntry& blobfile, Blob keyBlob) { in deleteOldKeyOnUpgrade() argument
99 uid_t uid = blobfile->uid(); in deleteOldKeyOnUpgrade()
100 const auto& alias = blobfile->alias(); in deleteOldKeyOnUpgrade()
Dkeymaster_worker.h172 void deleteOldKeyOnUpgrade(const LockedKeyBlobEntry& blobfile, Blob keyBlob);