Lines Matching defs:user_id
119 static std::string get_de_key_path(userid_t user_id) { in get_de_key_path()
123 static std::string get_ce_key_directory_path(userid_t user_id) { in get_ce_key_directory_path()
197 static bool read_and_fixate_user_ce_key(userid_t user_id, in read_and_fixate_user_ce_key()
292 static bool read_and_install_user_ce_key(userid_t user_id, in read_and_install_user_ce_key()
326 static bool create_and_install_user_keys(userid_t user_id, bool create_ephemeral) { in create_and_install_user_keys()
360 static bool lookup_policy(const std::map<userid_t, EncryptionPolicy>& key_map, userid_t user_id, in lookup_policy() argument
402 userid_t user_id = std::stoi(entry->d_name); in load_all_de_keys() local
506 bool fscrypt_vold_create_user_key(userid_t user_id, int serial, bool ephemeral) { in fscrypt_vold_create_user_key()
545 static bool evict_ce_key(userid_t user_id) { in evict_ce_key()
557 bool fscrypt_destroy_user_key(userid_t user_id) { in fscrypt_destroy_user_key()
677 static bool fscrypt_rewrap_user_key(userid_t user_id, int serial, in fscrypt_rewrap_user_key()
703 bool fscrypt_add_user_key_auth(userid_t user_id, int serial, const std::string& secret_hex) { in fscrypt_add_user_key_auth()
711 bool fscrypt_clear_user_key_auth(userid_t user_id, int serial, const std::string& secret_hex) { in fscrypt_clear_user_key_auth()
719 bool fscrypt_fixate_newest_user_key_auth(userid_t user_id) { in fscrypt_fixate_newest_user_key_auth()
742 bool fscrypt_unlock_user_key(userid_t user_id, int serial, const std::string& secret_hex) { in fscrypt_unlock_user_key()
771 bool fscrypt_lock_user_key(userid_t user_id) { in fscrypt_lock_user_key()
790 userid_t user_id, int flags) { in prepare_subdirs()
800 bool fscrypt_prepare_user_storage(const std::string& volume_uuid, userid_t user_id, int serial, in fscrypt_prepare_user_storage()
899 bool fscrypt_destroy_user_storage(const std::string& volume_uuid, userid_t user_id, int flags) { in fscrypt_destroy_user_storage()