Home
last modified time | relevance | path

Searched refs:kmKey (Results 1 – 4 of 4) sorted by relevance

/system/vold/
DKeymaster.cpp153 bool Keymaster::exportKey(const KeyBuffer& kmKey, std::string* key) { in exportKey() argument
160 storageKey.blob = std::make_optional<std::vector<uint8_t>>(kmKey.begin(), kmKey.end()); in exportKey()
DKeyStorage.h69 bool exportWrappedStorageKey(const KeyBuffer& kmKey, KeyBuffer* key);
DKeyStorage.cpp165 bool exportWrappedStorageKey(const KeyBuffer& kmKey, KeyBuffer* key) { in exportWrappedStorageKey() argument
170 if (!keymaster.exportKey(kmKey, &key_temp)) return false; in exportWrappedStorageKey()
591 std::string kmKey; in storeKey() local
592 if (!generateKeyStorageKey(keymaster, appId, &kmKey)) return false; in storeKey()
593 if (!writeStringToFile(kmKey, dir + "/" + kFn_keymaster_key_blob)) return false; in storeKey()
DKeymaster.h117 bool exportKey(const KeyBuffer& kmKey, std::string* key);