Searched refs:kmKey (Results 1 – 5 of 5) sorted by relevance
/system/vold/ |
D | KeyStorage.cpp | 152 bool exportWrappedStorageKey(const KeyBuffer& kmKey, KeyBuffer* key) { in exportWrappedStorageKey() argument 157 if (!keymaster.exportKey(kmKey, &key_temp)) return false; in exportWrappedStorageKey() 218 bool kmDeleteKey(Keymaster& keymaster, const std::string& kmKey) { in kmDeleteKey() argument 222 std::thread(deferedKmDeleteKey, kmKey).detach(); in kmDeleteKey() 226 return keymaster.deleteKey(kmKey); in kmDeleteKey() 236 std::string kmKey; in begin() local 237 if (!readFileToString(kmKeyPath, &kmKey)) return KeymasterOperation(); in begin() 241 auto opHandle = keymaster.begin(purpose, kmKey, inParams, authToken, outParams); in begin() 248 if (!keymaster.upgradeKey(kmKey, keyParams, &newKey)) return KeymasterOperation(); in begin() 260 if (!kmDeleteKey(keymaster, kmKey)) { in begin() [all …]
|
D | KeyStorage.h | 75 bool exportWrappedStorageKey(const KeyBuffer& kmKey, KeyBuffer* key);
|
D | Keymaster.cpp | 141 bool Keymaster::exportKey(const KeyBuffer& kmKey, std::string* key) { in exportKey() argument 142 auto kmKeyBlob = km::support::blob2hidlVec(std::string(kmKey.data(), kmKey.size())); in exportKey()
|
D | Keymaster.h | 118 bool exportKey(const KeyBuffer& kmKey, std::string* key);
|
/system/security/keystore/ |
D | legacy_keymaster_device_wrapper.cpp | 447 auto kmKey = hidlVec2KmKeyBlob(key); in begin() local 450 auto rc = keymaster_device_->begin(keymaster_device_, legacy_enum_conversion(purpose), &kmKey, in begin()
|