Searched refs:storeKeyAtomically (Results 1 – 4 of 4) sorted by relevance
/aosp12/system/vold/ |
H A D | KeyStorage.h | 55 bool storeKeyAtomically(const std::string& key_path, const std::string& tmp_path,
|
H A D | FsCrypt.cpp | 341 if (!android::vold::storeKeyAtomically(ce_key_path, user_key_temp, kEmptyAuthentication, in create_and_install_user_keys() 346 if (!android::vold::storeKeyAtomically(get_de_key_path(user_id), user_key_temp, in create_and_install_user_keys() 698 if (!android::vold::storeKeyAtomically(ce_key_path, user_key_temp, store_auth, ce_key)) in fscrypt_rewrap_user_key()
|
H A D | KeyUtil.cpp | 408 if (!storeKeyAtomically(key_path, tmp_path, key_authentication, *key)) return false; in retrieveOrGenerateKey()
|
H A D | KeyStorage.cpp | 601 bool storeKeyAtomically(const std::string& key_path, const std::string& tmp_path, in storeKeyAtomically() function
|