Searched refs:Keymaster (Results 1 – 15 of 15) sorted by relevance
/system/vold/ |
D | Keymaster.cpp | 96 /* 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 …]
|
D | Keymaster.h | 46 using KmDevice = km::support::Keymaster; 105 friend class Keymaster; variable 110 class Keymaster { 112 Keymaster(); 137 DISALLOW_COPY_AND_ASSIGN(Keymaster);
|
D | KeyStorage.cpp | 108 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 …]
|
D | wait_for_keymaster.cpp | 30 android::vold::Keymaster keymaster; in main()
|
D | MetadataCrypt.cpp | 92 ::android::vold::Keymaster::earlyBootEnded(); in mount_via_fs_mgr() 121 Keymaster keymaster; in commit_key() 160 Keymaster keymaster; in read_key()
|
D | Android.bp | 122 "Keymaster.cpp", 210 "Keymaster.cpp",
|
/system/security/keystore/ |
D | operation_struct.h | 35 using keymaster::support::Keymaster; 39 Operation(uint64_t handle_, uint64_t keyid_, KeyPurpose purpose_, const sp<Keymaster>& device_, in Operation() 53 sp<Keymaster> device;
|
D | keymaster_worker.h | 47 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(); }
|
D | operation.h | 43 using keymaster::support::Keymaster; 56 const sp<Keymaster>& dev, const sp<IBinder>& appToken,
|
D | operation_proto_handler.h | 30 using keymaster::support::Keymaster;
|
D | keystore_main.cpp | 50 using ::keystore::keymaster::support::Keymaster; 68 sp<Keymaster> kmDevice(new Wrapper(device, name)); in enumerateKeymasterDevices()
|
D | KeyStore.h | 42 using keymaster::support::Keymaster; 74 using KeymasterDevices = Devices<sp<Keymaster>, 3>;
|
D | operation.cpp | 30 const sp<Keymaster>& dev, const sp<IBinder>& appToken, in addOperation()
|
D | keymaster_worker.cpp | 86 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/ |
D | android_keymaster_test_utils.cpp | 34 #error Keymaster test code requires that KEYMASTER_NAME_TAGS is defined
|