Searched refs:kmKey (Results 1 – 2 of 2) sorted by relevance
/system/vold/ |
D | KeyStorage.cpp | 187 bool kmDeleteKey(Keymaster& keymaster, const std::string& kmKey) { in kmDeleteKey() argument 191 std::thread(deferedKmDeleteKey, kmKey).detach(); in kmDeleteKey() 195 return keymaster.deleteKey(kmKey); in kmDeleteKey() 205 std::string kmKey; in begin() local 206 if (!readFileToString(kmKeyPath, &kmKey)) return KeymasterOperation(); in begin() 210 auto opHandle = keymaster.begin(purpose, kmKey, inParams, authToken, outParams); in begin() 217 if (!keymaster.upgradeKey(kmKey, keyParams, &newKey)) return KeymasterOperation(); in begin() 229 if (!kmDeleteKey(keymaster, kmKey)) { in begin() 233 kmKey = newKey; in begin() 476 std::string kmKey; in storeKey() local [all …]
|
/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()
|