Lines Matching refs:ce_key_path
155 const std::vector<std::string>& paths, std::string* ce_key_path) { in get_ce_key_new_path() argument
157 *ce_key_path = get_ce_key_current_path(directory_path); in get_ce_key_new_path()
163 *ce_key_path = candidate; in get_ce_key_new_path()
195 for (auto const ce_key_path : paths) { in read_and_fixate_user_ce_key() local
196 LOG(DEBUG) << "Trying user CE key " << ce_key_path; in read_and_fixate_user_ce_key()
197 if (retrieveKey(ce_key_path, auth, ce_key)) { in read_and_fixate_user_ce_key()
199 fixate_user_ce_key(directory_path, ce_key_path, paths); in read_and_fixate_user_ce_key()
333 std::string ce_key_path; in create_and_install_user_keys() local
334 if (!get_ce_key_new_path(directory_path, paths, &ce_key_path)) return false; in create_and_install_user_keys()
335 if (!android::vold::storeKeyAtomically(ce_key_path, user_key_temp, kEmptyAuthentication, in create_and_install_user_keys()
338 fixate_user_ce_key(directory_path, ce_key_path, paths); in create_and_install_user_keys()
697 std::string ce_key_path; in fscrypt_rewrap_user_key() local
698 if (!get_ce_key_new_path(directory_path, paths, &ce_key_path)) return false; in fscrypt_rewrap_user_key()
699 if (!android::vold::storeKeyAtomically(ce_key_path, user_key_temp, store_auth, ce_key)) in fscrypt_rewrap_user_key()