Home
last modified time | relevance | path

Searched refs:Keymaster (Results 1 – 15 of 15) sorted by relevance

/system/vold/
DKeymaster.cpp96 /* static */ bool Keymaster::hmacKeyGenerated = false;
98 Keymaster::Keymaster() { in Keymaster() function in android::vold::Keymaster
120 bool Keymaster::generateKey(const km::AuthorizationSet& inParams, std::string* key) { in generateKey()
141 bool Keymaster::exportKey(const KeyBuffer& kmKey, std::string* key) { in exportKey()
162 bool Keymaster::deleteKey(const std::string& key) { in deleteKey()
176 bool Keymaster::upgradeKey(const std::string& oldKey, const km::AuthorizationSet& inParams, in upgradeKey()
199 KeymasterOperation Keymaster::begin(km::KeyPurpose purpose, const std::string& key, in begin()
227 bool Keymaster::isSecure() { in isSecure()
231 void Keymaster::earlyBootEnded() { in earlyBootEnded()
254 Keymaster dev; in keymaster_compatibility_cryptfs_scrypt()
[all …]
DKeymaster.h46 using KmDevice = km::support::Keymaster;
105 friend class Keymaster; variable
110 class Keymaster {
112 Keymaster();
137 DISALLOW_COPY_AND_ASSIGN(Keymaster);
DKeyStorage.cpp108 static bool generateKeymasterKey(Keymaster& keymaster, const KeyAuthentication& auth, in generateKeymasterKey()
140 Keymaster keymaster; in generateWrappedStorageKey()
153 Keymaster keymaster; in exportWrappedStorageKey()
212 Keymaster keymaster; in deferedKmDeleteKey()
218 bool kmDeleteKey(Keymaster& keymaster, const std::string& kmKey) { in kmDeleteKey()
230 static KeymasterOperation begin(Keymaster& keymaster, const std::string& dir, in begin()
269 static bool encryptWithKeymasterKey(Keymaster& keymaster, const std::string& dir, in encryptWithKeymasterKey()
297 static bool decryptWithKeymasterKey(Keymaster& keymaster, const std::string& dir, in decryptWithKeymasterKey()
505 Keymaster keymaster; in storeKey()
564 Keymaster keymaster; in retrieveKey()
[all …]
Dwait_for_keymaster.cpp30 android::vold::Keymaster keymaster; in main()
DMetadataCrypt.cpp92 ::android::vold::Keymaster::earlyBootEnded(); in mount_via_fs_mgr()
121 Keymaster keymaster; in commit_key()
160 Keymaster keymaster; in read_key()
DAndroid.bp122 "Keymaster.cpp",
210 "Keymaster.cpp",
/system/security/keystore/
Doperation_struct.h35 using keymaster::support::Keymaster;
39 Operation(uint64_t handle_, uint64_t keyid_, KeyPurpose purpose_, const sp<Keymaster>& device_, in Operation()
53 sp<Keymaster> device;
Dkeymaster_worker.h47 using android::hardware::keymaster::V4_1::support::Keymaster;
134 sp<Keymaster> keymasterDevice_;
203 KeymasterWorker(sp<Keymaster> keymasterDevice, KeyStore* keyStore);
223 using getHardwareInfo_cb = MakeKeymasterWorkerCB_t<Return<void>, Keymaster::getHardwareInfo_cb>;
227 MakeKeymasterWorkerCB_t<Return<void>, Keymaster::getHmacSharingParameters_cb>;
231 MakeKeymasterWorkerCB_t<Return<void>, Keymaster::computeSharedHmac_cb>;
247 using generateKey2_cb = MakeKeymasterWorkerCB_t<Return<void>, Keymaster::generateKey_cb>;
275 using attestKey_cb = MakeKeymasterWorkerCB_t<Return<void>, Keymaster::attestKey_cb>;
282 using begin_cb = MakeKeymasterWorkerCB_t<Return<void>, Keymaster::begin_cb>;
288 const Keymaster::VersionResult& halVersion() { return keymasterDevice_->halVersion(); }
Doperation.h43 using keymaster::support::Keymaster;
56 const sp<Keymaster>& dev, const sp<IBinder>& appToken,
Doperation_proto_handler.h30 using keymaster::support::Keymaster;
Dkeystore_main.cpp50 using ::keystore::keymaster::support::Keymaster;
68 sp<Keymaster> kmDevice(new Wrapper(device, name)); in enumerateKeymasterDevices()
DKeyStore.h42 using keymaster::support::Keymaster;
74 using KeymasterDevices = Devices<sp<Keymaster>, 3>;
Doperation.cpp30 const sp<Keymaster>& dev, const sp<IBinder>& appToken, in addOperation()
Dkeymaster_worker.cpp86 KeymasterWorker::KeymasterWorker(sp<Keymaster> keymasterDevice, KeyStore* keyStore) in KeymasterWorker()
772 addRequest(&Keymaster::addRngEntropy, std::move(_hidl_cb), std::move(data)); in addRngEntropy()
880 addRequest(&Keymaster::generateKey, std::move(worker_cb), std::move(keyParams)); in generateKey()
1117 addRequest(&Keymaster::attestKey, std::move(worker_cb), std::move(keyToAttest), in attestKey()
1122 addRequest(&Keymaster::deleteKey, std::move(_hidl_cb), std::move(keyBlob)); in deleteKey()
/system/keymaster/tests/
Dandroid_keymaster_test_utils.cpp34 #error Keymaster test code requires that KEYMASTER_NAME_TAGS is defined