Home
last modified time | relevance | path

Searched refs:raw_ref (Results 1 – 3 of 3) sorted by relevance

/system/vold/
DKeyUtil.cpp81 static std::string keyname(const std::string& prefix, const std::string& raw_ref) { in keyname() argument
84 for (unsigned char i : raw_ref) { in keyname()
102 bool installKey(const KeyBuffer& key, std::string* raw_ref) { in installKey() argument
108 *raw_ref = generateKeyRef(fs_key.raw, fs_key.size); in installKey()
112 auto ref = keyname(*name_prefix, *raw_ref); in installKey()
125 bool evictKey(const std::string& raw_ref) { in evictKey() argument
130 auto ref = keyname(*name_prefix, raw_ref); in evictKey()
DKeyUtil.h30 bool installKey(const KeyBuffer& key, std::string* raw_ref);
31 bool evictKey(const std::string& raw_ref);
DFsCrypt.cpp269 std::string* raw_ref) { in lookup_key_ref() argument
275 *raw_ref = refi->second; in lookup_key_ref()
327 std::string raw_ref; in load_all_de_keys() local
328 if (!android::vold::installKey(key, &raw_ref)) return false; in load_all_de_keys()
329 s_de_key_raw_refs[user_id] = raw_ref; in load_all_de_keys()
426 std::string raw_ref; in evict_ce_key() local
428 if (lookup_key_ref(s_ce_key_raw_refs, user_id, &raw_ref)) { in evict_ce_key()
429 success &= android::vold::evictKey(raw_ref); in evict_ce_key()
442 std::string raw_ref; in fscrypt_destroy_user_key() local
445 lookup_key_ref(s_de_key_raw_refs, user_id, &raw_ref) && android::vold::evictKey(raw_ref); in fscrypt_destroy_user_key()