Lines Matching refs:keyBlob
246 Blob& keyBlob = std::get<1>(result); in get() local
263 type = keyBlob.getType(); in get()
265 const uint8_t version = keyBlob.getVersion(); in get()
271 if (upgradeBlob(&keyBlob, version)) { in get()
272 if ((rc = this->put(blobfile, keyBlob, {})) != ResponseCode::NO_ERROR || in get()
283 ResponseCode KeyStore::put(const LockedKeyBlobEntry& blobfile, Blob keyBlob, in put() argument
286 return blobfile.writeBlobs(std::move(keyBlob), std::move(characteristicsBlob), in put()
291 Blob keyBlob; in del() local
297 std::tie(rc, keyBlob, charactaristicsBlob) = get(blobfile); in del()
309 auto dev = getDevice(keyBlob); in del()
311 if (keyBlob.getType() == ::TYPE_KEYMASTER_10) { in del()
312 dev->deleteKey(blob2hidlVec(keyBlob), [dev, alias, uid](Return<ErrorCode> rc) { in del()
358 auto& [rc, keyBlob, charBlob, lockedEntry] = result; in getKeyForName()
364 std::tie(rc, keyBlob, charBlob) = get(lockedEntry); in getKeyForName()
367 if (keyBlob.getType() != type) return rc = ResponseCode::KEY_NOT_FOUND, std::move(result); in getKeyForName()