Home
last modified time | relevance | path

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

/system/vold/
DKeymaster.cpp106 Keymaster::Keymaster() { in Keymaster() function in android::vold::Keymaster
130 bool Keymaster::generateKey(const km::AuthorizationSet& inParams, std::string* key) { in generateKey()
153 bool Keymaster::exportKey(const KeyBuffer& kmKey, std::string* key) { in exportKey()
178 bool Keymaster::deleteKey(const std::string& key) { in deleteKey()
191 KeymasterOperation Keymaster::begin(const std::string& key, const km::AuthorizationSet& inParams, in begin()
220 void Keymaster::earlyBootEnded() { in earlyBootEnded()
233 void Keymaster::deleteAllKeys() { in deleteAllKeys()
DKeymaster.h105 friend class Keymaster; variable
109 class Keymaster {
111 Keymaster();
135 DISALLOW_COPY_AND_ASSIGN(Keymaster);
DKeyStorage.cpp127 static bool generateKeymasterKey(Keymaster& keymaster, in generateKeymasterKey()
142 static bool generateKeyStorageKey(Keymaster& keymaster, const std::string& appId, in generateKeyStorageKey()
154 Keymaster keymaster; in generateWrappedStorageKey()
166 Keymaster keymaster; in exportWrappedStorageKey()
223 static bool CommitUpgradedKey(Keymaster& keymaster, const std::string& dir) { in CommitUpgradedKey()
248 Keymaster keymaster; in DeferredCommitKeys()
310 static void DeleteUpgradedKey(Keymaster& keymaster, const std::string& path) { in DeleteUpgradedKey()
329 static KeymasterOperation BeginKeymasterOp(Keymaster& keymaster, const std::string& dir, in BeginKeymasterOp()
378 static bool encryptWithKeymasterKey(Keymaster& keymaster, const std::string& dir, in encryptWithKeymasterKey()
406 static bool decryptWithKeymasterKey(Keymaster& keymaster, const std::string& dir, in decryptWithKeymasterKey()
[all …]
Dwait_for_keymaster.cpp30 android::vold::Keymaster keymaster; in main()
DAndroid.bp126 "Keymaster.cpp",
244 "Keymaster.cpp",
DMetadataCrypt.cpp120 Keymaster::deleteAllKeys(); in read_key()
Dcryptfs.cpp352 Keymaster dev; in keymaster_create_key_for_cryptfs_scrypt()
398 Keymaster dev; in keymaster_sign_object_for_cryptfs_scrypt()
DVoldNativeService.cpp980 Keymaster::earlyBootEnded(); in earlyBootEnded()
/system/security/keystore2/src/km_compat/
Dkm_compat.h50 using ::android::hardware::keymaster::V4_1::support::Keymaster;
82 ::android::sp<Keymaster> mDevice;
86 explicit KeyMintDevice(::android::sp<Keymaster>, KeyMintSecurityLevel);
144 ::android::sp<Keymaster> mDevice;
149 KeyMintOperation(::android::sp<Keymaster> device, uint64_t operationHandle, in KeyMintOperation()
175 ::android::sp<Keymaster> mDevice;
178 SharedSecret(::android::sp<Keymaster> device) : mDevice(device) {} in SharedSecret()
188 ::android::sp<Keymaster> mDevice;
191 SecureClock(::android::sp<Keymaster> device) : mDevice(device) {} in SecureClock()
Dkm_compat.cpp948 makeCert(::android::sp<Keymaster> mDevice, const std::vector<KeyParameter>& keyParams, in makeCert()
1236 using keymasterNs::support::Keymaster;
1256 using KeymasterDevices = Devices<sp<Keymaster>, 3>;
1276 sp<Keymaster> kmDevice(new Wrapper(device, name)); in enumerateKeymasterDevices()
1337 KeyMintDevice::KeyMintDevice(sp<Keymaster> device, KeyMintSecurityLevel securityLevel) in KeyMintDevice()
1348 sp<Keymaster> getDevice(KeyMintSecurityLevel securityLevel) { in getDevice()
1350 static sp<Keymaster> teeDevice; in getDevice()
1351 static sp<Keymaster> sbDevice; in getDevice()
/system/keymaster/tests/
Dandroid_keymaster_test_utils.cpp34 #error Keymaster test code requires that KEYMASTER_NAME_TAGS is defined