Home
last modified time | relevance | path

Searched refs:secdiscardable_hash (Results 1 – 2 of 2) sorted by relevance

/system/vold/
DKeyStorage.cpp365 const std::string& salt, const std::string& secdiscardable_hash, in generateAppId() argument
369 *appId = secdiscardable_hash + stretched; in generateAppId()
489 std::string secdiscardable_hash; in storeKey() local
490 if (!createSecdiscardable(dir + "/" + kFn_secdiscardable, &secdiscardable_hash)) return false; in storeKey()
502 if (!generateAppId(auth, stretching, salt, secdiscardable_hash, &appId)) return false; in storeKey()
551 std::string secdiscardable_hash; in retrieveKey() local
552 if (!readSecdiscardable(dir + "/" + kFn_secdiscardable, &secdiscardable_hash)) return false; in retrieveKey()
560 if (!generateAppId(auth, stretching, salt, secdiscardable_hash, &appId)) return false; in retrieveKey()
DFsCrypt.cpp644 std::string secdiscardable_hash; in read_or_create_volkey() local
646 if (!android::vold::readSecdiscardable(secdiscardable_path, &secdiscardable_hash)) in read_or_create_volkey()
653 if (!android::vold::createSecdiscardable(secdiscardable_path, &secdiscardable_hash)) in read_or_create_volkey()
661 android::vold::KeyAuthentication auth("", secdiscardable_hash); in read_or_create_volkey()